summaryrefslogtreecommitdiff
path: root/qa/pconf/filesys/capacity
blob: ffccddf8f3a820fc7c5756704394eb854758b3e8 (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
#pmieconf-rules 1
# 

rule	filesys.capacity
	default	= "$rule$"
	predicate =
"some_host (
    some_inst (
	( 100 * filesys.used $hosts$ >
	    $threshold$ * filesys.capacity $hosts$ ) &&
	rate filesys.used $hosts$ > 0
    )
)"
	enabled	= yes
	version	= 1
	help	=
"Filesystem is at least threshold percent full and the allocated
space is growing.";

string	rule
	default	= "imminent file system full"
	modify	= no
	display	= no;

percent	threshold
	default	= 95
	help	=
"The threshold of file system fullness, usually in the range 90 to 99.";

string	action_expand
	default	= "%i@%h"
	display	= no
	modify	= no;