VMware Cloud Community
ShockValue
Contributor
Contributor

Hyperic Clock off, how to fix?

I've loaded up the latest Hyperic on a CentOS box. All got installed fine, but it wasn't until a day or 2 later that I noticed that the system clock was off. I've fixed the linux system clock, but the Hyperic alerts continue to use the incorrect time that was in use when it got installed.

I've checked both the hardware clock, the linux time, and have rebooted, etc a few times. But Hyperic is still off. How do I fix?


Thanks!
0 Kudos
2 Replies
ShockValue
Contributor
Contributor

OK, I'm closer.

export TZ="PST8PDT"

made the time work after I restarted Hyperic. Now just trying to figure out where to put it so it's a permenant fix.
0 Kudos
ShockValue
Contributor
Contributor

Just so that other newbs like me might profit:

I added the export line to the /etc/init.d/hyperic-hq-server script and it appears to work just dandy even after a reboot.
0 Kudos