Hi,
Our Nagios XI instance is only sending notifications to Nagios users(who can log into web console). The users we added as contacts are not receiving mails anymore. We recently upgraded to 5.2.2 but I believe this worked a few days after the upgrade as well.
If I click on the 'Notifications' for a particular service it shows that notifications has been sent to all users, however in the mail logs we can only see entries for Nagios system users. The mails were never generated for contact users.
If we sent a test mail from Nagios, they are able to receive it so this seems to be a Nagios issue.
Thanks.
Notifications not send to contacts
Re: Notifications not send to contacts
Are you using sendmail or SMTP? Also, can you post the configuration for a host / service that isn't mailing? (service check, host check, and command definition)
Former Nagios Employee
-
inas.labib
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Re: Notifications not send to contacts
Users started receiving mails once we add from LDAP/AD. But the users in the contacts are not receiving notifications.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Notifications not send to contacts
Did you create these contacts manually through CCM?
I suspect this is what has happened and hence why you aren't getting emails.
Nagios XI extends the notification capabilities of Nagios Core, and because of this it requires that contacts objects get created when creating users through Admin > Users > Manage Users.
If this is the case, create new users through this method and it will create the Monitoring Contact object correctly. Then add that contact to the contact group and Apply Configuration. Once you've done that you can send a custom notification on one of the services that use this contact and you should receive an email.
NOTE: Any notification preferences should be defined while logged on as that user by clicking on their name in the top right corner. You can use the masquerade icon (eyeball) to log in as that user.
Here is a document that explains the XI Contact relationship:
http://assets.nagios.com/downloads/nagi ... ntacts.pdf
I suspect this is what has happened and hence why you aren't getting emails.
Nagios XI extends the notification capabilities of Nagios Core, and because of this it requires that contacts objects get created when creating users through Admin > Users > Manage Users.
If this is the case, create new users through this method and it will create the Monitoring Contact object correctly. Then add that contact to the contact group and Apply Configuration. Once you've done that you can send a custom notification on one of the services that use this contact and you should receive an email.
NOTE: Any notification preferences should be defined while logged on as that user by clicking on their name in the top right corner. You can use the masquerade icon (eyeball) to log in as that user.
Here is a document that explains the XI Contact relationship:
http://assets.nagios.com/downloads/nagi ... ntacts.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.