Page 1 of 1

Host Durations off after moving VM to another ESX Host

Posted: Wed Nov 05, 2014 8:30 pm
by krobertson71
We moved our test Nagios XI instance to another ESX Host (Dedicated). After the move and startup I have noticed that the old hosts are displaying negative durations and have last check times set in the future - 5-22-2015

The ESX host had to be rebooted after the move due to a network issue and something else (waiting to hear back on that).

The host I added after the move is fine.

Monitoring seems to be performing just fine, but these hosts that were present before the move start at -60 and count down to 0 then start again and have a last check date 5-22-2015.

The ipaddress of the Nagios XI server did not change, nor then name so no DNS issues.


Stumped on this one.

Re: Host Durations off after moving VM to another ESX Host

Posted: Thu Nov 06, 2014 9:53 am
by lmiltchev
Make sure your system and php time is synced. You can review our documentation on changing the system time here:

http://assets.nagios.com/downloads/nagi ... m_Time.pdf

You may need to reboot the server as well.

Note: If this doesn't help, you can try removing the "retention.dat". This will set all of your checks as "pending".

Code: Select all

service nagios stop
rm -f /usr/local/nagios/var/retention.dat
service nagios start

Re: Host Durations off after moving VM to another ESX Host

Posted: Mon Nov 10, 2014 9:20 am
by krobertson71
Deleting the retention.dat file corrected the issue.

You can close this thread.

Re: Host Durations off after moving VM to another ESX Host

Posted: Mon Nov 10, 2014 9:36 am
by slansing
Thanks for letting us know, locking er' up.