Adds bool switch for procurve / HP memory to the "snmp-memory" check command

fixes #12586

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
This commit is contained in:
Daniel Helgenberger 2016-08-29 16:47:39 +02:00 committed by Gunnar Beutner
parent e55c507941
commit be40085b3b
2 changed files with 5 additions and 0 deletions

View File

@ -1806,6 +1806,7 @@ snmp_privpass | **Required.** SNMP version 3 priv password. No value d
snmp_warn | **Optional.** The warning threshold.
snmp_crit | **Optional.** The critical threshold.
snmp_is_cisco | **Optional.** Change OIDs for Cisco switches. Defaults to false.
snmp_is_hp | **Optional.** Change OIDs for HP/Procurve switches. Defaults to false.
snmp_perf | **Optional.** Enable perfdata values. Defaults to true.
snmp_timeout | **Optional.** The command timeout in seconds. Defaults to 5 seconds.

View File

@ -113,6 +113,10 @@ object CheckCommand "snmp-memory" {
set_if = "$snmp_is_cisco$"
description = "check cisco memory (sum of all memory pools)"
}
"-E" = {
set_if = "$snmp_is_hp$"
description = "check HP / Procurve memory"
}
}
vars.snmp_warn = "94,50"