Hi all, I've been playing trying to get service event handlers running following the sample script in the nagios manual but I'm running into a problem where the macros return null values.
The event handler command is: define command { command_name restart_phptunnel command_line /usr/local/etc/periodic/restart_phptunne $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ I looked } In the logs: [1240797599] SERVICE EVENT HANDLER:delish;tunnel_splash_phpmydmin;(null);(null);(null);restart_phptunnel Is there a known issue with this or is there more I have to do get the macros working? This on a FreeBSD machine with Nagios 3.0.6 from ports. -- Rex Chan --------------------------> ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ 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