mirror of https://github.com/Icinga/icinga2.git
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:
parent
e55c507941
commit
be40085b3b
|
@ -1806,6 +1806,7 @@ snmp_privpass | **Required.** SNMP version 3 priv password. No value d
|
||||||
snmp_warn | **Optional.** The warning threshold.
|
snmp_warn | **Optional.** The warning threshold.
|
||||||
snmp_crit | **Optional.** The critical threshold.
|
snmp_crit | **Optional.** The critical threshold.
|
||||||
snmp_is_cisco | **Optional.** Change OIDs for Cisco switches. Defaults to false.
|
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_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.
|
||||||
|
|
||||||
|
|
|
@ -113,6 +113,10 @@ object CheckCommand "snmp-memory" {
|
||||||
set_if = "$snmp_is_cisco$"
|
set_if = "$snmp_is_cisco$"
|
||||||
description = "check cisco memory (sum of all memory pools)"
|
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"
|
vars.snmp_warn = "94,50"
|
||||||
|
|
Loading…
Reference in New Issue