Merge pull request #512 from kaysond/master

pull/519/head
Jason Kulatunga 1 year ago committed by GitHub
commit 2f01e8c8e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -669,55 +669,57 @@ var AtaMetadata = map[int]AtaAttributeMetadata{
ObservedThresholds: []ObservedThreshold{ ObservedThresholds: []ObservedThreshold{
{ {
Low: 0, Low: 0,
High: 0, // This is set arbitrarily to avoid notifications caused by low
// historical numbers of command timeouts (e.g. caused by a bad cable)
High: 100,
AnnualFailureRate: 0.024893587674442153, AnnualFailureRate: 0.024893587674442153,
ErrorInterval: []float64{0.020857343769186413, 0.0294830350167543}, ErrorInterval: []float64{0.020857343769186413, 0.0294830350167543},
}, },
{ {
Low: 0, Low: 100,
High: 13, High: 13000000000,
AnnualFailureRate: 0.10044174089362015, AnnualFailureRate: 0.10044174089362015,
ErrorInterval: []float64{0.0812633664077498, 0.1227848196758574}, ErrorInterval: []float64{0.0812633664077498, 0.1227848196758574},
}, },
{ {
Low: 13, Low: 13000000000,
High: 26, High: 26000000000,
AnnualFailureRate: 0.334030592234279, AnnualFailureRate: 0.334030592234279,
ErrorInterval: []float64{0.2523231196342665, 0.4337665082489293}, ErrorInterval: []float64{0.2523231196342665, 0.4337665082489293},
}, },
{ {
Low: 26, Low: 26000000000,
High: 39, High: 39000000000,
AnnualFailureRate: 0.36724705400842445, AnnualFailureRate: 0.36724705400842445,
ErrorInterval: []float64{0.30398009356575617, 0.4397986538328568}, ErrorInterval: []float64{0.30398009356575617, 0.4397986538328568},
}, },
{ {
Low: 39, Low: 39000000000,
High: 52, High: 52000000000,
AnnualFailureRate: 0.29848155926978354, AnnualFailureRate: 0.29848155926978354,
ErrorInterval: []float64{0.2509254838615984, 0.35242890006477073}, ErrorInterval: []float64{0.2509254838615984, 0.35242890006477073},
}, },
{ {
Low: 52, Low: 52000000000,
High: 65, High: 65000000000,
AnnualFailureRate: 0.2203079701535098, AnnualFailureRate: 0.2203079701535098,
ErrorInterval: []float64{0.18366082845676174, 0.26212468677179274}, ErrorInterval: []float64{0.18366082845676174, 0.26212468677179274},
}, },
{ {
Low: 65, Low: 65000000000,
High: 78, High: 78000000000,
AnnualFailureRate: 0.3018169948863018, AnnualFailureRate: 0.3018169948863018,
ErrorInterval: []float64{0.23779746376787655, 0.37776897542831006}, ErrorInterval: []float64{0.23779746376787655, 0.37776897542831006},
}, },
{ {
Low: 78, Low: 78000000000,
High: 91, High: 91000000000,
AnnualFailureRate: 0.32854928239235887, AnnualFailureRate: 0.32854928239235887,
ErrorInterval: []float64{0.2301118782147336, 0.4548506948185028}, ErrorInterval: []float64{0.2301118782147336, 0.4548506948185028},
}, },
{ {
Low: 91, Low: 91000000000,
High: 104, High: 104000000000,
AnnualFailureRate: 0.28488916640649387, AnnualFailureRate: 0.28488916640649387,
ErrorInterval: []float64{0.1366154288236293, 0.5239213202729072}, ErrorInterval: []float64{0.1366154288236293, 0.5239213202729072},
}, },

Loading…
Cancel
Save