E-Pager Alerts only contain From: line
Steve OBrien
sobrien at ci.bend.or.us
Thu Feb 10 19:59:40 CET 2005
I recently moved nagios from an old redhat box to Solaris. Since the move
my epager alerts only show the from: nagios at host.domain line. They used to
contain all the other information. Any ideas? Here is my notify-by-epager
macro:
# 'notify-by-epager' command definition
define command{
command_name notify-by-epager
command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost:
$HO
STNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo:
$SERVICEOUTPUT$\n
Date: $LONGDATETIME$" | /usr/bin/mail -s "$NOTIFICATIONTYPE$:
$HOSTALIAS$/$SERV
ICEDESC$ is $SERVICESTATE$" $CONTACTPAGER$
}
Thanks,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050210/6ee9f7d4/attachment.html>
More information about the Users
mailing list