• 0
Sign in to follow this  
Derek Lai

Monitor server timezone setting


Our application depends on server timezone settings be set to UTC instead of the actual location. We've found on occasions that some of the servers timezone setting was reset to the local timezone they are in. Is it possible to monitor the timezone setting so that when it is changed for some reason an alert will be sent?

Share this post

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

If your servers are Windows servers - yes, you can do it. Good timing - we just wrote a blog about Windows Time monitoring today.

See http://www.logicmonitor.com/blog/2015/07/10/windows-its-about-time/

To solve this specific problem, I'd say get the Win_TimeOffset datasource and then:

- add another complex datapoint, called TimeZoneOffset. Again, use Groovy script to calculate the value, but make the Groovy just this:



return TZ

This datapoint will now reflect the systems timezone offset from UTC, and you can set an alert if it does not equal zero.

If oyu mean Linux servers, you could do a very similar thing by parsing the output of

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this