[Xymon] delayred on conn
Root, Paul T
Paul.Root at CenturyLink.com
Fri Mar 18 22:52:21 CET 2016
It didn't work for me. Pretty weird though.
I started with this:
10.5.136.247 wilee # ntp delayred=conn:9
Then, put in a rule in iptables to block pings. It went red immediately.
And paged after 5 minutes, as my alerts tells it.
Then the weird thing happened. It changed to yellow.
Hold on, I’m going to test again. I bet hosts.cfg hadn't been re-read yet. So it's probably an invalid test.
BTW, 4.3.21 on the server and client.
I'll reply again in 15 minutes or so.
-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of John Thurston
Sent: Friday, March 18, 2016 4:34 PM
To: xymon at xymon.com
Subject: Re: [Xymon] delayred on conn
On 3/18/2016 1:27 PM, John Thurston wrote:
- snip -
> Can anyone confirm that "delayred" is working for them with conn?
Ohhhh. I think I see something interesting.
In xymond.c, I see the following comment:
> /* Ignore any delays when we start with a purple status */
My test case was to change a noconn tag on a host to conn. Which meant I
went from clear/no-state to red. I haven't read the rest of that code,
but I suspect my test would be valid only if starting from a green state.
--
Do things because you should, not just because you can.
John Thurston 907-465-8591
John.Thurston at alaska.gov
Enterprise Technology Services
Department of Administration
State of Alaska
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
More information about the Xymon
mailing list