On 8/9/24 11:43 AM, Tom Schmidt wrote:
Since you are using the delayred and delayyellow options for network tests (conn and ssh), the xymonnet-again.sh script will retest them every minute for up to 30 minutes (see man page for hosts.cfg).
ACK
I thought it would re-test every minute for the first 5 minutes, but 30 minutes is cool too. #TIL
So your "delayred=conn:10,ssh:10 delayyellow=conn:10,ssh:10" option should delay changing these tests to red/yellow for up to 10 minutes after the first failure.
That's what I thought and behavior I was trying to achieve.
I believe you have it configured correctly.
Thank you for the 2nd set of eyes.
Is the test perhaps flapping? There is also a noflap option that could be used if that is the case.
No, I don't think so.
It seems like the tests (conn/ping and / or http/https) periodically (once an hour or so for the sake of discussion) fail and Xymon causes the associated column to go red.
It almost always goes green again a minute or two after it went red. Time stamps in alert emails are usually one minute apart. Sometimes they have the same minute or up to three minutes apart.
Test history shows that it was red for < 2 minutes.
It's just older / slower / cantankerous hardware that occasionally burps and fails a test.
I don't care about onsie-twosie tests fails. I care about when it's been failing for 10-15 minutes.
Well ... I prefer no deay<COLOR>. But I'd rather not have color changes for burps on the known problematic systems. -- I hope that makes sense.
I have a few systems that I use the delayred/delayyellow options on and they appear to be working as expected, such as this:
ACK
0.0.0.0 google.com # ?conn https://google.com/ sni HIDEHTTP delayred=http:10 delayyellow=http:10
I'm not sure what the question mark in front of the conn does. I think sni causes the test to use Server Name Indication, which it doesn't do by default. The delayred / delayyellow is what I'm trying to get to work.
I wonder if the syntax isn't correct with the comma separating multiple tests. I'll try the following and see if that improves things:
delayred=conn:10 delayyellow=conn:10
Thank you Tom. :-)
-- Grant. . . . unix || die