Page 2 of 4
Re: Notification by mail stopped after upgrade to 5.5.3
Posted: Wed Sep 05, 2018 8:52 am
by scottwilkerson
Can you send the /usr/local/nagiosxi/tmp/phpmailer.log
If it doesn't exist run the following
Code: Select all
touch /usr/local/nagiosxi/tmp/phpmailer.log
chmod ug+rw /usr/local/nagiosxi/tmp/phpmailer.log
chown nagios.nagios /usr/local/nagiosxi/tmp/phpmailer.log
Thanks
Re: Notification by mail stopped after upgrade to 5.5.3
Posted: Wed Sep 05, 2018 9:17 am
by biroby
Hi Scott,
file exists and attached to this reply.
I attach also screenshot from event log where display send notification.
Thanks for your support,
biroby
Re: Notification by mail stopped after upgrade to 5.5.3
Posted: Wed Sep 05, 2018 10:42 am
by scottwilkerson
All those lines that show:
Code: Select all
[09-18-2017 01:12:13] Message sent! (method=smtp;host=10.250.1.14;port=25;security=none), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
Mean that 10.250.1.14 accepted the message for delivery. At this point you would need to check the logs on that server to see why it wasn't delivered, or possibly a spam filter.
Re: Notification by mail stopped after upgrade to 5.5.3
Posted: Thu Sep 06, 2018 1:17 am
by biroby
Hi Scott,
if you look at the timestamp date you see is about 2017 when notification running correctly.
We have notification problem from September 2108 when we upgraded to 5.5.3 version; from this date we don't receive any notification.
Thanks
Biroby
Re: Notification by mail stopped after upgrade to 5.5.3
Posted: Thu Sep 06, 2018 6:03 am
by DanielKissel
I have the same issue here and can verify that this occured after the upgrade to 5.5.3 as well.
Checked our Mail Server and no Messages were received. This means the problem must be in nagios. Sending test mails from nagios works fine.
Re: Notification by mail stopped after upgrade to 5.5.3
Posted: Thu Sep 06, 2018 7:37 am
by scottwilkerson
biroby wrote:Hi Scott,
if you look at the timestamp date you see is about 2017 when notification running correctly.
We have notification problem from September 2108 when we upgraded to 5.5.3 version; from this date we don't receive any notification.
Thanks
Biroby
Apologies, can you show the permissions on that file?
Code: Select all
ls -al /usr/local/nagiosxi/tmp/phpmailer.log
Re: Notification by mail stopped after upgrade to 5.5.3
Posted: Thu Sep 06, 2018 8:01 am
by biroby
Hi Scott,
this is file permission.
[root@itpglnx02 ~]# ls -al /usr/local/nagiosxi/tmp/phpmailer.log
-rw-r--r-- 1 apache nagios 84 Sep 4 12:22 /usr/local/nagiosxi/tmp/phpmailer.log
[root@itpglnx02 ~]#
Thanks
Biroby
Re: Notification by mail stopped after upgrade to 5.5.3
Posted: Thu Sep 06, 2018 8:26 am
by scottwilkerson
ok, looks like it isn't writable by nagios, please run the following:
Code: Select all
chown nagios.nagios /usr/local/nagiosxi/tmp/phpmailer.log
chmod g+w/usr/local/nagiosxi/tmp/phpmailer.log
Then after the next few notifications are supposed to go out, they should be logged there.
Re: Notification by mail stopped after upgrade to 5.5.3
Posted: Thu Sep 06, 2018 9:05 am
by biroby
Hi Scott,
i've done steps in your post but problem persists. Nothing was write on /usr/local/nagiosxi/tmp/phpmailer.log.
This is current permission:
[root@itpglnx02 log]# ls -la /usr/local/nagiosxi/tmp/phpmailer.log
-rw-rw-r-- 1 nagios nagios 84 Sep 4 12:22 /usr/local/nagiosxi/tmp/phpmailer.log
[root@itpglnx02 log]#
Re: Notification by mail stopped after upgrade to 5.5.3
Posted: Thu Sep 06, 2018 9:17 am
by scottwilkerson
have new notifications been created in the Notifications report since making the change?