Page 1 of 1

Receiving old notifications, but no new ones.

Posted: Tue Oct 10, 2017 3:14 pm
by lee.krause
I'm receiving email alerts from servers that are not showing in the current system that are not down. However, I'm not receiving emails from servers that are currently down. I've looked at /var/spool/mqueue and there's nothing in there. /var/log/messages show the events, but /var/log/mail.log only shows old emails.

Re: Receiving old notifications, but no new ones.

Posted: Tue Oct 10, 2017 3:50 pm
by cdienger
Sounds like it's running with an old config. Under Configure > Core Config Manager > Tools > Config File Management, click Delete Files, Write Configs, Verify Files, Restart Nagios Core, in that order. If that doesn't resolve the problem run ps aux | grep nagios.cfg from the command line. This should show two nagios progesses running. If you see more than that then there was a problem stopping a previous process which is likely holding an old config. Try the following in that case:

Code: Select all

service nagios stop
killall -9 nagios
ps aux | grep nagios.cfg - verify they're stopped
service nagios start
ps aux | grep nagios.cfg - verify only two processes are running