mirror of https://github.com/Icinga/icinga2.git
Add parameter --octetlength to snmp-storage command.
This commit is contained in:
parent
bff6e39b7d
commit
d858b9741a
|
@ -2023,6 +2023,7 @@ snmp_crit | **Optional.** The critical threshold.
|
||||||
snmp_storage_name | **Optional.** Storage name. Default to regex "^/$$". More options available in the [snmp storage](http://nagios.manubulon.com/snmp_storage.html) documentation.
|
snmp_storage_name | **Optional.** Storage name. Default to regex "^/$$". More options available in the [snmp storage](http://nagios.manubulon.com/snmp_storage.html) documentation.
|
||||||
snmp_perf | **Optional.** Enable perfdata values. Defaults to true.
|
snmp_perf | **Optional.** Enable perfdata values. Defaults to true.
|
||||||
snmp_timeout | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
|
snmp_timeout | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
|
||||||
|
snmp_storage_olength | **Optional.** Max-size of the SNMP message, usefull in case of Too Long responses.
|
||||||
|
|
||||||
### snmp-interface <a id="plugin-check-command-snmp-interface"></a>
|
### snmp-interface <a id="plugin-check-command-snmp-interface"></a>
|
||||||
|
|
||||||
|
|
|
@ -201,6 +201,10 @@ object CheckCommand "snmp-storage" {
|
||||||
set_if = "$snmp_perf$"
|
set_if = "$snmp_perf$"
|
||||||
description = "Perfparse compatible output"
|
description = "Perfparse compatible output"
|
||||||
}
|
}
|
||||||
|
"-o" = {
|
||||||
|
value = "$snmp_storage_olength$"
|
||||||
|
description = "Max-size of the SNMP message, usefull in case of Too Long responses."
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
vars.snmp_storage_name = "^/$$"
|
vars.snmp_storage_name = "^/$$"
|
||||||
|
|
Loading…
Reference in New Issue