Update dsmon.sh
This commit is contained in:
1 parent
609cfa7b4d
commit
163f56fde4
1 file changed
+2
@@ -175,6 +175,8 @@ CHECK(){
|
|||||||
echo -e "${idsCL[$fs_status_color]} ${DRIVE}${spcA}: ${DRIVEINFO_FREE[$DRIVE]} GB Free${spcB}${DRIVEINFO_FREEPER[$DRIVE]}%${idsCL[Default]}"
|
echo -e "${idsCL[$fs_status_color]} ${DRIVE}${spcA}: ${DRIVEINFO_FREE[$DRIVE]} GB Free${spcB}${DRIVEINFO_FREEPER[$DRIVE]}%${idsCL[Default]}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
unset DRIVEINFO_TOT DRIVEINFO_FREE DRIVEINFO_FREEPER DRIVES DRIVEINFO
|
||||||
|
|
||||||
else
|
else
|
||||||
echo -e "${idsCL[Yellow]} ${host_name[$hostid]} is down${idsCL[Default]}"
|
echo -e "${idsCL[Yellow]} ${host_name[$hostid]} is down${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user