Forum Discussion
Steve_Francis
10 years agoFormer Employee
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:
rawDate=output["LOCALDATETIME"]
TZ=rawDate[21..24].toInteger()
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 1.3.6.1.2.1.25.6.3.1.5.1
Related Content
- 17 days ago