On 08/30/2013 03:01 AM, Ian Pilcher wrote:
> I am writing a program to display various bits of system status on the
> LCD on my NAS, and I'd like to include SMART status. I already have
> smartd running and logging to syslog, so I'm trying to figure out if
> there's a good way for my program to get a basic OK/NOT OK status for
> each drive from smartd.
> If not, I'll probably just use 'smartctl -H'. I do have a question
> this command, though. The man page says:
> -H, --health
> Check: Ask the device to report its SMART health status or
> pending TapeAlert messages. SMART status is based on information
> that it has gathered from online and offline tests, which were
> used to determine/update its SMART vendor-specific Attribute
Not always. E.g. if some attributes will be over thresholds it can
change health status. Actually its up to fw developers how to manage it,
for us its like a blackbox.