summaryrefslogtreecommitdiff
path: root/src/pmieconf/filesys/filling
blob: b54b308806856ea21cf5e097e143e76fbc75b449 (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#pmieconf-rules 1
# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)
# 

rule	filesys.filling
	summary	= "$rule$"
	enumerate = hosts
	predicate =
"some_host (
    some_inst (
	( 100 * filesys.used $hosts$ / filesys.capacity $hosts$ ) > $threshold$
	&& filesys.used $hosts$ + 
	    $lead_time$ * ( rate filesys.used $hosts$ ) >
		filesys.capacity $hosts$
    )
)"
	enabled	= yes
	version	= 1
	help	=
"Filesystem is at least threshold percent full and the used space
is growing at a rate that would see the filesystem full within
lead_time.";

string	rule
	default	= "File system is filling up"
	modify	= no
	display	= no;

percent	threshold
	default	= 95
	help	=
"The threshold of filesystem fullness expressed as a percentage,
usually in the range 90 to 99.";

string	lead_time
	default = "20 min"
	help =
"The rule is true if the filesystem would be full within this time
given the recent rate of growth.  Normally requires a scale such as
\"sec\", \"min\" or \"hr\", otherwise the value is interpreted as
meaning seconds.";

string	delta
	default = "4 mins"
	help =
"Sample interval between evaluations of this rule.  The calculation
of the projected rate of growth is sensitive to variations in the
observed fullness of the filesystem.  Adjust this parameter to be
smaller if the filesystems' fullness are very stable and you want
earlier warning of impending filling.  Else make the parameter
larger to avoid false warnings if the filesystems are close to full
in the normal state and subject to bursts of file creation and
deletion.";

string	action_expand
	default	= %v%used[%i]@%h
	display	= no
	modify	= no;

string	email_expand
	default	= "host: %h filesystem: %i used: %v%"
	display	= no
	modify	= no;


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

# for SGI Embedded Support Partner integration:
string	esp_type
	default	= "0x20004A"
	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	= filesys.filling
	display	= no
	modify = no;
string	enln_units
	default	= %used[%i]
	display	= no
	modify = no;
unsigned	enln_severity
	display = no
	default = 5;

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