[ntp:questions] How to monitor NTP clients local time?
Hi. My name is Andrew and I have an unusual technical task. I should find a solution how to log ntp clients local time which are using my internal ntp server. According to this doc http://doc.ntp.org/4.2.6/monopt.html I should use rawstats and peerstats. These is my current sample config of the ntp: tinker panic 0 driftfile /var/lib/ntp/drift logfile /var/log/ntpstats/ntp.log logconfig =all statsdir /var/log/ntpstats/ statistics loopstats peerstats clockstats rawstats filegen loopstats file loopstats type day enable filegen peerstats file peerstats type day enable filegen clockstats file clockstats type day enable filegen rawstats file rawstats type day enable filegen protostats file protostats type day enable server pool.ntp.org iburst But something is not working as I'm expected that. In the rawstats and peerstats I can see just the time of the ntp servers from which I'm syncing, but I don't see the time of clients who are syncing from me. It's very strange, because according to the docs: rawstats : Each NTP packet received appends one line to the rawstats file set But ntp clients are not logged into this 2 files. Someone knows how to solve it? ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
[ntp:questions] How to monitor NTP clients local time?
> But something is not working as I'm expected that. In the rawstats and > peerstats I can see just the time of the ntp servers from which I'm syncing, > but I don't see the time of clients who are syncing from me. > It's very strange, because according to the docs: rawstats : Each NTP packet > received appends one line to the rawstats file set rawstats only logs packets that are responses in the normal request/response pair. There isn't any simple way to do what you want. You can add a server line for each client you want to monitor. If you include "noselect", it will collect and log all the data and then not use it to pollute your local clock. -- These are my opinions. I hate spam. ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions