Marc Powell wrote: >> the handler is not working. Any thing I can try or did wrong? >> >> Have you tried running the "restart-httpd" command as the Nagios user >> from the console? >> > > Always a good suggestion. > > >> Also, on my server Apache (2.2) takes roughly 3-4 seconds to start up, >> and it looks like Nagios doesn't provide any delay between running the >> event handler, and the subsequent check if httpd's running. >> > > Yes, there is a delay between the event_handler running and the next > check for services at least. Whatever retry_check_interval is set to is > the time nagios will wait to check again after executing the > event_handler. Travis's retry_check_interval appears to be 1 minute (60 > seconds). >
Ah, yes, sorry I was reading the Nagios log from bottom-to-top instead of top-to-bottom (don't ask why! It's been a long day....!) Noting that, you can see the delay clearly - good to know! :) Andy. ------------------------------------------------------------------------- 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