Page 1 of 1

Nagios sending a lot of failed host nontifications

Posted: Mon Apr 14, 2014 7:56 am
by tgfde
Hello,

Our Nagios instance is sending a lot of host down notifications even when they are not. It's also not complaining about all of the host monitored by nagios. Below is a sample of the message.

CRITICAL - 10.41.17.247: rta nan, lost 100%

Nagios XI 2012R2.1
Cent OS 6 32 bit
Virtual Server

Thanks in advanced.

Re: Nagios sending a lot of failed host nontifications

Posted: Mon Apr 14, 2014 8:14 am
by tgfde
It looks like nagios can't ping these failed host but it is able to ping a host that's on the same network as the others. No network change occured this weeked.

Thanks.

Re: Nagios sending a lot of failed host nontifications

Posted: Mon Apr 14, 2014 8:32 am
by tgfde
I found the following error from the messages.log (var/log)

Apr 14 07:48:11 cordmon1 ndo2db: Error: mysql_query() failed for 'UPDATE nagios_conninfo SET disconnect_time=NOW(), last_checkin_time=NOW(), data_end_time=FROM_UNIXTIME(0), bytes_processed='0', lines_processed='0', entries_processed='0' WHERE conninfo_id='0''
Apr 14 07:48:11 cordmon1 ndo2db: mysql_error: 'MySQL server has gone away'
Apr 14 07:48:11 cordmon1 ndo2db: Error: Connection to MySQL database has been lost!
Apr 14 07:48:11 cordmon1 nagios: ndomod: Shutdown complete.

Thanks.

Re: Nagios sending a lot of failed host nontifications

Posted: Mon Apr 14, 2014 8:51 am
by tgfde
Please disregard.
I was able to solve my problem by running the mysql fix script.

Thanks.