Update of /cvsroot/sysfence/sysfence/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15073
Modified Files:
example.conf
Log Message:
it was mistake
Index: example.conf
===================================================================
RCS file: /cvsroot/sysfence/sysfence/doc/example.conf,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- example.conf 26 May 2004 17:39:13 -0000 1.6
+++ example.conf 26 May 2004 17:52:13 -0000 1.7
@@ -14,6 +14,18 @@
#
# Here is an example:
#
+
+if {
+ la1 >= 5.0 and
+ {
+ { la5 > 3.0 and la5 < 5.0 }
+ or
+ { la15 > 2.0 and la15 < 5.0 }
+ }
+}
+run once 'echo "system load is high and still growing" | mail me...@em...'
+log
+
#
# Notice the 'once' keyword. You may use it right after 'run' or 'log'.
# It means that run/log action will take place only once after condition
@@ -34,6 +46,16 @@
# freeswap - free swap space
# usedswap - used swap
#
+
+when {
+ freemem < 128M
+ or
+ swapused > 256M
+} invoke once 'echo "go buy some memory" | mail me...@em...'
+log once
+step 60
+
+#
# The 'step' keyword specifies time interval (in seconds) between rule
# checks. Default is 10.
#
|