Contact can't receive notification

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
akoei
Posts: 8
Joined: Fri Jan 31, 2014 12:04 pm

Contact can't receive notification

Post 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
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Contact can't receive notification

Post 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?
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Contact can't receive notification

Post 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!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
akoei
Posts: 8
Joined: Fri Jan 31, 2014 12:04 pm

Re: Contact can't receive notification

Post 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!
Locked