HI all, I have a very strange problem. I just upgrade to NAGIOS 2.6 from a version 1. (Don't ask please).
On my previous production server, I had the host-notify-by-email command define as: define command{ name host-notify-by-email command_name host-notify-by-email command_line $USER1$/notify-email.pl --HOSTNAME="$HOSTNAME$" --HOSTALIAS="$HOSTALIAS$" --HOSTADDRESS="$HOSTADDRESS$" --LASTSTATECHANGE="$LASTSTATECHANGE$" --TIMET="$TIMET$" --HOSTSTATE="$HOSTSTATE$" --OUTPUT="$OUTPUT$" --DATETIME="$DATETIME$" --NOTIFICATIONTYPE="$NOTIFICATIONTYPE$" | /bin/mail -s 'Host $HOSTSTATE$ alert for $HOSTALIAS$! ($HOSTNAME$)' $CONTACTEMAIL$ } The same as the new production version, however when I get an alert I am not getting the same information on the email. The $OUTPUT$ and the $DATETIME$ is not being sent on the email. It works fine on the previous version. Any help is greatly appreciated. Luis Lacayo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null