check_ntp has to respect ntpd-parameters like average and minimum (#1295)

ringep notifications at github.com
Wed Oct 29 07:03:15 CET 2014


actually check_ntp/check_tnp_time submits udp packest to the ntp-server with
an interval of about one second. In the documentation of ntpd servers it
menttioned, that ntp-requests are/can be discarded when appearing with this
high frequency: 

>From ´http://www.eecis.udel.edu/~mills/ntp/html/accopt.html#discard: 

discard [ average avg ][ minimum min ] [ monitor prob ]
    Set the parameters of the rate control facility which protects the server from client abuse. If the limited flag is present in the ACL, packets that violate these limits are discarded. If, in addition, the kod flag is present, a kiss-o'-death packet is returned. See the Rate Management page for further information. The options are:

    average avg
        Specify the minimum average interpacket spacing (minimum average headway time) in log2 s with default 3.
    minimum min
        Specify the minimum interpacket spacing (guard time) in seconds with default 2.
    monitor
        Specify the probability of being recorded for packets that overflow the MRU list size limit set by mru maxmem or mru maxdepth. This is a performance optimization for servers with aggregate arrivals of 1000 packets per second or more.


For this, check_ntp will have to adopt its own request frequency or there
have to command line parameters to adjust average and minimum. 

---
Reply to this email directly or view it on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/issues/1295
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20141028/ef79984e/attachment.html>


More information about the Devel mailing list