Changeset 894 for noc/nagios
- Timestamp:
- Dec 20, 2008, 8:48:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
noc/nagios/misccommands.cfg
r717 r894 63 63 define command{ 64 64 command_name host-notify-by-epager 65 command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $HOSTOUTPUT$\nTime: $LONGDATETIME$" | /usr/bin/mail -s " $NOTIFICATIONTYPE$ alert -Host $HOSTNAME$ is $HOSTSTATE$" $CONTACTPAGER$65 command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $HOSTOUTPUT$\nTime: $LONGDATETIME$" | /usr/bin/mail -s "Host $HOSTNAME$ is $HOSTSTATE$" $CONTACTPAGER$ 66 66 } 67 67 … … 83 83 define command{ 84 84 command_name notify-by-epager 85 command_line /usr/bin/printf "%b" " Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $SERVICEOUTPUT$\nDate: $LONGDATETIME$" | /usr/bin/mail -s "$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTPAGER$85 command_line /usr/bin/printf "%b" "Info: $SERVICEOUTPUT$\nDate: $LONGDATETIME$" | /usr/bin/mail -s "$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTPAGER$ 86 86 } 87 87
Note: See TracChangeset
for help on using the changeset viewer.