mirror of https://github.com/Icinga/icinga2.git
Merge pull request #8003 from Icinga/feature/snmp-interface-a-7963
check_snmp_int: support -a
This commit is contained in:
commit
5ec66cea46
|
@ -2173,6 +2173,7 @@ snmp_interface_ifalias | **Optional.** Switch from IF-MIB::ifDescr to IF-MI
|
|||
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.
|
||||
snmp_interface_admin | **Optional.** Use administrative status instead of operational. Defaults to false.
|
||||
|
||||
### snmp-process <a id="plugin-check-command-snmp-process"></a>
|
||||
|
||||
|
|
|
@ -297,6 +297,10 @@ object CheckCommand "snmp-interface" {
|
|||
set_if = "$snmp_interface_weathermap$"
|
||||
description = "Include 'weathermap' data for NagVis in performance data"
|
||||
}
|
||||
"-a" = {
|
||||
set_if = "$snmp_interface_admin$"
|
||||
description = "Use administrative status instead of operational"
|
||||
}
|
||||
}
|
||||
|
||||
vars.snmp_interface = "eth0"
|
||||
|
|
Loading…
Reference in New Issue