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/aggregate_util | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 qa/pconf/cpu/aggregate_util (limited to 'qa/pconf/cpu/aggregate_util') diff --git a/qa/pconf/cpu/aggregate_util b/qa/pconf/cpu/aggregate_util new file mode 100644 index 0000000..504264b --- /dev/null +++ b/qa/pconf/cpu/aggregate_util @@ -0,0 +1,34 @@ +#pmieconf-rules 1 +# + +rule cpu.aggregate_util + default = "$rule$" + predicate = +"some_host ( + kernel.all.cpu.user $hosts$ + + kernel.all.cpu.sys $hosts$ + + kernel.all.cpu.intr $hosts$ + > hinv.ncpu $hosts$ * $threshold$ / 100 +)" + enabled = no + version = 1 + help = +"The average processor utilization over all CPUs exceeded +threshold percent during the last sample interval."; + +string rule + default = "aggregate processor saturation" + modify = no + display = no; + +percent threshold + default = 90 + help = +"Threshold percentage for CPU saturation, in the range 0 (idle) +to 100 (completely busy), independent of the number of CPUs."; + +string action_expand + default = %h + display = no + modify = no; + -- cgit v1.2.3