Re: [Nagios-devel] Custom Notifications during Downtimes

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Custom Notifications during Downtimes

Post by Guest »

On 03/23/2010 01:42 PM, Sven Nierlein wrote:
> 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?

Either you supplied a patch created in reverse, or you just removed
the check you claim to have added.

I'm confused. Care to re-send a proper patch?

--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.





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