Hi @yeahMon,
The logs look normal. You can follow the process from the notification generation within Nagios XI to the record of message sent in the mail log.
[removed logs]
You can pull the notification report from Home > Incident Management > Notifications and trace back the notifications to the mail logs to further understand what's happening. It's helpful to focus on or trace a specific host and contact.
However, it looks the message are getting to the relay but not being delivered in time or not at all. You can try testing this by using the SMTP server option in Admin > System Config > Manage Email Settings.
Stopped receiving email notifications
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Stopped receiving email notifications
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: Stopped receiving email notifications
Hi Benjamin,
I don't have access to SMTP server. Sendmail is what we are using.
I checked on the nagios server and postfix does not have a que.
Does nagios que events or notifications that are getting blocked?
The issue seems to be specifically with email notifications that come in through 'problem' type events from the monitored hosts. Notifications triggered from the nagios ui seem to be fine. I dont think there is a problem with our postfix/sendmail, as i can send a message from the command line on the nagios server, as well as through test/custom notifications.
Also when i tail the maillog, and go out cause a warning/critical event, the maillog does not even move.
So the event is not getting that far.
I don't have access to SMTP server. Sendmail is what we are using.
I checked on the nagios server and postfix does not have a que.
Does nagios que events or notifications that are getting blocked?
The issue seems to be specifically with email notifications that come in through 'problem' type events from the monitored hosts. Notifications triggered from the nagios ui seem to be fine. I dont think there is a problem with our postfix/sendmail, as i can send a message from the command line on the nagios server, as well as through test/custom notifications.
Also when i tail the maillog, and go out cause a warning/critical event, the maillog does not even move.
So the event is not getting that far.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Stopped receiving email notifications
Hi @yeahMon,
I noticed this warning in the last batch of logs:
It would be best to open a support ticket at this point to further diagnose the issue. I will follow up the tech regarding this case.
Please upload a fresh system profile and a notifications report ( go to Home > Incident Management > Notifications ) for the last 24 hours to the ticket. Also, support tickets are private and it will be easier to share information.
To open a support ticket go to:
https://support.nagios.com/tickets/
Let me know if you have any questions.
I noticed this warning in the last batch of logs:
Let's change the permissions on that script:PHP Warning: file_put_contents(/usr/local/nagiosxi/tmp/phpmailer.log): failed to open stream: Permission denied in /usr/local/nagiosxi/html/includes/utils-email.inc.php on line 160
User has mobile text notifications disabled.
Code: Select all
chown nagios.nagios /usr/local/nagiosxi/tmp/phpmailer.log
chmod 660 /usr/local/nagiosxi/tmp/phpmailer.log
Please upload a fresh system profile and a notifications report ( go to Home > Incident Management > Notifications ) for the last 24 hours to the ticket. Also, support tickets are private and it will be easier to share information.
To open a support ticket go to:
https://support.nagios.com/tickets/
Let me know if you have any questions.
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: Stopped receiving email notifications
Thanks Benjamin,
Yesterday i restarted the notification process. We started to receive notifications that appeared to be slightly delayed. Over last night they seem to be back on track. I am wondering if the DB repairs and table truncation helped fix the issue, but the restart was required?
Anyways, i would like to monitor the system for 24 HRs, and keep track of events through the UI and email, to ensure that everything is working properly.
I'll report back tomorrow, at which point i will either log a ticket if required, or, 'knock on wood', close the issue.
Yesterday i restarted the notification process. We started to receive notifications that appeared to be slightly delayed. Over last night they seem to be back on track. I am wondering if the DB repairs and table truncation helped fix the issue, but the restart was required?
Anyways, i would like to monitor the system for 24 HRs, and keep track of events through the UI and email, to ensure that everything is working properly.
I'll report back tomorrow, at which point i will either log a ticket if required, or, 'knock on wood', close the issue.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Stopped receiving email notifications
Hi Yeahmon,
Sounds good. I'll keep this post open and wait for your reply.I'll report back tomorrow, at which point i will either log a ticket if required, or, 'knock on wood', close the issue.
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: Stopped receiving email notifications
Benjamin,
Another 24 Hrs and notifications seem to be working correctly!
I guess we can close this thread now.
Thanks for your help in getting this fixed.
Another 24 Hrs and notifications seem to be working correctly!
I guess we can close this thread now.
Thanks for your help in getting this fixed.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Stopped receiving email notifications
No problem. We'll close this out, and if you have any issues again, just open a new thread.Another 24 Hrs and notifications seem to be working correctly!
I guess we can close this thread now.
Thanks for your help in getting this fixed.
Have a great weekend!
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!