Random Project

Good but with a small error

I had a couple of Volumes with a warning condition so took a look at the code just to see how it works it out. There is a small error on line 162 in the critical volume handling which probably means if you have any critical volumes it wont work.

As follows:

declare -a vulumecrit=($(snmpwalk -v 2c -O vqe -c ${community} ${host}
which should be
declare -a volumecrit=($(snmpwalk -v 2c -O vqe -c ${community} ${host}

Other than that its suitably light touch and does whats needed.