Added two new options to check_snmp_int.pl, which allow to exclude from monitoring interfaces by the following criteria:
--ign-admindown: Ignore interfaces in Admin down state
--ign-emptyalias: Ignore interfaces having empty alias (port description)
Also, fixed the warning like:
Use of uninitialized value $speed_real in concatenation (.) or string at ./check_snmp_int_new.pl line 979
wheb the interface speed is not set (e.g. port transceiver is absent).
It's the same like https://github.com/dnsmichi/manubulon-snmp/pull/59, but only the first commit.
The original text:
Added two new options to check_snmp_int.pl, which allow to exclude from monitoring interfaces by the following criteria: --ign-admindown: Ignore interfaces in Admin down state --ign-emptyalias: Ignore interfaces having empty alias (port description)
Also, fixed the warning like: Use of uninitialized value $speed_real in concatenation (.) or string at ./check_snmp_int_new.pl line 979 wheb the interface speed is not set (e.g. port transceiver is absent).