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/load_average | |
| download | pcp-debian.tar.gz | |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'qa/pconf/cpu/load_average')
| -rw-r--r-- | qa/pconf/cpu/load_average | 29 | 
1 files changed, 29 insertions, 0 deletions
| 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 )."; + | 
