VMware {code} Community
AlexTheBoss
Contributor
Contributor

VSphere realtime stats: timestamp is 1 hour off

I have an app that pulls down the realtime stats of a vsphere install every 15 minutes, and it's been working like a champ for close to a year now.  Recently, we added a new vsphere install in the same datacenter (same timezone), and this one is returning timestamps 1 hour less than it should be.

The datacenter is GMT-5/6, the timestamp is reporting as if it's GMT-4.

I've cracked open the SOAP message body, and the timestamp is definitely coming from the server.  We've checked the timezone on the vsphere servers, and it appears to be correct (CDT), so I'm unsure as to what could be causing this to happen.

One of the things I do is track the last timestamp, and the next time I grab the realtime metrics, I'll hand the last timestamp back, so we're not always grabbing a full hours worth of stats since we only kickup every 15 minutes.  The first time it will pull down the realtime stats properly.  The second time, I get an error about the parameter, which indicates to me that even the server doesn't think the timestamp is right.

Any ideas?

Tags (2)
0 Kudos
0 Replies