Random Project

works well with adjustments

It mostly works, and does what we need.
However, I fixed a few things to make it work better.
– The volstatus check, I change -le (less-equal) to -ge (greater-equal)
e.g.
if [ “$VOLPCT” -ge “$strCritical” ]; then
.. Otherwise, it would report as ‘critical’, that you haven’t flooded the drive..

– also in volstat, I change the awk part to this:
awk -F: ‘{print substr($2,2)}’

otherwise it can’t handle spaces in the status text,
which in our case meant it wouldnt show the relevant error text.

but otherwise, a great plugin that is easy to adjust.