Hello!
I was wondering if there is a way not to get metrics of the interfaces without a description by using a filter in snmpcollector's template editor.
From what I have tested, if I use ifAlias => [Condition="Not Equals", Value=""] or ifDescr => [Condition="Not Equals", Value=""], all interfaces are excluded, whether they have a description or not.
snmpcollector version is 3.41
Has anyone tried this?
Thanks!
Hello!
It does not seem to be working with your regex expression. All interfaces are returned, even those with no descriptions.
This is what worked in the end:
ifAlias => [Condition="Regex", Value="^(?!\s*$).+"]
Thanks!