Xymon Mailing List Archive search

how to add a specific http timeout

list José Manuel Blasco Díaz
Mon, 6 May 2019 09:14:40 +0000
Message-Id: <user-ae1fa84cd217@xymon.invalid>

Good Morning.

I run Xymon 4.3.25 and I need to enable an alert for http 8280 when timeout is over 1 second.

Can I do easily way in hosts or I have to create a new configuration as you explain in olders version?

"No, this will be possible in the next release - but not in 4.3.x.

What you can do is to use the "NET:foo" definition on this particular
host in hosts.cfg to have it tested by a special instance of the
xymonnet task:

1) Add the "--test-untagged" option to your current xymonnet command in
tasks.cfg

2) Add "NET:slowtests" to this particular host in hosts.cfg

3) In a script, set XYMONNETWORK="slowtests" (remember to export it!)
and then run the xymonnet command to do the test of this one host, with
the different --timeout option

4) Add a new section to tasks.cfg to run the test script."

Thanks.
Best Regards.
[JoseManuelBlasco]
Attachments (1)