diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 8cdd1047d..15d03791f 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -1906,7 +1906,8 @@ snmp_interface_errors | **Optional.** Add error & discard to Perfparse out snmp_interface_noregexp | **Optional.** Do not use regexp to match interface name in description OID. Defaults to false. snmp_interface_delta | **Optional.** Delta time of perfcheck. Defaults to "300" (5 min). snmp_interface_warncrit_percent | **Optional.** Make the warning and critical levels in % of reported interface speed. If set, **snmp_interface_megabytes** needs to be set to false. Defaults to false. -snmp_interface_ifname | **Optional.** Switch from IF-MIB::ifDescr to IF-MIB::ifName when looking up the interface's name +snmp_interface_ifname | **Optional.** Switch from IF-MIB::ifDescr to IF-MIB::ifName when looking up the interface's name. +snmp_interface_ifalias | **Optional.** Switch from IF-MIB::ifDescr to IF-MIB::ifAlias when looking up the interface's name. snmp_perf | **Optional.** Enable perfdata values. Defaults to true. snmp_timeout | **Optional.** The command timeout in seconds. Defaults to 5 seconds. diff --git a/itl/command-plugins-manubulon.conf b/itl/command-plugins-manubulon.conf index 53077570d..e9524eb86 100644 --- a/itl/command-plugins-manubulon.conf +++ b/itl/command-plugins-manubulon.conf @@ -193,6 +193,9 @@ object CheckCommand "snmp-interface" { "-N" = { set_if = "$snmp_interface_ifname$" } + "-A" = { + set_if = "$snmp_interface_ifalias$" + } "-f" = { set_if = "$snmp_perf$" } @@ -210,6 +213,7 @@ object CheckCommand "snmp-interface" { vars.snmp_interface_delta = 300 vars.snmp_interface_warncrit_percent = false vars.snmp_interface_ifname = false + vars.snmp_interface_ifalias = false vars.snmp_warn = "300,400" vars.snmp_crit = "0,600" vars.snmp_perf = true