Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
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).