load_cload1 | **Optional.** The 1-minute critical threshold. Defaults to 10.
load_cload5 | **Optional.** The 5-minute critical threshold. Defaults to 6.
load_cload15 | **Optional.** The 15-minute critical threshold. Defaults to 4.
+load_percpu | **Optional.** Divide the load averages by the number of CPUs (when possible). Defaults to false.
## <a id="plugin-check-command-nrpe"></a> nrpe
command = [ PluginDir + "/check_load" ]
arguments = {
- "-w" = "$load_wload1$,$load_wload5$,$load_wload15$"
- "-c" = "$load_cload1$,$load_cload5$,$load_cload15$"
+ "-w" = {
+ value = "$load_wload1$,$load_wload5$,$load_wload15$"
+ description = "Exit with WARNING status if load average exceeds WLOADn"
+ }
+ "-c" = {
+ value = "$load_cload1$,$load_cload5$,$load_cload15$"
+ description = "Exit with CRITICAL status if load average exceed CLOADn; the load average format is the same used by 'uptime' and 'w'"
+ }
+ "-r" = {
+ set_if = "$load_percpu$"
+ description = "Divide the load averages by the number of CPUs (when possible)"
+ }
}
vars.load_wload1 = 5.0
vars.load_cload1 = 10.0
vars.load_cload5 = 6.0
vars.load_cload15 = 4.0
+
+ vars.load_percpu = false
}
object CheckCommand "snmp" {