Build precise queries to find exactly what you need
Press ESC to close
@pylgrym
Member Since: November 1, 2017
Favorites0
Views
Projects0
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.
Reviewed 8 years ago