From be40085b3b26bdf3f80942794a24aa2edf231bd6 Mon Sep 17 00:00:00 2001 From: Daniel Helgenberger Date: Mon, 29 Aug 2016 16:47:39 +0200 Subject: [PATCH] Adds bool switch for procurve / HP memory to the "snmp-memory" check command fixes #12586 Signed-off-by: Gunnar Beutner --- doc/10-icinga-template-library.md | 1 + itl/command-plugins-manubulon.conf | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index adaed0d50..876859513 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -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. diff --git a/itl/command-plugins-manubulon.conf b/itl/command-plugins-manubulon.conf index 73dd4bcc6..d32a76b2e 100644 --- a/itl/command-plugins-manubulon.conf +++ b/itl/command-plugins-manubulon.conf @@ -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" -- 2.40.0