Xymon Mailing List Archive search

ntp - custom timeout

list Henrik Størner
Sat, 03 Mar 2012 07:17:50 -0500
Message-Id: <user-ec7334d48dfb@xymon.invalid>

Den 03-03-2012 02:36, Andrey Chervonets skrev:
I need to setup custome response timeout for ntp tests for some (or at
least for all) hosts.
Option --cmdtimeout for xymonnet is not solution,
because problem is not with ntpdate delay, but  how long ntpdate
expectes response

ntpdate man says:
      -t timeout
                Specify the maximum time waiting for a server response
as the value timeout, in seconds and fraction. The value is  is  rounded
                to a multiple of 0.2 seconds. The default is 1 second, a
value suitable for polling across a LAN.

But I can't find how to tell xymon server use that option (the best
custom per host).
You can add the option to the NTPDATE setting in xymonserver.cfg.


Regards,
Henrik