Page 1 of 1

Contact can't receive notification

Posted: Thu Feb 26, 2015 9:59 am
by akoei
I have a Nagios XI running on 2012R2.8c. I am recently trying to create a contact (not user, no need to login Nagios) which can receive notification, but failed: no matter what I do, the notification can't be sent to contact's email. I have read the Nagios's white paper about contacts and users, follow the steps, but still no work.

From the notification history, I can see the different is:
regular alerts to users, the dispatcher is “Nagios XI”
for alert to contacts, the dispatcher is "Custom: notify-service-by-email"

Can someone give me a hint?

Thanks

Shawn

Re: Contact can't receive notification

Posted: Thu Feb 26, 2015 10:57 am
by jdalrymple
Is this the whitepaper you read?
http://assets.nagios.com/downloads/nagi ... ntacts.pdf
If so, which steps specifically did you follow?

This process is fairly trivial. It is possible to create a contact in the CCM without creating a user. Is that what you did?

Re: Contact can't receive notification

Posted: Thu Feb 26, 2015 2:12 pm
by jolson
In addition to what jdalrymple said, please note that the "notify-service-by-email" can typically only send mail via sendmail, whereas the XI process can use SMTP.

It may be worth looking over this document: http://assets.nagios.com/downloads/nagi ... Mailer.pdf

Please let me know if that helps. Thanks!

Re: Contact can't receive notification

Posted: Thu Mar 05, 2015 10:12 am
by akoei
jolson wrote:In addition to what jdalrymple said, please note that the "notify-service-by-email" can typically only send mail via sendmail, whereas the XI process can use SMTP.

It may be worth looking over this document: http://assets.nagios.com/downloads/nagi ... Mailer.pdf

Please let me know if that helps. Thanks!
Thanks a lot, this explains very well, I have done my work!