Monitor servers configured for different time zones?
Is their a way to configure Hyperic to know what time zone each server it monitors is in? We have database servers in 1 location, however some of those servers are set to their respective customer time zones. The problem being that the Agent and the HQ are not synced up and therefore do not provide statistics.
As Dan said, the system time for servers across timezones is usually stored in GMT. Individual users can usually set their timezone and thus get the 'correct' time when on the box.
It's absolutely essential that the HQ server and agent have the same concept of time, otherwise you'd have agents reporting data for the future (or in the past), and confuse the alerting subsystem.
On Apr 16, 2007, at 10:28 AM, Scott Farrell wrote:
> Is their a way to configure Hyperic to know what time zone each > server it monitors is in? We have database servers in 1 location, > however some of those servers are set to their respective customer > time zones. The problem being that the Agent and the HQ are not > synced up and therefore do not provide statistics. > > Thanks, > Scott F. >
One feature we could possibly add is a TimeZone offset ... or maybe a 'GMT Normalization' flag for agents. If they notice that they are in a different timezone than GMT, simply offset the current time. This would probably satisfy your requirements, yes?
On Apr 19, 2007, at 2:57 PM, Scott Farrell wrote:
> Unfortunately that is not an option for me in this instance. I > wish it were, but given how these particular Microsoft SQL > databases work I simply cannot use GMT/UTC on them. >
The agent uses System.currentTimeMillis() to set the time-stamp on collected measurements. Doesn't this always use UTC? The only issue will be that the date that is printed in the UI will use the time zone of the HQ server, but from a time synchronization perspective you shouldn't have any problems.