Xymon Mailing List Archive search

http timeout

8 messages in this thread

list Galen Johnson · Mon, 29 Jul 2013 20:01:23 +0000 ·
Hey,

I'm sure I'm just missing something...where can you change the thresholds for the built-in http(s) tests?  I'd like to set it to be a bit longer...

=G=
list Henrik Størner · Mon, 29 Jul 2013 22:04:42 +0200 ·
quoted from Galen Johnson
On 29-07-2013 22:01, Galen Johnson wrote:
I'm sure I'm just missing something...where can you change the
thresholds for the built-in http(s) tests?  I'd like to set it to be a
bit longer...
It's an all-or-nothing setting: --timeout for xymonnet.

4.x doesn't support per-test (or even per-host) timeout settings.


Regards,
Henrik
list Galen Johnson · Mon, 29 Jul 2013 20:09:15 +0000 ·
Where are the defaults set?

=G=
quoted from Henrik Størner

From: Xymon [xymon-bounces at xymon.com] on behalf of Henrik Størner [user-ce4a2c883f75@xymon.invalid]
Sent: Monday, July 29, 2013 4:04 PM
To: xymon at xymon.com
Subject: Re: [Xymon] http timeout

On 29-07-2013 22:01, Galen Johnson wrote:
I'm sure I'm just missing something...where can you change the
thresholds for the built-in http(s) tests?  I'd like to set it to be a
bit longer...
It's an all-or-nothing setting: --timeout for xymonnet.

4.x doesn't support per-test (or even per-host) timeout settings.


Regards,
Henrik
list Henrik Størner · Mon, 29 Jul 2013 22:11:24 +0200 ·
quoted from Galen Johnson
On 29-07-2013 22:09, Galen Johnson wrote:
I'm sure I'm just missing something...where can you change the
thresholds for the built-in http(s) tests?  I'd like to set it to be a
bit longer...
It's an all-or-nothing setting: --timeout for xymonnet.
Where are the defaults set?
Try "man xymonnet".


Regards,
Henrik
list Galen Johnson · Mon, 29 Jul 2013 20:15:42 +0000 ·
Thanks, I was headed that way.

=G=
quoted from Henrik Størner
From: Henrik Størner [user-ce4a2c883f75@xymon.invalid]
Sent: Monday, July 29, 2013 4:11 PM
To: Galen Johnson
Cc: xymon at xymon.com
Subject: Re: [Xymon] http timeout

On 29-07-2013 22:09, Galen Johnson wrote:
I'm sure I'm just missing something...where can you change the
thresholds for the built-in http(s) tests?  I'd like to set it to be a
bit longer...
It's an all-or-nothing setting: --timeout for xymonnet.
Where are the defaults set?
Try "man xymonnet".


Regards,
Henrik
list Galen Johnson · Thu, 26 Apr 2018 17:28:15 -0400 ·
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=
list Galen Johnson · Thu, 26 Apr 2018 23:22:00 -0400 ·
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>
quoted from Galen Johnson
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*

list Ralph Mitchell · Thu, 26 Apr 2018 23:29:44 -0400 ·
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
quoted from Galen Johnson


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*