Hi,
I am not sure if this is the correct place to ask this question but I am interested in setting up alerts for key ports only. I have setup the example which shows Enabled ports which are currently down:
Tests ifAdminStatus equals up ifOperStatus notequals up
Entity Match ifType equals ethernetCsmacd
However I cannot work out how to refine it further - such as trunk ports only or if the port description contains a string, such as "CORE". We would like to know when key ports go down only. I have tried adding:
ifAlias equals *CORE*
and similar configuration but I expect I have the syntax incorrect. The idea would be to alert on either ports containing a certain word in their description or on tagged/trunk ports.
I also tried to find a location to search the old emails from this mailing list but have been unable to find it.
Many thanks,
Peter
Dear
Try using ifAlias match instead of equals.
https://www.observium.org/docs/alert_checker/
Kind regards
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Peter Smith Sent: donderdag 22 september 2016 11:50 To: Observium Network Observation System observium@observium.org Subject: [Observium] Port Alerts
Hi,
I am not sure if this is the correct place to ask this question but I am interested in setting up alerts for key ports only. I have setup the example which shows Enabled ports which are currently down:
Tests
ifAdminStatus equals up ifOperStatus notequals up
Entity Match
ifType equals ethernetCsmacd
However I cannot work out how to refine it further - such as trunk ports only or if the port description contains a string, such as "CORE". We would like to know when key ports go down only. I have tried adding:
ifAlias equals *CORE*
and similar configuration but I expect I have the syntax incorrect. The idea would be to alert on either ports containing a certain word in their description or on tagged/trunk ports.
I also tried to find a location to search the old emails from this mailing list but have been unable to find it.
Many thanks,
Peter
Thanks that worked perfectly.
On Thu, Sep 22, 2016 at 11:08 AM, Stef Renders stef.renders@cronos.be wrote:
Dear
Try using ifAlias match instead of equals.
https://www.observium.org/docs/alert_checker/
Kind regards
*From:* observium [mailto:observium-bounces@observium.org] *On Behalf Of *Peter Smith *Sent:* donderdag 22 september 2016 11:50 *To:* Observium Network Observation System observium@observium.org *Subject:* [Observium] Port Alerts
Hi,
I am not sure if this is the correct place to ask this question but I am interested in setting up alerts for key ports only. I have setup the example which shows Enabled ports which are currently down:
Tests
ifAdminStatus equals up ifOperStatus notequals up
Entity Match
ifType equals ethernetCsmacd
However I cannot work out how to refine it further - such as trunk ports only or if the port description contains a string, such as "CORE". We would like to know when key ports go down only. I have tried adding:
ifAlias equals *CORE*
and similar configuration but I expect I have the syntax incorrect. The idea would be to alert on either ports containing a certain word in their description or on tagged/trunk ports.
I also tried to find a location to search the old emails from this mailing list but have been unable to find it.
Many thanks,
Peter
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Peter Smith
-
Stef Renders