Custom Notifications during Downtimes
Sven Nierlein
sven at consol.de
Tue Mar 23 13:42:28 CET 2010
Hi List,
i was wondering why i receive notifications for hosts / services which
are in a scheduled downtime.
The notifications are sent by an eventhandler which trys to restart our
services and if that fails,
send a custom notification with an external command (without the force
option).
The notification logic sends custom notifications even during downtimes,
which i think is wrong.
Thats why there is a force option.
I patched the base/notifications.c, so custom notifications will only be
send if the host or service is not
in a scheduled downtime. (can still be overriden by the force option)
Any suggestions on that patch? Is there a chance to include this patch
in future versions or is this the expected
behaviour?
Regards,
Sven
--
Sven Nierlein Sven.Nierlein at consol.de
ConSol* GmbH http://www.consol.de
Franziskanerstrasse 38 Tel.:089/45841-439
81669 Muenchen Fax.:089/45841-115
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_custom_notifications_during_downtimes.patch
Type: text/x-patch
Size: 632 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20100323/5ff67491/attachment.bin>
-------------- next part --------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel
More information about the Developers
mailing list