Xymon Mailing List Archive search

http timeout

list Ralph Mitchell
Thu, 26 Apr 2018 23:29:44 -0400
Message-Id: <user-c280db5a2424@xymon.invalid>

You can set server-wide network test timeouts in server/etc/tasks.cfg.
Find the [xymonnet] entry, alter the CMD line according to the man page:

     [xymonnet]
        CMD xymonnet --report --ping --checkresponse  --timeout=10

From the man page:
       --timeout=N
              Determines  the  timeout  (in seconds) for each service that
is tested. For
              TCP tests (those from XYMONNETSVCS), if the connection to the
service  does
              not  succeed  within  N seconds, the service is reported as
being down. For
              HTTP tests, this is the absolute limit for the entire request
to  the  web‐
              server  (the  time  needed to connect to the server, plus the
time it takes
              the server to respond to the request).  Default: 10 seconds

Ralph Mitchell


On Thu, Apr 26, 2018 at 11:22 PM, Galen Johnson <user-fc632e705d24@xymon.invalid> wrote:
thanks...I thought there was a way to set it server-wide but this will at
least let me test where I think the delays are coming from.

=G=

On Thu, Apr 26, 2018 at 8:20 PM, John Palys <user-6ab3068b00ee@xymon.invalid>
wrote:
Galen,

xymon/server/etc/hosts.cfg

w.x.y.z    servername.com # http://servername.com --timeout=30


On Thu, Apr 26, 2018 at 2:28 PM, Galen Johnson <user-fc632e705d24@xymon.invalid>
wrote:
Hey,

I seem to recall there is a way to change the default timeout for the
http tests from 10s (12s?).  Where is that set?

thanks

=G=

--
John Palys
Systems Administrator
School Pathways, Inc.
XXX-XXX-XXXX #2010 * Office*