Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to analyze S.M.A.R.T data/results #23

Closed
AnalogJ opened this issue Sep 18, 2020 · 3 comments · Fixed by #296
Closed

How to analyze S.M.A.R.T data/results #23

AnalogJ opened this issue Sep 18, 2020 · 3 comments · Fixed by #296

Comments

@AnalogJ
Copy link
Owner Author

AnalogJ commented Sep 18, 2020

Thresholds, normalization is basically useless.

Potential Solution: ignore (but optionally display) manufacturer specified thresholds and normalized data, but instead display raw data and use Backblaze analysis to set real-world thresholds and alerts.

@AnalogJ
Copy link
Owner Author

AnalogJ commented Sep 18, 2020

https://js.do/code/480074

<script>

generate()
function generate() {

var data = {
    "cols": [
        ...
    ], 
    "rows": [
        ...
    ]
}

var all_lines = []
  for(var ndx in data["rows"]){
  	var cols = data["rows"][ndx]["c"]
    
    var lines = [
    '{',
    `Low: ${cols[0]["v"].split("-")[0]},`,
    `High: ${cols[0]["v"].split("-")[1]},`,
    `AnnualFailureRate: ${cols[1]["v"]},`,
    `ErrorInterval: []float64{${cols[2]["v"]}, ${cols[3]["v"]}},`,
    '},'
    ]
    all_lines = all_lines.concat(lines)
  }
  
  console.log(all_lines.join("\n"))
}

</script>

@AnalogJ
Copy link
Owner Author

AnalogJ commented Jun 10, 2022

#275 (comment) contains a POC that shows what the details page could look like

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant