Page 1 of 1

[Nagios-devel] blocking character of event_handlers

Posted: Mon Apr 07, 2008 9:07 am
by Guest
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 queu=
e
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
--=20
Michael Streb
Senior Consultant

NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 N=FCrnberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein | AG N=FCrnberg HRB18461

http://www.netways.de | [email protected]

** NETWAYS Nagios Konferenz 2008 - http://www.nagioskonferenz.de **






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]