[Sysfence-commit] sysfence/doc example.conf,1.5,1.6
Status: Alpha
Brought to you by:
emes
|
From: mkoperto <mko...@us...> - 2004-05-26 17:39:23
|
Update of /cvsroot/sysfence/sysfence/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12611/doc Modified Files: example.conf Log Message: files moved to sys/ Index: example.conf =================================================================== RCS file: /cvsroot/sysfence/sysfence/doc/example.conf,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- example.conf 27 Feb 2004 11:16:52 -0000 1.5 +++ example.conf 26 May 2004 17:39:13 -0000 1.6 @@ -14,18 +14,6 @@ # # 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 @@ -46,16 +34,6 @@ # 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. # |