Custom Notifications during Downtimes

Andreas Ericsson ae at op5.se
Tue Mar 23 16:01:18 CET 2010


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                   andreas.ericsson at op5.se
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.

------------------------------------------------------------------------------
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




More information about the Developers mailing list