Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
@marko.itaf
Favorites0
Views
Projects0
For anybody else who has a problem with the correct volume usage reporting, open the script and replace the line 317: storageID[$i]=$(echo "$syno_diskspace" | grep "= "?/${storageName[$i]}$"?" | cut -d "=" -f1 | rev | cut -d "." -f1 | rev) with this: storageID[$i]=$(echo "$syno_diskspace" | grep "= "/${storageName[$i]}"" | cut -d "=" -f1 | rev | cut -d "." -f1 | rev) and you should now get the correct volume usage (in percent) and the correct return state (depending on your -w and -c parameters).
Reviewed 8 years ago