[ntp:questions] Linux/Solaris- see connections from clients?
smith at cag.zko.hp.com
Fri Jan 19 20:38:26 UTC 2007
Stefan Lasiewski wrote:
> I'm in the process of migrating our local NTP server (Solaris) to a new
> set of machines (Linux).
> I've migrated all of the known NTP clients to use the new NTP servers.
> However, I want to ensure that I haven't forgotten anything, and that
> However, before I shut down the old NTP server, I want to ensure that
> no clients are connecting to the old NTP server.
> Is there a way within the xntp daemon on the server to log all incoming
> client connections to this NTP server? I'm periodically monitoring for
> network connections using netstat, but NTP connections are not
> persistent, and I might be missing these NTP connections.
> In ntp.conf, I set the following, but I'm not seeing any output from
> logconfig =syncall +clockall +sysall +peerall
> I appreciate your help.
> -= Stefan
"(x)ntpdc -c monlist" will show all connections - client and server -
since ntpd was started, including how many seconds ago the last
poll was and the average interval between polls. Note that
some clients, especially sntp clients (printers, switches, PCs,
etc.) may connect only very occasionally, so you'll want to have
a long-running ntpd if you want to try to catch them all.
More information about the questions