simple df available space monitor

#!/bin/bash
# FILE: df_space_check.sh
# AUTHOR: ForDoDone 
# DATE: 2013/08/16
# NOTES: 
# 

j=`df | grep nfs0[3-6]\/vol1 | awk '{if ($3 < 100000000) print $5}'`; if [ "$j" != "" ]; then echo "vol $j ALMOST FULL" | mail <verizonnumber>@vtext.com; fi;

Leave a Reply

Your email address will not be published. Required fields are marked *