Page 1 of 1

After Change of SMTP Server no notifications are sent out

Posted: Thu Feb 10, 2022 3:19 am
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?

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

Posted: Fri Feb 11, 2022 10:35 am
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