Notification dont work

Cristian Trujillo G. cristian at alestraidc.net.mx
Tue Oct 1 20:58:51 CEST 2002


Hi,


i modify the file misccommands.cfg and the notifications dont send....
this is the file...
# 'service-notify-by-email' command definition
define command{
        command_name service-notify-by-email
        command_line /bin/printf "%b" "**** Nagios *****\n\nNotification
Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$
}


# 'notify-by-email' command definition
define command{
        command_name notify-by-email
        command_line /bin/printf "%b"  "***** Nagios *****\n\nNotification
Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDE$
}
# 'notify-by-epager' command definition
define command{
        command_name    notify-by-epager
        command_line    /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost:
$HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SE$
        }


# 'host-notify-by-email' command definition
define command{
        command_name    host-notify-by-email
        command_line    /usr/bin/printf "%b" "***** Nagios 1.0b4
*****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HO$
        }


# 'host-notify-by-epager' command definition
define command{
        command_name    host-notify-by-epager
        command_line    /usr/bin/printf "%b" "Host '$HOSTALIAS$' is
$HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /usr/$
        }

1.- I use nagios 1.0b6 on FreeBSD 4.4



-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm




More information about the Users mailing list