On 26 May 2010, at 10:55, Toni Van Remortel wrote:

I have seen some unwanted messages in nagios.log about notifications on some of my slave servers (not all of them).

For some users I see:
Warning: Attempting to execute the command "/usr/local/nagios/ libexec/notifications/notify_by_email" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists...
And for other users it works like a charm …
When I test it manually, it also works perfectly for all e-mail addresses.

Other logs show me the same error for SMS sending, but that was solved by removing the ‘All Services’ checkbox selection and selecting the individual services for the notification profile. I was able to reproduce this problem. Re-checking the ‘All Services’ checkbox makes the code 127 errors to show up again. Un-checking the checkbox makes it working again.

Any idea where to look for fixing these issues?

My guess is that the nagios binary on these slaves is not the same as the one on the master.

Nagios was patched for Opsview 3.7.0 to handle ignoring some notifications (this is the new notification profiles functionality). It looks like the slave systems are trying to send notifications when it shouldn't be.

Ton

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to