After Change of SMTP Server no notifications are sent out

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
wagnbeu0
Posts: 27
Joined: Tue Nov 03, 2015 5:28 am

After Change of SMTP Server no notifications are sent out

Post by wagnbeu0 »

Hi, i have changed my SMTP server settings. We use Nagios XI 5.8.7 on Centos7.9
Old one was without any encryption, new one is using TLS 1.2

Do do so I really needed to dive into some config scripts:
/usr/local/nagiosxi/html/includes/phpmailer/class.phpmailer.php
public $SMTPAutoTLS = true;

I also needed to vopy the SSL certificates from my SMTP Server to /etc/pki/ca-trust/source/anchors and run update-ca-trust and restart Apache Webserver.

So at the end the Test Message was successfully delivered.

But:
I do not get any notifications or alarms anymore ... Is there anything I need to do that I get my notifications again?
Typically I received ~100 Mails per day, not it is silence ...

I received ONE Message, and ths is all. HOw can I check why no notifications are sent out?
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: After Change of SMTP Server no notifications are sent ou

Post by gsmith »

Hi

Take a look at /usr/local/nagios/var/nagios.log. You will be able to see the various hosts and services
changing states, and if one of those reaches a point of alerting you will see it in this log. So try

Code: Select all

grep -i sent /usr/local/nagios/var/nagios.log
Please let me know the results.

Thanks
Locked