NagiosXI: 5.5.2
Postfix: 2.10.1
We have 2 monitors which trigger a notification message in the Nagios logs, but the notification e-mail never makes it to the mail queue. As far as I know, these are the only monitors which are having these problems. How would I troubleshoot this type of issue?
When I force a failure via the web interface, the notification e-mail gets sent out. If we force a failure on the remove server, the notification never makes it to the mail queue.
The below screenshot shows the nagios log where it shows the notification getting set, but the notification does not show up in the mail queue.
Info about the Nagios server:
- Using mod-gearman
- Using remote database
Notification is not making it to the mail queue
-
lexisnexis
- Posts: 27
- Joined: Wed Dec 30, 2015 3:19 pm
Notification is not making it to the mail queue
You do not have the required permissions to view the files attached to this post.
Re: Notification is not making it to the mail queue
It's very strange that you're getting notifications in one instance, but not another. But I do see in your screenshot that it looks like postfix isn't running. Try starting it and see if it fixes the issue.
Code: Select all
sudo service postfix start 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!
-
lexisnexis
- Posts: 27
- Joined: Wed Dec 30, 2015 3:19 pm
Re: Notification is not making it to the mail queue
I had postfix stopped, so view the queue. If postfix was running, the queue would always show empty. I have already started postfix in order to keep the notifications running.
Do you have a tool or location or command, which will allow me to see how Nagios hands off the notifications to the mail queue?
Do you have a tool or location or command, which will allow me to see how Nagios hands off the notifications to the mail queue?
Re: Notification is not making it to the mail queue
You can enable logging in the Email Settings. That will show an entry in /usr/local/nagiosxi/tmp/phpmailer.log whenever phpmailer passes off a message. Could you do that and post any entries shown in the phpmailer.log file?
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!