From 020b954f200c585dd8c498c617d7fd3f91f02eb3 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Sun, 6 Feb 2011 00:13:55 -0500 Subject: at least don't touch rrd here, that rrd won't exist anyway --- usr/local/bin/ping_hosts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/bin') diff --git a/usr/local/bin/ping_hosts.sh b/usr/local/bin/ping_hosts.sh index 8455015..97629c4 100755 --- a/usr/local/bin/ping_hosts.sh +++ b/usr/local/bin/ping_hosts.sh @@ -108,7 +108,7 @@ for TOPING in $PINGHOSTS ; do fi fi # Wan ping time threshold - WANTIME=`rrdtool fetch /var/db/rrd/wan-quality.rrd AVERAGE -r 120 -s -1min -e -1min | grep ":" | cut -f3 -d" " | cut -d"e" -f1` + #WANTIME=`rrdtool fetch /var/db/rrd/wan-quality.rrd AVERAGE -r 120 -s -1min -e -1min | grep ":" | cut -f3 -d" " | cut -d"e" -f1` echo "Checking wan ping time $WANTIME" echo $WANTIME > /var/db/wanaverage if [ "$WANTHRESHOLD" != "" ]; then -- cgit v1.1