From 911863f9743f82a0f9e32a01d0eb1a7e4ec18501 Mon Sep 17 00:00:00 2001 From: Carlos Cesario Date: Tue, 7 Oct 2014 11:22:09 -0300 Subject: [PATCH] Plugin Check Commands: Fix snmp-load threshold values Fix snmp-load threshold values to suppoprt "-T stand" param in check command. To use 3 values, change the snmp_load_type var to "netsl". fixes #7351 Signed-off-by: Michael Friedrich --- doc/6-configuring-icinga-2.md | 4 ++-- itl/command-plugins-manubulon.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/6-configuring-icinga-2.md b/doc/6-configuring-icinga-2.md index 96956c36a..a2ce45fde 100644 --- a/doc/6-configuring-icinga-2.md +++ b/doc/6-configuring-icinga-2.md @@ -2402,8 +2402,8 @@ snmp_password | **Required.** SNMP version 3 password. No value define snmp_v3_use_privpass | **Optional.** Define to use SNMP version 3 priv password. Defaults to "false". snmp_authprotocol | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des". snmp_privpass | **Required.** SNMP version 3 priv password. No value defined as default. -snmp_warn | **Optional.** The warning threshold. -snmp_crit | **Optional.** The critical threshold. +snmp_warn | **Optional.** The warning threshold. Change the `snmp_load_type` var to "netsl" for using 3 values. +snmp_crit | **Optional.** The critical threshold. Change the `snmp_load_type` var to "netsl" for using 3 values. snmp_load_type | **Optional.** Load type. Defaults to "stand". Check all available types int the [snmp load](http://nagios.manubulon.com/snmp_load.html) documentation. snmp_perf | **Optional.** Enable perfdata values. Defaults to "true". diff --git a/itl/command-plugins-manubulon.conf b/itl/command-plugins-manubulon.conf index 9ad951523..e4f641c79 100644 --- a/itl/command-plugins-manubulon.conf +++ b/itl/command-plugins-manubulon.conf @@ -85,8 +85,8 @@ object CheckCommand "snmp-load" { } vars.snmp_load_type = "stand" - vars.snmp_warn = "4,3,3" - vars.snmp_crit = "8,5,5" + vars.snmp_warn = "85" + vars.snmp_crit = "95" vars.snmp_perf = true } -- 2.40.0