Nagios XI Time problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
rseiwert
Posts: 196
Joined: Wed Jun 22, 2011 10:33 pm
Location: Somewhere between Here and Now

Nagios XI Time problem

Post 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?
Grumpy Olde IT Guy
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios XI Time problem

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked