Page 1 of 1

Nagios XI Time problem

Posted: Mon Jul 15, 2013 8:08 am
by rseiwert
I had a VM with a run away clock move everything into the future by about a day. I corrected the time on the machine but I knew this would happen and am looking for a sql statement to correct this. Now that I corrected the time nothing will check for about 24 hours. How can I reset the last check and next check times?

Re: Nagios XI Time problem

Posted: Mon Jul 15, 2013 9:18 am
by abrist
Stop Nagios:

Code: Select all

service nagios stop
Remove retention data:

Code: Select all

rm /usr/local/nagios/var/retention.dat
Start nagios:

Code: Select all

service nagios start