summaryrefslogtreecommitdiff
path: root/src/pmieconf/memory/exhausted
blob: 9e430a62b6b3ee64cfea8cd41561d7308cc86d99 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#pmieconf-rules 1
# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)
# 

rule	memory.exhausted
	summary	= "$rule$"
	# first conjunct for %v, second is real condition...
	predicate =
"some_host (
    ( avg_sample ( swap.pagesout $hosts$ @0..9 ) ) > 0 &&
    $pct$ %_sample swap.pagesout $hosts$ @0..9 >= $threshold$
)"
	enabled	= yes
	version	= 1
	help	=
"The system is swapping modified pages out of main memory to the
swap partitions, and has been doing this at the rate of at least
threshold pages swapped out per second for at least pct of the last
10 samples, ie. sustained page out activity.";

double	threshold
	default	= 5
	help	=
"Threshold rate of pages swapped out per second.";

percent	pct
	default	= 30
	help	=
"Percentage of the last 10 observations with at least threshold
pages swapped out per second required to make the rule true.";

string	rule
	default	= "Severe demand for real memory"
	modify	= no
	display	= no;

string	action_expand
	default	= "%vpgsout/s@%h"
	modify	= no
	display	= no;

string	email_expand
	default	= "host: %h recent average: %v pageouts/sec"
	display	= no
	modify	= no;


# Configuration info specific to non-PCP tools follows...
# 

# for SGI Embedded Support Partner integration:
string	esp_type
	default	= "0x20004B"
	display	= no
	modify	= no;

# for HP OpenView integration:
string	ov_severity
	display	= no
	default	= "Critical";

# for CA/Unicenter TNG integration:
string	tngfw_color
	display	= no
	default	= "Red";

# for EnlightenDSM integration:
string	enln_test
	default	= memory.exhausted
	display	= no
	modify = no;
string	enln_units
	default	= pgsout/s
	display	= no
	modify = no;
unsigned	enln_severity
	display = no
	default = 5;

# 
# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)