Login to the Nagios XI GUI and go to the Admin > Manage Email Settings menu and enable the debug log.
---- we already enable the debuglog-----
All contacts are working we are facing the problem is sometimes we got alerts on Friday and got stopped. Again we are getting alerts yesterday and got stopped and for users, there is no delay in alerts.
Example:: contact is pavan
service is ip systems and service name :/boot disk usage
mail alerts
Re: mail alerts
You do not have the required permissions to view the files attached to this post.
Re: mail alerts
I saw the entry in the phpmailer log when the system sent the email using the contact_notification_handler.php script but there were not errors.
Take a look at the above timestamps and see if they match the timestamp in the received emails.
If the timestamps match up but the emails were delayed, then is could be an issue with the smtp host and the settings for that account.
If the pavan contact never received the email but you see that the Nagios server sent the email in the Reports > Notifications menu, then the issue is probably the SMTP server.
Code: Select all
[03-20-2019 14:52:31] Message sent! (method=smtp;host=10.189.128.202;port=25;security=none), Referer: scripts/contact_notification_handler.php > Notification Handler Script
[03-20-2019 14:53:21] Message sent! (method=smtp;host=10.189.128.202;port=25;security=none), Referer: scripts/contact_notification_handler.php > Notification Handler ScriptIf the timestamps match up but the emails were delayed, then is could be an issue with the smtp host and the settings for that account.
If the pavan contact never received the email but you see that the Nagios server sent the email in the Reports > Notifications menu, then the issue is probably the SMTP server.
Be sure to check out our Knowledgebase for helpful articles and solutions!