Very nice, but needs minor tweaks

This tool provides pretty much all the status information you can get from your Synology box when run in Verbose mode, or has a nice single-line summary in normal mode. I’m using this on an 1812+.

Two comments though:

— the location of snmpwalk and snmpget are hard-coded into the script so the script won’t run if your system installs them in a different location, and there’s not a good error message telling you they can’t be found. I replaced those lines with a call to ‘which snmpwalk’ and ‘which snmpget’ which will at least pick up a version somewhere on your path.

— The section that monitors disk health is too strict when determining status. Drives that are set up as hot spares don’t have to be “normal” — they can be just initialized or even uninitialized and not be considered a failed unit. I had to modify that section as well to prevent critical failures due to the hot spare drives. At the least, those shouldn’t be critical errors.

Otherwise, this is a useful and informative plugin.