From: Brian L. <kn...@gm...> - 2007-01-24 17:21:34
|
On 1/24/07, Marc Powell <ma...@en...> wrote: > > Try this to see if the program is reporting any errors -- > > # 'notify-by-pager' command definition > define command{ > command_name notify-by-pager > command_line /usr/local/pager/client $CONTACTADDRESS1$ > "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: > $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $SERVICEOUTPUT$\nDate: > $LONGDATETIME$ $NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$"'>> /tmp/nagios_notification.log 2>&1 > Okay, did that, it created the file but didn't put anything in it. |