I think you are confusing match with regex :)
Adam.
Sent with AquaMail for Android
http://www.aqua-mail.com
On 7 December 2015 20:35:45 Spencer Ryan <sryan@arbor.net> wrote:
_______________________________________________What I think is correct is "Hi All,I'm trying to match ports with the name port-channel1 through 19, and the "match" keyword isn't doing what I want.ifName match port-channel([1-9]|1[0-9])"
However that gives me 0 matches. If I change it to something like ifName match port-channel*" I get all the port channels, so it's matching the device properly, but for this alert checker I just need port channels 1-19.
Any ideas? I've tried a bunch of combinations and nothing seems to work right. Even "port-channel." doesn't match the additional character.
Spencer Ryan | Senior Systems Administrator | sryan@arbor.netArbor Networks+1.734.794.5033 (d) | +1.734.846.2053 (m)
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium