sleinen / diskonade

When your disks are lemons...
GNU Affero General Public License v3.0
0 stars 3 forks source link

Add some SMART counters #42

Closed hstaub closed 5 years ago

hstaub commented 5 years ago

Some SMART counters are often interesting and could be added to the initial output of bdsm-info. Counters that were already used: Reallocated_Sector_Ct, Reallocated_Event_Count, Current_Pending_Sector.

sleinen commented 5 years ago

Thanks! Reallocated_Sector_Ct was supposed to be printed out if non-zero. But changes in the format of smartctl -x have broken that functionality over the years (without us noticing). In #43, I updated the parser to recognize the new format, and also made it easier to add new vendor-specific attributes of interest. The three you mentioned will now be included in script output (again).