
Thanks Brandon,
This ended up working correctly, normal regex-y stuff wasn't going so well:
ifName regexp port-channel([1-9]|1[0-9])$
*Spencer Ryan* | Senior Systems Administrator | sryan@arbor.net *Arbor Networks* +1.734.794.5033 (d) | +1.734.846.2053 (m) www.arbornetworks.com
On Mon, Dec 7, 2015 at 3:46 PM, Brandon Ewing nicotine@warningg.com wrote:
On Mon, Dec 07, 2015 at 03:35:29PM -0500, Spencer Ryan wrote:
Any ideas? I've tried a bunch of combinations and nothing seems to work right. Even "port-channel." doesn't match the additional character.
https://github.com/mgmoerman/docs/blob/master/observium-alert-checkers.md
is a pretty good resource regarding alert checkers
Last time I ran into this, I had to dig into the code. It changes what keywords do what based on what type of entity you are matching, sometimes it's using SQL LIKE, sometimes it's using PREG, and the keywords between different entity types don't always match (regexp versus regex, etc)
-- Brandon Ewing (nicotine@warningg.com)
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium