Ignore:
Timestamp:
Sep 26, 2007, 12:21:57 AM (15 years ago)
Author:
quentin
Message:
Added quentin, geofft's pager numbers and added links to MRTG graphs for servers
File:
1 edited

Legend:

Unmodified
Added
Removed
  • noc/nagios/misccommands.cfg

    r48 r428  
    4646################################################################################
    4747
    48 
    4948# 'host-notify-by-email' command definition
    5049define command{
    5150        command_name    host-notify-by-email
    5251        command_line    /usr/bin/printf "%b" "***** Nagios  *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$
     52        }
     53
     54
     55# 'host-notify-by-zephyr' command definition
     56define command{
     57        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$"
    5359        }
    5460
     
    6470        command_name    notify-by-email
    6571        command_line    /usr/bin/printf "%b" "***** Nagios  *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
     72        }
     73
     74
     75# 'notify-by-zephyr' command definition
     76define command{
     77        command_name    notify-by-zephyr
     78        command_line    /usr/bin/printf "%b" "$NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$\n$SERVICEOUTPUT$" | /usr/bin/zwrite -d -s "Nagios" -c $CONTACTEMAIL$ -i "nagios.$HOSTALIAS$.$SERVICEDESC$"
    6679        }
    6780
Note: See TracChangeset for help on using the changeset viewer.