when is a notification command run?
Ethan Galstad
nagios at nagios.org
Mon Jan 28 15:52:04 CET 2008
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: nagios at nagios.org
Web: www.nagios.org
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
More information about the Developers
mailing list