From 47e6e7c84f008a53061e661f31ae96629bc694ef Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 26 Oct 2014 12:33:50 +0400 Subject: Debian 3.9.10 --- qa/pconf/filesys/capacity | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 qa/pconf/filesys/capacity (limited to 'qa/pconf/filesys/capacity') diff --git a/qa/pconf/filesys/capacity b/qa/pconf/filesys/capacity new file mode 100644 index 0000000..ffccddf --- /dev/null +++ b/qa/pconf/filesys/capacity @@ -0,0 +1,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; + -- cgit v1.2.3