diff options
author | Chris Buechler <cmb@pfsense.org> | 2011-02-06 00:13:55 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2011-02-06 00:13:55 -0500 |
commit | 020b954f200c585dd8c498c617d7fd3f91f02eb3 (patch) | |
tree | b9929dc0361a025c006b0015b0def079347b70a1 | |
parent | bfa49caee338932b2adf94765307d588f0dce09a (diff) | |
download | pfsense-020b954f200c585dd8c498c617d7fd3f91f02eb3.zip pfsense-020b954f200c585dd8c498c617d7fd3f91f02eb3.tar.gz |
at least don't touch rrd here, that rrd won't exist anyway
-rwxr-xr-x | usr/local/bin/ping_hosts.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |