I'm not able to send email alerts to contacts.
Please help
I have a contact "John Doe" who is a nagios contact, but NOT
a nagios user. I can email him directly from nagios server,
but when I add that contact to an alert, no email is received.
I have a conctact "myself: who is a nagios contact, AND a nagios user.
I can email myself, and when I add myself to alerts, I get the email.
what am I missing?
Email COntacts not working
Re: Email COntacts not working
Nagios XI users and contacts are similar but not the same, and need to be configured differently. Please, review our documentation on how to configure email and text notifications here:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Also, check out our KB article on Nagios XI notification problems here:
https://support.nagios.com/kb/article/n ... ms-36.html
Let us know if this helped. Thank you!
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Also, check out our KB article on Nagios XI notification problems here:
https://support.nagios.com/kb/article/n ... ms-36.html
Let us know if this helped. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
matson-itops
- Posts: 133
- Joined: Wed Nov 18, 2015 11:19 pm
Re: Email COntacts not working
Nope, still no joy.
I am referring to a mailing list, aka "contact only"
I was already using notify-host-by-email and notify-service-by-email
I am using xi_generic_contact, should I try to switch to generic_contact?
notifications are 24x7 and "ON"
still no email when alert is triggered.
I am referring to a mailing list, aka "contact only"
I was already using notify-host-by-email and notify-service-by-email
I am using xi_generic_contact, should I try to switch to generic_contact?
notifications are 24x7 and "ON"
still no email when alert is triggered.
Re: Email COntacts not working
Most probably you don't need to - the notify-host-by-email and notify-service-by-email commands, that are defined on a "contact level" will override the commands, inherited from the template.I was already using notify-host-by-email and notify-service-by-email
I am using xi_generic_contact, should I try to switch to generic_contact?
What is the version of Nagios XI that you are currently using? Can you show us the config of a host or a service that you don't receive notifications about (but you should)? Also, show the contact's definition of the monitoring contact, added to this host/service, along with all relevant templates.
Show us a screenshot of the State History report, showing the host/service in question in a hard non-ok state, and a screenshot of the Notifications report for the same time period.
Are you using Sendmail or SMTP (Admin > System Config > Manage Email Settings)? Have you checked the mail logs for issues (/usr/local/nagiosxi/tmp/phpmailer.log and /var/log/maillog or /var/log/mail.log)?
Be sure to check out our Knowledgebase for helpful articles and solutions!