Trying to not alert on an interface in monitoring mode
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):
[cid:image001.png@01D8405C.2132B5D0]
(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 ________________________________ 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
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 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 _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
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.orgmailto: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):
[image001.png]
(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.orgmailto: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
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/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 _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Oh, sure. Yeah, I waited:
[cid:image002.png@01D842B5.AF6CDA50]
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.orgmailto:observium@observium.org> wrote: Hi Adam
Sorry, repelled? What’s that?
Lars
From: observium <observium-bounces@observium.orgmailto:observium-bounces@observium.org> On Behalf Of Adam Armstrong via observium Sent: 25. marts 2022 15:41 To: Observium <observium@observium.orgmailto:observium@observium.org> Cc: Adam Armstrong <adama@observium.orgmailto: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.orgmailto: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):
[image001.png]
(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.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumhttps://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.memetic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=04%7C01%7Cdklarj%40chr-hansen.com%7C5fe8ba89c846430e339f08da1024d5c6%7C89d9c49978c045d4a33fee275c523232%7C0%7C0%7C637840047685476506%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=NY5GQ0U1BIC%2Bdx1i26WbWRoVIENzhX7ezaVW7WsQonQ%3D&reserved=0 ________________________________ 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 _______________________________________________ observium mailing list observium@observium.orgmailto: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
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 < mailto:observium-bounces@observium.org observium-bounces@observium.org> On Behalf Of Adam Armstrong via observium Sent: 27. marts 2022 21:06 To: Observium < mailto:observium@observium.org observium@observium.org> Cc: Adam Armstrong < mailto:adama@observium.org 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 < mailto:observium@observium.org observium@observium.org> wrote:
Hi Adam
Sorry, repelled? What’s that?
Lars
From: observium < mailto:observium-bounces@observium.org observium-bounces@observium.org> On Behalf Of Adam Armstrong via observium Sent: 25. marts 2022 15:41 To: Observium < mailto:observium@observium.org observium@observium.org> Cc: Adam Armstrong < mailto:adama@observium.org 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 < mailto:observium@observium.org 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 mailto:observium@observium.org observium@observium.org https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.memetic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=04%7C01%7Cdklarj%40chr-hansen.com%7C5fe8ba89c846430e339f08da1024d5c6%7C89d9c49978c045d4a33fee275c523232%7C0%7C0%7C637840047685476506%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=NY5GQ0U1BIC%2Bdx1i26WbWRoVIENzhX7ezaVW7WsQonQ%3D&reserved=0 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 https://www.chr-hansen.com/en/legal-notice _______________________________________________ observium mailing list mailto:observium@observium.org observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium 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 https://www.chr-hansen.com/en/legal-notice
participants (2)
-
Adam Armstrong
-
Lars Joergensen