Nagios mail object mismatch

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kassor
Posts: 2
Joined: Fri Jun 10, 2011 4:45 am

Nagios mail object mismatch

Post by kassor »

Hi all.

I'm having a little problem with my Nagios server (v3.0.6).
When a host is falling down for example, or one of its services is down, I get an email which object is 'UP' :shock: but in the body it correctly shown "PROBLEM".

Please, how can I fix this... :?:
kassor
Posts: 2
Joined: Fri Jun 10, 2011 4:45 am

Re: Nagios mail object mismatch

Post by kassor »

I can answer myself now...
There was a mistake in contact notifications setup. I was using the "host-notify-by-email" for both hosts et services notifications.
To correct the stuff I configured as following in contact setup page (using centreon, or from nagios conf file contacts.cfg) :
- service_notification_commands ===> notify-by-email
- host_notification_commands ===> host-notify-by-email

Hope it will help ;)
Locked