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).  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.   I believe you have it configured correctly.  Is the test perhaps flapping?  There is also a noflap option that could be used if that is the case.  I have a few systems that I use the delayred/delayyellow options on and they appear to be working as expected, such as this:

0.0.0.0  google.com  # ?conn https://google.com/ sni HIDEHTTP delayred=http:10 delayyellow=http:10

Tom

On Fri, Aug 9, 2024 at 9:39 AM Grant Taylor via Xymon <xymon@xymon.com> wrote:
Hi,

I need some help understanding delayyellow and delayred in Xymon 4.3.30
compiled from source (not distro).

I've got some equipment that I'm pinging (conn) and checking web (http)
on BMCs (Dell iDRAC and Oracle ILOM) and am having a LOT of trouble with
very short lived failures.  As in fails a test and then the xymonnet (?)
re-tries succeed in the next minute.

So I've tried enabling delayyellow and delayred, first with 5 minutes
and then with 10 minutes.  But I'm still seeing color changes and
receiving email notifications.

My hosts.cfg entries look like this:

    192.0.2.1   test-client-ilom        # NAME:Test-Client-ILOM ssh
delayred=conn:10,ssh:10 delayyellow=conn:10,ssh:10

These are place holders, but they are find & replace type place holders.

Am I incorrect in thinking that delayyellow / delayred will cause the
test results for the delay value to be ignored /before/ changing color?

I suppose that I can change from delayyellow / delayred in hosts.cfg and
go to their counterpart in the alerts.cfg file and not send the
email(s).  But I'd rather the page not change colors as we keep a screen
open to it and I'd really rather it not false-yellow / false-red to
immediately change back to green < 5 minutes later.

I'm sure that I'm missing something and am hoping that someone will help
me figure things out and learn.

Thank you and have a good day.



--
Grant. . . .
unix || die
_______________________________________________
Xymon mailing list -- xymon@xymon.com
To unsubscribe send an email to xymon-leave@xymon.com