Dear Folks, In sehandlers.c I see
if(log_event_handlers==TRUE) logit(NSLOG_EVENT_HANDLER,FALSE,"GLOBAL HOST EVENT HANDLER: %s;%s;%s;%s;%s\n",hst->name,macro_x[MACRO_HOSTSTATE],macro_x[MACRO_HOSTS TATETYPE],macro_x[MACRO_HOSTATTEMPT],global_host_event_handler); which suggests that if the macro_x[FOO] vals are NULL, I will see what I do in the nagios.log [1199423092] GLOBAL HOST EVENT HANDLER: Sydney-backup;(null);(null);(null);global_host_event_handler Why on earth should the macros be undefined ? The DEBUG statements look good but how do I enable debug for event handlers ? Yours sincerely. Classification: UNCLASSIFIED ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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