Ad Widget

Collapse

Esxi Monitoring - NTP Client service monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jagadeesh kumar
    Junior Member
    • May 2013
    • 1

    #1

    Esxi Monitoring - NTP Client service monitoring


    Hai all
    we have some esx servers..we want to monitor ntp client service for those esxi servers..Could any one of you please help me in this.

    what are all the parameters we can monitor related to ntp service??

    if any one of u have any keys for montioring that service..could u please share it..

    Thank you..
  • PtY
    Junior Member
    • Mar 2014
    • 10

    #2
    Originally posted by jagadeesh kumar

    what are all the parameters we can monitor related to ntp service??
    Old question, but I'm new here, and yesterday I created a good solution for monitoring the time precision of monitored hosts with a userparameter:

    HTML Code:
    UserParameter=time.correction,offset=$(/usr/bin/ntpq -pn | /bin/egrep '^\*' | /usr/bin/awk '{ print $9 }'); [ -z "$offset" ] && offset=1000; /bin/echo "$offset"
    This give back the time offset difference in milliseconds from the time of the last server what the ntpd daemon synchronized with.
    Or give back 1000, when the ntpq isn't available/usable.
    My trigger is alert me, if the difference >500 or <-500 ms.

    Comment

    Working...