Log each request? - NTP

This is a discussion on Log each request? - NTP ; Is there a way to log each request from a client to a file? I'd like to keep a running log of whenever someone requests time from me. Then I can graph over time if usage has gone up or ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Log each request?

  1. Log each request?

    Is there a way to log each request from a client to a file? I'd like
    to keep a running log of whenever someone requests time from me. Then
    I can graph over time if usage has gone up or down using MRTG or
    something. Is this possible?

  2. Re: Log each request?

    On 2007-11-21, scott.baker@gmail.com wrote:

    > Is there a way to log each request from a client to a file? I'd like
    > to keep a running log of whenever someone requests time from me. Then
    > I can graph over time if usage has gone up or down using MRTG or
    > something. Is this possible?


    See any of the packets links at
    http://www.cs.wisc.edu/cgi-bin/crick...%2Fntp_servers

    As to how that's done with cricket ...

    --
    Steve Kostecke
    NTP Public Services Project - http://support.ntp.org/

  3. Re: Log each request?

    scott.baker@gmail.com wrote:
    > Is there a way to log each request from a client to a file? I'd like
    > to keep a running log of whenever someone requests time from me. Then
    > I can graph over time if usage has gone up or down using MRTG or
    > something. Is this possible?


    ntpdc -c monlist will give you a list of up to 400 (or is it 600?)
    addresses that have queried your server and how many times. There is no
    current way to log the queries (though you could run debug mode which
    will show you the packets coming in and going out and from where. I
    don't really recommend any of these approaches because writing to a file
    really can really slow down a server.

    Danny

+ Reply to Thread