Sinve version 1.3 check_interfaces supports an option to query ifName instead
of ifDescr, which is helpful eg. FortiOS 5.4 devices.
fixes #5028
fixes #5032
Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
interfaces_match_aliases | **Optional.** Also match against aliases (Option --aliases automatically enabled).
interfaces_timeout | **Optional.** Sets the SNMP timeout (in ms).
interfaces_sleep | **Optional.** Sleep between every SNMP query (in ms).
+interfaces_names | **Optional.** If set to true, use ifName instead of ifDescr.
#### <a id="plugin-contrib-command-nwc_health"></a> nwc_health
value = "$interfaces_sleep$"
description = "Sleep between every SNMP query (in ms)."
}
+ "--if-names" = {
+ set_if = "$interfaces_names$"
+ description = "Use ifName instead of ifDescr."
+ }
}
vars.interfaces_address = "$check_address$"