Ignore:
Timestamp:
Jan 28, 2009, 12:35:46 AM (14 years ago)
Author:
quentin
Message:
Change zephyr host notifications to include the notification type
File:
1 edited

Legend:

Unmodified
Added
Removed
  • noc/nagios/misccommands.cfg

    r894 r958  
    5656define command{
    5757        command_name    host-notify-by-zephyr
    58         command_line    /usr/bin/printf "%b" "Host $HOSTSTATE$ alert for $HOSTNAME$!\n$HOSTOUTPUT$" | /usr/bin/zwrite -d -s "Nagios" -c $CONTACTEMAIL$ -i "nagios.$HOSTALIAS$"
     58        command_line    /usr/bin/printf "%b" "Host $HOSTSTATE$ $NOTIFICATIONTYPE$ alert for $HOSTNAME$!\n$HOSTOUTPUT$" | /usr/bin/zwrite -d -s "Nagios" -c $CONTACTEMAIL$ -i "nagios.$HOSTALIAS$"
    5959        }
    6060
Note: See TracChangeset for help on using the changeset viewer.