Hello!
i’m using “network::cisco::standard::snmp::plugin” plugin to monitor various performance metrics of my cisco switches.
By default it checks all interfaces and i would like to filter out some of the less usefull interfaces, for example i would like to filter out all the interfaces that are in a down state (disconnetcted state, as the switch says).
From the --help command i’ve noticed a couple of options that could help me:
--check-metrics
If the expression is true, metrics are checked (Default:
'%{opstatus} eq "up"').
This seems to be the options that i’m looking for but it does not seem to work as i expected, it looks like all the perfomance data are still showing up and it is instead simply not triggering any thresholds for these interfaces.
--filter-perfdata-adv
This flter could work by filtering all the interfaces that have 0 as traffic, however in some cases some interfaces are not down and but still making 0 traffic and this could be a problem.
What do you think is the best way to implement this monitoring? Do you have any other ideas?
Best regards