I have Three XI servers that send notification emails to the same address / user / contact. However, two XI server emails are not being received or sent even though the Event Log shows they are...
Host Notification 2019-04-18 20:15:00 HOST NOTIFICATION: FAKEUSER01;FAKEHOST;DOWN;xi_host_notification_handler;check_icmp: Failed to resolve FAKEHOSTIP
Host Notification 2019-04-18 20:15:00 HOST NOTIFICATION: FAKEUSER02;FAKEHOST;DOWN;xi_host_notification_handler;check_icmp: Failed to resolve FAKEHOSTIP
I've compared everything on the "Good XI" to those on the "Bad XI" and can't find any discrepancies.
Contact config looks good, notification template was deployed, everything looks good.
Hoping you can help me identify what happened. These were all working a week ago!
Notifications not going out.
Re: Notifications not going out.
Are all 3 server setup the same Email settings in the Admin > Manage Email Settings menu in the XI GUI?
If you enable debugging in that menu, do you see any errors in the following log files when an email is generated?
If you are using a SMTP server to relay emails, you may have to login to that server to and see why it may be blocking the relaying of emails from the 2 servers.
If you enable debugging in that menu, do you see any errors in the following log files when an email is generated?
Code: Select all
/usr/local/nagiosxi/tmp/phpmailer.log
/var/log/maillog
/var/log/mail.logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Notifications not going out.
How can I send a PDF or other file directly to you as there is some proprietary information in what I need to send to you? Can't have this info accessible to the web.
Re: Notifications not going out.
You can send a Private Message if you like.
After you login to the Forums, click on the User Control Panel link in the top left.
Click on the Private Messages Tab.
Fill in the information, files and as much details as possible and Submit it.
Any questions, let us know.
After you login to the Forums, click on the User Control Panel link in the top left.
Click on the Private Messages Tab.
Fill in the information, files and as much details as possible and Submit it.
Any questions, let us know.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Notifications not going out.
Thanks. Actually an easier method was to click on your name from the previous post and a pop-up screen offered a "private message" option. Clicked on that an you now have an email containing a word doc with a step-by-step of last evenings issue.
Re: Notifications not going out.
Support - How, exactly, does Nagios send an email? Is there a step-by-step process documented anywhere?
Re: Notifications not going out.
This document describes how Nagios XI sends emails and explains how to configure your email settings. Nagios XI uses email to send notifications as well as for sending reports.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Thanks for the document on the contact settings and such but I will need to have the following done as well to determine what the issue could be.
If you enable debugging in that menu, do you see any errors in the following log files when an email is generated?
If you are using a SMTP server to relay emails, you may have to login to the relay server to see why it may be blocking the relaying of emails from the 2 servers.
If you login to the XI GUI and go to the Admin > Manage Email Settings, what is the Mail Method used?
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Thanks for the document on the contact settings and such but I will need to have the following done as well to determine what the issue could be.
If you enable debugging in that menu, do you see any errors in the following log files when an email is generated?
Code: Select all
/usr/local/nagiosxi/tmp/phpmailer.log
/var/log/maillog
/var/log/mail.logIf you login to the XI GUI and go to the Admin > Manage Email Settings, what is the Mail Method used?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Notifications not going out.
Sent four private messages
Re: Notifications not going out.
Please help me understand something. A little background first...
All of our Nagios XI & Fusion servers are Linux Redhat Virtual Servers. All disk is in a SAN environment. On Friday 04/12 we had a LUN failure on some disk in our SAN environment. That caused all of our Virtual Servers (windows, linux and aix) to "crash". We recovered the Nagios servers on Saturday night. Same night all of these email notifications started to not be received/sent (yet to be determined). A few of the servers had DB issues and we had to run the recover DB script. See my other case "SQL Error" from 04/15.
We did the following...
1) systemctl stop mariadb
2) /usr/local/nagiosxi/scripts/repair_databases.sh
3) systemctl start mariadb
If I'm not mistaken all of these email settings, contacts, etc, are stored in the Nagios DB... Yes?
Would it hurt anything to run the repair process to ensure that these DB's don't have some messed up pointers or corrupt rows?
All of our Nagios XI & Fusion servers are Linux Redhat Virtual Servers. All disk is in a SAN environment. On Friday 04/12 we had a LUN failure on some disk in our SAN environment. That caused all of our Virtual Servers (windows, linux and aix) to "crash". We recovered the Nagios servers on Saturday night. Same night all of these email notifications started to not be received/sent (yet to be determined). A few of the servers had DB issues and we had to run the recover DB script. See my other case "SQL Error" from 04/15.
We did the following...
1) systemctl stop mariadb
2) /usr/local/nagiosxi/scripts/repair_databases.sh
3) systemctl start mariadb
If I'm not mistaken all of these email settings, contacts, etc, are stored in the Nagios DB... Yes?
Would it hurt anything to run the repair process to ensure that these DB's don't have some messed up pointers or corrupt rows?
Re: Notifications not going out.
Thanks for the log files. I feel the issue is with either the relay email server or a server beyond that server.
In the log files, we see that the relay server is accepting the emails from the Nagios server.
After that, it is up to the relay server to pass them along so you will have to login to the relay server to see if they are getting blocked or dropped for some reason.
In the log files, we see that the relay server is accepting the emails from the Nagios server.
After that, it is up to the relay server to pass them along so you will have to login to the relay server to see if they are getting blocked or dropped for some reason.
Be sure to check out our Knowledgebase for helpful articles and solutions!