Hello,
One of the main things I need Nagios to do is check the servers for time drift. I have all my servers running ntp against an NTP server, but I still get some nasty drift on some of the systems. I want Nagios to monitor this drift and inform me when the drift reaches a certain point then I can go in to reset the time on the system. My question is the accuracy of the check_ntp_time function or am I reading it wrong.
Running "check_ntp_time -H time01" produces the following output
Quote:
NTP OK: Offset -0.0006129741669 secs|offset=-0.000613s;60.000000;120.000000;
|
Running "ntpq -p" produces the following output
Quote:
remote refid st t when poll reach delay offset jitter
==============================================================================
*time01 LOCAL(0) 11 u 963 1024 377 1.276 -0.292 0.020
|
You can see the offset returned by check_ntp_time is -0.0006129741669
whereas the offset from ntpq -p is -0.292
I don't see a match from the check_ntp_time function, they are not even what I would call close. Am I misunderstanding something or is there a large difference in values between the ntpq command and check_ntp_time function?
Thank you