Skip to content

Commit

Permalink
feat(inputs.smart): Add Power on Hours and Cycle Count
Browse files Browse the repository at this point in the history
Adding the S.M.A.R.T. values `Power_On_Hours` and `Power_Cycle_Count` helps to identify when it is time to replace a disk.
  • Loading branch information
stackcoder authored Nov 23, 2024
1 parent eb2afad commit 7142bb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/inputs/smart/smart.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ var (
"1": "read_error_rate",
"5": "reallocated_sectors_count",
"7": "seek_error_rate",
"9": "power_on_hours",
"12": "power_cycle_count",
"10": "spin_retry_count",
"184": "end_to_end_error",
"187": "uncorrectable_errors",
Expand Down

0 comments on commit 7142bb3

Please sign in to comment.