diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
commit | 47e6e7c84f008a53061e661f31ae96629bc694ef (patch) | |
tree | 648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /qa/pconf/cpu/single_util | |
download | pcp-debian.tar.gz |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'qa/pconf/cpu/single_util')
-rw-r--r-- | qa/pconf/cpu/single_util | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/qa/pconf/cpu/single_util b/qa/pconf/cpu/single_util new file mode 100644 index 0000000..3f5dc81 --- /dev/null +++ b/qa/pconf/cpu/single_util @@ -0,0 +1,36 @@ +#pmieconf-rules 1 +# + +rule cpu.single_util + default = "$rule$" + predicate = +"some_host ( + some_inst ( + kernel.percpu.cpu.user $hosts$ + + kernel.percpu.cpu.sys $hosts$ + + kernel.percpu.cpu.intr $hosts$ + > $threshold$ / 100 + ) +)" + enabled = no + version = 1 + help = +"The average processor utilization for at least one CPU exceeded +threshold percent during the last sample interval."; + +string rule + default = "single processor saturation" + modify = no + display = no; + +percent threshold + default = 95 + help = +"Threshold percentage for CPU saturation, in the range 0 (idle) +to 100 (completely busy)"; + +string action_expand + default = %i@%h + display = no + modify = no; + |