Hi, I am trying to write a notification script which is called via the following command definition:
define command { command_name notify-service-by-email command_line /path/bin/notify --mail="$CONTACTEMAIL$" } To save myself from handing in all macros to the script via the command line, I'd like to use the macros that are written to the environment as NAGIOS_foo. Despite having set enable_environment_macros=1 in my nagios.cfg, the notification script only sees NAGIOS_PLUGIN=/path/bin/notify. What am I doing wrong? I'm using Nagios 3.0.6 from Debian lenny. Any hints will be appreciated. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 ------------------------------------------------------------------------------ Forrester recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 7 months. Over 3 million businesses have gone Google with Google Apps: an online email calendar, and document program that's accessible from your browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew _______________________________________________ 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