Page 1 of 1

Re: [Nagios-devel] when is a notification command run?

Posted: Mon Jan 28, 2008 6:52 am
by Guest
Hendrik Bäcker wrote:
> Hi Antonio,
>
> Antonio Grassi schrieb:
>>
>> Does this mean that notifications are sent only if the system is
>> configured to log notifications, or am I missunderstanding the code?
>>
>
> I assume you were right. Regarding the sources the effectiv "my_system"
> call to execute the command is only available if "log_notifications" is
> true.
>
> I guess just moving the end of the if clause a few lines earlier should
> do the trick.
>
> I've attached a unified diff against the latest CVS code.
>
> Regards,
> Hendrik
>

Indeed - that's a pretty major bug. I'll get the patch applied and do
the same for the corresponding host notification function, which also
contains the bug.


Ethan Galstad
Nagios Developer
___
Email: [email protected]
Web: www.nagios.org





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