blocking character of event_handlers
Michael Streb
michael.streb at netways.de
Mon Apr 7 19:06:54 CEST 2008
Hi list,
today i expirienced a problem with long running event_handlers in nagios
3.x, while the event_handler is executed nagios didn`t run any service or
hostchecks.
So i digged a bit deeper and came to the conclusion that nagios is really
blocked while an event_handler is executed.
In my case i just defined an service event_handler with "sleep 100" as
command, so nagios stopped checking for 100 seconds and the scheduling queue
freeze in.
-> no checks have been executed for 100 seconds.
In my opinion this is a horrible scenario in huge environments with short
running event_handlers too, e.g. restarting apache on many servers could
cause nagios to stop it`s work because hundreds of event_handlers are
executed sequential.
Is there a reason why this is done like this ?
Regards,
Michael
--
Michael Streb
Senior Consultant
NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 Nürnberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein | AG Nürnberg HRB18461
http://www.netways.de | michael.streb at netways.de
** NETWAYS Nagios Konferenz 2008 - http://www.nagioskonferenz.de **
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
More information about the Developers
mailing list