summaryrefslogtreecommitdiff
path: root/qa/pconf/cpu/single_util
blob: 3f5dc813a6617df0d7fa4757243eef980ac98476 (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
30
31
32
33
34
35
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;