This just in:
$ /usr/local/bin/sudo /usr/local/libexec/nagios/check_smartmon -d /dev/da0 Traceback (most recent call last): File "/usr/local/libexec/nagios/check_smartmon", line 307, in <module> (healthStatus, temperature) = parseOutput(healthStatusOutput, temperatureOutput, devtype) File "/usr/local/libexec/nagios/check_smartmon", line 216, in parseOutput vprint(3, "Health status: %s" % healthStatus) UnboundLocalError: local variable 'healthStatus' referenced before assignment
But I can’t fix that now. I’m off to the Oscars party.
see also https://dan.langille.org/2013/07/25/nagios-check_smartmon-fails-with-sata-presented-as-scsi-devices/
Here is an ata device:
Here is the same type of device, presented as a scsi device:
Here is the patch which ignores that incomplete response line: