Setting thresholds via smartd.conf
        Posted  
        
            by 
                JPerkSter
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by JPerkSter
        
        
        
        Published on 2011-01-14T20:52:17Z
        Indexed on 
            2011/01/14
            20:55 UTC
        
        
        Read the original article
        Hit count: 216
        
Hello!
We currently use smartd to monitor SMART health on our disks. I would like to set the 'thresholds' that smartd uses to report.
For example:
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       9
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       9
I would like to be able to set a threshold for these two attributes to only report if they are above 10. I haven't been able to find a way to set this via smartd.conf, and I'm also not looking to actually shutdown the daemon.
Has anyone ever tried this, or know how I might be able to accomplish this better then throwing a script into cron.hourly?
© Server Fault or respective owner