Nagios is sending mails manually but alerts are not coming

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rnjie
Posts: 157
Joined: Wed Mar 20, 2019 4:59 pm

Nagios is sending mails manually but alerts are not coming

Post by rnjie »

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

Post by benjaminsmith »

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)

Code: Select all

tail -f /usr/local/nagiosxi/tmp/phpmailer.log
Sendmail

Code: Select all

tail -f /var/log/maillog
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.
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!
rnjie
Posts: 157
Joined: Wed Mar 20, 2019 4:59 pm

Re: Nagios is sending mails manually but alerts are not comi

Post by rnjie »

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
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

Post by benjaminsmith »

Hello @rnjie,
we corrected the key and could receive alerts again.
please close the case
Great. Glad you got it sorted out. Closing.

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