Hmm. I’m not sure. in_array doesn’t seem to be behaving how it should.
I’ve replaced it with a loop in r11918.
It’s odd this hasn’t been seen before. What version of PHP are you using?
Adam.
From: observium <observium-bounces@observium.org> On Behalf Of Lars Joergensen via observium
Sent: 28 March 2022 14:08
To: Observium <observium@observium.org>
Cc: Lars Joergensen <DKLARJ@chr-hansen.com>
Subject: Re: [Observium] Trying to not alert on an interface in monitoring mode
Oh, sure. Yeah, I waited:
Lars
From: observium <observium-bounces@observium.org> On Behalf Of Adam Armstrong via observium
Sent: 27. marts 2022 21:06
To: Observium <observium@observium.org>
Cc: Adam Armstrong <adama@observium.org>
Subject: Re: [Observium] Trying to not alert on an interface in monitoring mode
Repolled!
Just changing the rules won’t update the status, you need to wait for a poller cycle too.
Adam.
Sent from my iPhone
On 27 Mar 2022, at 19:04, Lars Joergensen via observium <observium@observium.org> wrote:
Hi Adam
Sorry, repelled? What’s that?
Lars
From: observium <observium-bounces@observium.org> On Behalf Of Adam Armstrong via observium
Sent: 25. marts 2022 15:41
To: Observium <observium@observium.org>
Cc: Adam Armstrong <adama@observium.org>
Subject: Re: [Observium] Trying to not alert on an interface in monitoring mode
Have you repelled since then?
Sent from my iPhone
On 25 Mar 2022, at 14:24, Lars Joergensen via observium <observium@observium.org> wrote:
Hey all
I’m trying to build an alert that will go off in an interface is operationally down but not disabled. A fringe case is a span port where the operational state is “monitoring”. It still triggers on these conditions (both are required to be true):
(It says “suppressed” because the previous definition of the alarm was “IfOperStatus notequals up” and we suppressed it at that time)
Can anybody help me see through what’s wrong in my definition?
Best regards
Lars_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumDisclaimer: This e-mail, including any attachments, is for the intended recipient only. If you have received this e-mail by mistake please notify the sender immediately by return e-mail and delete this e-mail and any attachments, without opening the attachments, from your system. Access, disclosure, copying, distribution or reliance on any part of this e-mail by anyone else is prohibited. This e-mail is confidential and may be legally privileged. Chr. Hansen does not represent and/or warrant that the information sent and/or received by or with this e-mail is correct and does not accept any liability for damages related thereto. https://www.chr-hansen.com/en/legal-notice _______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Disclaimer: This e-mail, including any attachments, is for the intended recipient only. If you have received this e-mail by mistake please notify the sender immediately by return e-mail and delete this e-mail and any attachments, without opening the attachments, from your system. Access, disclosure, copying, distribution or reliance on any part of this e-mail by anyone else is prohibited. This e-mail is confidential and may be legally privileged. Chr. Hansen does not represent and/or warrant that the information sent and/or received by or with this e-mail is correct and does not accept any liability for damages related thereto. https://www.chr-hansen.com/en/legal-notice