From: Michael Brown Date: Sun, 24 Jun 2001 16:13:37 +0000 (+0000) Subject: Added "proc" to the list of filesystems to ignore X-Git-Tag: spong-2_4_6~15 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07dc56f9c5041949117bc4a33d74b96f16d8ff04;p=spong.git Added "proc" to the list of filesystems to ignore Added MEMWARN and MEMCRIT variables for the 'memory' spong-client check --- diff --git a/config/spong.conf.in b/config/spong.conf.in index f21159a..6f7186e 100644 --- a/config/spong.conf.in +++ b/config/spong.conf.in @@ -1,7 +1,7 @@ # --------------------------------------------------------------------------- # Generic SPONG settings, specifies where files are kept, etc... # --------------------------------------------------------------------------- -# $Id: spong.conf.in,v 1.2 2000/11/15 17:25:28 sljohnson Exp $ +# $Id: spong.conf.in,v 1.3 2001/06/24 16:13:37 supermathie Exp $ $SPONGSLEEP = 300; # Sleep time between check cycles. Depreciated @@ -126,11 +126,12 @@ $RECHECKSLEEP = 15; # Sleep time in seconds for down services recheck # --------------------------------------------------------------------------- $CHECKS = 'disk cpu processes logs'; # The client checks to run +# Not supported in all configs: 'memory' $MAILQWARN = 80; $MAILQCRIT = 100; -@DFIGNORE = ( "cd\d", "cdrom", ":" ); # List of raw fs's to ignore (regex) +@DFIGNORE = ( "cd\d", "cdrom", ":", "proc" ); # List of raw fs's to ignore (regex) $DFWARN{"ALL"} = 90; # Size to warn (yellow) on $DFCRIT{"ALL"} = 95; # Size to panic (red) on $DFWARN{"/usr"} = 95; # Some specifics... @@ -138,8 +139,11 @@ $DFCRIT{"/usr"} = 98; $DFWARN{"page"} = 50; $DFCRIT{"page"} = 80; -$CPUCRIT = 5.0; # Panic at load avg of 5.0 $CPUWARN = 3.0; # Warn at load avg of 3.0 +$CPUCRIT = 5.0; # Panic at load avg of 5.0 + +$MEMWARN = 90; # Warn at 90% memory usage +$MEMCRIT = 95; # Panic at 95% memory usage @PROCSWARN = ("xntpd"); @PROCSCRIT = ("sendmail","httpd","mysqld","stidserver");