Page 3 of 6
Re: URGENT! Nagios flooding mail server but mailq is empty!
Posted: Mon Apr 03, 2017 4:34 pm
by dwhitfield
Did you recently upgrade to 5.4.3? It seems like it did not install properly. If you did upgrade recently, can you post your upgrade.log?
Re: URGENT! Nagios flooding mail server but mailq is empty!
Posted: Mon Apr 03, 2017 4:43 pm
by dfmco
I did upgrade. Here is the log that I think you are looking for.
Re: URGENT! Nagios flooding mail server but mailq is empty!
Posted: Mon Apr 03, 2017 4:59 pm
by avandemore
Please try this instead:
Code: Select all
# psql -Unagiosxi nagiosxi -c "SELECT COUNT(*) FROM xi_eventqueue;"
Re: URGENT! Nagios flooding mail server but mailq is empty!
Posted: Mon Apr 03, 2017 5:20 pm
by dfmco
[root@bmcap-nagios01 ~]# psql -Unagiosxi nagiosxi -c "SELECT COUNT(*) FROM xi_eventqueue;"
count
-------
0
(1 row)
Re: URGENT! Nagios flooding mail server but mailq is empty!
Posted: Tue Apr 04, 2017 9:03 am
by avandemore
How about:
Code: Select all
# psql -Unagiosxi nagiosxi -c "SELECT COUNT(*) FROM xi_events;"
Re: URGENT! Nagios flooding mail server but mailq is empty!
Posted: Tue Apr 04, 2017 9:10 am
by dfmco
Same
[root@bmcap-nagios01 ~]# psql -Unagiosxi nagiosxi -c "SELECT COUNT(*) FROM xi_events;"
count
-------
0
(1 row)
Re: URGENT! Nagios flooding mail server but mailq is empty!
Posted: Tue Apr 04, 2017 9:18 am
by dfmco
As an FYI, we were in violation of our contract (4 days down) so I had to turn on mail again. It seems that the queues have timed out as we have not gotten any alarms. I must understand what happened and it needs to be fixed as we now owe the customer an RFO due to the amount of time this has been down.
Re: URGENT! Nagios flooding mail server but mailq is empty!
Posted: Tue Apr 04, 2017 9:32 am
by dfmco
You have me thinking about the upgrade. The last several upgrades had to be done manually from the CLI as the GUI upgrade would fail. Do you think that is related?
Re: URGENT! Nagios flooding mail server but mailq is empty!
Posted: Tue Apr 04, 2017 1:00 pm
by avandemore
Can you do the following?
Code: Select all
# tar cJvf /tmp/log.tar.xz /usr/local/nagios/var/nagios.log /usr/local/nagios/var/archives/nagios-04-* /usr/local/nagios/var/archives/nagios-03-3*
Then send me the file /tmp/log.tar.xz
I do not think this is related to an upgrade.
Re: URGENT! Nagios flooding mail server but mailq is empty!
Posted: Tue Apr 04, 2017 1:24 pm
by dfmco
log attached