From 39181e0c02d76ebfcc37ce90bd684226014b03a3 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Fri, 23 Aug 2002 19:55:43 +0000 Subject: [PATCH] $mem_free param was wrong. Used avm mem instad of free. --- contrib/plugins/spong-client/check_vmstat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2