when is a notification command run?

Hendrik Bäcker andurin at process-zero.de
Sun Jan 27 14:52:45 CET 2008


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: notification.c.patch
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20080127/627c8716/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2185 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20080127/627c8716/attachment.bin>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- 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