[hobbit] ntpdate deprecated
henrik at hswn.dk
Fri Nov 13 11:51:26 CET 2009
In <200911111352.18786.bgmilne at staff.telkomsa.net> Buchan Milne <bgmilne at staff.telkomsa.net> writes:
>NTP is not that useful for monitoring the time on monitored hosts, (the
>client's built-in check is better, see the CLOCK option for hobbit-clients.cfg
>thresholds), unless you are running all your hosts as ntp servers.
Sorry, but I don't agree.
The CLOCK option works by comparing the timestamp a client puts into
the client-message with the timestamp on the Xymon server by the time
that client-message is received. This can easily vary several seconds,
- the load of the Xymon server
- network latencies between the client and the Xymon server
- the load on the client
- how long it takes the client to generate the client data
- how well time is synchronized on the Xymon server
- and probably something else
That's why the default threshold for the CLOCK test is 30 seconds;
it really is not a very accurate way of determining the actual
time difference between a client and the "real" time.
And for some types of servers (notably Windows domain controllers
and other Kerberos-style servers) it is completely inadequate.
You're right that it requires some code-changes to use the "sntp"
utility instead of "ntpdate". I'll merge some code for this into
4.3.0, that will also allow us to drop the old "ntpstat" extension
since we already have that data from either ntpdate or sntp.
More information about the Xymon