summaryrefslogtreecommitdiff
path: root/qa/pconf/cpu/load_average
blob: e5fa9bc9a2afe6485ee99fdaef2187920998f8c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 ).";