URGENT! Nagios flooding mail server but mailq is empty!
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: URGENT! Nagios flooding mail server but mailq is empty!
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!
I did upgrade. Here is the log that I think you are looking for.
You do not have the required permissions to view the files attached to this post.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: URGENT! Nagios flooding mail server but mailq is empty!
Please try this instead:
Code: Select all
# psql -Unagiosxi nagiosxi -c "SELECT COUNT(*) FROM xi_eventqueue;"Previous Nagios employee
Re: URGENT! Nagios flooding mail server but mailq is empty!
[root@bmcap-nagios01 ~]# psql -Unagiosxi nagiosxi -c "SELECT COUNT(*) FROM xi_eventqueue;"
count
-------
0
(1 row)
count
-------
0
(1 row)
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: URGENT! Nagios flooding mail server but mailq is empty!
How about:
Code: Select all
# psql -Unagiosxi nagiosxi -c "SELECT COUNT(*) FROM xi_events;"Previous Nagios employee
Re: URGENT! Nagios flooding mail server but mailq is empty!
Same
[root@bmcap-nagios01 ~]# psql -Unagiosxi nagiosxi -c "SELECT COUNT(*) FROM xi_events;"
count
-------
0
(1 row)
[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!
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!
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?
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: URGENT! Nagios flooding mail server but mailq is empty!
Can you do the following?
Then send me the file /tmp/log.tar.xz
I do not think this is related to an upgrade.
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*I do not think this is related to an upgrade.
Previous Nagios employee
Re: URGENT! Nagios flooding mail server but mailq is empty!
log attached
You do not have the required permissions to view the files attached to this post.