]> arthur.barton.de Git - nagcollect.git/blobdiff - client/lib/tests/Disks.tst
Disks.tst: don't gather information for unused variables
[nagcollect.git] / client / lib / tests / Disks.tst
index 99695cb8e7abd755f1d3b0364f5d773c0f851190..1ea83a1d3022c99ef71cde4349b299f3764d3b32 100644 (file)
@@ -1,5 +1,5 @@
 # NagCollect -- Nagios Data Collector for Passive Checks
-# Copyright (c)2009 Alexander Barton, alex@barton.de
+# Copyright (c)2009-2011 Alexander Barton, alex@barton.de
 
 # Check free space on local filesystems
 
@@ -14,9 +14,9 @@ TEMP="/tmp/$$.tmp"
 df -l -P -m | grep "^/" >"$TEMP"
 
 while read x; do
-       fs=`echo $x | cut -d' ' -f1`
-       blocks=`echo $x | cut -d' ' -f2`
-       used=`echo $x | cut -d' ' -f3`
+       #dev=`echo $x | cut -d' ' -f1`
+       #blocks=`echo $x | cut -d' ' -f2`
+       #used=`echo $x | cut -d' ' -f3`
        free=`echo $x | cut -d' ' -f4`
        capacity=`echo $x | cut -d' ' -f5 | sed 's/%//'`
        declare -i capacity2=100-$capacity