From 47e6e7c84f008a53061e661f31ae96629bc694ef Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 26 Oct 2014 12:33:50 +0400 Subject: Debian 3.9.10 --- qa/pconf/cpu/load_average | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 qa/pconf/cpu/load_average (limited to 'qa/pconf/cpu/load_average') diff --git a/qa/pconf/cpu/load_average b/qa/pconf/cpu/load_average new file mode 100644 index 0000000..e5fa9bc --- /dev/null +++ b/qa/pconf/cpu/load_average @@ -0,0 +1,29 @@ +#pmieconf-rules 1 +# + +rule cpu.load_average + default = "$rule$" + predicate = +"some_host ( + kernel.all.load $hosts$ #'1 minute' + > hinv.ncpu $hosts$ * $threshold$ +)" + enabled = yes + version = 1 + help = +"The current 1-minute load average is higher than threshold times the +number of CPUs. +The load average measures the number of processes that are running, +runnable or soon to be runnable (i.e. in short term sleep)."; + +string rule + default = "high 1-minute load average" + modify = no + display = no; + +double threshold + default = 1.5 + help = +"The threshold multiplier for load per CPU, typically in the range +0.5 (very light load) to 4.0 (very heavy load )."; + -- cgit v1.2.3