Host Durations off after moving VM to another ESX Host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
krobertson71
Posts: 444
Joined: Tue Feb 11, 2014 10:16 pm

Host Durations off after moving VM to another ESX Host

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
krobertson71
Posts: 444
Joined: Tue Feb 11, 2014 10:16 pm

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

Post by krobertson71 »

Deleting the retention.dat file corrected the issue.

You can close this thread.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

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

Post by slansing »

Thanks for letting us know, locking er' up.
Locked