SteScho / manubulon-snmp

Set of Icinga/Nagios plugins to check hosts and hardware with the SNMP protocol.
GNU General Public License v2.0
73 stars 71 forks source link

check_snmp_int.pl new options #60

Closed waja closed 4 years ago

waja commented 5 years ago

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).