Hi,
I am a bit struggling with getting a rule set up. The rule should trigger when a particular interface goes down (ideally with an interface description containing specific words) and I don’t want to monitor others.
Here is the rule:
Alert rule: %ports.ifOperStatus != “up” && %ports.port_descr_descr ~ "mPOP"
Alert query: SELECT * FROM ports WHERE (ports.device_id = ?) && (ports.ifOperStatus != “up” && ports.port_descr_descr REGEXP “mPOP” )
Rule match: no match
(while the port is shutdown)
Here is the SW config:
interface ethernet 1/23
description mPOP-Monitor-1
If I remove this %ports.port_descr_descr ~ “mPOP” it works fine for all interfaces.
Any suggestions are welcome