mirror of https://github.com/Icinga/icinga2.git
Add the "-e" parameter for the SNMP check command
fixes #11359 Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
This commit is contained in:
parent
46f8c7eb59
commit
52f83ca7e6
|
@ -994,6 +994,7 @@ snmp_address | **Optional.** The host's address. Defaults to "$address$"
|
|||
snmp_oid | **Required.** The SNMP OID.
|
||||
snmp_community | **Optional.** The SNMP community. Defaults to "public".
|
||||
snmp_port | **Optional.** The SNMP port. Defaults to "161".
|
||||
snmp_retries | **Optional.** Number of retries to be used in the SNMP requests.
|
||||
snmp_warn | **Optional.** The warning threshold.
|
||||
snmp_crit | **Optional.** The critical threshold.
|
||||
snmp_string | **Optional.** Return OK state if the string matches exactly with the output value
|
||||
|
|
|
@ -1310,6 +1310,7 @@ object CheckCommand "snmp" {
|
|||
"-u" = "$snmp_units$"
|
||||
"-t" = "$snmp_timeout$"
|
||||
"-p" = "$snmp_port$"
|
||||
"-e" = "$snmp_retries$"
|
||||
"--invert-search" = {
|
||||
set_if = "$snmp_invert_search$"
|
||||
description = "Invert search result and return CRITICAL if found"
|
||||
|
|
Loading…
Reference in New Issue