http timeout
list Galen Johnson
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
▸
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
Where are the defaults set? =G=
▸
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
▸
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
Thanks, I was headed that way. =G=
▸
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
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
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*
list Ralph Mitchell
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*