See https://github.com/dnsmichi/manubulon-snmp/pull/26 for related commit.
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
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_ifalias | **Optional.** Switch from IF-MIB::ifDescr to IF-MIB::ifAlias when looking up the interface's name.
+snmp_interface_weathermap | **Optional.** Output data for ["weathermap" lines](http://docs.nagvis.org/1.9/en_US/lines_weathermap_style.html) in NagVis. **Depends** on `snmp_interface_perf` set to true. Defaults to `false`. **Note**: Available in `check_snmp_int.pl v2.1.0`.
snmp_perf | **Optional.** Enable perfdata values. Defaults to true.
snmp_timeout | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
set_if = "$snmp_perf$"
description = "Perfparse compatible output (no output when interface is down)"
}
+ "-W" = {
+ set_if = "$snmp_interface_weathermap$"
+ description = "Include 'weathermap' data for NagVis in performance data"
+ }
}
vars.snmp_interface = "eth0"