From: Stephen L Johnson Date: Fri, 23 Aug 2002 19:55:43 +0000 (+0000) Subject: $mem_free param was wrong. Used avm mem instad of free. X-Git-Tag: spong-2_8_0-beta1~62 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39181e0c02d76ebfcc37ce90bd684226014b03a3;p=spong.git $mem_free param was wrong. Used avm mem instad of free. --- diff --git a/contrib/plugins/spong-client/check_vmstat b/contrib/plugins/spong-client/check_vmstat index 0b8678f..ed342be 100755 --- a/contrib/plugins/spong-client/check_vmstat +++ b/contrib/plugins/spong-client/check_vmstat @@ -8,7 +8,7 @@ $CHECKFUNCS{'vmstat'} = \&check_vmstat; # No parameter level checks will be defined in this # version. That will come in later versions -# $Id: check_vmstat,v 1.2 2002/01/17 15:41:25 sljohnson Exp $ +# $Id: check_vmstat,v 1.3 2002/08/23 19:55:43 sljohnson Exp $ use Spong::SafeExec qw(safe_exec); @@ -123,7 +123,7 @@ sub check_vmstat { { my ($avm); $proc_run = $1; $proc_block = $2; - $avm = $3; $free = $3; + $avm = $3; $free = $4; $pi = $6; $po = $7; $cs = $8; # cpu wait is included in cpu_sy