Timing off after vCenter upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
mvp
Posts: 26
Joined: Tue Jul 26, 2011 8:57 am
Location: USA - PA

Timing off after vCenter upgrade

Post 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
You do not have the required permissions to view the files attached to this post.
mvp
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Timing off after vCenter upgrade

Post by slansing »

What is the output of the following:

Code: Select all

date

Code: Select all

cat /etc/php.ini | grep 'date.time'
I want to see if your system time has pushed out as well.
User avatar
mvp
Posts: 26
Joined: Tue Jul 26, 2011 8:57 am
Location: USA - PA

Re: Timing off after vCenter upgrade

Post by mvp »

Code: Select all

date
Wed Jun 18 10:55:11 EDT 2014

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
Last edited by slansing on Wed Jun 18, 2014 9:57 am, edited 1 time in total.
Reason: Joined your two posts together since you were the last responder, also added code wrap to make it easier to read.
mvp
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Timing off after vCenter upgrade

Post 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).
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
mvp
Posts: 26
Joined: Tue Jul 26, 2011 8:57 am
Location: USA - PA

Re: Timing off after vCenter upgrade

Post 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
You do not have the required permissions to view the files attached to this post.
mvp
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Timing off after vCenter upgrade

Post 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 ...
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
devildog31415
Posts: 48
Joined: Thu Jun 12, 2014 10:55 am

Re: Timing off after vCenter upgrade

Post 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 :)
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Timing off after vCenter upgrade

Post by lmiltchev »

@mvp
Let us know if Box293's suggestion helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
mvp
Posts: 26
Joined: Tue Jul 26, 2011 8:57 am
Location: USA - PA

Re: Timing off after vCenter upgrade

Post by mvp »

Great stuff, I will hopefully be able to do something with this & update in the next week.
Thank you!
mvp
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Timing off after vCenter upgrade

Post by tmcdonald »

Just checking in. Got an update for us?
Former Nagios employee
Locked