notify-by-email $OUTPUT$ problem

Erick Lindley erick at lmhealthcare.com
Tue Nov 1 01:02:07 CET 2005


I am having difficulty getting anything to appear in my $OUTPUT$
 variable within email notifications.  All other parameters show
 up correct, but all I receive in the $OUTPUT$ variable is a dollar
 sign '$'.



Here is my defined command for notify-by-email:



define command {

command_name    notify-by-email

command_line	/usr/bin/printf "%b" "Test: $OUTPUT$" | /bin/mail -s
 '$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$

}





- Erick Lindley (elindley)



-----------------------

The mailing list archive is found here:

http://www.nagiosexchange.org/nagios-users.34.0.html

				


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list