nagios "Email Settings" are beig gignored

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: nagios "Email Settings" are beig gignored

Post by benjaminsmith »

Hello,

The phpmailer and Nagios logs are looking normal now.

Code: Select all

[09-10-2019 11:25:14] Message sent! (method=smtp;host=host-name.com;port=25;security=none), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[09-10-2019 11:33:13] Message sent! (method=smtp;host=host-name.com;port=25;security=none), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[09-10-2019 11:54:52] Message sent! (method=smtp;host=host-name.com;port=25;security=none), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[09-10-2019 11:54:53] Message sent! (method=smtp;host=host-name.com;port=25;security=none), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[09-10-2019 11:54:53] Message sent! (method=smtp;host=host-name.com;port=25;security=none), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
Looks like certain specific services always send notifications correctly and certain other services always send them incorrectly.
If some services are working and some are not, this is typically a configuration issue. What is the exact names of the hosts and services that are not sending notifications?

Please see this guide for troubleshooting tips:
Nagios XI - Notification Problems
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!
gornm565
Posts: 72
Joined: Tue Nov 15, 2016 6:11 pm

Re: nagios "Email Settings" are beig gignored

Post by gornm565 »

No, they are all working but they are coming out from email address [email protected] instead of the one in Email Settings. And those emails are going to the Internet using the MX record lookup, instead of using the internal Exchange server that is defined in Email settings.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: nagios "Email Settings" are beig gignored

Post by benjaminsmith »

Hello @gornm565,

Those emails are being sent by postfix (Sendmail) rather than PHPmailer. Can you post a screen shot of the Email Settings page?

Also, you have a few contacts configured to use the Nagios Core handlers and not XI notification commands. Specifically, AlphaSuiteSupport, Ze Wang, agrybas, alphasuitedev, asingh, hfrancisco and munter.

You'll need to configure those contacts to use the XI notification handlers so they will use the SMTP PHPMailer settings.

See this guide for step-by-step instructions:

Configuring Core Contacts to Use Nagios XI PHPMailer SMTP Settings
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