Nagios is sending mails manually but alerts are not coming
Nagios is sending mails manually but alerts are not coming
i noticed that i stopped getting email alerts from nagios even though when i look at reports i see that the notification dispatcher actually sent the email notification. Any help will be appreciated
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Nagios is sending mails manually but alerts are not comi
Hello @rnjie,
Which MTA are you currently setup with - SMPT or the default MTA in Linux (typically Sendmail)?
Please verify the correct email settings. Go to Admin > System Config > Email Settings, and then click the Send a Test Email button. In some situations, there can be a firewall blocking outbound SMTP connections.
Often, if this is a connection issue, you can see this is the mail logs. Submit a custom notification and then tail the log file.
SMTP log (phpmailer)
Sendmail
Please PM me a copy of your profile for us to review. Thanks.
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket.
Which MTA are you currently setup with - SMPT or the default MTA in Linux (typically Sendmail)?
Please verify the correct email settings. Go to Admin > System Config > Email Settings, and then click the Send a Test Email button. In some situations, there can be a firewall blocking outbound SMTP connections.
Often, if this is a connection issue, you can see this is the mail logs. Submit a custom notification and then tail the log file.
SMTP log (phpmailer)
Code: Select all
tail -f /usr/local/nagiosxi/tmp/phpmailer.logCode: Select all
tail -f /var/log/maillogTo send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios is sending mails manually but alerts are not comi
thank you for your reply, i found the solution, our nagios was integrated into opsgenie and all email alerts was sent to opsgenie but we were not getting it all of a sudden, we later found out that the api key in nagios didnt match that for opsgenie, still dont know why the key changed. we corrected the key and could receive alerts again.
please close the case
please close the case
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Nagios is sending mails manually but alerts are not comi
Hello @rnjie,
Thank you for using the Nagios Support Forum.
Great. Glad you got it sorted out. Closing.we corrected the key and could receive alerts again.
please close the case
Thank you for using the Nagios Support Forum.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!