From 5789c836db742a7cde0865cf6fdcea8d0d187aaa Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Sun, 24 Oct 2021 17:09:44 -0700 Subject: [PATCH] make sure the status is always exposed in the json data. make sure display_name for metadata is included. Update mocked test data for frontend. --- .../measurements/smart_ata_attribute.go | 2 +- .../measurements/smart_nvme_attribute.go | 2 +- .../measurements/smart_scsci_attribute.go | 2 +- .../pkg/models/testdata/smart-ata-date.json | 2 +- .../pkg/models/testdata/smart-ata-date2.json | 2 +- .../pkg/thresholds/nvme_attribute_metadata.go | 2 +- .../pkg/thresholds/scsi_attribute_metadata.go | 2 +- webapp/frontend/package-lock.json | 888 +++----- .../src/app/data/mock/device/details/sda.ts | 87 +- .../src/app/data/mock/device/details/sdb.ts | 470 ++-- .../src/app/data/mock/device/details/sdc.ts | 367 ++- .../src/app/data/mock/device/details/sdd.ts | 172 +- .../src/app/data/mock/device/details/sde.ts | 1374 ++---------- .../src/app/data/mock/device/details/sdf.ts | 1998 +---------------- .../app/modules/detail/detail.component.html | 16 +- .../app/modules/detail/detail.component.ts | 20 + 16 files changed, 960 insertions(+), 4446 deletions(-) diff --git a/webapp/backend/pkg/models/measurements/smart_ata_attribute.go b/webapp/backend/pkg/models/measurements/smart_ata_attribute.go index 23f95fb..7b0606c 100644 --- a/webapp/backend/pkg/models/measurements/smart_ata_attribute.go +++ b/webapp/backend/pkg/models/measurements/smart_ata_attribute.go @@ -19,7 +19,7 @@ type SmartAtaAttribute struct { //Generated data TransformedValue int64 `json:"transformed_value"` - Status int64 `json:"status,omitempty"` + Status int64 `json:"status"` StatusReason string `json:"status_reason,omitempty"` FailureRate float64 `json:"failure_rate,omitempty"` } diff --git a/webapp/backend/pkg/models/measurements/smart_nvme_attribute.go b/webapp/backend/pkg/models/measurements/smart_nvme_attribute.go index 3996945..c4fbe0e 100644 --- a/webapp/backend/pkg/models/measurements/smart_nvme_attribute.go +++ b/webapp/backend/pkg/models/measurements/smart_nvme_attribute.go @@ -13,7 +13,7 @@ type SmartNvmeAttribute struct { Threshold int64 `json:"thresh"` TransformedValue int64 `json:"transformed_value"` - Status int64 `json:"status,omitempty"` + Status int64 `json:"status"` StatusReason string `json:"status_reason,omitempty"` FailureRate float64 `json:"failure_rate,omitempty"` } diff --git a/webapp/backend/pkg/models/measurements/smart_scsci_attribute.go b/webapp/backend/pkg/models/measurements/smart_scsci_attribute.go index d21229d..f9049a6 100644 --- a/webapp/backend/pkg/models/measurements/smart_scsci_attribute.go +++ b/webapp/backend/pkg/models/measurements/smart_scsci_attribute.go @@ -13,7 +13,7 @@ type SmartScsiAttribute struct { Threshold int64 `json:"thresh"` TransformedValue int64 `json:"transformed_value"` - Status int64 `json:"status,omitempty"` + Status int64 `json:"status"` StatusReason string `json:"status_reason,omitempty"` FailureRate float64 `json:"failure_rate,omitempty"` } diff --git a/webapp/backend/pkg/models/testdata/smart-ata-date.json b/webapp/backend/pkg/models/testdata/smart-ata-date.json index b4a531d..92c9382 100644 --- a/webapp/backend/pkg/models/testdata/smart-ata-date.json +++ b/webapp/backend/pkg/models/testdata/smart-ata-date.json @@ -69,7 +69,7 @@ } }, "local_time": { - "time_t": 1635117644, + "time_t": 1635107644, "asctime": "Sun Jun 30 00:03:30 2021 UTC" }, "smart_status": { diff --git a/webapp/backend/pkg/models/testdata/smart-ata-date2.json b/webapp/backend/pkg/models/testdata/smart-ata-date2.json index efbdec3..3cced16 100644 --- a/webapp/backend/pkg/models/testdata/smart-ata-date2.json +++ b/webapp/backend/pkg/models/testdata/smart-ata-date2.json @@ -69,7 +69,7 @@ } }, "local_time": { - "time_t": 1635117644, + "time_t": 1635127644, "asctime": "Tue Feb 23 00:03:30 2021 UTC" }, "smart_status": { diff --git a/webapp/backend/pkg/thresholds/nvme_attribute_metadata.go b/webapp/backend/pkg/thresholds/nvme_attribute_metadata.go index 8ac4c8d..ad79988 100644 --- a/webapp/backend/pkg/thresholds/nvme_attribute_metadata.go +++ b/webapp/backend/pkg/thresholds/nvme_attribute_metadata.go @@ -6,7 +6,7 @@ package thresholds // https://www.micromat.com/product_manuals/drive_scope_manual_01.pdf type NvmeAttributeMetadata struct { ID string `json:"-"` - DisplayName string `json:"-"` + DisplayName string `json:"display_name"` Ideal string `json:"ideal"` Critical bool `json:"critical"` Description string `json:"description"` diff --git a/webapp/backend/pkg/thresholds/scsi_attribute_metadata.go b/webapp/backend/pkg/thresholds/scsi_attribute_metadata.go index 51cbbaa..83437fc 100644 --- a/webapp/backend/pkg/thresholds/scsi_attribute_metadata.go +++ b/webapp/backend/pkg/thresholds/scsi_attribute_metadata.go @@ -2,7 +2,7 @@ package thresholds type ScsiAttributeMetadata struct { ID string `json:"-"` - DisplayName string `json:"-"` + DisplayName string `json:"display_name"` Ideal string `json:"ideal"` Critical bool `json:"critical"` Description string `json:"description"` diff --git a/webapp/frontend/package-lock.json b/webapp/frontend/package-lock.json index cae08a9..1e3751f 100644 --- a/webapp/frontend/package-lock.json +++ b/webapp/frontend/package-lock.json @@ -15984,34 +15984,30 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/abbrev": { "version": "1.1.1", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/watchpack/node_modules/fsevents/node_modules/ansi-regex": { "version": "2.1.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/aproba": { "version": "1.2.0", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/watchpack/node_modules/fsevents/node_modules/are-we-there-yet": { "version": "1.1.5", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "delegates": "^1.0.0", "readable-stream": "^2.0.6" @@ -16019,17 +16015,15 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/balanced-match": { "version": "1.0.0", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/watchpack/node_modules/fsevents/node_modules/brace-expansion": { "version": "1.1.11", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -16037,75 +16031,66 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/chownr": { "version": "1.1.4", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/watchpack/node_modules/fsevents/node_modules/code-point-at": { "version": "1.1.0", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/concat-map": { "version": "0.0.1", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/watchpack/node_modules/fsevents/node_modules/console-control-strings": { "version": "1.1.0", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/watchpack/node_modules/fsevents/node_modules/core-util-is": { "version": "1.0.2", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/watchpack/node_modules/fsevents/node_modules/debug": { "version": "3.2.6", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "ms": "^2.1.1" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/deep-extend": { "version": "0.6.0", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=4.0.0" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/delegates": { "version": "1.0.0", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/watchpack/node_modules/fsevents/node_modules/detect-libc": { "version": "1.0.3", - "dev": true, + "extraneous": true, "inBundle": true, "license": "Apache-2.0", - "optional": true, "bin": { "detect-libc": "bin/detect-libc.js" }, @@ -16115,27 +16100,24 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/fs-minipass": { "version": "1.2.7", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "minipass": "^2.6.0" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/fs.realpath": { "version": "1.0.0", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/watchpack/node_modules/fsevents/node_modules/gauge": { "version": "2.7.4", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "aproba": "^1.0.3", "console-control-strings": "^1.0.0", @@ -16149,10 +16131,9 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/glob": { "version": "7.1.6", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -16170,17 +16151,15 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/has-unicode": { "version": "2.0.1", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/watchpack/node_modules/fsevents/node_modules/iconv-lite": { "version": "0.4.24", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3" }, @@ -16190,20 +16169,18 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/ignore-walk": { "version": "3.0.3", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "minimatch": "^3.0.4" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/inflight": { "version": "1.0.6", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -16211,27 +16188,24 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/inherits": { "version": "2.0.4", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/watchpack/node_modules/fsevents/node_modules/ini": { "version": "1.3.5", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "engines": { "node": "*" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/is-fullwidth-code-point": { "version": "1.0.0", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "number-is-nan": "^1.0.0" }, @@ -16241,17 +16215,15 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/isarray": { "version": "1.0.0", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/watchpack/node_modules/fsevents/node_modules/minimatch": { "version": "3.0.4", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -16261,17 +16233,15 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/minimist": { "version": "1.2.5", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/watchpack/node_modules/fsevents/node_modules/minipass": { "version": "2.9.0", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -16279,10 +16249,9 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/minizlib": { "version": "1.3.3", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "minipass": "^2.9.0" } @@ -16290,10 +16259,9 @@ "node_modules/watchpack/node_modules/fsevents/node_modules/mkdirp": { "version": "0.5.3", "deprecated": "Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "minimist": "^1.2.5" }, @@ -16303,17 +16271,15 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/ms": { "version": "2.1.2", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/watchpack/node_modules/fsevents/node_modules/needle": { "version": "2.3.3", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "debug": "^3.2.6", "iconv-lite": "^0.4.4", @@ -16328,10 +16294,9 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/node-pre-gyp": { "version": "0.14.0", - "dev": true, + "extraneous": true, "inBundle": true, "license": "BSD-3-Clause", - "optional": true, "dependencies": { "detect-libc": "^1.0.2", "mkdirp": "^0.5.1", @@ -16350,10 +16315,9 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/nopt": { "version": "4.0.3", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "abbrev": "1", "osenv": "^0.1.4" @@ -16364,27 +16328,24 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/npm-bundled": { "version": "1.1.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "npm-normalize-package-bin": "^1.0.1" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/npm-normalize-package-bin": { "version": "1.0.1", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/watchpack/node_modules/fsevents/node_modules/npm-packlist": { "version": "1.4.8", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "ignore-walk": "^3.0.1", "npm-bundled": "^1.0.1", @@ -16393,10 +16354,9 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/npmlog": { "version": "4.1.2", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "are-we-there-yet": "~1.1.2", "console-control-strings": "~1.1.0", @@ -16406,60 +16366,54 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/number-is-nan": { "version": "1.0.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/object-assign": { "version": "4.1.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/once": { "version": "1.4.0", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "wrappy": "1" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/os-homedir": { "version": "1.0.2", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/os-tmpdir": { "version": "1.0.2", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/osenv": { "version": "0.1.5", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "os-homedir": "^1.0.0", "os-tmpdir": "^1.0.0" @@ -16467,27 +16421,24 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/path-is-absolute": { "version": "1.0.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/process-nextick-args": { "version": "2.0.1", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/watchpack/node_modules/fsevents/node_modules/rc": { "version": "1.2.8", - "dev": true, + "extraneous": true, "inBundle": true, "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", - "optional": true, "dependencies": { "deep-extend": "^0.6.0", "ini": "~1.3.0", @@ -16500,10 +16451,9 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/readable-stream": { "version": "2.3.7", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -16516,10 +16466,9 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/rimraf": { "version": "2.7.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "glob": "^7.1.3" }, @@ -16529,65 +16478,57 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/safe-buffer": { "version": "5.1.2", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/watchpack/node_modules/fsevents/node_modules/safer-buffer": { "version": "2.1.2", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/watchpack/node_modules/fsevents/node_modules/sax": { "version": "1.2.4", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/watchpack/node_modules/fsevents/node_modules/semver": { "version": "5.7.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "bin": { "semver": "bin/semver" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/set-blocking": { "version": "2.0.0", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/watchpack/node_modules/fsevents/node_modules/signal-exit": { "version": "3.0.2", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/watchpack/node_modules/fsevents/node_modules/string_decoder": { "version": "1.1.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "safe-buffer": "~5.1.0" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/string-width": { "version": "1.0.2", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -16599,10 +16540,9 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/strip-ansi": { "version": "3.0.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "ansi-regex": "^2.0.0" }, @@ -16612,20 +16552,18 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/strip-json-comments": { "version": "2.0.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/tar": { "version": "4.4.13", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "chownr": "^1.1.1", "fs-minipass": "^1.2.5", @@ -16641,34 +16579,30 @@ }, "node_modules/watchpack/node_modules/fsevents/node_modules/util-deprecate": { "version": "1.0.2", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/watchpack/node_modules/fsevents/node_modules/wide-align": { "version": "1.1.3", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "string-width": "^1.0.2 || 2" } }, "node_modules/watchpack/node_modules/fsevents/node_modules/wrappy": { "version": "1.0.2", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/watchpack/node_modules/fsevents/node_modules/yallist": { "version": "3.1.1", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/watchpack/node_modules/is-binary-path": { "version": "1.0.1", @@ -17033,34 +16967,30 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/abbrev": { "version": "1.1.1", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/ansi-regex": { "version": "2.1.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/aproba": { "version": "1.2.0", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/are-we-there-yet": { "version": "1.1.5", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "delegates": "^1.0.0", "readable-stream": "^2.0.6" @@ -17068,17 +16998,15 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/balanced-match": { "version": "1.0.0", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/brace-expansion": { "version": "1.1.11", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -17086,75 +17014,66 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/chownr": { "version": "1.1.4", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/code-point-at": { "version": "1.1.0", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/concat-map": { "version": "0.0.1", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/console-control-strings": { "version": "1.1.0", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/core-util-is": { "version": "1.0.2", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/debug": { "version": "3.2.6", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "ms": "^2.1.1" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/deep-extend": { "version": "0.6.0", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=4.0.0" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/delegates": { "version": "1.0.0", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/detect-libc": { "version": "1.0.3", - "dev": true, + "extraneous": true, "inBundle": true, "license": "Apache-2.0", - "optional": true, "bin": { "detect-libc": "bin/detect-libc.js" }, @@ -17164,27 +17083,24 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/fs-minipass": { "version": "1.2.7", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "minipass": "^2.6.0" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/fs.realpath": { "version": "1.0.0", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/gauge": { "version": "2.7.4", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "aproba": "^1.0.3", "console-control-strings": "^1.0.0", @@ -17198,10 +17114,9 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/glob": { "version": "7.1.6", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -17219,17 +17134,15 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/has-unicode": { "version": "2.0.1", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/iconv-lite": { "version": "0.4.24", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3" }, @@ -17239,20 +17152,18 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/ignore-walk": { "version": "3.0.3", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "minimatch": "^3.0.4" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/inflight": { "version": "1.0.6", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -17260,27 +17171,24 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/inherits": { "version": "2.0.4", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/ini": { "version": "1.3.5", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "engines": { "node": "*" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/is-fullwidth-code-point": { "version": "1.0.0", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "number-is-nan": "^1.0.0" }, @@ -17290,17 +17198,15 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/isarray": { "version": "1.0.0", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/minimatch": { "version": "3.0.4", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -17310,17 +17216,15 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/minimist": { "version": "1.2.5", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/minipass": { "version": "2.9.0", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -17328,10 +17232,9 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/minizlib": { "version": "1.3.3", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "minipass": "^2.9.0" } @@ -17339,10 +17242,9 @@ "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/mkdirp": { "version": "0.5.3", "deprecated": "Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "minimist": "^1.2.5" }, @@ -17352,17 +17254,15 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/ms": { "version": "2.1.2", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/needle": { "version": "2.3.3", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "debug": "^3.2.6", "iconv-lite": "^0.4.4", @@ -17377,10 +17277,9 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/node-pre-gyp": { "version": "0.14.0", - "dev": true, + "extraneous": true, "inBundle": true, "license": "BSD-3-Clause", - "optional": true, "dependencies": { "detect-libc": "^1.0.2", "mkdirp": "^0.5.1", @@ -17399,10 +17298,9 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/nopt": { "version": "4.0.3", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "abbrev": "1", "osenv": "^0.1.4" @@ -17413,27 +17311,24 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/npm-bundled": { "version": "1.1.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "npm-normalize-package-bin": "^1.0.1" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/npm-normalize-package-bin": { "version": "1.0.1", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/npm-packlist": { "version": "1.4.8", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "ignore-walk": "^3.0.1", "npm-bundled": "^1.0.1", @@ -17442,10 +17337,9 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/npmlog": { "version": "4.1.2", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "are-we-there-yet": "~1.1.2", "console-control-strings": "~1.1.0", @@ -17455,60 +17349,54 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/number-is-nan": { "version": "1.0.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/object-assign": { "version": "4.1.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/once": { "version": "1.4.0", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "wrappy": "1" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/os-homedir": { "version": "1.0.2", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/os-tmpdir": { "version": "1.0.2", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/osenv": { "version": "0.1.5", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "os-homedir": "^1.0.0", "os-tmpdir": "^1.0.0" @@ -17516,27 +17404,24 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/path-is-absolute": { "version": "1.0.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/process-nextick-args": { "version": "2.0.1", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/rc": { "version": "1.2.8", - "dev": true, + "extraneous": true, "inBundle": true, "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", - "optional": true, "dependencies": { "deep-extend": "^0.6.0", "ini": "~1.3.0", @@ -17549,10 +17434,9 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/readable-stream": { "version": "2.3.7", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -17565,10 +17449,9 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/rimraf": { "version": "2.7.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "glob": "^7.1.3" }, @@ -17578,65 +17461,57 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/safe-buffer": { "version": "5.1.2", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/safer-buffer": { "version": "2.1.2", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/sax": { "version": "1.2.4", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/semver": { "version": "5.7.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "bin": { "semver": "bin/semver" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/set-blocking": { "version": "2.0.0", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/signal-exit": { "version": "3.0.2", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/string_decoder": { "version": "1.1.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "safe-buffer": "~5.1.0" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/string-width": { "version": "1.0.2", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -17648,10 +17523,9 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/strip-ansi": { "version": "3.0.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "ansi-regex": "^2.0.0" }, @@ -17661,20 +17535,18 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/strip-json-comments": { "version": "2.0.1", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/tar": { "version": "4.4.13", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "chownr": "^1.1.1", "fs-minipass": "^1.2.5", @@ -17690,34 +17562,30 @@ }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/util-deprecate": { "version": "1.0.2", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/wide-align": { "version": "1.1.3", - "dev": true, + "extraneous": true, "inBundle": true, "license": "ISC", - "optional": true, "dependencies": { "string-width": "^1.0.2 || 2" } }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/wrappy": { "version": "1.0.2", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/webpack-dev-server/node_modules/fsevents/node_modules/yallist": { "version": "3.1.1", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "ISC", - "optional": true + "license": "ISC" }, "node_modules/webpack-dev-server/node_modules/is-absolute-url": { "version": "3.0.3", @@ -31473,26 +31341,22 @@ "abbrev": { "version": "1.1.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "aproba": { "version": "1.2.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "are-we-there-yet": { "version": "1.1.5", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "delegates": "^1.0.0", "readable-stream": "^2.0.6" @@ -31501,14 +31365,12 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -31517,38 +31379,32 @@ "chownr": { "version": "1.1.4", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "core-util-is": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "debug": { "version": "3.2.6", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "ms": "^2.1.1" } @@ -31556,26 +31412,22 @@ "deep-extend": { "version": "0.6.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "delegates": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "detect-libc": { "version": "1.0.3", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "fs-minipass": { "version": "1.2.7", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "minipass": "^2.6.0" } @@ -31583,14 +31435,12 @@ "fs.realpath": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "gauge": { "version": "2.7.4", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "aproba": "^1.0.3", "console-control-strings": "^1.0.0", @@ -31605,8 +31455,7 @@ "glob": { "version": "7.1.6", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -31619,14 +31468,12 @@ "has-unicode": { "version": "2.0.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "iconv-lite": { "version": "0.4.24", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "safer-buffer": ">= 2.1.2 < 3" } @@ -31634,8 +31481,7 @@ "ignore-walk": { "version": "3.0.3", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "minimatch": "^3.0.4" } @@ -31643,8 +31489,7 @@ "inflight": { "version": "1.0.6", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "once": "^1.3.0", "wrappy": "1" @@ -31653,20 +31498,17 @@ "inherits": { "version": "2.0.4", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "ini": { "version": "1.3.5", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "number-is-nan": "^1.0.0" } @@ -31674,14 +31516,12 @@ "isarray": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "minimatch": { "version": "3.0.4", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "brace-expansion": "^1.1.7" } @@ -31689,14 +31529,12 @@ "minimist": { "version": "1.2.5", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "minipass": { "version": "2.9.0", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -31705,8 +31543,7 @@ "minizlib": { "version": "1.3.3", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "minipass": "^2.9.0" } @@ -31714,8 +31551,7 @@ "mkdirp": { "version": "0.5.3", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "minimist": "^1.2.5" } @@ -31723,14 +31559,12 @@ "ms": { "version": "2.1.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "needle": { "version": "2.3.3", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "debug": "^3.2.6", "iconv-lite": "^0.4.4", @@ -31740,8 +31574,7 @@ "node-pre-gyp": { "version": "0.14.0", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "detect-libc": "^1.0.2", "mkdirp": "^0.5.1", @@ -31758,8 +31591,7 @@ "nopt": { "version": "4.0.3", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "abbrev": "1", "osenv": "^0.1.4" @@ -31768,8 +31600,7 @@ "npm-bundled": { "version": "1.1.1", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "npm-normalize-package-bin": "^1.0.1" } @@ -31777,14 +31608,12 @@ "npm-normalize-package-bin": { "version": "1.0.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "npm-packlist": { "version": "1.4.8", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "ignore-walk": "^3.0.1", "npm-bundled": "^1.0.1", @@ -31794,8 +31623,7 @@ "npmlog": { "version": "4.1.2", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "are-we-there-yet": "~1.1.2", "console-control-strings": "~1.1.0", @@ -31806,20 +31634,17 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "object-assign": { "version": "4.1.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "once": { "version": "1.4.0", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "wrappy": "1" } @@ -31827,20 +31652,17 @@ "os-homedir": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "os-tmpdir": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "osenv": { "version": "0.1.5", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "os-homedir": "^1.0.0", "os-tmpdir": "^1.0.0" @@ -31849,20 +31671,17 @@ "path-is-absolute": { "version": "1.0.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "process-nextick-args": { "version": "2.0.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "rc": { "version": "1.2.8", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "deep-extend": "^0.6.0", "ini": "~1.3.0", @@ -31873,8 +31692,7 @@ "readable-stream": { "version": "2.3.7", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -31888,8 +31706,7 @@ "rimraf": { "version": "2.7.1", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "glob": "^7.1.3" } @@ -31897,44 +31714,37 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "safer-buffer": { "version": "2.1.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "sax": { "version": "1.2.4", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "semver": { "version": "5.7.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "set-blocking": { "version": "2.0.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "signal-exit": { "version": "3.0.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "string_decoder": { "version": "1.1.1", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "safe-buffer": "~5.1.0" } @@ -31942,8 +31752,7 @@ "string-width": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -31953,8 +31762,7 @@ "strip-ansi": { "version": "3.0.1", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "ansi-regex": "^2.0.0" } @@ -31962,14 +31770,12 @@ "strip-json-comments": { "version": "2.0.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "tar": { "version": "4.4.13", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "chownr": "^1.1.1", "fs-minipass": "^1.2.5", @@ -31983,14 +31789,12 @@ "util-deprecate": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "wide-align": { "version": "1.1.3", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "string-width": "^1.0.2 || 2" } @@ -31998,14 +31802,12 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "yallist": { "version": "3.1.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true } } }, @@ -32420,26 +32222,22 @@ "abbrev": { "version": "1.1.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "aproba": { "version": "1.2.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "are-we-there-yet": { "version": "1.1.5", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "delegates": "^1.0.0", "readable-stream": "^2.0.6" @@ -32448,14 +32246,12 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -32464,38 +32260,32 @@ "chownr": { "version": "1.1.4", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "core-util-is": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "debug": { "version": "3.2.6", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "ms": "^2.1.1" } @@ -32503,26 +32293,22 @@ "deep-extend": { "version": "0.6.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "delegates": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "detect-libc": { "version": "1.0.3", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "fs-minipass": { "version": "1.2.7", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "minipass": "^2.6.0" } @@ -32530,14 +32316,12 @@ "fs.realpath": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "gauge": { "version": "2.7.4", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "aproba": "^1.0.3", "console-control-strings": "^1.0.0", @@ -32552,8 +32336,7 @@ "glob": { "version": "7.1.6", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -32566,14 +32349,12 @@ "has-unicode": { "version": "2.0.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "iconv-lite": { "version": "0.4.24", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "safer-buffer": ">= 2.1.2 < 3" } @@ -32581,8 +32362,7 @@ "ignore-walk": { "version": "3.0.3", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "minimatch": "^3.0.4" } @@ -32590,8 +32370,7 @@ "inflight": { "version": "1.0.6", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "once": "^1.3.0", "wrappy": "1" @@ -32600,20 +32379,17 @@ "inherits": { "version": "2.0.4", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "ini": { "version": "1.3.5", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "number-is-nan": "^1.0.0" } @@ -32621,14 +32397,12 @@ "isarray": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "minimatch": { "version": "3.0.4", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "brace-expansion": "^1.1.7" } @@ -32636,14 +32410,12 @@ "minimist": { "version": "1.2.5", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "minipass": { "version": "2.9.0", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -32652,8 +32424,7 @@ "minizlib": { "version": "1.3.3", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "minipass": "^2.9.0" } @@ -32661,8 +32432,7 @@ "mkdirp": { "version": "0.5.3", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "minimist": "^1.2.5" } @@ -32670,14 +32440,12 @@ "ms": { "version": "2.1.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "needle": { "version": "2.3.3", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "debug": "^3.2.6", "iconv-lite": "^0.4.4", @@ -32687,8 +32455,7 @@ "node-pre-gyp": { "version": "0.14.0", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "detect-libc": "^1.0.2", "mkdirp": "^0.5.1", @@ -32705,8 +32472,7 @@ "nopt": { "version": "4.0.3", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "abbrev": "1", "osenv": "^0.1.4" @@ -32715,8 +32481,7 @@ "npm-bundled": { "version": "1.1.1", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "npm-normalize-package-bin": "^1.0.1" } @@ -32724,14 +32489,12 @@ "npm-normalize-package-bin": { "version": "1.0.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "npm-packlist": { "version": "1.4.8", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "ignore-walk": "^3.0.1", "npm-bundled": "^1.0.1", @@ -32741,8 +32504,7 @@ "npmlog": { "version": "4.1.2", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "are-we-there-yet": "~1.1.2", "console-control-strings": "~1.1.0", @@ -32753,20 +32515,17 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "object-assign": { "version": "4.1.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "once": { "version": "1.4.0", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "wrappy": "1" } @@ -32774,20 +32533,17 @@ "os-homedir": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "os-tmpdir": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "osenv": { "version": "0.1.5", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "os-homedir": "^1.0.0", "os-tmpdir": "^1.0.0" @@ -32796,20 +32552,17 @@ "path-is-absolute": { "version": "1.0.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "process-nextick-args": { "version": "2.0.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "rc": { "version": "1.2.8", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "deep-extend": "^0.6.0", "ini": "~1.3.0", @@ -32820,8 +32573,7 @@ "readable-stream": { "version": "2.3.7", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -32835,8 +32587,7 @@ "rimraf": { "version": "2.7.1", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "glob": "^7.1.3" } @@ -32844,44 +32595,37 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "safer-buffer": { "version": "2.1.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "sax": { "version": "1.2.4", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "semver": { "version": "5.7.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "set-blocking": { "version": "2.0.0", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "signal-exit": { "version": "3.0.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "string_decoder": { "version": "1.1.1", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "safe-buffer": "~5.1.0" } @@ -32889,8 +32633,7 @@ "string-width": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -32900,8 +32643,7 @@ "strip-ansi": { "version": "3.0.1", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "ansi-regex": "^2.0.0" } @@ -32909,14 +32651,12 @@ "strip-json-comments": { "version": "2.0.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "tar": { "version": "4.4.13", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "chownr": "^1.1.1", "fs-minipass": "^1.2.5", @@ -32930,14 +32670,12 @@ "util-deprecate": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "wide-align": { "version": "1.1.3", "bundled": true, - "dev": true, - "optional": true, + "extraneous": true, "requires": { "string-width": "^1.0.2 || 2" } @@ -32945,14 +32683,12 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "extraneous": true }, "yallist": { "version": "3.1.1", "bundled": true, - "dev": true, - "optional": true + "extraneous": true } } }, diff --git a/webapp/frontend/src/app/data/mock/device/details/sda.ts b/webapp/frontend/src/app/data/mock/device/details/sda.ts index 733e2ee..16b2d97 100644 --- a/webapp/frontend/src/app/data/mock/device/details/sda.ts +++ b/webapp/frontend/src/app/data/mock/device/details/sda.ts @@ -2,7 +2,7 @@ export const sda = { "data": { "device": { "CreatedAt": "2021-06-24T21:17:31.301226-07:00", - "UpdatedAt": "2021-06-26T14:26:20.856273-07:00", + "UpdatedAt": "2021-10-24T16:37:56.981833-07:00", "DeletedAt": null, "wwn": "0x5002538e40a22954", "device_name": "sda", @@ -23,7 +23,7 @@ export const sda = { "device_status": 0 }, "smart_results": [{ - "date": "2020-06-10T12:01:02Z", + "date": "2021-10-24T23:20:44Z", "device_wwn": "0x5002538e40a22954", "device_protocol": "NVMe", "temp": 36, @@ -32,211 +32,228 @@ export const sda = { "attrs": { "available_spare": { "attribute_id": "available_spare", - "name": "Available Spare", "value": 100, "thresh": 10, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "controller_busy_time": { "attribute_id": "controller_busy_time", - "name": "Controller Busy Time", "value": 3060, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "critical_comp_time": { "attribute_id": "critical_comp_time", - "name": "Critical CompTime", "value": 0, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "critical_warning": { "attribute_id": "critical_warning", - "name": "Critical Warning", "value": 0, "thresh": 0, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "data_units_read": { "attribute_id": "data_units_read", - "name": "Data Units Read", "value": 9511859, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "data_units_written": { "attribute_id": "data_units_written", - "name": "Data Units Written", "value": 7773431, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "host_reads": { "attribute_id": "host_reads", - "name": "Host Reads", "value": 111303174, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "host_writes": { "attribute_id": "host_writes", - "name": "Host Writes", "value": 83170961, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "media_errors": { "attribute_id": "media_errors", - "name": "Media Errors", "value": 0, "thresh": 0, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "num_err_log_entries": { "attribute_id": "num_err_log_entries", - "name": "Numb Err Log Entries", "value": 0, "thresh": 0, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "percentage_used": { "attribute_id": "percentage_used", - "name": "Percentage Used", "value": 0, "thresh": 100, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "power_cycles": { "attribute_id": "power_cycles", - "name": "Power Cycles", "value": 266, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "power_on_hours": { "attribute_id": "power_on_hours", - "name": "Power on Hours", "value": 2401, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "temperature": { "attribute_id": "temperature", - "name": "Temperature", "value": 36, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "unsafe_shutdowns": { "attribute_id": "unsafe_shutdowns", - "name": "Unsafe Shutdowns", "value": 43, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "warning_temp_time": { "attribute_id": "warning_temp_time", - "name": "Warning Temp Time", "value": 0, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 } - } + }, + "Status": 0 }] }, "metadata": { "available_spare": { + "display_name": "Available Spare", "ideal": "high", "critical": true, "description": "Contains a normalized percentage (0 to 100%) of the remaining spare capacity available.", "display_type": "" }, "controller_busy_time": { + "display_name": "Controller Busy Time", "ideal": "", "critical": false, "description": "Contains the amount of time the controller is busy with I/O commands. The controller is busy when there is a command outstanding to an I/O Queue (specifically, a command was issued via an I/O Submission Queue Tail doorbell write and the corresponding completion queue entry has not been posted yet to the associated I/O Completion Queue). This value is reported in minutes.", "display_type": "" }, "critical_comp_time": { + "display_name": "Critical CompTime", "ideal": "", "critical": false, "description": "Contains the amount of time in minutes that the controller is operational and the Composite Temperature is greater the Critical Composite Temperature Threshold (CCTEMP) field in the Identify Controller data structure.", "display_type": "" }, "critical_warning": { + "display_name": "Critical Warning", "ideal": "low", "critical": true, "description": "This field indicates critical warnings for the state of the controller. Each bit corresponds to a critical warning type; multiple bits may be set. If a bit is cleared to ‘0’, then that critical warning does not apply. Critical warnings may result in an asynchronous event notification to the host. Bits in this field represent the current associated state and are not persistent.", "display_type": "" }, "data_units_read": { + "display_name": "Data Units Read", "ideal": "", "critical": false, "description": "Contains the number of 512 byte data units the host has read from the controller; this value does not include metadata. This value is reported in thousands (i.e., a value of 1 corresponds to 1000 units of 512 bytes read) and is rounded up. When the LBA size is a value other than 512 bytes, the controller shall convert the amount of data read to 512 byte units.", "display_type": "" }, "data_units_written": { + "display_name": "Data Units Written", "ideal": "", "critical": false, "description": "Contains the number of 512 byte data units the host has written to the controller; this value does not include metadata. This value is reported in thousands (i.e., a value of 1 corresponds to 1000 units of 512 bytes written) and is rounded up. When the LBA size is a value other than 512 bytes, the controller shall convert the amount of data written to 512 byte units.", "display_type": "" }, "host_reads": { + "display_name": "Host Reads", "ideal": "", "critical": false, "description": "Contains the number of read commands completed by the controller", "display_type": "" }, "host_writes": { + "display_name": "Host Writes", "ideal": "", "critical": false, "description": "Contains the number of write commands completed by the controller", "display_type": "" }, "media_errors": { + "display_name": "Media Errors", "ideal": "low", "critical": true, "description": "Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field.", "display_type": "" }, "num_err_log_entries": { + "display_name": "Numb Err Log Entries", "ideal": "low", "critical": true, "description": "Contains the number of Error Information log entries over the life of the controller.", "display_type": "" }, "percentage_used": { + "display_name": "Percentage Used", "ideal": "low", "critical": true, "description": "Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer’s prediction of NVM life. A value of 100 indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed 100. Percentages greater than 254 shall be represented as 255. This value shall be updated once per power-on hour (when the controller is not in a sleep state).", "display_type": "" }, "power_cycles": { + "display_name": "Power Cycles", "ideal": "", "critical": false, "description": "Contains the number of power cycles.", "display_type": "" }, "power_on_hours": { + "display_name": "Power on Hours", "ideal": "", "critical": false, "description": "Contains the number of power-on hours. Power on hours is always logging, even when in low power mode.", "display_type": "" }, "temperature": { + "display_name": "Temperature", "ideal": "", "critical": false, "description": "", "display_type": "" }, "unsafe_shutdowns": { + "display_name": "Unsafe Shutdowns", "ideal": "", "critical": false, "description": "Contains the number of unsafe shutdowns. This count is incremented when a shutdown notification (CC.SHN) is not received prior to loss of power.", "display_type": "" }, "warning_temp_time": { + "display_name": "Warning Temp Time", "ideal": "", "critical": false, "description": "Contains the amount of time in minutes that the controller is operational and the Composite Temperature is greater than or equal to the Warning Composite Temperature Threshold (WCTEMP) field and less than the Critical Composite Temperature Threshold (CCTEMP) field in the Identify Controller data structure.", diff --git a/webapp/frontend/src/app/data/mock/device/details/sdb.ts b/webapp/frontend/src/app/data/mock/device/details/sdb.ts index e658e79..5e817bd 100644 --- a/webapp/frontend/src/app/data/mock/device/details/sdb.ts +++ b/webapp/frontend/src/app/data/mock/device/details/sdb.ts @@ -2,7 +2,7 @@ export const sdb = { "data": { "device": { "CreatedAt": "2021-06-24T21:17:31.302191-07:00", - "UpdatedAt": "2021-06-27T09:25:21.627183-07:00", + "UpdatedAt": "2021-10-24T17:06:39.436996-07:00", "DeletedAt": null, "wwn": "0x5000cca264eb01d7", "device_name": "sdb", @@ -20,10 +20,10 @@ export const sdb = { "device_type": "", "label": "", "host_id": "", - "device_status": 0 + "device_status": 2 }, "smart_results": [{ - "date": "2020-06-21T00:03:30Z", + "date": "2021-10-24T20:34:04Z", "device_wwn": "0x5000cca264eb01d7", "device_protocol": "ATA", "temp": 32, @@ -32,205 +32,218 @@ export const sdb = { "attrs": { "1": { "attribute_id": 1, - "name": "Read Error Rate", "value": 100, "thresh": 1, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.034155719633986996 }, "10": { "attribute_id": 10, - "name": "Spin Retry Count", "value": 100, "thresh": 1, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.05459827163896099 }, "12": { "attribute_id": 12, - "name": "Power Cycle Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 9, "raw_string": "9", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.019835987118930823 }, "192": { "attribute_id": 192, - "name": "Power-off Retract Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 329, "raw_string": "329", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.01634692899031039 }, "193": { "attribute_id": 193, - "name": "Load Cycle Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 329, "raw_string": "329", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "194": { "attribute_id": 194, - "name": "Temperature", "value": 51, "thresh": 0, "worst": 51, "raw_value": 163210330144, "raw_string": "32 (Min/Max 24/38)", "when_failed": "", - "transformed_value": 0 + "transformed_value": 32, + "status": 0 }, "196": { "attribute_id": 196, - "name": "Reallocation Event Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.007389855800729792 }, "197": { "attribute_id": 197, - "name": "Current Pending Sector Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.025540791394761345 }, "198": { "attribute_id": 198, - "name": "(Offline) Uncorrectable Sector Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.028675322159886437 }, "199": { "attribute_id": 199, - "name": "UltraDMA CRC Error Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "2": { "attribute_id": 2, - "name": "Throughput Performance", "value": 135, "thresh": 54, "worst": 135, "raw_value": 108, "raw_string": "108", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "22": { "attribute_id": 22, - "name": "Current Helium Level", "value": 100, "thresh": 25, "worst": 100, "raw_value": 100, "raw_string": "100", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "3": { "attribute_id": 3, - "name": "Spin-Up Time", "value": 81, "thresh": 1, "worst": 81, "raw_value": 30089675132, "raw_string": "380 (Average 380)", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 2, + "status_reason": "Observed Failure Rate for Attribute is greater than 10%", + "failure_rate": 0.11452195377351217 }, "4": { "attribute_id": 4, - "name": "Start/Stop Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 9, "raw_string": "9", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.01989335424860646 }, "5": { "attribute_id": 5, - "name": "Reallocated Sectors Count", "value": 100, "thresh": 1, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.025169175350572493 }, "7": { "attribute_id": 7, - "name": "Seek Error Rate", "value": 100, "thresh": 1, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.01087335627722523 }, "8": { "attribute_id": 8, - "name": "Seek Time Performance", "value": 133, "thresh": 20, "worst": 133, "raw_value": 18, "raw_string": "18", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "9": { "attribute_id": 9, - "name": "Power-On Hours", "value": 100, "thresh": 0, "worst": 100, "raw_value": 1730, "raw_string": "1730", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 } - } + }, + "Status": 0 }, { - "date": "2021-01-23T16:24:06Z", + "date": "2021-10-24T23:20:44Z", "device_wwn": "0x5000cca264eb01d7", "device_protocol": "ATA", "temp": 32, @@ -239,414 +252,221 @@ export const sdb = { "attrs": { "1": { "attribute_id": 1, - "name": "Read Error Rate", "value": 100, "thresh": 1, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.034155719633986996 }, "10": { "attribute_id": 10, - "name": "Spin Retry Count", "value": 100, "thresh": 1, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.05459827163896099 }, "12": { "attribute_id": 12, - "name": "Power Cycle Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 9, "raw_string": "9", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.019835987118930823 }, "192": { "attribute_id": 192, - "name": "Power-off Retract Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 329, "raw_string": "329", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.01634692899031039 }, "193": { "attribute_id": 193, - "name": "Load Cycle Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 329, "raw_string": "329", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "194": { "attribute_id": 194, - "name": "Temperature", "value": 51, "thresh": 0, "worst": 51, "raw_value": 163210330144, "raw_string": "32 (Min/Max 24/38)", "when_failed": "", - "transformed_value": 0 + "transformed_value": 32, + "status": 0 }, "196": { "attribute_id": 196, - "name": "Reallocation Event Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.007389855800729792 }, "197": { "attribute_id": 197, - "name": "Current Pending Sector Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.025540791394761345 }, "198": { "attribute_id": 198, - "name": "(Offline) Uncorrectable Sector Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.028675322159886437 }, "199": { "attribute_id": 199, - "name": "UltraDMA CRC Error Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "2": { "attribute_id": 2, - "name": "Throughput Performance", "value": 135, "thresh": 54, "worst": 135, "raw_value": 108, "raw_string": "108", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "22": { "attribute_id": 22, - "name": "Current Helium Level", "value": 100, "thresh": 25, "worst": 100, "raw_value": 100, "raw_string": "100", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "3": { "attribute_id": 3, - "name": "Spin-Up Time", "value": 81, "thresh": 1, "worst": 81, "raw_value": 30089675132, "raw_string": "380 (Average 380)", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 2, + "status_reason": "Observed Failure Rate for Attribute is greater than 10%", + "failure_rate": 0.11452195377351217 }, "4": { "attribute_id": 4, - "name": "Start/Stop Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 9, "raw_string": "9", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.01989335424860646 }, "5": { "attribute_id": 5, - "name": "Reallocated Sectors Count", "value": 100, "thresh": 1, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.025169175350572493 }, "7": { "attribute_id": 7, - "name": "Seek Error Rate", "value": 100, "thresh": 1, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.01087335627722523 }, "8": { "attribute_id": 8, - "name": "Seek Time Performance", "value": 133, "thresh": 20, "worst": 133, "raw_value": 18, "raw_string": "18", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "9": { "attribute_id": 9, - "name": "Power-On Hours", "value": 100, "thresh": 0, "worst": 100, "raw_value": 1730, "raw_string": "1730", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 } - } - }, { - "date": "2021-01-23T16:25:46Z", - "device_wwn": "0x5000cca264eb01d7", - "device_protocol": "ATA", - "temp": 32, - "power_on_hours": 1730, - "power_cycle_count": 9, - "attrs": { - "1": { - "attribute_id": 1, - "name": "Read Error Rate", - "value": 100, - "thresh": 1, - "worst": 100, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0 - }, - "10": { - "attribute_id": 10, - "name": "Spin Retry Count", - "value": 100, - "thresh": 1, - "worst": 100, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0 - }, - "12": { - "attribute_id": 12, - "name": "Power Cycle Count", - "value": 100, - "thresh": 0, - "worst": 100, - "raw_value": 9, - "raw_string": "9", - "when_failed": "", - "transformed_value": 0 - }, - "192": { - "attribute_id": 192, - "name": "Power-off Retract Count", - "value": 100, - "thresh": 0, - "worst": 100, - "raw_value": 329, - "raw_string": "329", - "when_failed": "", - "transformed_value": 0 - }, - "193": { - "attribute_id": 193, - "name": "Load Cycle Count", - "value": 100, - "thresh": 0, - "worst": 100, - "raw_value": 329, - "raw_string": "329", - "when_failed": "", - "transformed_value": 0 - }, - "194": { - "attribute_id": 194, - "name": "Temperature", - "value": 51, - "thresh": 0, - "worst": 51, - "raw_value": 163210330144, - "raw_string": "32 (Min/Max 24/38)", - "when_failed": "", - "transformed_value": 0 - }, - "196": { - "attribute_id": 196, - "name": "Reallocation Event Count", - "value": 100, - "thresh": 0, - "worst": 100, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0 - }, - "197": { - "attribute_id": 197, - "name": "Current Pending Sector Count", - "value": 100, - "thresh": 0, - "worst": 100, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0 - }, - "198": { - "attribute_id": 198, - "name": "(Offline) Uncorrectable Sector Count", - "value": 100, - "thresh": 0, - "worst": 100, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0 - }, - "199": { - "attribute_id": 199, - "name": "UltraDMA CRC Error Count", - "value": 100, - "thresh": 0, - "worst": 100, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0 - }, - "2": { - "attribute_id": 2, - "name": "Throughput Performance", - "value": 135, - "thresh": 54, - "worst": 135, - "raw_value": 108, - "raw_string": "108", - "when_failed": "", - "transformed_value": 0 - }, - "22": { - "attribute_id": 22, - "name": "Current Helium Level", - "value": 100, - "thresh": 25, - "worst": 100, - "raw_value": 100, - "raw_string": "100", - "when_failed": "", - "transformed_value": 0 - }, - "3": { - "attribute_id": 3, - "name": "Spin-Up Time", - "value": 81, - "thresh": 1, - "worst": 81, - "raw_value": 30089675132, - "raw_string": "380 (Average 380)", - "when_failed": "", - "transformed_value": 0 - }, - "4": { - "attribute_id": 4, - "name": "Start/Stop Count", - "value": 100, - "thresh": 0, - "worst": 100, - "raw_value": 9, - "raw_string": "9", - "when_failed": "", - "transformed_value": 0 - }, - "5": { - "attribute_id": 5, - "name": "Reallocated Sectors Count", - "value": 100, - "thresh": 1, - "worst": 100, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0 - }, - "7": { - "attribute_id": 7, - "name": "Seek Error Rate", - "value": 100, - "thresh": 1, - "worst": 100, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0 - }, - "8": { - "attribute_id": 8, - "name": "Seek Time Performance", - "value": 133, - "thresh": 20, - "worst": 133, - "raw_value": 18, - "raw_string": "18", - "when_failed": "", - "transformed_value": 0 - }, - "9": { - "attribute_id": 9, - "name": "Power-On Hours", - "value": 100, - "thresh": 0, - "worst": 100, - "raw_value": 1730, - "raw_string": "1730", - "when_failed": "", - "transformed_value": 0 - } - } + }, + "Status": 0 }] }, "metadata": { "1": { + "display_name": "Read Error Rate", "ideal": "low", "critical": false, "description": "(Vendor specific raw value.) Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not meaningful as a decimal number.", @@ -694,6 +514,7 @@ export const sdb = { "display_type": "normalized" }, "10": { + "display_name": "Spin Retry Count", "ideal": "low", "critical": true, "description": "Count of retry of spin start attempts. This attribute stores a total count of the spin start attempts to reach the fully operational speed (under the condition that the first attempt was unsuccessful). An increase of this attribute value is a sign of problems in the hard disk mechanical subsystem.", @@ -711,6 +532,7 @@ export const sdb = { "display_type": "raw" }, "11": { + "display_name": "Recalibration Retries or Calibration Retry Count", "ideal": "low", "critical": false, "description": "This attribute indicates the count that recalibration was requested (under the condition that the first attempt was unsuccessful). An increase of this attribute value is a sign of problems in the hard disk mechanical subsystem.", @@ -758,6 +580,7 @@ export const sdb = { "display_type": "raw" }, "12": { + "display_name": "Power Cycle Count", "ideal": "low", "critical": false, "description": "This attribute indicates the count of full hard disk power on/off cycles.", @@ -800,84 +623,98 @@ export const sdb = { "display_type": "raw" }, "13": { + "display_name": "Soft Read Error Rate", "ideal": "low", "critical": false, "description": "Uncorrected read errors reported to the operating system.", "display_type": "normalized" }, "170": { + "display_name": "Available Reserved Space", "ideal": "", "critical": false, "description": "See attribute E8.", "display_type": "normalized" }, "171": { + "display_name": "SSD Program Fail Count", "ideal": "", "critical": false, "description": "(Kingston) The total number of flash program operation failures since the drive was deployed.[33] Identical to attribute 181.", "display_type": "normalized" }, "172": { + "display_name": "SSD Erase Fail Count", "ideal": "", "critical": false, "description": "(Kingston) Counts the number of flash erase failures. This attribute returns the total number of Flash erase operation failures since the drive was deployed. This attribute is identical to attribute 182.", "display_type": "normalized" }, "173": { + "display_name": "SSD Wear Leveling Count", "ideal": "", "critical": false, "description": "Counts the maximum worst erase count on any block.", "display_type": "normalized" }, "174": { + "display_name": "Unexpected Power Loss Count", "ideal": "", "critical": false, "description": "Also known as \"Power-off Retract Count\" per conventional HDD terminology. Raw value reports the number of unclean shutdowns, cumulative over the life of an SSD, where an \"unclean shutdown\" is the removal of power without STANDBY IMMEDIATE as the last command (regardless of PLI activity using capacitor power). Normalized value is always 100.", "display_type": "" }, "175": { + "display_name": "Power Loss Protection Failure", "ideal": "", "critical": false, "description": "Last test result as microseconds to discharge cap, saturated at its maximum value. Also logs minutes since last test and lifetime number of tests. Raw value contains the following data: Bytes 0-1: Last test result as microseconds to discharge cap, saturates at max value. Test result expected in range 25 \u003c= result \u003c= 5000000, lower indicates specific error code. Bytes 2-3: Minutes since last test, saturates at max value.Bytes 4-5: Lifetime number of tests, not incremented on power cycle, saturates at max value. Normalized value is set to one on test failure or 11 if the capacitor has been tested in an excessive temperature condition, otherwise 100.", "display_type": "normalized" }, "176": { + "display_name": "Erase Fail Count", "ideal": "", "critical": false, "description": "S.M.A.R.T. parameter indicates a number of flash erase command failures.", "display_type": "normalized" }, "177": { + "display_name": "Wear Range Delta", "ideal": "", "critical": false, "description": "Delta between most-worn and least-worn Flash blocks. It describes how good/bad the wearleveling of the SSD works on a more technical way. ", "display_type": "normalized" }, "179": { + "display_name": "Used Reserved Block Count Total", "ideal": "", "critical": false, "description": "Pre-Fail attribute used at least in Samsung devices.", "display_type": "normalized" }, "180": { + "display_name": "Unused Reserved Block Count Total", "ideal": "", "critical": false, "description": "\"Pre-Fail\" attribute used at least in HP devices. ", "display_type": "normalized" }, "181": { + "display_name": "Program Fail Count Total", "ideal": "", "critical": false, "description": "Total number of Flash program operation failures since the drive was deployed.", "display_type": "normalized" }, "182": { + "display_name": "Erase Fail Count", "ideal": "", "critical": false, "description": "\"Pre-Fail\" Attribute used at least in Samsung devices.", "display_type": "normalized" }, "183": { + "display_name": "SATA Downshift Error Count or Runtime Bad Block", "ideal": "low", "critical": false, "description": "Western Digital, Samsung or Seagate attribute: Either the number of downshifts of link speed (e.g. from 6Gbit/s to 3Gbit/s) or the total number of data blocks with detected, uncorrectable errors encountered during normal operation. Although degradation of this parameter can be an indicator of drive aging and/or potential electromechanical problems, it does not directly indicate imminent drive failure.", @@ -930,6 +767,7 @@ export const sdb = { "display_type": "raw" }, "184": { + "display_name": "End-to-End error", "ideal": "low", "critical": true, "description": "This attribute is a part of Hewlett-Packard\"s SMART IV technology, as well as part of other vendors\" IO Error Detection and Correction schemas, and it contains a count of parity errors which occur in the data path to the media via the drive\"s cache RAM", @@ -977,18 +815,21 @@ export const sdb = { "display_type": "normalized" }, "185": { + "display_name": "Head Stability", "ideal": "", "critical": false, "description": "Western Digital attribute.", "display_type": "normalized" }, "186": { + "display_name": "Induced Op-Vibration Detection", "ideal": "", "critical": false, "description": "Western Digital attribute.", "display_type": "normalized" }, "187": { + "display_name": "Reported Uncorrectable Errors", "ideal": "low", "critical": true, "description": "The count of errors that could not be recovered using hardware ECC (see attribute 195).", @@ -1041,6 +882,7 @@ export const sdb = { "display_type": "raw" }, "188": { + "display_name": "Command Timeout", "ideal": "low", "critical": true, "description": "The count of aborted operations due to HDD timeout. Normally this attribute value should be equal to zero.", @@ -1093,6 +935,7 @@ export const sdb = { "display_type": "raw" }, "189": { + "display_name": "High Fly Writes", "ideal": "low", "critical": false, "description": "HDD manufacturers implement a flying height sensor that attempts to provide additional protections for write operations by detecting when a recording head is flying outside its normal operating range. If an unsafe fly height condition is encountered, the write process is stopped, and the information is rewritten or reallocated to a safe region of the hard drive. This attribute indicates the count of these errors detected over the lifetime of the drive.", @@ -1140,18 +983,21 @@ export const sdb = { "display_type": "raw" }, "190": { + "display_name": "Temperature Difference", "ideal": "", "critical": false, "description": "Value is equal to (100-temp. °C), allowing manufacturer to set a minimum threshold which corresponds to a maximum temperature. This also follows the convention of 100 being a best-case value and lower values being undesirable. However, some older drives may instead report raw Temperature (identical to 0xC2) or Temperature minus 50 here.", "display_type": "normalized" }, "191": { + "display_name": "G-sense Error Rate", "ideal": "low", "critical": false, "description": "The count of errors resulting from externally induced shock and vibration. ", "display_type": "normalized" }, "192": { + "display_name": "Power-off Retract Count", "ideal": "low", "critical": false, "description": "Number of power-off or emergency retract cycles.", @@ -1199,12 +1045,14 @@ export const sdb = { "display_type": "raw" }, "193": { + "display_name": "Load Cycle Count", "ideal": "low", "critical": false, "description": "Count of load/unload cycles into head landing zone position.[45] Some drives use 225 (0xE1) for Load Cycle Count instead.", "display_type": "normalized" }, "194": { + "display_name": "Temperature", "ideal": "low", "critical": false, "description": "Indicates the device temperature, if the appropriate sensor is fitted. Lowest byte of the raw value contains the exact temperature value (Celsius degrees).", @@ -1212,6 +1060,7 @@ export const sdb = { "display_type": "transformed" }, "195": { + "display_name": "Hardware ECC Recovered", "ideal": "", "critical": false, "description": "(Vendor-specific raw value.) The raw value has different structure for different vendors and is often not meaningful as a decimal number.", @@ -1259,6 +1108,7 @@ export const sdb = { "display_type": "normalized" }, "196": { + "display_name": "Reallocation Event Count", "ideal": "low", "critical": true, "description": "Count of remap operations. The raw value of this attribute shows the total count of attempts to transfer data from reallocated sectors to a spare area. Both successful and unsuccessful attempts are counted.", @@ -1311,6 +1161,7 @@ export const sdb = { "display_type": "raw" }, "197": { + "display_name": "Current Pending Sector Count", "ideal": "low", "critical": true, "description": "Count of \"unstable\" sectors (waiting to be remapped, because of unrecoverable read errors). If an unstable sector is subsequently read successfully, the sector is remapped and this value is decreased. Read errors on a sector will not remap the sector immediately (since the correct value cannot be read and so the value to remap is not known, and also it might become readable later); instead, the drive firmware remembers that the sector needs to be remapped, and will remap it the next time it\"s written.", @@ -1363,6 +1214,7 @@ export const sdb = { "display_type": "raw" }, "198": { + "display_name": "(Offline) Uncorrectable Sector Count", "ideal": "low", "critical": true, "description": "The total count of uncorrectable errors when reading/writing a sector. A rise in the value of this attribute indicates defects of the disk surface and/or problems in the mechanical subsystem.", @@ -1415,6 +1267,7 @@ export const sdb = { "display_type": "raw" }, "199": { + "display_name": "UltraDMA CRC Error Count", "ideal": "low", "critical": false, "description": "The count of errors in data transfer via the interface cable as determined by ICRC (Interface Cyclic Redundancy Check).", @@ -1467,246 +1320,287 @@ export const sdb = { "display_type": "raw" }, "2": { + "display_name": "Throughput Performance", "ideal": "high", "critical": false, "description": "Overall (general) throughput performance of a hard disk drive. If the value of this attribute is decreasing there is a high probability that there is a problem with the disk.", "display_type": "normalized" }, "200": { + "display_name": "Multi-Zone Error Rate", "ideal": "low", "critical": false, "description": "The count of errors found when writing a sector. The higher the value, the worse the disk\"s mechanical condition is.", "display_type": "normalized" }, "201": { + "display_name": "Soft Read Error Rate", "ideal": "low", "critical": true, "description": "Count indicates the number of uncorrectable software read errors.", "display_type": "normalized" }, "202": { + "display_name": "Data Address Mark errors", "ideal": "low", "critical": false, "description": "Count of Data Address Mark errors (or vendor-specific).", "display_type": "normalized" }, "203": { + "display_name": "Run Out Cancel", "ideal": "low", "critical": false, "description": "The number of errors caused by incorrect checksum during the error correction.", "display_type": "normalized" }, "204": { + "display_name": "Soft ECC Correction", "ideal": "low", "critical": false, "description": "Count of errors corrected by the internal error correction software.", "display_type": "" }, "205": { + "display_name": "Thermal Asperity Rate", "ideal": "low", "critical": false, "description": "Count of errors due to high temperature.", "display_type": "normalized" }, "206": { + "display_name": "Flying Height", "ideal": "", "critical": false, "description": "Height of heads above the disk surface. If too low, head crash is more likely; if too high, read/write errors are more likely.", "display_type": "normalized" }, "207": { + "display_name": "Spin High Current", "ideal": "low", "critical": false, "description": "Amount of surge current used to spin up the drive.", "display_type": "normalized" }, "208": { + "display_name": "Spin Buzz", "ideal": "", "critical": false, "description": "Count of buzz routines needed to spin up the drive due to insufficient power.", "display_type": "normalized" }, "209": { + "display_name": "Offline Seek Performance", "ideal": "", "critical": false, "description": "Drive\"s seek performance during its internal tests.", "display_type": "normalized" }, "210": { + "display_name": "Vibration During Write", "ideal": "", "critical": false, "description": "Found in Maxtor 6B200M0 200GB and Maxtor 2R015H1 15GB disks.", "display_type": "normalized" }, "211": { + "display_name": "Vibration During Write", "ideal": "", "critical": false, "description": "A recording of a vibration encountered during write operations.", "display_type": "normalized" }, "212": { + "display_name": "Shock During Write", "ideal": "", "critical": false, "description": "A recording of shock encountered during write operations.", "display_type": "normalized" }, "22": { + "display_name": "Current Helium Level", "ideal": "high", "critical": false, "description": "Specific to He8 drives from HGST. This value measures the helium inside of the drive specific to this manufacturer. It is a pre-fail attribute that trips once the drive detects that the internal environment is out of specification.", "display_type": "normalized" }, "220": { + "display_name": "Disk Shift", "ideal": "low", "critical": false, "description": "Distance the disk has shifted relative to the spindle (usually due to shock or temperature). Unit of measure is unknown.", "display_type": "normalized" }, "221": { + "display_name": "G-Sense Error Rate", "ideal": "low", "critical": false, "description": "The count of errors resulting from externally induced shock and vibration.", "display_type": "normalized" }, "222": { + "display_name": "Loaded Hours", "ideal": "", "critical": false, "description": "Time spent operating under data load (movement of magnetic head armature).", "display_type": "normalized" }, "223": { + "display_name": "Load/Unload Retry Count", "ideal": "", "critical": false, "description": "Count of times head changes position.", "display_type": "normalized" }, "224": { + "display_name": "Load Friction", "ideal": "low", "critical": false, "description": "Resistance caused by friction in mechanical parts while operating.", "display_type": "normalized" }, "225": { + "display_name": "Load/Unload Cycle Count", "ideal": "low", "critical": false, "description": "Total count of load cycles Some drives use 193 (0xC1) for Load Cycle Count instead. See Description for 193 for significance of this number. ", "display_type": "normalized" }, "226": { + "display_name": "Load \"In\"-time", "ideal": "", "critical": false, "description": "Total time of loading on the magnetic heads actuator (time not spent in parking area).", "display_type": "normalized" }, "227": { + "display_name": "Torque Amplification Count", "ideal": "low", "critical": false, "description": "Count of attempts to compensate for platter speed variations.[66]", "display_type": "" }, "228": { + "display_name": "Power-Off Retract Cycle", "ideal": "low", "critical": false, "description": "The number of power-off cycles which are counted whenever there is a \"retract event\" and the heads are loaded off of the media such as when the machine is powered down, put to sleep, or is idle.", "display_type": "" }, "230": { + "display_name": "GMR Head Amplitude ", "ideal": "", "critical": false, "description": "Amplitude of \"thrashing\" (repetitive head moving motions between operations).", "display_type": "normalized" }, "231": { + "display_name": "Life Left", "ideal": "", "critical": false, "description": "Indicates the approximate SSD life left, in terms of program/erase cycles or available reserved blocks. A normalized value of 100 represents a new drive, with a threshold value at 10 indicating a need for replacement. A value of 0 may mean that the drive is operating in read-only mode to allow data recovery.", "display_type": "normalized" }, "232": { + "display_name": "Endurance Remaining", "ideal": "", "critical": false, "description": "Number of physical erase cycles completed on the SSD as a percentage of the maximum physical erase cycles the drive is designed to endure.", "display_type": "normalized" }, "233": { + "display_name": "Media Wearout Indicator", "ideal": "", "critical": false, "description": "Intel SSDs report a normalized value from 100, a new drive, to a minimum of 1. It decreases while the NAND erase cycles increase from 0 to the maximum-rated cycles.", "display_type": "normalized" }, "234": { + "display_name": "Average erase count", "ideal": "", "critical": false, "description": "Decoded as: byte 0-1-2 = average erase count (big endian) and byte 3-4-5 = max erase count (big endian).", "display_type": "normalized" }, "235": { + "display_name": "Good Block Count", "ideal": "", "critical": false, "description": "Decoded as: byte 0-1-2 = good block count (big endian) and byte 3-4 = system (free) block count.", "display_type": "normalized" }, "240": { + "display_name": "Head Flying Hours", "ideal": "", "critical": false, "description": "Time spent during the positioning of the drive heads.[15][71] Some Fujitsu drives report the count of link resets during a data transfer.", "display_type": "normalized" }, "241": { + "display_name": "Total LBAs Written", "ideal": "", "critical": false, "description": "Total count of LBAs written.", "display_type": "normalized" }, "242": { + "display_name": "Total LBAs Read", "ideal": "", "critical": false, "description": "Total count of LBAs read.Some S.M.A.R.T. utilities will report a negative number for the raw value since in reality it has 48 bits rather than 32.", "display_type": "normalized" }, "243": { + "display_name": "Total LBAs Written Expanded", "ideal": "", "critical": false, "description": "The upper 5 bytes of the 12-byte total number of LBAs written to the device. The lower 7 byte value is located at attribute 0xF1.", "display_type": "normalized" }, "244": { + "display_name": "Total LBAs Read Expanded", "ideal": "", "critical": false, "description": "The upper 5 bytes of the 12-byte total number of LBAs read from the device. The lower 7 byte value is located at attribute 0xF2.", "display_type": "normalized" }, "249": { + "display_name": "NAND Writes (1GiB)", "ideal": "", "critical": false, "description": "Total NAND Writes. Raw value reports the number of writes to NAND in 1 GB increments.", "display_type": "normalized" }, "250": { + "display_name": "Read Error Retry Rate", "ideal": "low", "critical": false, "description": "Count of errors while reading from a disk.", "display_type": "normalized" }, "251": { + "display_name": "Minimum Spares Remaining", "ideal": "", "critical": false, "description": "The Minimum Spares Remaining attribute indicates the number of remaining spare blocks as a percentage of the total number of spare blocks available.", "display_type": "normalized" }, "252": { + "display_name": "Newly Added Bad Flash Block", "ideal": "", "critical": false, "description": "The Newly Added Bad Flash Block attribute indicates the total number of bad flash blocks the drive detected since it was first initialized in manufacturing.", "display_type": "normalized" }, "254": { + "display_name": "Free Fall Protection", "ideal": "low", "critical": false, "description": "Count of \"Free Fall Events\" detected.", "display_type": "normalized" }, "3": { + "display_name": "Spin-Up Time", "ideal": "low", "critical": false, "description": "Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).", @@ -1754,6 +1648,7 @@ export const sdb = { "display_type": "normalized" }, "4": { + "display_name": "Start/Stop Count", "ideal": "", "critical": false, "description": "A tally of spindle start/stop cycles. The spindle turns on, and hence the count is increased, both when the hard disk is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.", @@ -1801,6 +1696,7 @@ export const sdb = { "display_type": "raw" }, "5": { + "display_name": "Reallocated Sectors Count", "ideal": "low", "critical": true, "description": "Count of reallocated sectors. The raw value represents a count of the bad sectors that have been found and remapped.Thus, the higher the attribute value, the more sectors the drive has had to reallocate. This value is primarily used as a metric of the life expectancy of the drive; a drive which has had any reallocations at all is significantly more likely to fail in the immediate months.", @@ -1853,12 +1749,14 @@ export const sdb = { "display_type": "raw" }, "6": { + "display_name": "Read Channel Margin", "ideal": "", "critical": false, "description": "Margin of a channel while reading data. The function of this attribute is not specified.", "display_type": "normalized" }, "7": { + "display_name": "Seek Error Rate", "ideal": "", "critical": false, "description": "(Vendor specific raw value.) Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may be due to numerous factors, such as damage to a servo, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number.", @@ -1906,12 +1804,14 @@ export const sdb = { "display_type": "normalized" }, "8": { + "display_name": "Seek Time Performance", "ideal": "high", "critical": false, "description": "Average performance of seek operations of the magnetic heads. If this attribute is decreasing, it is a sign of problems in the mechanical subsystem.", "display_type": "normalized" }, "9": { + "display_name": "Power-On Hours", "ideal": "", "critical": false, "description": "Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to 1825 days in 24/7 mode or 43800 hours. On some pre-2005 drives, this raw value may advance erratically and/or \"wrap around\" (reset to zero periodically).", diff --git a/webapp/frontend/src/app/data/mock/device/details/sdc.ts b/webapp/frontend/src/app/data/mock/device/details/sdc.ts index 692437f..66fa65d 100644 --- a/webapp/frontend/src/app/data/mock/device/details/sdc.ts +++ b/webapp/frontend/src/app/data/mock/device/details/sdc.ts @@ -2,7 +2,7 @@ export const sdc = { "data": { "device": { "CreatedAt": "2021-06-24T21:17:31.303033-07:00", - "UpdatedAt": "2021-06-26T14:26:20.449968-07:00", + "UpdatedAt": "2021-10-24T16:37:56.74865-07:00", "DeletedAt": null, "wwn": "0x5000cca264ec3183", "device_name": "sdc", @@ -20,10 +20,10 @@ export const sdc = { "device_type": "", "label": "", "host_id": "", - "device_status": 1 + "device_status": 3 }, "smart_results": [{ - "date": "2020-07-08T13:48:23Z", + "date": "2021-10-24T23:20:44Z", "device_wwn": "0x5000cca264ec3183", "device_protocol": "ATA", "temp": 25, @@ -32,393 +32,212 @@ export const sdc = { "attrs": { "1": { "attribute_id": 1, - "name": "Read Error Rate", "value": 100, "thresh": 16, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 - }, - "10": { - "attribute_id": 10, - "name": "Spin Retry Count", - "value": 100, - "thresh": 60, - "worst": 100, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", "transformed_value": 0, - "status": "passed" - }, - "12": { - "attribute_id": 12, - "name": "Power Cycle Count", - "value": 100, - "thresh": 0, - "worst": 100, - "raw_value": 86, - "raw_string": "86", - "when_failed": "", - "transformed_value": 0 - }, - "192": { - "attribute_id": 192, - "name": "Power-off Retract Count", - "value": 95, - "thresh": 0, - "worst": 95, - "raw_value": 6244, - "raw_string": "6244", - "when_failed": "", - "transformed_value": 0 - }, - "193": { - "attribute_id": 193, - "name": "Load Cycle Count", - "value": 95, - "thresh": 0, - "worst": 95, - "raw_value": 6244, - "raw_string": "6244", - "when_failed": "", - "transformed_value": 0 - }, - "194": { - "attribute_id": 194, - "name": "Temperature", - "value": 240, - "thresh": 0, - "worst": 240, - "raw_value": 167504969753, - "raw_string": "25 (Min/Max 19/39)", - "when_failed": "", - "transformed_value": 0 - }, - "196": { - "attribute_id": 196, - "name": "Reallocation Event Count", - "value": 1, - "thresh": 0, - "worst": 1, - "raw_value": 3831, - "raw_string": "3831", - "when_failed": "", - "transformed_value": 0 - }, - "197": { - "attribute_id": 197, - "name": "Current Pending Sector Count", - "value": 100, - "thresh": 0, - "worst": 100, - "raw_value": 8, - "raw_string": "8", - "when_failed": "", - "transformed_value": 0 - }, - "198": { - "attribute_id": 198, - "name": "(Offline) Uncorrectable Sector Count", - "value": 100, - "thresh": 0, - "worst": 100, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0 - }, - "199": { - "attribute_id": 199, - "name": "UltraDMA CRC Error Count", - "value": 200, - "thresh": 0, - "worst": 200, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0 - }, - "2": { - "attribute_id": 2, - "name": "Throughput Performance", - "value": 136, - "thresh": 54, - "worst": 136, - "raw_value": 91, - "raw_string": "91", - "when_failed": "", - "transformed_value": 0 - }, - "3": { - "attribute_id": 3, - "name": "Spin-Up Time", - "value": 125, - "thresh": 24, - "worst": 125, - "raw_value": 17192124596, - "raw_string": "180 (Average 187)", - "when_failed": "", - "transformed_value": 0 - }, - "4": { - "attribute_id": 4, - "name": "Start/Stop Count", - "value": 100, - "thresh": 0, - "worst": 100, - "raw_value": 86, - "raw_string": "86", - "when_failed": "", - "transformed_value": 0 - }, - "5": { - "attribute_id": 5, - "name": "Reallocated Sectors Count", - "value": 1, - "thresh": 5, - "worst": 1, - "raw_value": 1975, - "raw_string": "1975", - "when_failed": "now", - "transformed_value": 0 - }, - "7": { - "attribute_id": 7, - "name": "Seek Error Rate", - "value": 100, - "thresh": 67, - "worst": 100, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0 - }, - "8": { - "attribute_id": 8, - "name": "Seek Time Performance", - "value": 118, - "thresh": 20, - "worst": 118, - "raw_value": 33, - "raw_string": "33", - "when_failed": "", - "transformed_value": 0 - }, - "9": { - "attribute_id": 9, - "name": "Power-On Hours", - "value": 91, - "thresh": 0, - "worst": 91, - "raw_value": 65592, - "raw_string": "65592", - "when_failed": "", - "transformed_value": 0 - } - } - }, { - "date": "2020-07-08T13:48:23Z", - "device_wwn": "0x5000cca264ec3183", - "device_protocol": "ATA", - "temp": 25, - "power_on_hours": 65592, - "power_cycle_count": 86, - "attrs": { - "1": { - "attribute_id": 1, - "name": "Read Error Rate", - "value": 100, - "thresh": 16, - "worst": 100, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0 + "status": 0, + "failure_rate": 0.034155719633986996 }, "10": { "attribute_id": 10, - "name": "Spin Retry Count", "value": 100, "thresh": 60, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.05459827163896099 }, "12": { "attribute_id": 12, - "name": "Power Cycle Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 86, "raw_string": "86", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 2, + "status_reason": "Observed Failure Rate for Attribute is greater than 10%", + "failure_rate": 0.12354840389522469 }, "192": { "attribute_id": 192, - "name": "Power-off Retract Count", "value": 95, "thresh": 0, "worst": 95, "raw_value": 6244, "raw_string": "6244", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "193": { "attribute_id": 193, - "name": "Load Cycle Count", "value": 95, "thresh": 0, "worst": 95, "raw_value": 6244, "raw_string": "6244", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "194": { "attribute_id": 194, - "name": "Temperature", "value": 240, "thresh": 0, "worst": 240, "raw_value": 167504969753, "raw_string": "25 (Min/Max 19/39)", "when_failed": "", - "transformed_value": 0 + "transformed_value": 25, + "status": 0 }, "196": { "attribute_id": 196, - "name": "Reallocation Event Count", "value": 1, "thresh": 0, "worst": 1, "raw_value": 3831, "raw_string": "3831", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 2, + "status_reason": "Could not determine Observed Failure Rate for Critical Attribute" }, "197": { "attribute_id": 197, - "name": "Current Pending Sector Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 8, "raw_string": "8", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 1, + "status_reason": "Observed Failure Rate for Critical Attribute is greater than 10%", + "failure_rate": 0.6108100007493069 }, "198": { "attribute_id": 198, - "name": "(Offline) Uncorrectable Sector Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.028675322159886437 }, "199": { "attribute_id": 199, - "name": "UltraDMA CRC Error Count", "value": 200, "thresh": 0, "worst": 200, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "2": { "attribute_id": 2, - "name": "Throughput Performance", "value": 136, "thresh": 54, "worst": 136, "raw_value": 91, "raw_string": "91", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "3": { "attribute_id": 3, - "name": "Spin-Up Time", "value": 125, "thresh": 24, "worst": 125, "raw_value": 17192124596, "raw_string": "180 (Average 187)", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.009100406705780476 }, "4": { "attribute_id": 4, - "name": "Start/Stop Count", "value": 100, "thresh": 0, "worst": 100, "raw_value": 86, "raw_string": "86", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 2, + "status_reason": "Observed Failure Rate for Attribute is greater than 10%", + "failure_rate": 0.12262136155304391 }, "5": { "attribute_id": 5, - "name": "Reallocated Sectors Count", "value": 1, "thresh": 5, "worst": 1, "raw_value": 1975, "raw_string": "1975", "when_failed": "now", - "transformed_value": 0 + "transformed_value": 0, + "status": 1, + "status_reason": "Observed Failure Rate for Critical Attribute is greater than 10%", + "failure_rate": 1.5028253400346423 }, "7": { "attribute_id": 7, - "name": "Seek Error Rate", "value": 100, "thresh": 67, "worst": 100, "raw_value": 0, "raw_string": "0", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0, + "failure_rate": 0.01087335627722523 }, "8": { "attribute_id": 8, - "name": "Seek Time Performance", "value": 118, "thresh": 20, "worst": 118, "raw_value": 33, "raw_string": "33", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "9": { "attribute_id": 9, - "name": "Power-On Hours", "value": 91, "thresh": 0, "worst": 91, "raw_value": 65592, "raw_string": "65592", "when_failed": "", - "transformed_value": 0 + "transformed_value": 0, + "status": 0 } - } + }, + "Status": 0 }] }, "metadata": { "1": { + "display_name": "Read Error Rate", "ideal": "low", "critical": false, "description": "(Vendor specific raw value.) Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not meaningful as a decimal number.", @@ -466,6 +285,7 @@ export const sdc = { "display_type": "normalized" }, "10": { + "display_name": "Spin Retry Count", "ideal": "low", "critical": true, "description": "Count of retry of spin start attempts. This attribute stores a total count of the spin start attempts to reach the fully operational speed (under the condition that the first attempt was unsuccessful). An increase of this attribute value is a sign of problems in the hard disk mechanical subsystem.", @@ -483,6 +303,7 @@ export const sdc = { "display_type": "raw" }, "11": { + "display_name": "Recalibration Retries or Calibration Retry Count", "ideal": "low", "critical": false, "description": "This attribute indicates the count that recalibration was requested (under the condition that the first attempt was unsuccessful). An increase of this attribute value is a sign of problems in the hard disk mechanical subsystem.", @@ -530,6 +351,7 @@ export const sdc = { "display_type": "raw" }, "12": { + "display_name": "Power Cycle Count", "ideal": "low", "critical": false, "description": "This attribute indicates the count of full hard disk power on/off cycles.", @@ -572,84 +394,98 @@ export const sdc = { "display_type": "raw" }, "13": { + "display_name": "Soft Read Error Rate", "ideal": "low", "critical": false, "description": "Uncorrected read errors reported to the operating system.", "display_type": "normalized" }, "170": { + "display_name": "Available Reserved Space", "ideal": "", "critical": false, "description": "See attribute E8.", "display_type": "normalized" }, "171": { + "display_name": "SSD Program Fail Count", "ideal": "", "critical": false, "description": "(Kingston) The total number of flash program operation failures since the drive was deployed.[33] Identical to attribute 181.", "display_type": "normalized" }, "172": { + "display_name": "SSD Erase Fail Count", "ideal": "", "critical": false, "description": "(Kingston) Counts the number of flash erase failures. This attribute returns the total number of Flash erase operation failures since the drive was deployed. This attribute is identical to attribute 182.", "display_type": "normalized" }, "173": { + "display_name": "SSD Wear Leveling Count", "ideal": "", "critical": false, "description": "Counts the maximum worst erase count on any block.", "display_type": "normalized" }, "174": { + "display_name": "Unexpected Power Loss Count", "ideal": "", "critical": false, "description": "Also known as \"Power-off Retract Count\" per conventional HDD terminology. Raw value reports the number of unclean shutdowns, cumulative over the life of an SSD, where an \"unclean shutdown\" is the removal of power without STANDBY IMMEDIATE as the last command (regardless of PLI activity using capacitor power). Normalized value is always 100.", "display_type": "" }, "175": { + "display_name": "Power Loss Protection Failure", "ideal": "", "critical": false, "description": "Last test result as microseconds to discharge cap, saturated at its maximum value. Also logs minutes since last test and lifetime number of tests. Raw value contains the following data: Bytes 0-1: Last test result as microseconds to discharge cap, saturates at max value. Test result expected in range 25 \u003c= result \u003c= 5000000, lower indicates specific error code. Bytes 2-3: Minutes since last test, saturates at max value.Bytes 4-5: Lifetime number of tests, not incremented on power cycle, saturates at max value. Normalized value is set to one on test failure or 11 if the capacitor has been tested in an excessive temperature condition, otherwise 100.", "display_type": "normalized" }, "176": { + "display_name": "Erase Fail Count", "ideal": "", "critical": false, "description": "S.M.A.R.T. parameter indicates a number of flash erase command failures.", "display_type": "normalized" }, "177": { + "display_name": "Wear Range Delta", "ideal": "", "critical": false, "description": "Delta between most-worn and least-worn Flash blocks. It describes how good/bad the wearleveling of the SSD works on a more technical way. ", "display_type": "normalized" }, "179": { + "display_name": "Used Reserved Block Count Total", "ideal": "", "critical": false, "description": "Pre-Fail attribute used at least in Samsung devices.", "display_type": "normalized" }, "180": { + "display_name": "Unused Reserved Block Count Total", "ideal": "", "critical": false, "description": "\"Pre-Fail\" attribute used at least in HP devices. ", "display_type": "normalized" }, "181": { + "display_name": "Program Fail Count Total", "ideal": "", "critical": false, "description": "Total number of Flash program operation failures since the drive was deployed.", "display_type": "normalized" }, "182": { + "display_name": "Erase Fail Count", "ideal": "", "critical": false, "description": "\"Pre-Fail\" Attribute used at least in Samsung devices.", "display_type": "normalized" }, "183": { + "display_name": "SATA Downshift Error Count or Runtime Bad Block", "ideal": "low", "critical": false, "description": "Western Digital, Samsung or Seagate attribute: Either the number of downshifts of link speed (e.g. from 6Gbit/s to 3Gbit/s) or the total number of data blocks with detected, uncorrectable errors encountered during normal operation. Although degradation of this parameter can be an indicator of drive aging and/or potential electromechanical problems, it does not directly indicate imminent drive failure.", @@ -702,6 +538,7 @@ export const sdc = { "display_type": "raw" }, "184": { + "display_name": "End-to-End error", "ideal": "low", "critical": true, "description": "This attribute is a part of Hewlett-Packard\"s SMART IV technology, as well as part of other vendors\" IO Error Detection and Correction schemas, and it contains a count of parity errors which occur in the data path to the media via the drive\"s cache RAM", @@ -749,18 +586,21 @@ export const sdc = { "display_type": "normalized" }, "185": { + "display_name": "Head Stability", "ideal": "", "critical": false, "description": "Western Digital attribute.", "display_type": "normalized" }, "186": { + "display_name": "Induced Op-Vibration Detection", "ideal": "", "critical": false, "description": "Western Digital attribute.", "display_type": "normalized" }, "187": { + "display_name": "Reported Uncorrectable Errors", "ideal": "low", "critical": true, "description": "The count of errors that could not be recovered using hardware ECC (see attribute 195).", @@ -813,6 +653,7 @@ export const sdc = { "display_type": "raw" }, "188": { + "display_name": "Command Timeout", "ideal": "low", "critical": true, "description": "The count of aborted operations due to HDD timeout. Normally this attribute value should be equal to zero.", @@ -865,6 +706,7 @@ export const sdc = { "display_type": "raw" }, "189": { + "display_name": "High Fly Writes", "ideal": "low", "critical": false, "description": "HDD manufacturers implement a flying height sensor that attempts to provide additional protections for write operations by detecting when a recording head is flying outside its normal operating range. If an unsafe fly height condition is encountered, the write process is stopped, and the information is rewritten or reallocated to a safe region of the hard drive. This attribute indicates the count of these errors detected over the lifetime of the drive.", @@ -912,18 +754,21 @@ export const sdc = { "display_type": "raw" }, "190": { + "display_name": "Temperature Difference", "ideal": "", "critical": false, "description": "Value is equal to (100-temp. °C), allowing manufacturer to set a minimum threshold which corresponds to a maximum temperature. This also follows the convention of 100 being a best-case value and lower values being undesirable. However, some older drives may instead report raw Temperature (identical to 0xC2) or Temperature minus 50 here.", "display_type": "normalized" }, "191": { + "display_name": "G-sense Error Rate", "ideal": "low", "critical": false, "description": "The count of errors resulting from externally induced shock and vibration. ", "display_type": "normalized" }, "192": { + "display_name": "Power-off Retract Count", "ideal": "low", "critical": false, "description": "Number of power-off or emergency retract cycles.", @@ -971,12 +816,14 @@ export const sdc = { "display_type": "raw" }, "193": { + "display_name": "Load Cycle Count", "ideal": "low", "critical": false, "description": "Count of load/unload cycles into head landing zone position.[45] Some drives use 225 (0xE1) for Load Cycle Count instead.", "display_type": "normalized" }, "194": { + "display_name": "Temperature", "ideal": "low", "critical": false, "description": "Indicates the device temperature, if the appropriate sensor is fitted. Lowest byte of the raw value contains the exact temperature value (Celsius degrees).", @@ -984,6 +831,7 @@ export const sdc = { "display_type": "transformed" }, "195": { + "display_name": "Hardware ECC Recovered", "ideal": "", "critical": false, "description": "(Vendor-specific raw value.) The raw value has different structure for different vendors and is often not meaningful as a decimal number.", @@ -1031,6 +879,7 @@ export const sdc = { "display_type": "normalized" }, "196": { + "display_name": "Reallocation Event Count", "ideal": "low", "critical": true, "description": "Count of remap operations. The raw value of this attribute shows the total count of attempts to transfer data from reallocated sectors to a spare area. Both successful and unsuccessful attempts are counted.", @@ -1083,6 +932,7 @@ export const sdc = { "display_type": "raw" }, "197": { + "display_name": "Current Pending Sector Count", "ideal": "low", "critical": true, "description": "Count of \"unstable\" sectors (waiting to be remapped, because of unrecoverable read errors). If an unstable sector is subsequently read successfully, the sector is remapped and this value is decreased. Read errors on a sector will not remap the sector immediately (since the correct value cannot be read and so the value to remap is not known, and also it might become readable later); instead, the drive firmware remembers that the sector needs to be remapped, and will remap it the next time it\"s written.", @@ -1135,6 +985,7 @@ export const sdc = { "display_type": "raw" }, "198": { + "display_name": "(Offline) Uncorrectable Sector Count", "ideal": "low", "critical": true, "description": "The total count of uncorrectable errors when reading/writing a sector. A rise in the value of this attribute indicates defects of the disk surface and/or problems in the mechanical subsystem.", @@ -1187,6 +1038,7 @@ export const sdc = { "display_type": "raw" }, "199": { + "display_name": "UltraDMA CRC Error Count", "ideal": "low", "critical": false, "description": "The count of errors in data transfer via the interface cable as determined by ICRC (Interface Cyclic Redundancy Check).", @@ -1239,246 +1091,287 @@ export const sdc = { "display_type": "raw" }, "2": { + "display_name": "Throughput Performance", "ideal": "high", "critical": false, "description": "Overall (general) throughput performance of a hard disk drive. If the value of this attribute is decreasing there is a high probability that there is a problem with the disk.", "display_type": "normalized" }, "200": { + "display_name": "Multi-Zone Error Rate", "ideal": "low", "critical": false, "description": "The count of errors found when writing a sector. The higher the value, the worse the disk\"s mechanical condition is.", "display_type": "normalized" }, "201": { + "display_name": "Soft Read Error Rate", "ideal": "low", "critical": true, "description": "Count indicates the number of uncorrectable software read errors.", "display_type": "normalized" }, "202": { + "display_name": "Data Address Mark errors", "ideal": "low", "critical": false, "description": "Count of Data Address Mark errors (or vendor-specific).", "display_type": "normalized" }, "203": { + "display_name": "Run Out Cancel", "ideal": "low", "critical": false, "description": "The number of errors caused by incorrect checksum during the error correction.", "display_type": "normalized" }, "204": { + "display_name": "Soft ECC Correction", "ideal": "low", "critical": false, "description": "Count of errors corrected by the internal error correction software.", "display_type": "" }, "205": { + "display_name": "Thermal Asperity Rate", "ideal": "low", "critical": false, "description": "Count of errors due to high temperature.", "display_type": "normalized" }, "206": { + "display_name": "Flying Height", "ideal": "", "critical": false, "description": "Height of heads above the disk surface. If too low, head crash is more likely; if too high, read/write errors are more likely.", "display_type": "normalized" }, "207": { + "display_name": "Spin High Current", "ideal": "low", "critical": false, "description": "Amount of surge current used to spin up the drive.", "display_type": "normalized" }, "208": { + "display_name": "Spin Buzz", "ideal": "", "critical": false, "description": "Count of buzz routines needed to spin up the drive due to insufficient power.", "display_type": "normalized" }, "209": { + "display_name": "Offline Seek Performance", "ideal": "", "critical": false, "description": "Drive\"s seek performance during its internal tests.", "display_type": "normalized" }, "210": { + "display_name": "Vibration During Write", "ideal": "", "critical": false, "description": "Found in Maxtor 6B200M0 200GB and Maxtor 2R015H1 15GB disks.", "display_type": "normalized" }, "211": { + "display_name": "Vibration During Write", "ideal": "", "critical": false, "description": "A recording of a vibration encountered during write operations.", "display_type": "normalized" }, "212": { + "display_name": "Shock During Write", "ideal": "", "critical": false, "description": "A recording of shock encountered during write operations.", "display_type": "normalized" }, "22": { + "display_name": "Current Helium Level", "ideal": "high", "critical": false, "description": "Specific to He8 drives from HGST. This value measures the helium inside of the drive specific to this manufacturer. It is a pre-fail attribute that trips once the drive detects that the internal environment is out of specification.", "display_type": "normalized" }, "220": { + "display_name": "Disk Shift", "ideal": "low", "critical": false, "description": "Distance the disk has shifted relative to the spindle (usually due to shock or temperature). Unit of measure is unknown.", "display_type": "normalized" }, "221": { + "display_name": "G-Sense Error Rate", "ideal": "low", "critical": false, "description": "The count of errors resulting from externally induced shock and vibration.", "display_type": "normalized" }, "222": { + "display_name": "Loaded Hours", "ideal": "", "critical": false, "description": "Time spent operating under data load (movement of magnetic head armature).", "display_type": "normalized" }, "223": { + "display_name": "Load/Unload Retry Count", "ideal": "", "critical": false, "description": "Count of times head changes position.", "display_type": "normalized" }, "224": { + "display_name": "Load Friction", "ideal": "low", "critical": false, "description": "Resistance caused by friction in mechanical parts while operating.", "display_type": "normalized" }, "225": { + "display_name": "Load/Unload Cycle Count", "ideal": "low", "critical": false, "description": "Total count of load cycles Some drives use 193 (0xC1) for Load Cycle Count instead. See Description for 193 for significance of this number. ", "display_type": "normalized" }, "226": { + "display_name": "Load \"In\"-time", "ideal": "", "critical": false, "description": "Total time of loading on the magnetic heads actuator (time not spent in parking area).", "display_type": "normalized" }, "227": { + "display_name": "Torque Amplification Count", "ideal": "low", "critical": false, "description": "Count of attempts to compensate for platter speed variations.[66]", "display_type": "" }, "228": { + "display_name": "Power-Off Retract Cycle", "ideal": "low", "critical": false, "description": "The number of power-off cycles which are counted whenever there is a \"retract event\" and the heads are loaded off of the media such as when the machine is powered down, put to sleep, or is idle.", "display_type": "" }, "230": { + "display_name": "GMR Head Amplitude ", "ideal": "", "critical": false, "description": "Amplitude of \"thrashing\" (repetitive head moving motions between operations).", "display_type": "normalized" }, "231": { + "display_name": "Life Left", "ideal": "", "critical": false, "description": "Indicates the approximate SSD life left, in terms of program/erase cycles or available reserved blocks. A normalized value of 100 represents a new drive, with a threshold value at 10 indicating a need for replacement. A value of 0 may mean that the drive is operating in read-only mode to allow data recovery.", "display_type": "normalized" }, "232": { + "display_name": "Endurance Remaining", "ideal": "", "critical": false, "description": "Number of physical erase cycles completed on the SSD as a percentage of the maximum physical erase cycles the drive is designed to endure.", "display_type": "normalized" }, "233": { + "display_name": "Media Wearout Indicator", "ideal": "", "critical": false, "description": "Intel SSDs report a normalized value from 100, a new drive, to a minimum of 1. It decreases while the NAND erase cycles increase from 0 to the maximum-rated cycles.", "display_type": "normalized" }, "234": { + "display_name": "Average erase count", "ideal": "", "critical": false, "description": "Decoded as: byte 0-1-2 = average erase count (big endian) and byte 3-4-5 = max erase count (big endian).", "display_type": "normalized" }, "235": { + "display_name": "Good Block Count", "ideal": "", "critical": false, "description": "Decoded as: byte 0-1-2 = good block count (big endian) and byte 3-4 = system (free) block count.", "display_type": "normalized" }, "240": { + "display_name": "Head Flying Hours", "ideal": "", "critical": false, "description": "Time spent during the positioning of the drive heads.[15][71] Some Fujitsu drives report the count of link resets during a data transfer.", "display_type": "normalized" }, "241": { + "display_name": "Total LBAs Written", "ideal": "", "critical": false, "description": "Total count of LBAs written.", "display_type": "normalized" }, "242": { + "display_name": "Total LBAs Read", "ideal": "", "critical": false, "description": "Total count of LBAs read.Some S.M.A.R.T. utilities will report a negative number for the raw value since in reality it has 48 bits rather than 32.", "display_type": "normalized" }, "243": { + "display_name": "Total LBAs Written Expanded", "ideal": "", "critical": false, "description": "The upper 5 bytes of the 12-byte total number of LBAs written to the device. The lower 7 byte value is located at attribute 0xF1.", "display_type": "normalized" }, "244": { + "display_name": "Total LBAs Read Expanded", "ideal": "", "critical": false, "description": "The upper 5 bytes of the 12-byte total number of LBAs read from the device. The lower 7 byte value is located at attribute 0xF2.", "display_type": "normalized" }, "249": { + "display_name": "NAND Writes (1GiB)", "ideal": "", "critical": false, "description": "Total NAND Writes. Raw value reports the number of writes to NAND in 1 GB increments.", "display_type": "normalized" }, "250": { + "display_name": "Read Error Retry Rate", "ideal": "low", "critical": false, "description": "Count of errors while reading from a disk.", "display_type": "normalized" }, "251": { + "display_name": "Minimum Spares Remaining", "ideal": "", "critical": false, "description": "The Minimum Spares Remaining attribute indicates the number of remaining spare blocks as a percentage of the total number of spare blocks available.", "display_type": "normalized" }, "252": { + "display_name": "Newly Added Bad Flash Block", "ideal": "", "critical": false, "description": "The Newly Added Bad Flash Block attribute indicates the total number of bad flash blocks the drive detected since it was first initialized in manufacturing.", "display_type": "normalized" }, "254": { + "display_name": "Free Fall Protection", "ideal": "low", "critical": false, "description": "Count of \"Free Fall Events\" detected.", "display_type": "normalized" }, "3": { + "display_name": "Spin-Up Time", "ideal": "low", "critical": false, "description": "Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).", @@ -1526,6 +1419,7 @@ export const sdc = { "display_type": "normalized" }, "4": { + "display_name": "Start/Stop Count", "ideal": "", "critical": false, "description": "A tally of spindle start/stop cycles. The spindle turns on, and hence the count is increased, both when the hard disk is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.", @@ -1573,6 +1467,7 @@ export const sdc = { "display_type": "raw" }, "5": { + "display_name": "Reallocated Sectors Count", "ideal": "low", "critical": true, "description": "Count of reallocated sectors. The raw value represents a count of the bad sectors that have been found and remapped.Thus, the higher the attribute value, the more sectors the drive has had to reallocate. This value is primarily used as a metric of the life expectancy of the drive; a drive which has had any reallocations at all is significantly more likely to fail in the immediate months.", @@ -1625,12 +1520,14 @@ export const sdc = { "display_type": "raw" }, "6": { + "display_name": "Read Channel Margin", "ideal": "", "critical": false, "description": "Margin of a channel while reading data. The function of this attribute is not specified.", "display_type": "normalized" }, "7": { + "display_name": "Seek Error Rate", "ideal": "", "critical": false, "description": "(Vendor specific raw value.) Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may be due to numerous factors, such as damage to a servo, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number.", @@ -1678,12 +1575,14 @@ export const sdc = { "display_type": "normalized" }, "8": { + "display_name": "Seek Time Performance", "ideal": "high", "critical": false, "description": "Average performance of seek operations of the magnetic heads. If this attribute is decreasing, it is a sign of problems in the mechanical subsystem.", "display_type": "normalized" }, "9": { + "display_name": "Power-On Hours", "ideal": "", "critical": false, "description": "Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to 1825 days in 24/7 mode or 43800 hours. On some pre-2005 drives, this raw value may advance erratically and/or \"wrap around\" (reset to zero periodically).", diff --git a/webapp/frontend/src/app/data/mock/device/details/sdd.ts b/webapp/frontend/src/app/data/mock/device/details/sdd.ts index ccf09b0..3442593 100644 --- a/webapp/frontend/src/app/data/mock/device/details/sdd.ts +++ b/webapp/frontend/src/app/data/mock/device/details/sdd.ts @@ -2,7 +2,7 @@ export const sdd = { "data": { "device": { "CreatedAt": "2021-06-24T21:17:31.30374-07:00", - "UpdatedAt": "2021-06-26T14:26:20.902325-07:00", + "UpdatedAt": "2021-10-24T16:37:57.013758-07:00", "DeletedAt": null, "wwn": "0x5000cca252c859cc", "device_name": "sdd", @@ -23,7 +23,7 @@ export const sdd = { "device_status": 0 }, "smart_results": [{ - "date": "2020-08-21T22:27:02Z", + "date": "2021-10-24T23:20:44Z", "device_wwn": "0x5000cca252c859cc", "device_protocol": "SCSI", "temp": 34, @@ -32,272 +32,186 @@ export const sdd = { "attrs": { "read_correction_algorithm_invocations": { "attribute_id": "read_correction_algorithm_invocations", - "name": "Read Correction Algorithm Invocations", "value": 0, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "read_errors_corrected_by_eccdelayed": { "attribute_id": "read_errors_corrected_by_eccdelayed", - "name": "Read Errors Corrected by ECC Delayed", "value": 0, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "read_errors_corrected_by_eccfast": { "attribute_id": "read_errors_corrected_by_eccfast", - "name": "Read Errors Corrected by ECC Fast", "value": 300357663, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "read_errors_corrected_by_rereads_rewrites": { "attribute_id": "read_errors_corrected_by_rereads_rewrites", - "name": "Read Errors Corrected by ReReads/ReWrites", "value": 0, "thresh": 0, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "read_total_errors_corrected": { "attribute_id": "read_total_errors_corrected", - "name": "Read Total Errors Corrected", "value": 300357663, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "read_total_uncorrected_errors": { "attribute_id": "read_total_uncorrected_errors", - "name": "Read Total Uncorrected Errors", "value": 0, "thresh": 0, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "scsi_grown_defect_list": { "attribute_id": "scsi_grown_defect_list", - "name": "Grown Defect List", "value": 56, "thresh": 0, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "write_correction_algorithm_invocations": { "attribute_id": "write_correction_algorithm_invocations", - "name": "Write Correction Algorithm Invocations", "value": 0, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "write_errors_corrected_by_eccdelayed": { "attribute_id": "write_errors_corrected_by_eccdelayed", - "name": "Write Errors Corrected by ECC Delayed", "value": 0, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "write_errors_corrected_by_eccfast": { "attribute_id": "write_errors_corrected_by_eccfast", - "name": "Write Errors Corrected by ECC Fast", "value": 0, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "write_errors_corrected_by_rereads_rewrites": { "attribute_id": "write_errors_corrected_by_rereads_rewrites", - "name": "Write Errors Corrected by ReReads/ReWrites", "value": 0, "thresh": 0, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "write_total_errors_corrected": { "attribute_id": "write_total_errors_corrected", - "name": "Write Total Errors Corrected", "value": 0, "thresh": -1, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 }, "write_total_uncorrected_errors": { "attribute_id": "write_total_uncorrected_errors", - "name": "Write Total Uncorrected Errors", "value": 0, "thresh": 0, - "transformed_value": 0 + "transformed_value": 0, + "status": 0 } - } - },{ - "date": "2020-08-21T22:27:02Z", - "device_wwn": "0x5000cca252c859cc", - "device_protocol": "SCSI", - "temp": 34, - "power_on_hours": 43549, - "power_cycle_count": 0, - "attrs": { - "read_correction_algorithm_invocations": { - "attribute_id": "read_correction_algorithm_invocations", - "name": "Read Correction Algorithm Invocations", - "value": 0, - "thresh": -1, - "transformed_value": 0 - }, - "read_errors_corrected_by_eccdelayed": { - "attribute_id": "read_errors_corrected_by_eccdelayed", - "name": "Read Errors Corrected by ECC Delayed", - "value": 0, - "thresh": -1, - "transformed_value": 0 - }, - "read_errors_corrected_by_eccfast": { - "attribute_id": "read_errors_corrected_by_eccfast", - "name": "Read Errors Corrected by ECC Fast", - "value": 300357663, - "thresh": -1, - "transformed_value": 0 - }, - "read_errors_corrected_by_rereads_rewrites": { - "attribute_id": "read_errors_corrected_by_rereads_rewrites", - "name": "Read Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, - "read_total_errors_corrected": { - "attribute_id": "read_total_errors_corrected", - "name": "Read Total Errors Corrected", - "value": 300357663, - "thresh": -1, - "transformed_value": 0 - }, - "read_total_uncorrected_errors": { - "attribute_id": "read_total_uncorrected_errors", - "name": "Read Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, - "scsi_grown_defect_list": { - "attribute_id": "scsi_grown_defect_list", - "name": "Grown Defect List", - "value": 56, - "thresh": 0, - "transformed_value": 0 - }, - "write_correction_algorithm_invocations": { - "attribute_id": "write_correction_algorithm_invocations", - "name": "Write Correction Algorithm Invocations", - "value": 0, - "thresh": -1, - "transformed_value": 0 - }, - "write_errors_corrected_by_eccdelayed": { - "attribute_id": "write_errors_corrected_by_eccdelayed", - "name": "Write Errors Corrected by ECC Delayed", - "value": 0, - "thresh": -1, - "transformed_value": 0 - }, - "write_errors_corrected_by_eccfast": { - "attribute_id": "write_errors_corrected_by_eccfast", - "name": "Write Errors Corrected by ECC Fast", - "value": 0, - "thresh": -1, - "transformed_value": 0 - }, - "write_errors_corrected_by_rereads_rewrites": { - "attribute_id": "write_errors_corrected_by_rereads_rewrites", - "name": "Write Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, - "write_total_errors_corrected": { - "attribute_id": "write_total_errors_corrected", - "name": "Write Total Errors Corrected", - "value": 0, - "thresh": -1, - "transformed_value": 0 - }, - "write_total_uncorrected_errors": { - "attribute_id": "write_total_uncorrected_errors", - "name": "Write Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0 - } - } + }, + "Status": 0 }] }, "metadata": { "read_correction_algorithm_invocations": { + "display_name": "Read Correction Algorithm Invocations", "ideal": "", "critical": false, "description": "", "display_type": "" }, "read_errors_corrected_by_eccdelayed": { + "display_name": "Read Errors Corrected by ECC Delayed", "ideal": "", "critical": false, "description": "", "display_type": "" }, "read_errors_corrected_by_eccfast": { + "display_name": "Read Errors Corrected by ECC Fast", "ideal": "", "critical": false, "description": "", "display_type": "" }, "read_errors_corrected_by_rereads_rewrites": { + "display_name": "Read Errors Corrected by ReReads/ReWrites", "ideal": "low", "critical": true, "description": "", "display_type": "" }, "read_total_errors_corrected": { + "display_name": "Read Total Errors Corrected", "ideal": "", "critical": false, "description": "", "display_type": "" }, "read_total_uncorrected_errors": { + "display_name": "Read Total Uncorrected Errors", "ideal": "low", "critical": true, "description": "", "display_type": "" }, "scsi_grown_defect_list": { + "display_name": "Grown Defect List", "ideal": "low", "critical": true, "description": "", "display_type": "" }, "write_correction_algorithm_invocations": { + "display_name": "Write Correction Algorithm Invocations", "ideal": "", "critical": false, "description": "", "display_type": "" }, "write_errors_corrected_by_eccdelayed": { + "display_name": "Write Errors Corrected by ECC Delayed", "ideal": "", "critical": false, "description": "", "display_type": "" }, "write_errors_corrected_by_eccfast": { + "display_name": "Write Errors Corrected by ECC Fast", "ideal": "", "critical": false, "description": "", "display_type": "" }, "write_errors_corrected_by_rereads_rewrites": { + "display_name": "Write Errors Corrected by ReReads/ReWrites", "ideal": "low", "critical": true, "description": "", "display_type": "" }, "write_total_errors_corrected": { + "display_name": "Write Total Errors Corrected", "ideal": "", "critical": false, "description": "", "display_type": "" }, "write_total_uncorrected_errors": { + "display_name": "Write Total Uncorrected Errors", "ideal": "low", "critical": true, "description": "", diff --git a/webapp/frontend/src/app/data/mock/device/details/sde.ts b/webapp/frontend/src/app/data/mock/device/details/sde.ts index 4e08e00..42c5f1a 100644 --- a/webapp/frontend/src/app/data/mock/device/details/sde.ts +++ b/webapp/frontend/src/app/data/mock/device/details/sde.ts @@ -1,1242 +1,222 @@ export const sde = { "data": { "device": { - "CreatedAt": "2020-08-28T07:55:27.768220079Z", - "UpdatedAt": "2020-09-08T21:39:26.578973-07:00", + "CreatedAt": "2021-06-24T21:17:31.304461-07:00", + "UpdatedAt": "2021-10-24T16:40:16.495248-07:00", "DeletedAt": null, "wwn": "0x5000cca264ebc248", "device_name": "sde", - "manufacturer": "SEAGATE", + "manufacturer": "ATA", "model_name": "WDC_WD140EDFZ-11A0VA0", "interface_type": "SCSI", "interface_speed": "", "serial_number": "9RK3XXXXX", "firmware": "", - "rotational_speed": 10500, - "capacity": 1200243695616, - "form_factor": "2.5 inches", + "rotational_speed": 0, + "capacity": 14000519643136, + "form_factor": "", "smart_support": false, "device_protocol": "SCSI", - "device_type": "scsi", + "device_type": "", + "label": "", + "host_id": "", + "device_status": 0 }, "smart_results": [{ - "ID": 48, - "CreatedAt": "2020-09-08T21:39:26.579623-07:00", - "UpdatedAt": "2020-09-08T21:39:26.579623-07:00", - "DeletedAt": null, + "date": "2021-10-24T23:20:44Z", "device_wwn": "0x5000cca264ebc248", - "date": "2018-12-16T15:09:15-08:00", - "smart_status": "passed", + "device_protocol": "SCSI", "temp": 31, "power_on_hours": 5675, "power_cycle_count": 0, - "ata_attributes": [], - "nvme_attributes": [], - "scsi_attributes": [{ - "ID": 196, - "CreatedAt": "2020-09-08T21:39:26.57989-07:00", - "UpdatedAt": "2020-09-08T21:39:26.57989-07:00", - "DeletedAt": null, - "smart_id": 48, - "attribute_id": "scsi_grown_defect_list", - "name": "Grown Defect List", - "value": 0, - "thresh": 0, - "transformed_value": 0, - "status": "passed", - "history": [{ - "ID": 170, - "CreatedAt": "2020-09-07T15:47:21.347996632Z", - "UpdatedAt": "2020-09-07T15:47:21.347996632Z", - "DeletedAt": null, - "smart_id": 42, - "attribute_id": "scsi_grown_defect_list", - "name": "Grown Defect List", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 144, - "CreatedAt": "2020-09-07T15:38:56.643262186Z", - "UpdatedAt": "2020-09-07T15:38:56.643262186Z", - "DeletedAt": null, - "smart_id": 36, - "attribute_id": "scsi_grown_defect_list", - "name": "Grown Defect List", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 118, - "CreatedAt": "2020-09-07T15:26:07.517433189Z", - "UpdatedAt": "2020-09-07T15:26:07.517433189Z", - "DeletedAt": null, - "smart_id": 30, - "attribute_id": "scsi_grown_defect_list", - "name": "Grown Defect List", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 92, - "CreatedAt": "2020-09-07T15:19:17.478404748Z", - "UpdatedAt": "2020-09-07T15:19:17.478404748Z", - "DeletedAt": null, - "smart_id": 24, - "attribute_id": "scsi_grown_defect_list", - "name": "Grown Defect List", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 66, - "CreatedAt": "2020-09-07T15:10:40.257359179Z", - "UpdatedAt": "2020-09-07T15:10:40.257359179Z", - "DeletedAt": null, - "smart_id": 18, - "attribute_id": "scsi_grown_defect_list", - "name": "Grown Defect List", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 40, - "CreatedAt": "2020-09-06T23:14:39.858833764Z", - "UpdatedAt": "2020-09-06T23:14:39.858833764Z", - "DeletedAt": null, - "smart_id": 12, - "attribute_id": "scsi_grown_defect_list", - "name": "Grown Defect List", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 14, - "CreatedAt": "2020-08-28T07:55:27.880197174Z", - "UpdatedAt": "2020-08-28T07:55:27.880197174Z", - "DeletedAt": null, - "smart_id": 6, - "attribute_id": "scsi_grown_defect_list", - "name": "Grown Defect List", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }] - }, { - "ID": 197, - "CreatedAt": "2020-09-08T21:39:26.580007-07:00", - "UpdatedAt": "2020-09-08T21:39:26.580007-07:00", - "DeletedAt": null, - "smart_id": 48, - "attribute_id": "read.errors_corrected_by_eccfast", - "name": "Read Errors Corrected by ECC Fast", - "value": 1410362924, - "thresh": -1, - "transformed_value": 0, - "status": "passed", - "history": [{ - "ID": 171, - "CreatedAt": "2020-09-07T15:47:21.348133432Z", - "UpdatedAt": "2020-09-07T15:47:21.348133432Z", - "DeletedAt": null, - "smart_id": 42, - "attribute_id": "read.errors_corrected_by_eccfast", - "name": "Read Errors Corrected by ECC Fast", - "value": 1410362924, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 145, - "CreatedAt": "2020-09-07T15:38:56.643384087Z", - "UpdatedAt": "2020-09-07T15:38:56.643384087Z", - "DeletedAt": null, - "smart_id": 36, - "attribute_id": "read.errors_corrected_by_eccfast", - "name": "Read Errors Corrected by ECC Fast", - "value": 1410362924, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 119, - "CreatedAt": "2020-09-07T15:26:07.517563293Z", - "UpdatedAt": "2020-09-07T15:26:07.517563293Z", - "DeletedAt": null, - "smart_id": 30, - "attribute_id": "read.errors_corrected_by_eccfast", - "name": "Read Errors Corrected by ECC Fast", - "value": 1410362924, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 93, - "CreatedAt": "2020-09-07T15:19:17.478524847Z", - "UpdatedAt": "2020-09-07T15:19:17.478524847Z", - "DeletedAt": null, - "smart_id": 24, - "attribute_id": "read.errors_corrected_by_eccfast", - "name": "Read Errors Corrected by ECC Fast", - "value": 1410362924, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 67, - "CreatedAt": "2020-09-07T15:10:40.25748088Z", - "UpdatedAt": "2020-09-07T15:10:40.25748088Z", - "DeletedAt": null, - "smart_id": 18, - "attribute_id": "read.errors_corrected_by_eccfast", - "name": "Read Errors Corrected by ECC Fast", - "value": 1410362924, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 41, - "CreatedAt": "2020-09-06T23:14:39.858944067Z", - "UpdatedAt": "2020-09-06T23:14:39.858944067Z", - "DeletedAt": null, - "smart_id": 12, - "attribute_id": "read.errors_corrected_by_eccfast", - "name": "Read Errors Corrected by ECC Fast", - "value": 1410362924, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 15, - "CreatedAt": "2020-08-28T07:55:27.880309617Z", - "UpdatedAt": "2020-08-28T07:55:27.880309617Z", - "DeletedAt": null, - "smart_id": 6, - "attribute_id": "read.errors_corrected_by_eccfast", - "name": "Read Errors Corrected by ECC Fast", - "value": 1410362924, - "thresh": 0, - "transformed_value": 0 - }] - }, { - "ID": 198, - "CreatedAt": "2020-09-08T21:39:26.580075-07:00", - "UpdatedAt": "2020-09-08T21:39:26.580075-07:00", - "DeletedAt": null, - "smart_id": 48, - "attribute_id": "read.errors_corrected_by_eccdelayed", - "name": "Read Errors Corrected by ECC Delayed", - "value": 0, - "thresh": -1, - "transformed_value": 0, - "status": "passed", - "history": [{ - "ID": 172, - "CreatedAt": "2020-09-07T15:47:21.348217832Z", - "UpdatedAt": "2020-09-07T15:47:21.348217832Z", - "DeletedAt": null, - "smart_id": 42, - "attribute_id": "read.errors_corrected_by_eccdelayed", - "name": "Read Errors Corrected by ECC Delayed", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 146, - "CreatedAt": "2020-09-07T15:38:56.643456487Z", - "UpdatedAt": "2020-09-07T15:38:56.643456487Z", - "DeletedAt": null, - "smart_id": 36, - "attribute_id": "read.errors_corrected_by_eccdelayed", - "name": "Read Errors Corrected by ECC Delayed", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 120, - "CreatedAt": "2020-09-07T15:26:07.517650595Z", - "UpdatedAt": "2020-09-07T15:26:07.517650595Z", - "DeletedAt": null, - "smart_id": 30, - "attribute_id": "read.errors_corrected_by_eccdelayed", - "name": "Read Errors Corrected by ECC Delayed", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 94, - "CreatedAt": "2020-09-07T15:19:17.478603147Z", - "UpdatedAt": "2020-09-07T15:19:17.478603147Z", - "DeletedAt": null, - "smart_id": 24, - "attribute_id": "read.errors_corrected_by_eccdelayed", - "name": "Read Errors Corrected by ECC Delayed", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 68, - "CreatedAt": "2020-09-07T15:10:40.257557681Z", - "UpdatedAt": "2020-09-07T15:10:40.257557681Z", - "DeletedAt": null, - "smart_id": 18, - "attribute_id": "read.errors_corrected_by_eccdelayed", - "name": "Read Errors Corrected by ECC Delayed", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 42, - "CreatedAt": "2020-09-06T23:14:39.859017069Z", - "UpdatedAt": "2020-09-06T23:14:39.859017069Z", - "DeletedAt": null, - "smart_id": 12, - "attribute_id": "read.errors_corrected_by_eccdelayed", - "name": "Read Errors Corrected by ECC Delayed", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 16, - "CreatedAt": "2020-08-28T07:55:27.880411683Z", - "UpdatedAt": "2020-08-28T07:55:27.880411683Z", - "DeletedAt": null, - "smart_id": 6, - "attribute_id": "read.errors_corrected_by_eccdelayed", - "name": "Read Errors Corrected by ECC Delayed", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }] - }, { - "ID": 199, - "CreatedAt": "2020-09-08T21:39:26.580136-07:00", - "UpdatedAt": "2020-09-08T21:39:26.580136-07:00", - "DeletedAt": null, - "smart_id": 48, - "attribute_id": "read.errors_corrected_by_rereads_rewrites", - "name": "Read Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0, - "status": "passed", - "history": [{ - "ID": 173, - "CreatedAt": "2020-09-07T15:47:21.348293632Z", - "UpdatedAt": "2020-09-07T15:47:21.348293632Z", - "DeletedAt": null, - "smart_id": 42, - "attribute_id": "read.errors_corrected_by_rereads_rewrites", - "name": "Read Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 147, - "CreatedAt": "2020-09-07T15:38:56.643525088Z", - "UpdatedAt": "2020-09-07T15:38:56.643525088Z", - "DeletedAt": null, - "smart_id": 36, - "attribute_id": "read.errors_corrected_by_rereads_rewrites", - "name": "Read Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 121, - "CreatedAt": "2020-09-07T15:26:07.517759798Z", - "UpdatedAt": "2020-09-07T15:26:07.517759798Z", - "DeletedAt": null, - "smart_id": 30, - "attribute_id": "read.errors_corrected_by_rereads_rewrites", - "name": "Read Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 95, - "CreatedAt": "2020-09-07T15:19:17.478705847Z", - "UpdatedAt": "2020-09-07T15:19:17.478705847Z", - "DeletedAt": null, - "smart_id": 24, - "attribute_id": "read.errors_corrected_by_rereads_rewrites", - "name": "Read Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 69, - "CreatedAt": "2020-09-07T15:10:40.257628781Z", - "UpdatedAt": "2020-09-07T15:10:40.257628781Z", - "DeletedAt": null, - "smart_id": 18, - "attribute_id": "read.errors_corrected_by_rereads_rewrites", - "name": "Read Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 43, - "CreatedAt": "2020-09-06T23:14:39.859087271Z", - "UpdatedAt": "2020-09-06T23:14:39.859087271Z", - "DeletedAt": null, - "smart_id": 12, - "attribute_id": "read.errors_corrected_by_rereads_rewrites", - "name": "Read Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 17, - "CreatedAt": "2020-08-28T07:55:27.880496133Z", - "UpdatedAt": "2020-08-28T07:55:27.880496133Z", - "DeletedAt": null, - "smart_id": 6, - "attribute_id": "read.errors_corrected_by_rereads_rewrites", - "name": "Read Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }] - }, { - "ID": 200, - "CreatedAt": "2020-09-08T21:39:26.580199-07:00", - "UpdatedAt": "2020-09-08T21:39:26.580199-07:00", - "DeletedAt": null, - "smart_id": 48, - "attribute_id": "read.total_errors_corrected", - "name": "Read Total Errors Corrected", - "value": 1410362924, - "thresh": -1, - "transformed_value": 0, - "status": "passed", - "history": [{ - "ID": 174, - "CreatedAt": "2020-09-07T15:47:21.348561033Z", - "UpdatedAt": "2020-09-07T15:47:21.348561033Z", - "DeletedAt": null, - "smart_id": 42, - "attribute_id": "read.total_errors_corrected", - "name": "Read Total Errors Corrected", + "attrs": { + "read_correction_algorithm_invocations": { + "attribute_id": "read_correction_algorithm_invocations", + "value": 0, + "thresh": -1, + "transformed_value": 0, + "status": 0 + }, + "read_errors_corrected_by_eccdelayed": { + "attribute_id": "read_errors_corrected_by_eccdelayed", + "value": 0, + "thresh": -1, + "transformed_value": 0, + "status": 0 + }, + "read_errors_corrected_by_eccfast": { + "attribute_id": "read_errors_corrected_by_eccfast", "value": 1410362924, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 148, - "CreatedAt": "2020-09-07T15:38:56.643590489Z", - "UpdatedAt": "2020-09-07T15:38:56.643590489Z", - "DeletedAt": null, - "smart_id": 36, - "attribute_id": "read.total_errors_corrected", - "name": "Read Total Errors Corrected", + "thresh": -1, + "transformed_value": 0, + "status": 0 + }, + "read_errors_corrected_by_rereads_rewrites": { + "attribute_id": "read_errors_corrected_by_rereads_rewrites", + "value": 0, + "thresh": 0, + "transformed_value": 0, + "status": 0 + }, + "read_total_errors_corrected": { + "attribute_id": "read_total_errors_corrected", "value": 1410362924, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 122, - "CreatedAt": "2020-09-07T15:26:07.5178383Z", - "UpdatedAt": "2020-09-07T15:26:07.5178383Z", - "DeletedAt": null, - "smart_id": 30, - "attribute_id": "read.total_errors_corrected", - "name": "Read Total Errors Corrected", - "value": 1410362924, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 96, - "CreatedAt": "2020-09-07T15:19:17.478776947Z", - "UpdatedAt": "2020-09-07T15:19:17.478776947Z", - "DeletedAt": null, - "smart_id": 24, - "attribute_id": "read.total_errors_corrected", - "name": "Read Total Errors Corrected", - "value": 1410362924, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 70, - "CreatedAt": "2020-09-07T15:10:40.257696282Z", - "UpdatedAt": "2020-09-07T15:10:40.257696282Z", - "DeletedAt": null, - "smart_id": 18, - "attribute_id": "read.total_errors_corrected", - "name": "Read Total Errors Corrected", - "value": 1410362924, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 44, - "CreatedAt": "2020-09-06T23:14:39.859153473Z", - "UpdatedAt": "2020-09-06T23:14:39.859153473Z", - "DeletedAt": null, - "smart_id": 12, - "attribute_id": "read.total_errors_corrected", - "name": "Read Total Errors Corrected", - "value": 1410362924, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 18, - "CreatedAt": "2020-08-28T07:55:27.8805957Z", - "UpdatedAt": "2020-08-28T07:55:27.8805957Z", - "DeletedAt": null, - "smart_id": 6, - "attribute_id": "read.total_errors_corrected", - "name": "Read Total Errors Corrected", - "value": 1410362924, - "thresh": 0, - "transformed_value": 0 - }] - }, { - "ID": 201, - "CreatedAt": "2020-09-08T21:39:26.580259-07:00", - "UpdatedAt": "2020-09-08T21:39:26.580259-07:00", - "DeletedAt": null, - "smart_id": 48, - "attribute_id": "read.correction_algorithm_invocations", - "name": "Read Correction Algorithm Invocations", - "value": 0, - "thresh": -1, - "transformed_value": 0, - "status": "passed", - "history": [{ - "ID": 175, - "CreatedAt": "2020-09-07T15:47:21.348729333Z", - "UpdatedAt": "2020-09-07T15:47:21.348729333Z", - "DeletedAt": null, - "smart_id": 42, - "attribute_id": "read.correction_algorithm_invocations", - "name": "Read Correction Algorithm Invocations", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 149, - "CreatedAt": "2020-09-07T15:38:56.643654789Z", - "UpdatedAt": "2020-09-07T15:38:56.643654789Z", - "DeletedAt": null, - "smart_id": 36, - "attribute_id": "read.correction_algorithm_invocations", - "name": "Read Correction Algorithm Invocations", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 123, - "CreatedAt": "2020-09-07T15:26:07.517916302Z", - "UpdatedAt": "2020-09-07T15:26:07.517916302Z", - "DeletedAt": null, - "smart_id": 30, - "attribute_id": "read.correction_algorithm_invocations", - "name": "Read Correction Algorithm Invocations", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 97, - "CreatedAt": "2020-09-07T15:19:17.478847046Z", - "UpdatedAt": "2020-09-07T15:19:17.478847046Z", - "DeletedAt": null, - "smart_id": 24, - "attribute_id": "read.correction_algorithm_invocations", - "name": "Read Correction Algorithm Invocations", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 71, - "CreatedAt": "2020-09-07T15:10:40.257761682Z", - "UpdatedAt": "2020-09-07T15:10:40.257761682Z", - "DeletedAt": null, - "smart_id": 18, - "attribute_id": "read.correction_algorithm_invocations", - "name": "Read Correction Algorithm Invocations", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 45, - "CreatedAt": "2020-09-06T23:14:39.859216975Z", - "UpdatedAt": "2020-09-06T23:14:39.859216975Z", - "DeletedAt": null, - "smart_id": 12, - "attribute_id": "read.correction_algorithm_invocations", - "name": "Read Correction Algorithm Invocations", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 19, - "CreatedAt": "2020-08-28T07:55:27.880669044Z", - "UpdatedAt": "2020-08-28T07:55:27.880669044Z", - "DeletedAt": null, - "smart_id": 6, - "attribute_id": "read.correction_algorithm_invocations", - "name": "Read Correction Algorithm Invocations", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }] - }, { - "ID": 202, - "CreatedAt": "2020-09-08T21:39:26.580325-07:00", - "UpdatedAt": "2020-09-08T21:39:26.580325-07:00", - "DeletedAt": null, - "smart_id": 48, - "attribute_id": "read.total_uncorrected_errors", - "name": "Read Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0, - "status": "passed", - "history": [{ - "ID": 176, - "CreatedAt": "2020-09-07T15:47:21.348844733Z", - "UpdatedAt": "2020-09-07T15:47:21.348844733Z", - "DeletedAt": null, - "smart_id": 42, - "attribute_id": "read.total_uncorrected_errors", - "name": "Read Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 150, - "CreatedAt": "2020-09-07T15:38:56.64372119Z", - "UpdatedAt": "2020-09-07T15:38:56.64372119Z", - "DeletedAt": null, - "smart_id": 36, - "attribute_id": "read.total_uncorrected_errors", - "name": "Read Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 124, - "CreatedAt": "2020-09-07T15:26:07.517990504Z", - "UpdatedAt": "2020-09-07T15:26:07.517990504Z", - "DeletedAt": null, - "smart_id": 30, - "attribute_id": "read.total_uncorrected_errors", - "name": "Read Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 98, - "CreatedAt": "2020-09-07T15:19:17.478914046Z", - "UpdatedAt": "2020-09-07T15:19:17.478914046Z", - "DeletedAt": null, - "smart_id": 24, - "attribute_id": "read.total_uncorrected_errors", - "name": "Read Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 72, - "CreatedAt": "2020-09-07T15:10:40.257850983Z", - "UpdatedAt": "2020-09-07T15:10:40.257850983Z", - "DeletedAt": null, - "smart_id": 18, - "attribute_id": "read.total_uncorrected_errors", - "name": "Read Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 46, - "CreatedAt": "2020-09-06T23:14:39.859281377Z", - "UpdatedAt": "2020-09-06T23:14:39.859281377Z", - "DeletedAt": null, - "smart_id": 12, - "attribute_id": "read.total_uncorrected_errors", - "name": "Read Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 20, - "CreatedAt": "2020-08-28T07:55:27.880762037Z", - "UpdatedAt": "2020-08-28T07:55:27.880762037Z", - "DeletedAt": null, - "smart_id": 6, - "attribute_id": "read.total_uncorrected_errors", - "name": "Read Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }] - }, { - "ID": 203, - "CreatedAt": "2020-09-08T21:39:26.580401-07:00", - "UpdatedAt": "2020-09-08T21:39:26.580401-07:00", - "DeletedAt": null, - "smart_id": 48, - "attribute_id": "write.errors_corrected_by_eccfast", - "name": "Write Errors Corrected by ECC Fast", - "value": 0, - "thresh": -1, - "transformed_value": 0, - "status": "passed", - "history": [{ - "ID": 177, - "CreatedAt": "2020-09-07T15:47:21.348954434Z", - "UpdatedAt": "2020-09-07T15:47:21.348954434Z", - "DeletedAt": null, - "smart_id": 42, - "attribute_id": "write.errors_corrected_by_eccfast", - "name": "Write Errors Corrected by ECC Fast", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 151, - "CreatedAt": "2020-09-07T15:38:56.64378519Z", - "UpdatedAt": "2020-09-07T15:38:56.64378519Z", - "DeletedAt": null, - "smart_id": 36, - "attribute_id": "write.errors_corrected_by_eccfast", - "name": "Write Errors Corrected by ECC Fast", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 125, - "CreatedAt": "2020-09-07T15:26:07.518063306Z", - "UpdatedAt": "2020-09-07T15:26:07.518063306Z", - "DeletedAt": null, - "smart_id": 30, - "attribute_id": "write.errors_corrected_by_eccfast", - "name": "Write Errors Corrected by ECC Fast", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 99, - "CreatedAt": "2020-09-07T15:19:17.478978246Z", - "UpdatedAt": "2020-09-07T15:19:17.478978246Z", - "DeletedAt": null, - "smart_id": 24, - "attribute_id": "write.errors_corrected_by_eccfast", - "name": "Write Errors Corrected by ECC Fast", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 73, - "CreatedAt": "2020-09-07T15:10:40.257919784Z", - "UpdatedAt": "2020-09-07T15:10:40.257919784Z", - "DeletedAt": null, - "smart_id": 18, - "attribute_id": "write.errors_corrected_by_eccfast", - "name": "Write Errors Corrected by ECC Fast", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 47, - "CreatedAt": "2020-09-06T23:14:39.859343279Z", - "UpdatedAt": "2020-09-06T23:14:39.859343279Z", - "DeletedAt": null, - "smart_id": 12, - "attribute_id": "write.errors_corrected_by_eccfast", - "name": "Write Errors Corrected by ECC Fast", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 21, - "CreatedAt": "2020-08-28T07:55:27.880831527Z", - "UpdatedAt": "2020-08-28T07:55:27.880831527Z", - "DeletedAt": null, - "smart_id": 6, - "attribute_id": "write.errors_corrected_by_eccfast", - "name": "Write Errors Corrected by ECC Fast", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }] - }, { - "ID": 204, - "CreatedAt": "2020-09-08T21:39:26.580463-07:00", - "UpdatedAt": "2020-09-08T21:39:26.580463-07:00", - "DeletedAt": null, - "smart_id": 48, - "attribute_id": "write.errors_corrected_by_eccdelayed", - "name": "Write Errors Corrected by ECC Delayed", - "value": 0, - "thresh": -1, - "transformed_value": 0, - "status": "passed", - "history": [{ - "ID": 178, - "CreatedAt": "2020-09-07T15:47:21.349067634Z", - "UpdatedAt": "2020-09-07T15:47:21.349067634Z", - "DeletedAt": null, - "smart_id": 42, - "attribute_id": "write.errors_corrected_by_eccdelayed", - "name": "Write Errors Corrected by ECC Delayed", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 152, - "CreatedAt": "2020-09-07T15:38:56.643850091Z", - "UpdatedAt": "2020-09-07T15:38:56.643850091Z", - "DeletedAt": null, - "smart_id": 36, - "attribute_id": "write.errors_corrected_by_eccdelayed", - "name": "Write Errors Corrected by ECC Delayed", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 126, - "CreatedAt": "2020-09-07T15:26:07.518138308Z", - "UpdatedAt": "2020-09-07T15:26:07.518138308Z", - "DeletedAt": null, - "smart_id": 30, - "attribute_id": "write.errors_corrected_by_eccdelayed", - "name": "Write Errors Corrected by ECC Delayed", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 100, - "CreatedAt": "2020-09-07T15:19:17.479060646Z", - "UpdatedAt": "2020-09-07T15:19:17.479060646Z", - "DeletedAt": null, - "smart_id": 24, - "attribute_id": "write.errors_corrected_by_eccdelayed", - "name": "Write Errors Corrected by ECC Delayed", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 74, - "CreatedAt": "2020-09-07T15:10:40.257991684Z", - "UpdatedAt": "2020-09-07T15:10:40.257991684Z", - "DeletedAt": null, - "smart_id": 18, - "attribute_id": "write.errors_corrected_by_eccdelayed", - "name": "Write Errors Corrected by ECC Delayed", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 48, - "CreatedAt": "2020-09-06T23:14:39.859415381Z", - "UpdatedAt": "2020-09-06T23:14:39.859415381Z", - "DeletedAt": null, - "smart_id": 12, - "attribute_id": "write.errors_corrected_by_eccdelayed", - "name": "Write Errors Corrected by ECC Delayed", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 22, - "CreatedAt": "2020-08-28T07:55:27.88091659Z", - "UpdatedAt": "2020-08-28T07:55:27.88091659Z", - "DeletedAt": null, - "smart_id": 6, - "attribute_id": "write.errors_corrected_by_eccdelayed", - "name": "Write Errors Corrected by ECC Delayed", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }] - }, { - "ID": 205, - "CreatedAt": "2020-09-08T21:39:26.580519-07:00", - "UpdatedAt": "2020-09-08T21:39:26.580519-07:00", - "DeletedAt": null, - "smart_id": 48, - "attribute_id": "write.errors_corrected_by_rereads_rewrites", - "name": "Write Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0, - "status": "passed", - "history": [{ - "ID": 179, - "CreatedAt": "2020-09-07T15:47:21.349173034Z", - "UpdatedAt": "2020-09-07T15:47:21.349173034Z", - "DeletedAt": null, - "smart_id": 42, - "attribute_id": "write.errors_corrected_by_rereads_rewrites", - "name": "Write Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 153, - "CreatedAt": "2020-09-07T15:38:56.643916492Z", - "UpdatedAt": "2020-09-07T15:38:56.643916492Z", - "DeletedAt": null, - "smart_id": 36, - "attribute_id": "write.errors_corrected_by_rereads_rewrites", - "name": "Write Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 127, - "CreatedAt": "2020-09-07T15:26:07.51821131Z", - "UpdatedAt": "2020-09-07T15:26:07.51821131Z", - "DeletedAt": null, - "smart_id": 30, - "attribute_id": "write.errors_corrected_by_rereads_rewrites", - "name": "Write Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 101, - "CreatedAt": "2020-09-07T15:19:17.479156345Z", - "UpdatedAt": "2020-09-07T15:19:17.479156345Z", - "DeletedAt": null, - "smart_id": 24, - "attribute_id": "write.errors_corrected_by_rereads_rewrites", - "name": "Write Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 75, - "CreatedAt": "2020-09-07T15:10:40.258061285Z", - "UpdatedAt": "2020-09-07T15:10:40.258061285Z", - "DeletedAt": null, - "smart_id": 18, - "attribute_id": "write.errors_corrected_by_rereads_rewrites", - "name": "Write Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 49, - "CreatedAt": "2020-09-06T23:14:39.859474183Z", - "UpdatedAt": "2020-09-06T23:14:39.859474183Z", - "DeletedAt": null, - "smart_id": 12, - "attribute_id": "write.errors_corrected_by_rereads_rewrites", - "name": "Write Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 23, - "CreatedAt": "2020-08-28T07:55:27.880989189Z", - "UpdatedAt": "2020-08-28T07:55:27.880989189Z", - "DeletedAt": null, - "smart_id": 6, - "attribute_id": "write.errors_corrected_by_rereads_rewrites", - "name": "Write Errors Corrected by ReReads/ReWrites", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }] - }, { - "ID": 206, - "CreatedAt": "2020-09-08T21:39:26.580579-07:00", - "UpdatedAt": "2020-09-08T21:39:26.580579-07:00", - "DeletedAt": null, - "smart_id": 48, - "attribute_id": "write.total_errors_corrected", - "name": "Write Total Errors Corrected", - "value": 0, - "thresh": -1, - "transformed_value": 0, - "status": "passed", - "history": [{ - "ID": 180, - "CreatedAt": "2020-09-07T15:47:21.349306435Z", - "UpdatedAt": "2020-09-07T15:47:21.349306435Z", - "DeletedAt": null, - "smart_id": 42, - "attribute_id": "write.total_errors_corrected", - "name": "Write Total Errors Corrected", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 154, - "CreatedAt": "2020-09-07T15:38:56.643981692Z", - "UpdatedAt": "2020-09-07T15:38:56.643981692Z", - "DeletedAt": null, - "smart_id": 36, - "attribute_id": "write.total_errors_corrected", - "name": "Write Total Errors Corrected", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 128, - "CreatedAt": "2020-09-07T15:26:07.518286712Z", - "UpdatedAt": "2020-09-07T15:26:07.518286712Z", - "DeletedAt": null, - "smart_id": 30, - "attribute_id": "write.total_errors_corrected", - "name": "Write Total Errors Corrected", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 102, - "CreatedAt": "2020-09-07T15:19:17.479270845Z", - "UpdatedAt": "2020-09-07T15:19:17.479270845Z", - "DeletedAt": null, - "smart_id": 24, - "attribute_id": "write.total_errors_corrected", - "name": "Write Total Errors Corrected", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 76, - "CreatedAt": "2020-09-07T15:10:40.258142985Z", - "UpdatedAt": "2020-09-07T15:10:40.258142985Z", - "DeletedAt": null, - "smart_id": 18, - "attribute_id": "write.total_errors_corrected", - "name": "Write Total Errors Corrected", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 50, - "CreatedAt": "2020-09-06T23:14:39.859534584Z", - "UpdatedAt": "2020-09-06T23:14:39.859534584Z", - "DeletedAt": null, - "smart_id": 12, - "attribute_id": "write.total_errors_corrected", - "name": "Write Total Errors Corrected", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 24, - "CreatedAt": "2020-08-28T07:55:27.881076285Z", - "UpdatedAt": "2020-08-28T07:55:27.881076285Z", - "DeletedAt": null, - "smart_id": 6, - "attribute_id": "write.total_errors_corrected", - "name": "Write Total Errors Corrected", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }] - }, { - "ID": 207, - "CreatedAt": "2020-09-08T21:39:26.580636-07:00", - "UpdatedAt": "2020-09-08T21:39:26.580636-07:00", - "DeletedAt": null, - "smart_id": 48, - "attribute_id": "write.correction_algorithm_invocations", - "name": "Write Correction Algorithm Invocations", - "value": 0, - "thresh": -1, - "transformed_value": 0, - "status": "passed", - "history": [{ - "ID": 181, - "CreatedAt": "2020-09-07T15:47:21.349410535Z", - "UpdatedAt": "2020-09-07T15:47:21.349410535Z", - "DeletedAt": null, - "smart_id": 42, - "attribute_id": "write.correction_algorithm_invocations", - "name": "Write Correction Algorithm Invocations", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 155, - "CreatedAt": "2020-09-07T15:38:56.644047493Z", - "UpdatedAt": "2020-09-07T15:38:56.644047493Z", - "DeletedAt": null, - "smart_id": 36, - "attribute_id": "write.correction_algorithm_invocations", - "name": "Write Correction Algorithm Invocations", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 129, - "CreatedAt": "2020-09-07T15:26:07.518360714Z", - "UpdatedAt": "2020-09-07T15:26:07.518360714Z", - "DeletedAt": null, - "smart_id": 30, - "attribute_id": "write.correction_algorithm_invocations", - "name": "Write Correction Algorithm Invocations", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 103, - "CreatedAt": "2020-09-07T15:19:17.479342345Z", - "UpdatedAt": "2020-09-07T15:19:17.479342345Z", - "DeletedAt": null, - "smart_id": 24, - "attribute_id": "write.correction_algorithm_invocations", - "name": "Write Correction Algorithm Invocations", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 77, - "CreatedAt": "2020-09-07T15:10:40.258232186Z", - "UpdatedAt": "2020-09-07T15:10:40.258232186Z", - "DeletedAt": null, - "smart_id": 18, - "attribute_id": "write.correction_algorithm_invocations", - "name": "Write Correction Algorithm Invocations", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 51, - "CreatedAt": "2020-09-06T23:14:39.859593786Z", - "UpdatedAt": "2020-09-06T23:14:39.859593786Z", - "DeletedAt": null, - "smart_id": 12, - "attribute_id": "write.correction_algorithm_invocations", - "name": "Write Correction Algorithm Invocations", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 25, - "CreatedAt": "2020-08-28T07:55:27.881149036Z", - "UpdatedAt": "2020-08-28T07:55:27.881149036Z", - "DeletedAt": null, - "smart_id": 6, - "attribute_id": "write.correction_algorithm_invocations", - "name": "Write Correction Algorithm Invocations", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }] - }, { - "ID": 208, - "CreatedAt": "2020-09-08T21:39:26.5807-07:00", - "UpdatedAt": "2020-09-08T21:39:26.5807-07:00", - "DeletedAt": null, - "smart_id": 48, - "attribute_id": "write.total_uncorrected_errors", - "name": "Write Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0, - "status": "passed", - "history": [{ - "ID": 182, - "CreatedAt": "2020-09-07T15:47:21.350041836Z", - "UpdatedAt": "2020-09-07T15:47:21.350041836Z", - "DeletedAt": null, - "smart_id": 42, - "attribute_id": "write.total_uncorrected_errors", - "name": "Write Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 156, - "CreatedAt": "2020-09-07T15:38:56.644111093Z", - "UpdatedAt": "2020-09-07T15:38:56.644111093Z", - "DeletedAt": null, - "smart_id": 36, - "attribute_id": "write.total_uncorrected_errors", - "name": "Write Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 130, - "CreatedAt": "2020-09-07T15:26:07.518435116Z", - "UpdatedAt": "2020-09-07T15:26:07.518435116Z", - "DeletedAt": null, - "smart_id": 30, - "attribute_id": "write.total_uncorrected_errors", - "name": "Write Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 104, - "CreatedAt": "2020-09-07T15:19:17.479407945Z", - "UpdatedAt": "2020-09-07T15:19:17.479407945Z", - "DeletedAt": null, - "smart_id": 24, - "attribute_id": "write.total_uncorrected_errors", - "name": "Write Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 78, - "CreatedAt": "2020-09-07T15:10:40.258301886Z", - "UpdatedAt": "2020-09-07T15:10:40.258301886Z", - "DeletedAt": null, - "smart_id": 18, - "attribute_id": "write.total_uncorrected_errors", - "name": "Write Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 52, - "CreatedAt": "2020-09-06T23:14:39.859652488Z", - "UpdatedAt": "2020-09-06T23:14:39.859652488Z", - "DeletedAt": null, - "smart_id": 12, - "attribute_id": "write.total_uncorrected_errors", - "name": "Write Total Uncorrected Errors", - "value": 0, - "thresh": 0, - "transformed_value": 0 - }, { - "ID": 26, - "CreatedAt": "2020-08-28T07:55:27.881226699Z", - "UpdatedAt": "2020-08-28T07:55:27.881226699Z", - "DeletedAt": null, - "smart_id": 6, - "attribute_id": "write.total_uncorrected_errors", - "name": "Write Total Uncorrected Errors", + "thresh": -1, + "transformed_value": 0, + "status": 0 + }, + "read_total_uncorrected_errors": { + "attribute_id": "read_total_uncorrected_errors", + "value": 0, + "thresh": 0, + "transformed_value": 0, + "status": 0 + }, + "scsi_grown_defect_list": { + "attribute_id": "scsi_grown_defect_list", "value": 0, "thresh": 0, - "transformed_value": 0 - }] - }] + "transformed_value": 0, + "status": 0 + }, + "write_correction_algorithm_invocations": { + "attribute_id": "write_correction_algorithm_invocations", + "value": 0, + "thresh": -1, + "transformed_value": 0, + "status": 0 + }, + "write_errors_corrected_by_eccdelayed": { + "attribute_id": "write_errors_corrected_by_eccdelayed", + "value": 0, + "thresh": -1, + "transformed_value": 0, + "status": 0 + }, + "write_errors_corrected_by_eccfast": { + "attribute_id": "write_errors_corrected_by_eccfast", + "value": 0, + "thresh": -1, + "transformed_value": 0, + "status": 0 + }, + "write_errors_corrected_by_rereads_rewrites": { + "attribute_id": "write_errors_corrected_by_rereads_rewrites", + "value": 0, + "thresh": 0, + "transformed_value": 0, + "status": 0 + }, + "write_total_errors_corrected": { + "attribute_id": "write_total_errors_corrected", + "value": 0, + "thresh": -1, + "transformed_value": 0, + "status": 0 + }, + "write_total_uncorrected_errors": { + "attribute_id": "write_total_uncorrected_errors", + "value": 0, + "thresh": 0, + "transformed_value": 0, + "status": 0 + } + }, + "Status": 0 }] - }, "metadata": { - "read.correction_algorithm_invocations": { + }, + "metadata": { + "read_correction_algorithm_invocations": { + "display_name": "Read Correction Algorithm Invocations", + "ideal": "", + "critical": false, + "description": "", + "display_type": "" + }, + "read_errors_corrected_by_eccdelayed": { + "display_name": "Read Errors Corrected by ECC Delayed", + "ideal": "", + "critical": false, + "description": "", + "display_type": "" + }, + "read_errors_corrected_by_eccfast": { + "display_name": "Read Errors Corrected by ECC Fast", + "ideal": "", + "critical": false, + "description": "", + "display_type": "" + }, + "read_errors_corrected_by_rereads_rewrites": { + "display_name": "Read Errors Corrected by ReReads/ReWrites", + "ideal": "low", + "critical": true, + "description": "", + "display_type": "" + }, + "read_total_errors_corrected": { + "display_name": "Read Total Errors Corrected", "ideal": "", "critical": false, "description": "", "display_type": "" }, - "read.errors_corrected_by_eccdelayed": {"ideal": "", "critical": false, "description": "", "display_type": ""}, - "read.errors_corrected_by_eccfast": {"ideal": "", "critical": false, "description": "", "display_type": ""}, - "read.errors_corrected_by_rereads_rewrites": { + "read_total_uncorrected_errors": { + "display_name": "Read Total Uncorrected Errors", "ideal": "low", "critical": true, "description": "", "display_type": "" }, - "read.total_errors_corrected": {"ideal": "", "critical": false, "description": "", "display_type": ""}, - "read.total_uncorrected_errors": {"ideal": "low", "critical": true, "description": "", "display_type": ""}, - "scsi_grown_defect_list": {"ideal": "low", "critical": true, "description": "", "display_type": ""}, - "write.correction_algorithm_invocations": { + "scsi_grown_defect_list": { + "display_name": "Grown Defect List", + "ideal": "low", + "critical": true, + "description": "", + "display_type": "" + }, + "write_correction_algorithm_invocations": { + "display_name": "Write Correction Algorithm Invocations", + "ideal": "", + "critical": false, + "description": "", + "display_type": "" + }, + "write_errors_corrected_by_eccdelayed": { + "display_name": "Write Errors Corrected by ECC Delayed", "ideal": "", "critical": false, "description": "", "display_type": "" }, - "write.errors_corrected_by_eccdelayed": {"ideal": "", "critical": false, "description": "", "display_type": ""}, - "write.errors_corrected_by_eccfast": {"ideal": "", "critical": false, "description": "", "display_type": ""}, - "write.errors_corrected_by_rereads_rewrites": { + "write_errors_corrected_by_eccfast": { + "display_name": "Write Errors Corrected by ECC Fast", + "ideal": "", + "critical": false, + "description": "", + "display_type": "" + }, + "write_errors_corrected_by_rereads_rewrites": { + "display_name": "Write Errors Corrected by ReReads/ReWrites", "ideal": "low", "critical": true, "description": "", "display_type": "" }, - "write.total_errors_corrected": {"ideal": "", "critical": false, "description": "", "display_type": ""}, - "write.total_uncorrected_errors": {"ideal": "low", "critical": true, "description": "", "display_type": ""} - }, "success": true + "write_total_errors_corrected": { + "display_name": "Write Total Errors Corrected", + "ideal": "", + "critical": false, + "description": "", + "display_type": "" + }, + "write_total_uncorrected_errors": { + "display_name": "Write Total Uncorrected Errors", + "ideal": "low", + "critical": true, + "description": "", + "display_type": "" + } + }, + "success": true } diff --git a/webapp/frontend/src/app/data/mock/device/details/sdf.ts b/webapp/frontend/src/app/data/mock/device/details/sdf.ts index c624dab..15949dd 100644 --- a/webapp/frontend/src/app/data/mock/device/details/sdf.ts +++ b/webapp/frontend/src/app/data/mock/device/details/sdf.ts @@ -1,1981 +1,29 @@ export const sdf = { "data": { "device": { - "CreatedAt": "2020-09-29T03:17:30.813487336Z", - "UpdatedAt": "2020-09-29T03:17:31.04293448Z", + "CreatedAt": "2021-06-24T21:17:31.305246-07:00", + "UpdatedAt": "2021-06-24T21:17:31.305246-07:00", "DeletedAt": null, - "wwn": "0x5000c500c0558f02", - "device_name": "sdc", - "manufacturer": "", - "model_name": "ST8000VN004-2M2101", - "interface_type": "", - "interface_speed": "6.0 Gb/s", - "serial_number": "WKD01Y5S", - "firmware": "SC60", - "rotational_speed": 7200, - "capacity": 8001563222016, - "form_factor": "3.5 inches", + "wwn": "0x50014ee20b2a72a9", + "device_name": "sdf", + "manufacturer": "ATA", + "model_name": "WDC_WD60EFRX-68MYMN1", + "interface_type": "SCSI", + "interface_speed": "", + "serial_number": "WD-WXL1HXXXXX", + "firmware": "", + "rotational_speed": 0, + "capacity": 6001175126016, + "form_factor": "", "smart_support": false, - "device_protocol": "ATA", - "device_type": "scsi", - "device_status": 2, - }, - "smart_results": [{ - "ID": 1, - "CreatedAt": "2020-09-29T03:17:31.063859162Z", - "UpdatedAt": "2020-09-29T03:17:31.063859162Z", - "DeletedAt": null, - "device_wwn": "0x5000c500c0558f02", - "date": "2020-09-29T03:17:30Z", - "smart_status": "passed", - "temp": 39, - "power_on_hours": 9499, - "power_cycle_count": 22, - "ata_attributes": [{ - "ID": 1, - "CreatedAt": "2020-09-29T03:17:31.064174997Z", - "UpdatedAt": "2020-09-29T03:17:31.064174997Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 1, - "name": "Read Error Rate", - "value": 79, - "worst": 64, - "thresh": 44, - "raw_value": 78022392, - "raw_string": "78022392", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 2, - "CreatedAt": "2020-09-29T03:17:31.064379412Z", - "UpdatedAt": "2020-09-29T03:17:31.064379412Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 3, - "name": "Spin-Up Time", - "value": 95, - "worst": 86, - "thresh": 0, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "warn", - "status_reason": "Observed Failure Rate for Attribute is greater than 10%", - "failure_rate": 0.11452195377351217 - }, { - "ID": 3, - "CreatedAt": "2020-09-29T03:17:31.064506775Z", - "UpdatedAt": "2020-09-29T03:17:31.064506775Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 4, - "name": "Start/Stop Count", - "value": 100, - "worst": 100, - "thresh": 20, - "raw_value": 220, - "raw_string": "220", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 4, - "CreatedAt": "2020-09-29T03:17:31.064621265Z", - "UpdatedAt": "2020-09-29T03:17:31.064621265Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 5, - "name": "Reallocated Sectors Count", - "value": 100, - "worst": 100, - "thresh": 10, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.025169175350572493 - }, { - "ID": 5, - "CreatedAt": "2020-09-29T03:17:31.064742769Z", - "UpdatedAt": "2020-09-29T03:17:31.064742769Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 7, - "name": "Seek Error Rate", - "value": 86, - "worst": 60, - "thresh": 45, - "raw_value": 4679507461, - "raw_string": "4679507461", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.08725919610118257 - }, { - "ID": 6, - "CreatedAt": "2020-09-29T03:17:31.064850152Z", - "UpdatedAt": "2020-09-29T03:17:31.064850152Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 9, - "name": "Power-On Hours", - "value": 90, - "worst": 90, - "thresh": 0, - "raw_value": 9499, - "raw_string": "9499", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 7, - "CreatedAt": "2020-09-29T03:17:31.064970318Z", - "UpdatedAt": "2020-09-29T03:17:31.064970318Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 10, - "name": "Spin Retry Count", - "value": 100, - "worst": 100, - "thresh": 97, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.05459827163896099 - }, { - "ID": 8, - "CreatedAt": "2020-09-29T03:17:31.065072898Z", - "UpdatedAt": "2020-09-29T03:17:31.065072898Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 12, - "name": "Power Cycle Count", - "value": 100, - "worst": 100, - "thresh": 20, - "raw_value": 22, - "raw_string": "22", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.038210930067894826 - }, { - "ID": 9, - "CreatedAt": "2020-09-29T03:17:31.065366547Z", - "UpdatedAt": "2020-09-29T03:17:31.065366547Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 18, - "name": "Unknown_Attribute", - "value": 100, - "worst": 100, - "thresh": 50, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 10, - "CreatedAt": "2020-09-29T03:17:31.065539403Z", - "UpdatedAt": "2020-09-29T03:17:31.065539403Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 187, - "name": "Reported Uncorrectable Errors", - "value": 100, - "worst": 100, - "thresh": 0, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.028130798308190524 - }, { - "ID": 11, - "CreatedAt": "2020-09-29T03:17:31.065665808Z", - "UpdatedAt": "2020-09-29T03:17:31.065665808Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 188, - "name": "Command Timeout", - "value": 100, - "worst": 100, - "thresh": 0, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.024893587674442153 - }, { - "ID": 12, - "CreatedAt": "2020-09-29T03:17:31.065780779Z", - "UpdatedAt": "2020-09-29T03:17:31.065780779Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 190, - "name": "Temperature Difference", - "value": 61, - "worst": 46, - "thresh": 40, - "raw_value": 740294695, - "raw_string": "39 (Min/Max 32/44)", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 13, - "CreatedAt": "2020-09-29T03:17:31.065931499Z", - "UpdatedAt": "2020-09-29T03:17:31.065931499Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 192, - "name": "Power-off Retract Count", - "value": 100, - "worst": 100, - "thresh": 0, - "raw_value": 4, - "raw_string": "4", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.0738571777154862 - }, { - "ID": 14, - "CreatedAt": "2020-09-29T03:17:31.066043189Z", - "UpdatedAt": "2020-09-29T03:17:31.066043189Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 193, - "name": "Load Cycle Count", - "value": 100, - "worst": 100, - "thresh": 0, - "raw_value": 1680, - "raw_string": "1680", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 15, - "CreatedAt": "2020-09-29T03:17:31.066162028Z", - "UpdatedAt": "2020-09-29T03:17:31.066162028Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 194, - "name": "Temperature", - "value": 39, - "worst": 54, - "thresh": 0, - "raw_value": 81604378663, - "raw_string": "39 (0 19 0 0 0)", - "when_failed": "", - "transformed_value": 39, - "status": "passed" - }, { - "ID": 16, - "CreatedAt": "2020-09-29T03:17:31.066270283Z", - "UpdatedAt": "2020-09-29T03:17:31.066270283Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 195, - "name": "Hardware ECC Recovered", - "value": 79, - "worst": 64, - "thresh": 0, - "raw_value": 78022392, - "raw_string": "78022392", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 17, - "CreatedAt": "2020-09-29T03:17:31.066381938Z", - "UpdatedAt": "2020-09-29T03:17:31.066381938Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 197, - "name": "Current Pending Sector Count", - "value": 100, - "worst": 100, - "thresh": 0, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.025540791394761345 - }, { - "ID": 18, - "CreatedAt": "2020-09-29T03:17:31.066497143Z", - "UpdatedAt": "2020-09-29T03:17:31.066497143Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 198, - "name": "(Offline) Uncorrectable Sector Count", - "value": 100, - "worst": 100, - "thresh": 0, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.028675322159886437 - }, { - "ID": 19, - "CreatedAt": "2020-09-29T03:17:31.066632808Z", - "UpdatedAt": "2020-09-29T03:17:31.066632808Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 199, - "name": "UltraDMA CRC Error Count", - "value": 200, - "worst": 200, - "thresh": 0, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 20, - "CreatedAt": "2020-09-29T03:17:31.066757646Z", - "UpdatedAt": "2020-09-29T03:17:31.066757646Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 240, - "name": "Head Flying Hours", - "value": 100, - "worst": 253, - "thresh": 0, - "raw_value": 21887153349770, - "raw_string": "9354 (19 232 0)", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 21, - "CreatedAt": "2020-09-29T03:17:31.06687199Z", - "UpdatedAt": "2020-09-29T03:17:31.06687199Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 241, - "name": "Total LBAs Written", - "value": 100, - "worst": 253, - "thresh": 0, - "raw_value": 78115437520, - "raw_string": "78115437520", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 22, - "CreatedAt": "2020-09-29T03:17:31.066984948Z", - "UpdatedAt": "2020-09-29T03:17:31.066984948Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 242, - "name": "Total LBAs Read", - "value": 100, - "worst": 253, - "thresh": 0, - "raw_value": 226428055205, - "raw_string": "226428055205", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }], - "nvme_attributes": [], - "scsi_attributes": [] - }, { - "ID": 1, - "CreatedAt": "2020-09-29T03:17:31.063859162Z", - "UpdatedAt": "2020-09-29T03:17:31.063859162Z", - "DeletedAt": null, - "device_wwn": "0x5000c500c0558f02", - "date": "2020-09-29T03:17:30Z", - "smart_status": "passed", - "temp": 39, - "power_on_hours": 9499, - "power_cycle_count": 22, - "ata_attributes": [{ - "ID": 1, - "CreatedAt": "2020-09-29T03:17:31.064174997Z", - "UpdatedAt": "2020-09-29T03:17:31.064174997Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 1, - "name": "Read Error Rate", - "value": 79, - "worst": 64, - "thresh": 44, - "raw_value": 78022392, - "raw_string": "78022392", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 2, - "CreatedAt": "2020-09-29T03:17:31.064379412Z", - "UpdatedAt": "2020-09-29T03:17:31.064379412Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 3, - "name": "Spin-Up Time", - "value": 95, - "worst": 86, - "thresh": 0, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "warn", - "status_reason": "Observed Failure Rate for Attribute is greater than 10%", - "failure_rate": 0.11452195377351217 - }, { - "ID": 3, - "CreatedAt": "2020-09-29T03:17:31.064506775Z", - "UpdatedAt": "2020-09-29T03:17:31.064506775Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 4, - "name": "Start/Stop Count", - "value": 100, - "worst": 100, - "thresh": 20, - "raw_value": 220, - "raw_string": "220", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 4, - "CreatedAt": "2020-09-29T03:17:31.064621265Z", - "UpdatedAt": "2020-09-29T03:17:31.064621265Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 5, - "name": "Reallocated Sectors Count", - "value": 100, - "worst": 100, - "thresh": 10, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.025169175350572493 - }, { - "ID": 5, - "CreatedAt": "2020-09-29T03:17:31.064742769Z", - "UpdatedAt": "2020-09-29T03:17:31.064742769Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 7, - "name": "Seek Error Rate", - "value": 86, - "worst": 60, - "thresh": 45, - "raw_value": 4679507461, - "raw_string": "4679507461", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.08725919610118257 - }, { - "ID": 6, - "CreatedAt": "2020-09-29T03:17:31.064850152Z", - "UpdatedAt": "2020-09-29T03:17:31.064850152Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 9, - "name": "Power-On Hours", - "value": 90, - "worst": 90, - "thresh": 0, - "raw_value": 9499, - "raw_string": "9499", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 7, - "CreatedAt": "2020-09-29T03:17:31.064970318Z", - "UpdatedAt": "2020-09-29T03:17:31.064970318Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 10, - "name": "Spin Retry Count", - "value": 100, - "worst": 100, - "thresh": 97, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.05459827163896099 - }, { - "ID": 8, - "CreatedAt": "2020-09-29T03:17:31.065072898Z", - "UpdatedAt": "2020-09-29T03:17:31.065072898Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 12, - "name": "Power Cycle Count", - "value": 100, - "worst": 100, - "thresh": 20, - "raw_value": 22, - "raw_string": "22", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.038210930067894826 - }, { - "ID": 9, - "CreatedAt": "2020-09-29T03:17:31.065366547Z", - "UpdatedAt": "2020-09-29T03:17:31.065366547Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 18, - "name": "Unknown_Attribute", - "value": 100, - "worst": 100, - "thresh": 50, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 10, - "CreatedAt": "2020-09-29T03:17:31.065539403Z", - "UpdatedAt": "2020-09-29T03:17:31.065539403Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 187, - "name": "Reported Uncorrectable Errors", - "value": 100, - "worst": 100, - "thresh": 0, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.028130798308190524 - }, { - "ID": 11, - "CreatedAt": "2020-09-29T03:17:31.065665808Z", - "UpdatedAt": "2020-09-29T03:17:31.065665808Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 188, - "name": "Command Timeout", - "value": 100, - "worst": 100, - "thresh": 0, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.024893587674442153 - }, { - "ID": 12, - "CreatedAt": "2020-09-29T03:17:31.065780779Z", - "UpdatedAt": "2020-09-29T03:17:31.065780779Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 190, - "name": "Temperature Difference", - "value": 61, - "worst": 46, - "thresh": 40, - "raw_value": 740294695, - "raw_string": "39 (Min/Max 32/44)", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 13, - "CreatedAt": "2020-09-29T03:17:31.065931499Z", - "UpdatedAt": "2020-09-29T03:17:31.065931499Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 192, - "name": "Power-off Retract Count", - "value": 100, - "worst": 100, - "thresh": 0, - "raw_value": 4, - "raw_string": "4", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.0738571777154862 - }, { - "ID": 14, - "CreatedAt": "2020-09-29T03:17:31.066043189Z", - "UpdatedAt": "2020-09-29T03:17:31.066043189Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 193, - "name": "Load Cycle Count", - "value": 100, - "worst": 100, - "thresh": 0, - "raw_value": 1680, - "raw_string": "1680", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 15, - "CreatedAt": "2020-09-29T03:17:31.066162028Z", - "UpdatedAt": "2020-09-29T03:17:31.066162028Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 194, - "name": "Temperature", - "value": 39, - "worst": 54, - "thresh": 0, - "raw_value": 81604378663, - "raw_string": "39 (0 19 0 0 0)", - "when_failed": "", - "transformed_value": 39, - "status": "passed" - }, { - "ID": 16, - "CreatedAt": "2020-09-29T03:17:31.066270283Z", - "UpdatedAt": "2020-09-29T03:17:31.066270283Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 195, - "name": "Hardware ECC Recovered", - "value": 79, - "worst": 64, - "thresh": 0, - "raw_value": 78022392, - "raw_string": "78022392", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 17, - "CreatedAt": "2020-09-29T03:17:31.066381938Z", - "UpdatedAt": "2020-09-29T03:17:31.066381938Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 197, - "name": "Current Pending Sector Count", - "value": 100, - "worst": 100, - "thresh": 0, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.025540791394761345 - }, { - "ID": 18, - "CreatedAt": "2020-09-29T03:17:31.066497143Z", - "UpdatedAt": "2020-09-29T03:17:31.066497143Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 198, - "name": "(Offline) Uncorrectable Sector Count", - "value": 100, - "worst": 100, - "thresh": 0, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed", - "failure_rate": 0.028675322159886437 - }, { - "ID": 19, - "CreatedAt": "2020-09-29T03:17:31.066632808Z", - "UpdatedAt": "2020-09-29T03:17:31.066632808Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 199, - "name": "UltraDMA CRC Error Count", - "value": 200, - "worst": 200, - "thresh": 0, - "raw_value": 0, - "raw_string": "0", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 20, - "CreatedAt": "2020-09-29T03:17:31.066757646Z", - "UpdatedAt": "2020-09-29T03:17:31.066757646Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 240, - "name": "Head Flying Hours", - "value": 100, - "worst": 253, - "thresh": 0, - "raw_value": 21887153349770, - "raw_string": "9354 (19 232 0)", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 21, - "CreatedAt": "2020-09-29T03:17:31.06687199Z", - "UpdatedAt": "2020-09-29T03:17:31.06687199Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 241, - "name": "Total LBAs Written", - "value": 100, - "worst": 253, - "thresh": 0, - "raw_value": 78115437520, - "raw_string": "78115437520", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }, { - "ID": 22, - "CreatedAt": "2020-09-29T03:17:31.066984948Z", - "UpdatedAt": "2020-09-29T03:17:31.066984948Z", - "DeletedAt": null, - "smart_id": 1, - "attribute_id": 242, - "name": "Total LBAs Read", - "value": 100, - "worst": 253, - "thresh": 0, - "raw_value": 226428055205, - "raw_string": "226428055205", - "when_failed": "", - "transformed_value": 0, - "status": "passed" - }], - "nvme_attributes": [], - "scsi_attributes": [] - }] - }, "metadata": { - "1": { - "ideal": "low", - "critical": false, - "description": "(Vendor specific raw value.) Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not meaningful as a decimal number.", - "observed_thresholds": [{ - "low": 80, - "high": 95, - "annual_failure_rate": 0.8879749768303985, - "error_interval": [0.682344353388663, 1.136105732920724] - }, { - "low": 95, - "high": 110, - "annual_failure_rate": 0.034155719633986996, - "error_interval": [0.030188482024981093, 0.038499386872354435] - }, { - "low": 110, - "high": 125, - "annual_failure_rate": 0.06390002135229157, - "error_interval": [0.05852004676110847, 0.06964160930553712] - }, {"low": 125, "high": 140, "annual_failure_rate": 0, "error_interval": [0, 0]}, { - "low": 140, - "high": 155, - "annual_failure_rate": 0, - "error_interval": [0, 0] - }, {"low": 155, "high": 170, "annual_failure_rate": 0, "error_interval": [0, 0]}, { - "low": 170, - "high": 185, - "annual_failure_rate": 0, - "error_interval": [0, 0] - }, { - "low": 185, - "high": 200, - "annual_failure_rate": 0.044823775021490854, - "error_interval": [0.032022762038723306, 0.06103725943096589] - }], - "display_type": "normalized" - }, - "10": { - "ideal": "low", - "critical": true, - "description": "Count of retry of spin start attempts. This attribute stores a total count of the spin start attempts to reach the fully operational speed (under the condition that the first attempt was unsuccessful). An increase of this attribute value is a sign of problems in the hard disk mechanical subsystem.", - "observed_thresholds": [{ - "low": 0, - "high": 0, - "annual_failure_rate": 0.05459827163896099, - "error_interval": [0.05113785787727033, 0.05823122757702782] - }, { - "low": 0, - "high": 80, - "annual_failure_rate": 0.5555555555555556, - "error_interval": [0.014065448880161053, 3.095357439410498] - }], - "display_type": "raw" - }, - "11": { - "ideal": "low", - "critical": false, - "description": "This attribute indicates the count that recalibration was requested (under the condition that the first attempt was unsuccessful). An increase of this attribute value is a sign of problems in the hard disk mechanical subsystem.", - "observed_thresholds": [{ - "low": 0, - "high": 0, - "annual_failure_rate": 0.04658866433672694, - "error_interval": [0.03357701137320878, 0.06297433993055492] - }, { - "low": 0, - "high": 80, - "annual_failure_rate": 0.5555555555555556, - "error_interval": [0.014065448880161053, 3.095357439410498] - }, {"low": 80, "high": 160, "annual_failure_rate": 0, "error_interval": [0, 0]}, { - "low": 160, - "high": 240, - "annual_failure_rate": 0, - "error_interval": [0, 0] - }, {"low": 240, "high": 320, "annual_failure_rate": 0, "error_interval": [0, 0]}, { - "low": 320, - "high": 400, - "annual_failure_rate": 0, - "error_interval": [0, 0] - }, {"low": 400, "high": 480, "annual_failure_rate": 0, "error_interval": [0, 0]}, { - "low": 480, - "high": 560, - "annual_failure_rate": 0, - "error_interval": [0, 0] - }], - "display_type": "raw" - }, - "12": { - "ideal": "low", - "critical": false, - "description": "This attribute indicates the count of full hard disk power on/off cycles.", - "observed_thresholds": [{ - "low": 0, - "high": 13, - "annual_failure_rate": 0.019835987118930823, - "error_interval": [0.016560870164523494, 0.023569242386797896] - }, { - "low": 13, - "high": 26, - "annual_failure_rate": 0.038210930067894826, - "error_interval": [0.03353859179329295, 0.0433520775718649] - }, { - "low": 26, - "high": 39, - "annual_failure_rate": 0.11053528307302571, - "error_interval": [0.09671061589521368, 0.1257816678419765] - }, { - "low": 39, - "high": 52, - "annual_failure_rate": 0.16831189443375036, - "error_interval": [0.1440976510675928, 0.19543066007594895] - }, { - "low": 52, - "high": 65, - "annual_failure_rate": 0.20630344262550107, - "error_interval": [0.1693965932069108, 0.2488633537247856] - }, { - "low": 65, - "high": 78, - "annual_failure_rate": 0.1030972634140512, - "error_interval": [0.06734655535304743, 0.15106137807407605] - }, { - "low": 78, - "high": 91, - "annual_failure_rate": 0.12354840389522469, - "error_interval": [0.06578432170016109, 0.21127153335749593] - }], - "display_type": "raw" - }, - "13": { - "ideal": "low", - "critical": false, - "description": "Uncorrected read errors reported to the operating system.", - "display_type": "normalized" - }, - "170": {"ideal": "", "critical": false, "description": "See attribute E8.", "display_type": "normalized"}, - "171": { - "ideal": "", - "critical": false, - "description": "(Kingston) The total number of flash program operation failures since the drive was deployed.[33] Identical to attribute 181.", - "display_type": "normalized" - }, - "172": { - "ideal": "", - "critical": false, - "description": "(Kingston) Counts the number of flash erase failures. This attribute returns the total number of Flash erase operation failures since the drive was deployed. This attribute is identical to attribute 182.", - "display_type": "normalized" - }, - "173": { - "ideal": "", - "critical": false, - "description": "Counts the maximum worst erase count on any block.", - "display_type": "normalized" - }, - "174": { - "ideal": "", - "critical": false, - "description": "Also known as Power-off Retract Count per conventional HDD terminology. Raw value reports the number of unclean shutdowns, cumulative over the life of an SSD, where an unclean shutdown is the removal of power without STANDBY IMMEDIATE as the last command (regardless of PLI activity using capacitor power). Normalized value is always 100.", - "display_type": "" - }, - "175": { - "ideal": "", - "critical": false, - "description": "Last test result as microseconds to discharge cap, saturated at its maximum value. Also logs minutes since last test and lifetime number of tests. Raw value contains the following data: Bytes 0-1: Last test result as microseconds to discharge cap, saturates at max value. Test result expected in range 25 \\u003c= result \\u003c= 5000000, lower indicates specific error code. Bytes 2-3: Minutes since last test, saturates at max value.Bytes 4-5: Lifetime number of tests, not incremented on power cycle, saturates at max value. Normalized value is set to one on test failure or 11 if the capacitor has been tested in an excessive temperature condition, otherwise 100.", - "display_type": "normalized" - }, - "176": { - "ideal": "", - "critical": false, - "description": "S.M.A.R.T. parameter indicates a number of flash erase command failures.", - "display_type": "normalized" - }, - "177": { - "ideal": "", - "critical": false, - "description": "Delta between most-worn and least-worn Flash blocks. It describes how good/bad the wearleveling of the SSD works on a more technical way. ", - "display_type": "normalized" - }, - "179": { - "ideal": "", - "critical": false, - "description": "Pre-Fail attribute used at least in Samsung devices.", - "display_type": "normalized" - }, - "180": { - "ideal": "", - "critical": false, - "description": "Pre-Fail attribute used at least in HP devices. ", - "display_type": "normalized" - }, - "181": { - "ideal": "", - "critical": false, - "description": "Total number of Flash program operation failures since the drive was deployed.", - "display_type": "normalized" - }, - "182": { - "ideal": "", - "critical": false, - "description": "Pre-Fail Attribute used at least in Samsung devices.", - "display_type": "normalized" - }, - "183": { - "ideal": "low", - "critical": false, - "description": "Western Digital, Samsung or Seagate attribute: Either the number of downshifts of link speed (e.g. from 6Gbit/s to 3Gbit/s) or the total number of data blocks with detected, uncorrectable errors encountered during normal operation. Although degradation of this parameter can be an indicator of drive aging and/or potential electromechanical problems, it does not directly indicate imminent drive failure.", - "observed_thresholds": [{ - "low": 0, - "high": 0, - "annual_failure_rate": 0.09084549203210031, - "error_interval": [0.08344373475686712, 0.09872777224842152] - }, { - "low": 1, - "high": 2, - "annual_failure_rate": 0.05756065656498585, - "error_interval": [0.04657000847949464, 0.07036491775108872] - }, { - "low": 2, - "high": 4, - "annual_failure_rate": 0.6193088626208925, - "error_interval": [0.41784508895529787, 0.8841019099092139] - }, { - "low": 4, - "high": 8, - "annual_failure_rate": 0.5533447034299792, - "error_interval": [0.31628430884775033, 0.8985971312402635] - }, { - "low": 8, - "high": 16, - "annual_failure_rate": 0.3882388694727245, - "error_interval": [0.21225380267814295, 0.6513988534774338] - }, { - "low": 16, - "high": 35, - "annual_failure_rate": 0.37116708385481856, - "error_interval": [0.19763084005134446, 0.6347070173754686] - }, { - "low": 35, - "high": 70, - "annual_failure_rate": 0.2561146752205292, - "error_interval": [0.10297138269895259, 0.5276941165819332] - }, { - "low": 70, - "high": 130, - "annual_failure_rate": 0.40299684542586756, - "error_interval": [0.16202563309223209, 0.8303275247667772] - }, {"low": 130, "high": 260, "annual_failure_rate": 0, "error_interval": [0, 0]}], - "display_type": "raw" - }, - "184": { - "ideal": "low", - "critical": true, - "description": "This attribute is a part of Hewlett-Packards SMART IV technology, as well as part of other vendors IO Error Detection and Correction schemas, and it contains a count of parity errors which occur in the data path to the media via the drives cache RAM", - "observed_thresholds": [{ - "low": 93, - "high": 94, - "annual_failure_rate": 1.631212012870933, - "error_interval": [1.055634407303844, 2.407990716767714] - }, {"low": 94, "high": 95, "annual_failure_rate": 0, "error_interval": [0, 0]}, { - "low": 95, - "high": 96, - "annual_failure_rate": 0, - "error_interval": [0, 0] - }, {"low": 96, "high": 97, "annual_failure_rate": 0, "error_interval": [0, 0]}, { - "low": 97, - "high": 97, - "annual_failure_rate": 0, - "error_interval": [0, 0] - }, { - "low": 97, - "high": 98, - "annual_failure_rate": 1.8069306930693072, - "error_interval": [0.04574752432804858, 10.067573453924245] - }, { - "low": 98, - "high": 99, - "annual_failure_rate": 0.8371559633027523, - "error_interval": [0.10138347095016888, 3.0240951820174824] - }, { - "low": 99, - "high": 100, - "annual_failure_rate": 0.09334816849865138, - "error_interval": [0.08689499010435861, 0.10015372448181788] - }], - "display_type": "normalized" - }, - "185": { - "ideal": "", - "critical": false, - "description": "Western Digital attribute.", - "display_type": "normalized" - }, - "186": { - "ideal": "", - "critical": false, - "description": "Western Digital attribute.", - "display_type": "normalized" - }, - "187": { - "ideal": "low", - "critical": true, - "description": "The count of errors that could not be recovered using hardware ECC (see attribute 195).", - "observed_thresholds": [{ - "low": 0, - "high": 0, - "annual_failure_rate": 0.028130798308190524, - "error_interval": [0.024487830609364304, 0.032162944988161336] - }, { - "low": 1, - "high": 1, - "annual_failure_rate": 0.33877621175661743, - "error_interval": [0.22325565823630591, 0.4929016016666955] - }, { - "low": 1, - "high": 3, - "annual_failure_rate": 0.24064820598237213, - "error_interval": [0.14488594021076606, 0.3758019832614595] - }, { - "low": 3, - "high": 6, - "annual_failure_rate": 0.5014425058387142, - "error_interval": [0.3062941096766342, 0.7744372808405151] - }, { - "low": 6, - "high": 11, - "annual_failure_rate": 0.38007108544136836, - "error_interval": [0.2989500188963677, 0.4764223967570595] - }, { - "low": 11, - "high": 20, - "annual_failure_rate": 0.5346094598348444, - "error_interval": [0.40595137663302483, 0.6911066985735377] - }, { - "low": 20, - "high": 35, - "annual_failure_rate": 0.8428063943161636, - "error_interval": [0.6504601819243522, 1.0742259350903411] - }, { - "low": 35, - "high": 65, - "annual_failure_rate": 1.4429071005017484, - "error_interval": [1.1405581860945952, 1.8008133631629157] - }, { - "low": 65, - "high": 120, - "annual_failure_rate": 1.6190935390549661, - "error_interval": [1.0263664163011208, 2.4294352761068576] - }], - "display_type": "raw" - }, - "188": { - "ideal": "low", - "critical": true, - "description": "The count of aborted operations due to HDD timeout. Normally this attribute value should be equal to zero.", - "observed_thresholds": [{ - "low": 0, - "high": 0, - "annual_failure_rate": 0.024893587674442153, - "error_interval": [0.020857343769186413, 0.0294830350167543] - }, { - "low": 0, - "high": 13, - "annual_failure_rate": 0.10044174089362015, - "error_interval": [0.0812633664077498, 0.1227848196758574] - }, { - "low": 13, - "high": 26, - "annual_failure_rate": 0.334030592234279, - "error_interval": [0.2523231196342665, 0.4337665082489293] - }, { - "low": 26, - "high": 39, - "annual_failure_rate": 0.36724705400842445, - "error_interval": [0.30398009356575617, 0.4397986538328568] - }, { - "low": 39, - "high": 52, - "annual_failure_rate": 0.29848155926978354, - "error_interval": [0.2509254838615984, 0.35242890006477073] - }, { - "low": 52, - "high": 65, - "annual_failure_rate": 0.2203079701535098, - "error_interval": [0.18366082845676174, 0.26212468677179274] - }, { - "low": 65, - "high": 78, - "annual_failure_rate": 0.3018169948863018, - "error_interval": [0.23779746376787655, 0.37776897542831006] - }, { - "low": 78, - "high": 91, - "annual_failure_rate": 0.32854928239235887, - "error_interval": [0.2301118782147336, 0.4548506948185028] - }, { - "low": 91, - "high": 104, - "annual_failure_rate": 0.28488916640649387, - "error_interval": [0.1366154288236293, 0.5239213202729072] - }], - "display_type": "raw" - }, - "189": { - "ideal": "low", - "critical": false, - "description": "HDD manufacturers implement a flying height sensor that attempts to provide additional protections for write operations by detecting when a recording head is flying outside its normal operating range. If an unsafe fly height condition is encountered, the write process is stopped, and the information is rewritten or reallocated to a safe region of the hard drive. This attribute indicates the count of these errors detected over the lifetime of the drive.", - "observed_thresholds": [{ - "low": 0, - "high": 0, - "annual_failure_rate": 0.09070551401946862, - "error_interval": [0.08018892683853401, 0.10221801211956287] - }, { - "low": 1, - "high": 2, - "annual_failure_rate": 0.0844336097370013, - "error_interval": [0.07299813695315267, 0.09715235540340669] - }, { - "low": 2, - "high": 5, - "annual_failure_rate": 0.07943219628781906, - "error_interval": [0.06552176680630226, 0.09542233189887633] - }, { - "low": 5, - "high": 13, - "annual_failure_rate": 0.09208847603893404, - "error_interval": [0.07385765060838133, 0.11345557807163456] - }, { - "low": 13, - "high": 30, - "annual_failure_rate": 0.18161161650924224, - "error_interval": [0.13858879602902988, 0.23377015012749933] - }, { - "low": 30, - "high": 70, - "annual_failure_rate": 0.2678117886102384, - "error_interval": [0.19044036194841887, 0.36610753129699186] - }, { - "low": 70, - "high": 150, - "annual_failure_rate": 0.26126480798826107, - "error_interval": [0.15958733218826962, 0.4035023060905559] - }, { - "low": 150, - "high": 350, - "annual_failure_rate": 0.11337164155924832, - "error_interval": [0.030889956621649995, 0.2902764300762812] - }], - "display_type": "raw" - }, - "190": { - "ideal": "", - "critical": false, - "description": "Value is equal to (100-temp. °C), allowing manufacturer to set a minimum threshold which corresponds to a maximum temperature. This also follows the convention of 100 being a best-case value and lower values being undesirable. However, some older drives may instead report raw Temperature (identical to 0xC2) or Temperature minus 50 here.", - "display_type": "normalized" - }, - "191": { - "ideal": "low", - "critical": false, - "description": "The count of errors resulting from externally induced shock and vibration. ", - "display_type": "normalized" - }, - "192": { - "ideal": "low", - "critical": false, - "description": "Number of power-off or emergency retract cycles.", - "observed_thresholds": [{ - "low": 1, - "high": 2, - "annual_failure_rate": 0.02861098445412803, - "error_interval": [0.022345416230915037, 0.036088863823297186] - }, { - "low": 2, - "high": 6, - "annual_failure_rate": 0.0738571777154862, - "error_interval": [0.06406927746420421, 0.0847175264009771] - }, { - "low": 6, - "high": 16, - "annual_failure_rate": 0.11970378206823593, - "error_interval": [0.10830059875098269, 0.13198105985656441] - }, { - "low": 16, - "high": 40, - "annual_failure_rate": 0.027266868552620425, - "error_interval": [0.021131448605713823, 0.03462795920968522] - }, { - "low": 40, - "high": 100, - "annual_failure_rate": 0.011741682974559688, - "error_interval": [0.00430899071133239, 0.025556700631152028] - }, { - "low": 100, - "high": 250, - "annual_failure_rate": 0.012659940134091309, - "error_interval": [0.00607093338127348, 0.023282080653656938] - }, { - "low": 250, - "high": 650, - "annual_failure_rate": 0.01634692899031039, - "error_interval": [0.009522688540043157, 0.026173016865409605] - }, { - "low": 650, - "high": 1600, - "annual_failure_rate": 0.005190074354440066, - "error_interval": [0.0025908664180103293, 0.009286476666453648] - }], - "display_type": "raw" - }, - "193": { - "ideal": "low", - "critical": false, - "description": "Count of load/unload cycles into head landing zone position.[45] Some drives use 225 (0xE1) for Load Cycle Count instead.", - "display_type": "normalized" - }, - "194": { - "ideal": "low", - "critical": false, - "description": "Indicates the device temperature, if the appropriate sensor is fitted. Lowest byte of the raw value contains the exact temperature value (Celsius degrees).", - "transform_value_unit": "°C", - "display_type": "transformed" - }, - "195": { - "ideal": "", - "critical": false, - "description": "(Vendor-specific raw value.) The raw value has different structure for different vendors and is often not meaningful as a decimal number.", - "observed_thresholds": [{ - "low": 12, - "high": 24, - "annual_failure_rate": 0.31472916829975706, - "error_interval": [0.15711166685282174, 0.5631374192486645] - }, { - "low": 24, - "high": 36, - "annual_failure_rate": 0.15250310197260136, - "error_interval": [0.10497611828070175, 0.21417105521823687] - }, { - "low": 36, - "high": 48, - "annual_failure_rate": 0.2193119102723874, - "error_interval": [0.16475385681835103, 0.28615447006525274] - }, { - "low": 48, - "high": 60, - "annual_failure_rate": 0.05672658497265746, - "error_interval": [0.043182904776447234, 0.07317316161437043] - }, {"low": 60, "high": 72, "annual_failure_rate": 0, "error_interval": [0, 0]}, { - "low": 72, - "high": 84, - "annual_failure_rate": 0, - "error_interval": [0, 0] - }, {"low": 84, "high": 96, "annual_failure_rate": 0, "error_interval": [0, 0]}, { - "low": 96, - "high": 108, - "annual_failure_rate": 0.04074570216566197, - "error_interval": [0.001031591863615295, 0.22702052218047528] - }], - "display_type": "normalized" - }, - "196": { - "ideal": "low", - "critical": true, - "description": "Count of remap operations. The raw value of this attribute shows the total count of attempts to transfer data from reallocated sectors to a spare area. Both successful and unsuccessful attempts are counted.", - "observed_thresholds": [{ - "low": 0, - "high": 0, - "annual_failure_rate": 0.007389855800729792, - "error_interval": [0.005652654139732716, 0.009492578928212054] - }, { - "low": 1, - "high": 1, - "annual_failure_rate": 0.026558331312151347, - "error_interval": [0.005476966404484466, 0.07761471429677293] - }, { - "low": 1, - "high": 2, - "annual_failure_rate": 0.02471894893674658, - "error_interval": [0.0006258296027540169, 0.13772516847438018] - }, { - "low": 2, - "high": 4, - "annual_failure_rate": 0.03200912040691046, - "error_interval": [0.0008104007642081744, 0.17834340416493005] - }, { - "low": 4, - "high": 7, - "annual_failure_rate": 0.043078012510326925, - "error_interval": [0.001090640849081295, 0.24001532369794615] - }, { - "low": 7, - "high": 11, - "annual_failure_rate": 0.033843300880853036, - "error_interval": [0.0008568381932559863, 0.18856280368036135] - }, { - "low": 11, - "high": 17, - "annual_failure_rate": 0.16979376647542252, - "error_interval": [0.035015556653263225, 0.49620943874336304] - }, { - "low": 17, - "high": 27, - "annual_failure_rate": 0.059042381106438044, - "error_interval": [0.0014948236677880642, 0.32896309247698113] - }, { - "low": 27, - "high": 45, - "annual_failure_rate": 0.24701105346266636, - "error_interval": [0.050939617608142244, 0.721871118983972] - }], - "display_type": "raw" - }, - "197": { - "ideal": "low", - "critical": true, - "description": "Count of unstable sectors (waiting to be remapped, because of unrecoverable read errors). If an unstable sector is subsequently read successfully, the sector is remapped and this value is decreased. Read errors on a sector will not remap the sector immediately (since the correct value cannot be read and so the value to remap is not known, and also it might become readable later); instead, the drive firmware remembers that the sector needs to be remapped, and will remap it the next time its written.", - "observed_thresholds": [{ - "low": 0, - "high": 0, - "annual_failure_rate": 0.025540791394761345, - "error_interval": [0.023161777231213983, 0.02809784482748174] - }, { - "low": 1, - "high": 2, - "annual_failure_rate": 0.34196613799103254, - "error_interval": [0.22723401523750225, 0.4942362818474496] - }, { - "low": 2, - "high": 6, - "annual_failure_rate": 0.6823772508117681, - "error_interval": [0.41083568090070416, 1.0656166047061635] - }, { - "low": 6, - "high": 16, - "annual_failure_rate": 0.6108100007493069, - "error_interval": [0.47336936083368364, 0.7757071095273286] - }, { - "low": 16, - "high": 40, - "annual_failure_rate": 0.9564879341127684, - "error_interval": [0.7701044196378299, 1.174355230793638] - }, { - "low": 40, - "high": 100, - "annual_failure_rate": 1.6519989942167461, - "error_interval": [1.328402276482456, 2.0305872327541317] - }, { - "low": 100, - "high": 250, - "annual_failure_rate": 2.5137741046831956, - "error_interval": [1.9772427971560862, 3.1510376077891613] - }, { - "low": 250, - "high": 650, - "annual_failure_rate": 3.3203378817413904, - "error_interval": [2.5883662702274406, 4.195047163573006] - }, { - "low": 650, - "high": 1600, - "annual_failure_rate": 3.133047210300429, - "error_interval": [1.1497731080460096, 6.819324775707182] - }], - "display_type": "raw" - }, - "198": { - "ideal": "low", - "critical": true, - "description": "The total count of uncorrectable errors when reading/writing a sector. A rise in the value of this attribute indicates defects of the disk surface and/or problems in the mechanical subsystem.", - "observed_thresholds": [{ - "low": 0, - "high": 0, - "annual_failure_rate": 0.028675322159886437, - "error_interval": [0.026159385510707116, 0.03136793218577656] - }, { - "low": 0, - "high": 2, - "annual_failure_rate": 0.8135764944275583, - "error_interval": [0.40613445471964466, 1.4557130815309443] - }, { - "low": 2, - "high": 4, - "annual_failure_rate": 1.1173469387755102, - "error_interval": [0.5773494680315332, 1.9517802404552516] - }, { - "low": 4, - "high": 6, - "annual_failure_rate": 1.3558692421991083, - "error_interval": [0.4402470522980859, 3.1641465148237544] - }, { - "low": 6, - "high": 8, - "annual_failure_rate": 0.7324414715719062, - "error_interval": [0.15104704003805655, 2.140504796291604] - }, { - "low": 8, - "high": 10, - "annual_failure_rate": 0.5777213677766163, - "error_interval": [0.43275294849366835, 0.7556737733062419] - }, { - "low": 10, - "high": 12, - "annual_failure_rate": 1.7464114832535886, - "error_interval": [0.47583835092536914, 4.471507017371231] - }, { - "low": 12, - "high": 14, - "annual_failure_rate": 2.6449275362318843, - "error_interval": [0.3203129951758959, 9.554387676519005] - }, { - "low": 14, - "high": 16, - "annual_failure_rate": 0.796943231441048, - "error_interval": [0.5519063550198366, 1.113648286331181] - }], - "display_type": "raw" - }, - "199": { - "ideal": "low", - "critical": false, - "description": "The count of errors in data transfer via the interface cable as determined by ICRC (Interface Cyclic Redundancy Check).", - "observed_thresholds": [{ - "low": 0, - "high": 1, - "annual_failure_rate": 0.04068379316116366, - "error_interval": [0.037534031558106425, 0.04402730201866553] - }, { - "low": 1, - "high": 2, - "annual_failure_rate": 0.1513481259734218, - "error_interval": [0.12037165605991791, 0.18786293065527596] - }, { - "low": 2, - "high": 4, - "annual_failure_rate": 0.16849758722418978, - "error_interval": [0.12976367397863445, 0.2151676572000481] - }, { - "low": 4, - "high": 8, - "annual_failure_rate": 0.15385127340491614, - "error_interval": [0.10887431782430312, 0.21117289306426648] - }, { - "low": 8, - "high": 16, - "annual_failure_rate": 0.14882894050104387, - "error_interval": [0.09631424312463635, 0.2197008753522735] - }, { - "low": 16, - "high": 35, - "annual_failure_rate": 0.20878219917249793, - "error_interval": [0.14086447304552446, 0.29804957135975] - }, { - "low": 35, - "high": 70, - "annual_failure_rate": 0.13742940270409038, - "error_interval": [0.06860426267470295, 0.24589916335290812] - }, { - "low": 70, - "high": 130, - "annual_failure_rate": 0.22336578581363, - "error_interval": [0.11150339549604707, 0.39966309081252904] - }, { - "low": 130, - "high": 260, - "annual_failure_rate": 0.18277416124186283, - "error_interval": [0.07890890989692058, 0.3601379610272007] - }], - "display_type": "raw" - }, - "2": { - "ideal": "high", - "critical": false, - "description": "Overall (general) throughput performance of a hard disk drive. If the value of this attribute is decreasing there is a high probability that there is a problem with the disk.", - "display_type": "normalized" - }, - "200": { - "ideal": "low", - "critical": false, - "description": "The count of errors found when writing a sector. The higher the value, the worse the disks mechanical condition is.", - "display_type": "normalized" - }, - "201": { - "ideal": "low", - "critical": true, - "description": "Count indicates the number of uncorrectable software read errors.", - "display_type": "normalized" - }, - "202": { - "ideal": "low", - "critical": false, - "description": "Count of Data Address Mark errors (or vendor-specific).", - "display_type": "normalized" - }, - "203": { - "ideal": "low", - "critical": false, - "description": "The number of errors caused by incorrect checksum during the error correction.", - "display_type": "normalized" - }, - "204": { - "ideal": "low", - "critical": false, - "description": "Count of errors corrected by the internal error correction software.", - "display_type": "" - }, - "205": { - "ideal": "low", - "critical": false, - "description": "Count of errors due to high temperature.", - "display_type": "normalized" - }, - "206": { - "ideal": "", - "critical": false, - "description": "Height of heads above the disk surface. If too low, head crash is more likely; if too high, read/write errors are more likely.", - "display_type": "normalized" - }, - "207": { - "ideal": "low", - "critical": false, - "description": "Amount of surge current used to spin up the drive.", - "display_type": "normalized" - }, - "208": { - "ideal": "", - "critical": false, - "description": "Count of buzz routines needed to spin up the drive due to insufficient power.", - "display_type": "normalized" - }, - "209": { - "ideal": "", - "critical": false, - "description": "Drives seek performance during its internal tests.", - "display_type": "normalized" - }, - "210": { - "ideal": "", - "critical": false, - "description": "Found in Maxtor 6B200M0 200GB and Maxtor 2R015H1 15GB disks.", - "display_type": "normalized" - }, - "211": { - "ideal": "", - "critical": false, - "description": "A recording of a vibration encountered during write operations.", - "display_type": "normalized" - }, - "212": { - "ideal": "", - "critical": false, - "description": "A recording of shock encountered during write operations.", - "display_type": "normalized" - }, - "22": { - "ideal": "high", - "critical": false, - "description": "Specific to He8 drives from HGST. This value measures the helium inside of the drive specific to this manufacturer. It is a pre-fail attribute that trips once the drive detects that the internal environment is out of specification.", - "display_type": "normalized" - }, - "220": { - "ideal": "low", - "critical": false, - "description": "Distance the disk has shifted relative to the spindle (usually due to shock or temperature). Unit of measure is unknown.", - "display_type": "normalized" - }, - "221": { - "ideal": "low", - "critical": false, - "description": "The count of errors resulting from externally induced shock and vibration.", - "display_type": "normalized" - }, - "222": { - "ideal": "", - "critical": false, - "description": "Time spent operating under data load (movement of magnetic head armature).", - "display_type": "normalized" - }, - "223": { - "ideal": "", - "critical": false, - "description": "Count of times head changes position.", - "display_type": "normalized" - }, - "224": { - "ideal": "low", - "critical": false, - "description": "Resistance caused by friction in mechanical parts while operating.", - "display_type": "normalized" - }, - "225": { - "ideal": "low", - "critical": false, - "description": "Total count of load cycles Some drives use 193 (0xC1) for Load Cycle Count instead. See Description for 193 for significance of this number. ", - "display_type": "normalized" - }, - "226": { - "ideal": "", - "critical": false, - "description": "Total time of loading on the magnetic heads actuator (time not spent in parking area).", - "display_type": "normalized" - }, - "227": { - "ideal": "low", - "critical": false, - "description": "Count of attempts to compensate for platter speed variations.[66]", - "display_type": "" - }, - "228": { - "ideal": "low", - "critical": false, - "description": "The number of power-off cycles which are counted whenever there is a retract event and the heads are loaded off of the media such as when the machine is powered down, put to sleep, or is idle.", - "display_type": "" - }, - "230": { - "ideal": "", - "critical": false, - "description": "Amplitude of thrashing (repetitive head moving motions between operations).", - "display_type": "normalized" - }, - "231": { - "ideal": "", - "critical": false, - "description": "Indicates the approximate SSD life left, in terms of program/erase cycles or available reserved blocks. A normalized value of 100 represents a new drive, with a threshold value at 10 indicating a need for replacement. A value of 0 may mean that the drive is operating in read-only mode to allow data recovery.", - "display_type": "normalized" - }, - "232": { - "ideal": "", - "critical": false, - "description": "Number of physical erase cycles completed on the SSD as a percentage of the maximum physical erase cycles the drive is designed to endure.", - "display_type": "normalized" - }, - "233": { - "ideal": "", - "critical": false, - "description": "Intel SSDs report a normalized value from 100, a new drive, to a minimum of 1. It decreases while the NAND erase cycles increase from 0 to the maximum-rated cycles.", - "display_type": "normalized" - }, - "234": { - "ideal": "", - "critical": false, - "description": "Decoded as: byte 0-1-2 = average erase count (big endian) and byte 3-4-5 = max erase count (big endian).", - "display_type": "normalized" - }, - "235": { - "ideal": "", - "critical": false, - "description": "Decoded as: byte 0-1-2 = good block count (big endian) and byte 3-4 = system (free) block count.", - "display_type": "normalized" - }, - "240": { - "ideal": "", - "critical": false, - "description": "Time spent during the positioning of the drive heads.[15][71] Some Fujitsu drives report the count of link resets during a data transfer.", - "display_type": "normalized" - }, - "241": { - "ideal": "", - "critical": false, - "description": "Total count of LBAs written.", - "display_type": "normalized" - }, - "242": { - "ideal": "", - "critical": false, - "description": "Total count of LBAs read.Some S.M.A.R.T. utilities will report a negative number for the raw value since in reality it has 48 bits rather than 32.", - "display_type": "normalized" - }, - "243": { - "ideal": "", - "critical": false, - "description": "The upper 5 bytes of the 12-byte total number of LBAs written to the device. The lower 7 byte value is located at attribute 0xF1.", - "display_type": "normalized" - }, - "244": { - "ideal": "", - "critical": false, - "description": "The upper 5 bytes of the 12-byte total number of LBAs read from the device. The lower 7 byte value is located at attribute 0xF2.", - "display_type": "normalized" - }, - "249": { - "ideal": "", - "critical": false, - "description": "Total NAND Writes. Raw value reports the number of writes to NAND in 1 GB increments.", - "display_type": "normalized" - }, - "250": { - "ideal": "low", - "critical": false, - "description": "Count of errors while reading from a disk.", - "display_type": "normalized" - }, - "251": { - "ideal": "", - "critical": false, - "description": "The Minimum Spares Remaining attribute indicates the number of remaining spare blocks as a percentage of the total number of spare blocks available.", - "display_type": "normalized" - }, - "252": { - "ideal": "", - "critical": false, - "description": "The Newly Added Bad Flash Block attribute indicates the total number of bad flash blocks the drive detected since it was first initialized in manufacturing.", - "display_type": "normalized" - }, - "254": { - "ideal": "low", - "critical": false, - "description": "Count of Free Fall Events detected.", - "display_type": "normalized" - }, - "3": { - "ideal": "low", - "critical": false, - "description": "Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).", - "observed_thresholds": [{ - "low": 78, - "high": 96, - "annual_failure_rate": 0.11452195377351217, - "error_interval": [0.10591837762295722, 0.12363823501915781] - }, { - "low": 96, - "high": 114, - "annual_failure_rate": 0.040274562840558074, - "error_interval": [0.03465055611002801, 0.046551312468303144] - }, { - "low": 114, - "high": 132, - "annual_failure_rate": 0.009100406705780476, - "error_interval": [0.006530608971356785, 0.012345729280075591] - }, { - "low": 132, - "high": 150, - "annual_failure_rate": 0.008561351734020232, - "error_interval": [0.004273795939256936, 0.015318623141355509] - }, { - "low": 150, - "high": 168, - "annual_failure_rate": 0.015780508262068848, - "error_interval": [0.005123888078524015, 0.03682644215646287] - }, { - "low": 168, - "high": 186, - "annual_failure_rate": 0.05262688124794024, - "error_interval": [0.0325768689524594, 0.08044577830285578] - }, { - "low": 186, - "high": 204, - "annual_failure_rate": 0.01957419424036038, - "error_interval": [0.0023705257325185624, 0.0707087198669825] - }, { - "low": 204, - "high": 222, - "annual_failure_rate": 0.026050959960031404, - "error_interval": [0.0006595532020744994, 0.1451466588889228] - }], - "display_type": "normalized" - }, - "4": { - "ideal": "", - "critical": false, - "description": "A tally of spindle start/stop cycles. The spindle turns on, and hence the count is increased, both when the hard disk is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.", - "observed_thresholds": [{ - "low": 0, - "high": 13, - "annual_failure_rate": 0.01989335424860646, - "error_interval": [0.016596548909440657, 0.023653263230617408] - }, { - "low": 13, - "high": 26, - "annual_failure_rate": 0.03776935438256488, - "error_interval": [0.03310396052098642, 0.04290806173460437] - }, { - "low": 26, - "high": 39, - "annual_failure_rate": 0.11022223828187004, - "error_interval": [0.09655110535164119, 0.12528657238811672] - }, { - "low": 39, - "high": 52, - "annual_failure_rate": 0.16289995457762474, - "error_interval": [0.13926541653588131, 0.18939614504497515] - }, { - "low": 52, - "high": 65, - "annual_failure_rate": 0.19358212432279714, - "error_interval": [0.15864522253849073, 0.23392418181765526] - }, { - "low": 65, - "high": 78, - "annual_failure_rate": 0.1157094940074447, - "error_interval": [0.07861898732346269, 0.16424039052527728] - }, { - "low": 78, - "high": 91, - "annual_failure_rate": 0.12262136155304391, - "error_interval": [0.0670382394080032, 0.20573780888032978] - }, {"low": 91, "high": 104, "annual_failure_rate": 0, "error_interval": [0, 0]}], - "display_type": "raw" - }, - "5": { - "ideal": "low", - "critical": true, - "description": "Count of reallocated sectors. The raw value represents a count of the bad sectors that have been found and remapped.Thus, the higher the attribute value, the more sectors the drive has had to reallocate. This value is primarily used as a metric of the life expectancy of the drive; a drive which has had any reallocations at all is significantly more likely to fail in the immediate months.", - "observed_thresholds": [{ - "low": 0, - "high": 0, - "annual_failure_rate": 0.025169175350572493, - "error_interval": [0.022768612038746357, 0.027753988579272894] - }, { - "low": 1, - "high": 4, - "annual_failure_rate": 0.027432608477803388, - "error_interval": [0.010067283827589948, 0.05970923963096652] - }, { - "low": 4, - "high": 16, - "annual_failure_rate": 0.07501976284584981, - "error_interval": [0.039944864177334186, 0.12828607921150972] - }, { - "low": 16, - "high": 70, - "annual_failure_rate": 0.23589260654405794, - "error_interval": [0.1643078435800227, 0.32806951196017664] - }, { - "low": 70, - "high": 260, - "annual_failure_rate": 0.36193219378600433, - "error_interval": [0.2608488901774093, 0.4892271827875412] - }, { - "low": 260, - "high": 1100, - "annual_failure_rate": 0.5676621428968173, - "error_interval": [0.4527895568499355, 0.702804359408436] - }, { - "low": 1100, - "high": 4500, - "annual_failure_rate": 1.5028253400346423, - "error_interval": [1.2681757596263297, 1.768305221795894] - }, { - "low": 4500, - "high": 17000, - "annual_failure_rate": 2.0659987547404763, - "error_interval": [1.6809790460512237, 2.512808045182302] - }, { - "low": 17000, - "high": 70000, - "annual_failure_rate": 1.7755385684503124, - "error_interval": [1.2796520259849835, 2.400012341226441] - }], - "display_type": "raw" - }, - "6": { - "ideal": "", - "critical": false, - "description": "Margin of a channel while reading data. The function of this attribute is not specified.", - "display_type": "normalized" - }, - "7": { - "ideal": "", - "critical": false, - "description": "(Vendor specific raw value.) Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may be due to numerous factors, such as damage to a servo, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number.", - "observed_thresholds": [{ - "low": 58, - "high": 76, - "annual_failure_rate": 0.2040131025936549, - "error_interval": [0.17032852883286412, 0.2424096283327138] - }, { - "low": 76, - "high": 94, - "annual_failure_rate": 0.08725919610118257, - "error_interval": [0.08077138510999876, 0.09412943212007528] - }, { - "low": 94, - "high": 112, - "annual_failure_rate": 0.01087335627722523, - "error_interval": [0.008732197944943352, 0.013380600544561905] - }, {"low": 112, "high": 130, "annual_failure_rate": 0, "error_interval": [0, 0]}, { - "low": 130, - "high": 148, - "annual_failure_rate": 0, - "error_interval": [0, 0] - }, {"low": 148, "high": 166, "annual_failure_rate": 0, "error_interval": [0, 0]}, { - "low": 166, - "high": 184, - "annual_failure_rate": 0, - "error_interval": [0, 0] - }, { - "low": 184, - "high": 202, - "annual_failure_rate": 0.05316285755900475, - "error_interval": [0.03370069132942804, 0.07977038905848267] - }], - "display_type": "normalized" - }, - "8": { - "ideal": "high", - "critical": false, - "description": "Average performance of seek operations of the magnetic heads. If this attribute is decreasing, it is a sign of problems in the mechanical subsystem.", - "display_type": "normalized" - }, - "9": { - "ideal": "", - "critical": false, - "description": "Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to 1825 days in 24/7 mode or 43800 hours. On some pre-2005 drives, this raw value may advance erratically and/or wrap around (reset to zero periodically).", - "display_type": "normalized" - } - }, "success": true + "device_protocol": "", + "device_type": "", + "label": "", + "host_id": "", + "device_status": 0 + }, + "smart_results": [] + }, + "metadata": null, + "success": true } diff --git a/webapp/frontend/src/app/modules/detail/detail.component.html b/webapp/frontend/src/app/modules/detail/detail.component.html index 7e9b15e..87597ca 100644 --- a/webapp/frontend/src/app/modules/detail/detail.component.html +++ b/webapp/frontend/src/app/modules/detail/detail.component.html @@ -139,15 +139,15 @@ - {{attribute.status}} + [ngClass]="{'bg-red': getAttributeStatusName(attribute.status) === 'failed', + 'bg-green': getAttributeStatusName(attribute.status) === 'passed', + 'bg-yellow': getAttributeStatusName(attribute.status) === 'warn'}"> + {{getAttributeStatusName(attribute.status)}} @@ -183,7 +183,7 @@ - {{attribute.name}} + {{getAttributeName(attribute)}} diff --git a/webapp/frontend/src/app/modules/detail/detail.component.ts b/webapp/frontend/src/app/modules/detail/detail.component.ts index df396b6..6f03bb5 100644 --- a/webapp/frontend/src/app/modules/detail/detail.component.ts +++ b/webapp/frontend/src/app/modules/detail/detail.component.ts @@ -107,6 +107,26 @@ export class DetailComponent implements OnInit, AfterViewInit, OnDestroy { // ----------------------------------------------------------------------------------------------------- // @ Private methods // ----------------------------------------------------------------------------------------------------- + getAttributeStatusName(attribute_status){ + if(attribute_status == 0){ + return "passed" + } else if (attribute_status == 1){ + return "warn" + } else if (attribute_status == 2){ + return "failed" + } + return + } + + getAttributeName(attribute_data){ + let attribute_metadata = this.metadata[attribute_data.attribute_id] + if(!attribute_metadata){ + return 'Unknown Attribute Name' + } else { + return attribute_metadata.display_name + } + return + } getAttributeDescription(attribute_data){ let attribute_metadata = this.metadata[attribute_data.attribute_id] if(!attribute_metadata){