]> granicus.if.org Git - icinga2/commitdiff
Plugin Check Commands: Fix snmp-load threshold values
authorCarlos Cesario <carloscesario@gmail.com>
Tue, 7 Oct 2014 14:22:09 +0000 (11:22 -0300)
committerMichael Friedrich <michael.friedrich@gmail.com>
Sat, 11 Oct 2014 16:27:04 +0000 (18:27 +0200)
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 <michael.friedrich@gmail.com>
doc/6-configuring-icinga-2.md
itl/command-plugins-manubulon.conf

index 96956c36afa14038e1a9430f0dfa7d541a50f034..a2ce45fde1c45112690f6454f12f3c4065e99104 100644 (file)
@@ -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".
 
index 9ad951523ea72b89ffc296bfb284e88a78dec4ca..e4f641c79c68a0e1c5db7312e2d3bf416ed9bd0d 100644 (file)
@@ -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
 }