Thousands of notifications sent when computer restarted
Posted: Tue Jun 01, 2010 10:09 am
Hi,
I am running nagios on a spare desktop that I have. It is monitoring about 11 hosts and everything is working well except when I restart the computer....
When I restart the computer (running Fedora OS), if I don't log back in immediately it seems that Nagios determines it cant reach any of the hosts so it attempts to start sending notifications. I have sendmail setup to relay all email to another mail server that I have and for some reason it doesn't deliver any of these emails that nagios is creating till i actually login into account after restarting the machine.
The end result is that by the time i login there can be thousands of emails in /var/spool/clientmqueue which immediately start being sent when I login... and thus those configured to be notified receive thousands of emails.
What I would like is for Nagios and sendmail to work properly even when someone has not logged in yet.
thanks,
Blake McKeeby
I am running nagios on a spare desktop that I have. It is monitoring about 11 hosts and everything is working well except when I restart the computer....
When I restart the computer (running Fedora OS), if I don't log back in immediately it seems that Nagios determines it cant reach any of the hosts so it attempts to start sending notifications. I have sendmail setup to relay all email to another mail server that I have and for some reason it doesn't deliver any of these emails that nagios is creating till i actually login into account after restarting the machine.
The end result is that by the time i login there can be thousands of emails in /var/spool/clientmqueue which immediately start being sent when I login... and thus those configured to be notified receive thousands of emails.
What I would like is for Nagios and sendmail to work properly even when someone has not logged in yet.
thanks,
Blake McKeeby