Page 1 of 1

nagios xi stopped monitoring

Posted: Thu Mar 12, 2015 6:39 am
by venkitesh
hi all,

nagios xi stopped monitoring suddenly.

even thoough notifications are enabled for all hosts, it is showing notifications are disabled.

normally i can see in /var/log/messages i can see the services being monitored.

but nothing is coming .

Any help

Re: nagios xi stopped monitoring

Posted: Thu Mar 12, 2015 9:31 am
by tmcdonald
Is the nagios process running?

Code: Select all

service nagios status
ps -ef | grep bin/nagios
Where is it showing that notifications are disabled? Please provide a screenshot.

Re: nagios xi stopped monitoring

Posted: Fri Mar 13, 2015 12:30 am
by venkitesh
hi tmcdonald,

ndo2db: Error: mysql_query() failed for 'UPDATE nagios_conninfo SET disconnect_time=NOW(), last_checkin_time=NOW(), data_end_time=FROM_UNIXTIMnes_processed='0', entries_processed='0' WHERE conninfo_id='0''
Mar 13 10:41:11 localhost ndo2db: mysql_error: 'MySQL server has gone away'
Mar 13 10:41:11 localhost ndo2db: Error: Connection to MySQL database has been lost!

Please help

Re: nagios xi stopped monitoring

Posted: Fri Mar 13, 2015 10:20 am
by jolson
It looks like mysql may not be running.

Code: Select all

service mysqld status
service mysqld start
Then let's attempt to tail the error log...

Code: Select all

tail -n100 /var/log/mysqld.log
Please report the above back. Thank you!