Page 1 of 1

Notifications not send to contacts

Posted: Tue Nov 17, 2015 10:57 am
by inas.labib
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.

Re: Notifications not send to contacts

Posted: Tue Nov 17, 2015 4:44 pm
by rkennedy
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)

Re: Notifications not send to contacts

Posted: Sun Nov 22, 2015 2:28 am
by inas.labib
Users started receiving mails once we add from LDAP/AD. But the users in the contacts are not receiving notifications.

Re: Notifications not send to contacts

Posted: Sun Nov 22, 2015 9:08 pm
by Box293
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