Page 1 of 2
Timing off after vCenter upgrade
Posted: Wed Jun 18, 2014 9:03 am
by mvp
Timing is off on Nagios after a vCenter upgrade. Our server guys have told me that the vCenter was upgraded to 5.5. I am attaching a screenshot of what we are seeing in Nagios. Please notice that the time is 'off' & also 'future tense' by months.
This was set-up as a Linux 64 bit, VMware image install
Re: Timing off after vCenter upgrade
Posted: Wed Jun 18, 2014 9:18 am
by slansing
What is the output of the following:
Code: Select all
cat /etc/php.ini | grep 'date.time'
I want to see if your system time has pushed out as well.
Re: Timing off after vCenter upgrade
Posted: Wed Jun 18, 2014 9:55 am
by mvp
Code: Select all
cat /etc/php.ini | grep 'date.time'
; http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
date.timezone = America/New_York
Re: Timing off after vCenter upgrade
Posted: Wed Jun 18, 2014 1:06 pm
by lmiltchev
You can try removing the retention.dat file:
Code: Select all
service nagios stop
killall nagios
cd /usr/local/nagios/var
rm -f retention.dat
service nagios start
This will cause all of your checks to to go "pending" state and *should* fix the timing issue (if it hasn't been already fixed).
Re: Timing off after vCenter upgrade
Posted: Wed Jun 18, 2014 2:13 pm
by mvp
This resolved all the timing issues. thanks!!
I am not sure if this is a different issue, your input would be appreciated. We have had this in the past & it seemed that it was due to too many checks around the same time... bogging down Nagios - but it appears to only be affecting vCenter servers & 'localhost'. Please advise. I attached a screenshot of what we're seeing & server stats. thanks
Re: Timing off after vCenter upgrade
Posted: Wed Jun 18, 2014 3:16 pm
by Box293
Most likely your bogging down issue will be due to the VMware SDK used to execute the VMware checks. It's a memory and CPU resource hog which in turn causes Nagios to stop responding.
It just so happens that I've developed a Plugin that runs on a vMA appliance, which offloads the VMware checks to stop your Nagios host becoming so bogged down.
Go and download
box293_check_vmware from the Nagios Exchange. Have a good read of the manual as it contains everything you need to know to get it running.
A Wizard for Nagios XI that is specific to this plugin is coming soon ...
Re: Timing off after vCenter upgrade
Posted: Wed Jun 18, 2014 3:34 pm
by devildog31415
Glad I started following this post!
I stopped all my VMware checks recently (except for ping) because of the bog-down.
Thank you for the option to offload, I have tagged this post and will implement it this fall after projects taper off

Re: Timing off after vCenter upgrade
Posted: Wed Jun 18, 2014 3:55 pm
by lmiltchev
@mvp
Let us know if Box293's suggestion helped.
Re: Timing off after vCenter upgrade
Posted: Wed Jun 18, 2014 4:31 pm
by mvp
Great stuff, I will hopefully be able to do something with this & update in the next week.
Thank you!
Re: Timing off after vCenter upgrade
Posted: Thu Jun 26, 2014 12:02 pm
by tmcdonald
Just checking in. Got an update for us?