pax_global_header00006660000000000000000000000064150016757220014517gustar00rootroot0000000000000052 comment=ef5c03de02cb793e6a1540bef943fe6a167de635 smartctl_exporter-0.14.0/000077500000000000000000000000001500167572200153625ustar00rootroot00000000000000smartctl_exporter-0.14.0/.circleci/000077500000000000000000000000001500167572200172155ustar00rootroot00000000000000smartctl_exporter-0.14.0/.circleci/config.yml000066400000000000000000000030431500167572200212050ustar00rootroot00000000000000--- version: 2.1 orbs: prometheus: prometheus/prometheus@0.17.1 executors: # Whenever the Go version is updated here, .promu.yml should # also be updated. golang: docker: - image: cimg/go:1.23 jobs: test: executor: golang steps: - prometheus/setup_environment - run: make - prometheus/store_artifact: file: smartctl_exporter codespell: docker: - image: circleci/python steps: - checkout - run: sudo pip install codespell - run: codespell --skip=".git,./vendor,ttar,go.mod,go.sum,*pem" -L uint,packages\',uptodate workflows: version: 2 smartctl_exporter: jobs: - test: filters: tags: only: /.*/ - prometheus/build: name: build filters: tags: only: /.*/ - codespell: filters: tags: only: /.*/ - prometheus/publish_master: context: org-context docker_hub_organization: prometheuscommunity quay_io_organization: prometheuscommunity requires: - test - build filters: branches: only: master - prometheus/publish_release: context: org-context docker_hub_organization: prometheuscommunity quay_io_organization: prometheuscommunity requires: - test - build filters: tags: only: /^v.*/ branches: ignore: /.*/ smartctl_exporter-0.14.0/.github/000077500000000000000000000000001500167572200167225ustar00rootroot00000000000000smartctl_exporter-0.14.0/.github/dependabot.yml000066400000000000000000000001561500167572200215540ustar00rootroot00000000000000version: 2 updates: - package-ecosystem: "gomod" directory: "/" schedule: interval: "monthly" smartctl_exporter-0.14.0/.github/workflows/000077500000000000000000000000001500167572200207575ustar00rootroot00000000000000smartctl_exporter-0.14.0/.github/workflows/container_description.yml000066400000000000000000000044671500167572200261020ustar00rootroot00000000000000--- name: Push README to Docker Hub on: push: paths: - "README.md" - "README-containers.md" - ".github/workflows/container_description.yml" branches: [ main, master ] permissions: contents: read jobs: PushDockerHubReadme: runs-on: ubuntu-latest name: Push README to Docker Hub if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks. steps: - name: git checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set docker hub repo name run: echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV - name: Push README to Dockerhub uses: christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8 # v1 env: DOCKER_USER: ${{ secrets.DOCKER_HUB_LOGIN }} DOCKER_PASS: ${{ secrets.DOCKER_HUB_PASSWORD }} with: destination_container_repo: ${{ env.DOCKER_REPO_NAME }} provider: dockerhub short_description: ${{ env.DOCKER_REPO_NAME }} # Empty string results in README-containers.md being pushed if it # exists. Otherwise, README.md is pushed. readme_file: '' PushQuayIoReadme: runs-on: ubuntu-latest name: Push README to quay.io if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks. steps: - name: git checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set quay.io org name run: echo "DOCKER_REPO=$(echo quay.io/${GITHUB_REPOSITORY_OWNER} | tr -d '-')" >> $GITHUB_ENV - name: Set quay.io repo name run: echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV - name: Push README to quay.io uses: christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8 # v1 env: DOCKER_APIKEY: ${{ secrets.QUAY_IO_API_TOKEN }} with: destination_container_repo: ${{ env.DOCKER_REPO_NAME }} provider: quay # Empty string results in README-containers.md being pushed if it # exists. Otherwise, README.md is pushed. readme_file: '' smartctl_exporter-0.14.0/.github/workflows/golangci-lint.yml000066400000000000000000000023441500167572200242340ustar00rootroot00000000000000--- # This action is synced from https://github.com/prometheus/prometheus name: golangci-lint on: push: paths: - "go.sum" - "go.mod" - "**.go" - "scripts/errcheck_excludes.txt" - ".github/workflows/golangci-lint.yml" - ".golangci.yml" pull_request: permissions: # added using https://github.com/step-security/secure-repo contents: read jobs: golangci: permissions: contents: read # for actions/checkout to fetch code pull-requests: read # for golangci/golangci-lint-action to fetch pull requests name: lint runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Install Go uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0 with: go-version: 1.24.x - name: Install snmp_exporter/generator dependencies run: sudo apt-get update && sudo apt-get -y install libsnmp-dev if: github.repository == 'prometheus/snmp_exporter' - name: Lint uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7.0.0 with: args: --verbose version: v2.0.2 smartctl_exporter-0.14.0/.gitignore000066400000000000000000000001251500167572200173500ustar00rootroot00000000000000/vendor /.build /.release /.tarballs debug/ .idea/ Manifest smartctl_exporter *.exe smartctl_exporter-0.14.0/.golangci.yml000066400000000000000000000010211500167572200177400ustar00rootroot00000000000000linters: enable: - misspell - revive - sloglint disable: - unused issues: exclude-rules: - path: _test.go linters: - errcheck linters-settings: errcheck: exclude-functions: # Used in HTTP handlers, any error is handled by the server itself. - (net/http.ResponseWriter).Write revive: rules: # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter - name: unused-parameter severity: warning disabled: true smartctl_exporter-0.14.0/.promu.yml000066400000000000000000000011671500167572200173320ustar00rootroot00000000000000go: # This must match .circle/config.yml. version: 1.23 repository: path: github.com/prometheus-community/smartctl_exporter build: binaries: - name: smartctl_exporter ldflags: | -X github.com/prometheus/common/version.Version={{.Version}} -X github.com/prometheus/common/version.Revision={{.Revision}} -X github.com/prometheus/common/version.Branch={{.Branch}} -X github.com/prometheus/common/version.BuildUser={{user}}@{{host}} -X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}} tarball: files: - LICENSE - NOTICE smartctl_exporter-0.14.0/.yamllint000066400000000000000000000007171500167572200172210ustar00rootroot00000000000000--- extends: default ignore: | **/node_modules rules: braces: max-spaces-inside: 1 level: error brackets: max-spaces-inside: 1 level: error commas: disable comments: disable comments-indentation: disable document-start: disable indentation: spaces: consistent indent-sequences: consistent key-duplicates: ignore: | config/testdata/section_key_dup.bad.yml line-length: disable truthy: check-keys: false smartctl_exporter-0.14.0/CHANGELOG.md000066400000000000000000000070341500167572200171770ustar00rootroot00000000000000## 0.14.0 / 2025-04-22 * [BUGFIX] `smart_status` exported if object is present #260 * [ENHANCEMENT] Added version collector metric #273 * [FEATURE] Allow to define power mode skip policy #242 * [FEATURE] Use worker pool for smartctl #204 ## 0.13.0 / 2024-12-20 * [CHANGE] `slog` used for logging instead go logger #246 * [ENHANCEMENT] Added support for `megaraid` devices and device types #205 #257 * [BUGFIX] Better support for smartmontools < 7.3 #238 * [BUGFIX] Corrected NVMe read/write bytes to NVMe metrics #211 ## 0.12.0 / 2024-03-03 * [CHANGE] Better SCSI/SAS support, and removing confused metrics #168 * [ENHANCEMENT] Impvoe the JSON collection script; now requires jq/yq #176 * [BUGFIX] Shell fixes for `collect-smartctl-json.sh` #178 * [BUGFIX] Various fixes to `collect_fake_json.sh` #159 ## 0.11.0 / 2023-08-27 * [CHANGE] Remove redundant meta labels from SCSI metrics #154 * [CHANGE] Device `family` label now have "unknown" value if not present #154 * [ENHANCEMENT] New metric for total NVMe device capacity in bytes #154 * [ENHANCEMENT] New metric for dynamically discovered devices count #129 #147 ## 0.10.0 / 2023-08-10 * [FEATURE] Add device include/exclude filters for the automatic scanning #99 * [ENHANCEMENT] Critical metrics for SCSI disks added #131 * [CHANGE] Remove duplicate smartctl_device_status metric #137 * [CHANGE] Fix reported Data bytes Read/Written on SSDs #138 * [FEATURE] Add background scanning for devices #140 * [ENHANCEMENT] Added device name to logger rc code parser #141 ## 0.9.1 / 2022-11-06 * [BUGFIX] Fix runtime error: index out of range in mineVersion #93 * [BUGFIX] Fix race condition with maps and goroutines #94 ## 0.9.0 / 2022-10-20 Breaking Changes: - Now labels with device model & serial number landed only to smartctl_device meta metric - /dev/ prefix pruned from device label for matching with node_exporter labels * [CHANGE] Removed doubled NVMe metrics #82 * [CHANGE] Reduced number of meta labels #83 * [FEATURE] Added disk form_factor meta label #84 * [CHANGE] Pruned /dev/ prefix from device label #88 * [ENHANCEMENT] remove `os.stat` in order to fit in Windows #86 * [ENHANCEMENT] Skip vendor-specific statistics that lead to duplicate metric labels #28 ## 0.8.0 / 2022-10-03 Breaking Changes: All configuration has been moved from the config file to command line flags. * [CHANGE] Refactor exporter config #68 * [BUGFIX] Fix smartctl command args to avoid wakeups #74 * [ENHANCEMENT] Add smartmontools to container image #51 ## 0.7.0 / 2022-08-05 First prometheus-community release. * [FEATURE] Add various new metrics #14 * [BUGFIX] Return the cached value if it's not time to scan again yet #18 * [BUGFIX] Fix exit code bit parsing #37 ## 0.6.0 / 2020-10-29 * Parsing smartctl return code and collect metrics if no errors * Parsing smartctl messages and collect metrics if no errors ## 0.5.0 / 2019-08-17 * smartctl_device: Device info * smartctl_device_attribute: Device attributes * smartctl_device_block_size: Device block size * smartctl_device_capacity_blocks: Device capacity in blocks * smartctl_device_capacity_bytes: Device capacity in bytes * smartctl_device_interface_speed: Device interface speed, bits per second * smartctl_device_power_cycle_count: Device power cycle count * smartctl_device_power_on_seconds: Device power on seconds * smartctl_device_rotation_rate: Device rotation rate * smartctl_device_smartctl_exit_status: Exit status of smartctl on device * smartctl_device_statistics: Device statistics * smartctl_device_temperature: Device temperature celsius * smartctl_version: smartctl version smartctl_exporter-0.14.0/CODE_OF_CONDUCT.md000066400000000000000000000002301500167572200201540ustar00rootroot00000000000000# Prometheus Community Code of Conduct Prometheus follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md). smartctl_exporter-0.14.0/Dockerfile000066400000000000000000000005161500167572200173560ustar00rootroot00000000000000ARG ARCH="amd64" ARG OS="linux" FROM alpine:3 LABEL maintainer="The Prometheus Authors " RUN apk add smartmontools ARG ARCH="amd64" ARG OS="linux" COPY .build/${OS}-${ARCH}/smartctl_exporter /bin/smartctl_exporter EXPOSE 9633 USER nobody ENTRYPOINT [ "/bin/smartctl_exporter" ] smartctl_exporter-0.14.0/EXAMPLE.md000066400000000000000000002621451500167572200170110ustar00rootroot00000000000000# Example output ``` # HELP smartctl_device Device info # TYPE smartctl_device gauge smartctl_device{ata_additional_product_id="unknown",ata_version="",device="/dev/nvme0",firmware_version="1.03",form_factor="",interface="nvme",model_family="",model_name="PLEXTOR PX-256M9PY +",protocol="NVMe",sata_version="",serial_number="P02050305257"} 1 smartctl_device{ata_additional_product_id="unknown",ata_version="ACS-2, ACS-3 T13/2161-D revision 3b",device="/dev/sdd",firmware_version="1.14",form_factor="",interface="sat",model_family="",model_name="ADATA SP920SS",protocol="ATA",sata_version="SATA 3.0",serial_number="8H0920011311"} 1 smartctl_device{ata_additional_product_id="unknown",ata_version="ACS-3 T13/2161-D revision 5",device="/dev/sda",firmware_version="0103",form_factor="3.5 inches",interface="sat",model_family="Toshiba MG07ACA... Enterprise Capacity HDD",model_name="TOSHIBA MG07ACA12TE",protocol="ATA",sata_version="SATA 3.3",serial_number="X010A0GTF96G"} 1 smartctl_device{ata_additional_product_id="unknown",ata_version="ACS-3 T13/2161-D revision 5",device="/dev/sdb",firmware_version="0103",form_factor="3.5 inches",interface="sat",model_family="Toshiba MG07ACA... Enterprise Capacity HDD",model_name="TOSHIBA MG07ACA12TE",protocol="ATA",sata_version="SATA 3.3",serial_number="X010A069F96G"} 1 smartctl_device{ata_additional_product_id="unknown",ata_version="ACS-3 T13/2161-D revision 5",device="/dev/sdc",firmware_version="0103",form_factor="3.5 inches",interface="sat",model_family="Toshiba MG07ACA... Enterprise Capacity HDD",model_name="TOSHIBA MG07ACA12TE",protocol="ATA",sata_version="SATA 3.3",serial_number="X010A0QRF96G"} 1 # HELP smartctl_device_attribute Device attributes # TYPE smartctl_device_attribute gauge smartctl_device_attribute{attribute_flags_long="",attribute_flags_short="------",attribute_id="177",attribute_name="Wear_Leveling_Count",attribute_value_type="raw",device="/dev/sdd"} 8 smartctl_device_attribute{attribute_flags_long="",attribute_flags_short="------",attribute_id="177",attribute_name="Wear_Leveling_Count",attribute_value_type="thresh",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="",attribute_flags_short="------",attribute_id="177",attribute_name="Wear_Leveling_Count",attribute_value_type="value",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="",attribute_flags_short="------",attribute_id="177",attribute_name="Wear_Leveling_Count",attribute_value_type="worst",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="",attribute_flags_short="------",attribute_id="233",attribute_name="Media_Wearout_Indicator",attribute_value_type="raw",device="/dev/sdd"} 1.3907933e+07 smartctl_device_attribute{attribute_flags_long="",attribute_flags_short="------",attribute_id="233",attribute_name="Media_Wearout_Indicator",attribute_value_type="thresh",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="",attribute_flags_short="------",attribute_id="233",attribute_name="Media_Wearout_Indicator",attribute_value_type="value",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="",attribute_flags_short="------",attribute_id="233",attribute_name="Media_Wearout_Indicator",attribute_value_type="worst",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="174",attribute_name="Unknown_Attribute",attribute_value_type="raw",device="/dev/sdd"} 29 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="174",attribute_name="Unknown_Attribute",attribute_value_type="thresh",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="174",attribute_name="Unknown_Attribute",attribute_value_type="value",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="174",attribute_name="Unknown_Attribute",attribute_value_type="worst",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="198",attribute_name="Offline_Uncorrectable",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="198",attribute_name="Offline_Uncorrectable",attribute_value_type="raw",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="198",attribute_name="Offline_Uncorrectable",attribute_value_type="raw",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="198",attribute_name="Offline_Uncorrectable",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="198",attribute_name="Offline_Uncorrectable",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="198",attribute_name="Offline_Uncorrectable",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="198",attribute_name="Offline_Uncorrectable",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="198",attribute_name="Offline_Uncorrectable",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="198",attribute_name="Offline_Uncorrectable",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="198",attribute_name="Offline_Uncorrectable",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="198",attribute_name="Offline_Uncorrectable",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="event_count,auto_keep",attribute_flags_short="----CK",attribute_id="198",attribute_name="Offline_Uncorrectable",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="performance,error_rate,event_count",attribute_flags_short="--SRC-",attribute_id="195",attribute_name="Hardware_ECC_Recovered",attribute_value_type="raw",device="/dev/sdd"} 12817 smartctl_device_attribute{attribute_flags_long="performance,error_rate,event_count",attribute_flags_short="--SRC-",attribute_id="195",attribute_name="Hardware_ECC_Recovered",attribute_value_type="thresh",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="performance,error_rate,event_count",attribute_flags_short="--SRC-",attribute_id="195",attribute_name="Hardware_ECC_Recovered",attribute_value_type="value",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="performance,error_rate,event_count",attribute_flags_short="--SRC-",attribute_id="195",attribute_name="Hardware_ECC_Recovered",attribute_value_type="worst",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="prefailure",attribute_flags_short="P-----",attribute_id="240",attribute_name="Head_Flying_Hours",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="prefailure",attribute_flags_short="P-----",attribute_id="240",attribute_name="Head_Flying_Hours",attribute_value_type="raw",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="prefailure",attribute_flags_short="P-----",attribute_id="240",attribute_name="Head_Flying_Hours",attribute_value_type="raw",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="prefailure",attribute_flags_short="P-----",attribute_id="240",attribute_name="Head_Flying_Hours",attribute_value_type="thresh",device="/dev/sda"} 1 smartctl_device_attribute{attribute_flags_long="prefailure",attribute_flags_short="P-----",attribute_id="240",attribute_name="Head_Flying_Hours",attribute_value_type="thresh",device="/dev/sdb"} 1 smartctl_device_attribute{attribute_flags_long="prefailure",attribute_flags_short="P-----",attribute_id="240",attribute_name="Head_Flying_Hours",attribute_value_type="thresh",device="/dev/sdc"} 1 smartctl_device_attribute{attribute_flags_long="prefailure",attribute_flags_short="P-----",attribute_id="240",attribute_name="Head_Flying_Hours",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure",attribute_flags_short="P-----",attribute_id="240",attribute_name="Head_Flying_Hours",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure",attribute_flags_short="P-----",attribute_id="240",attribute_name="Head_Flying_Hours",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure",attribute_flags_short="P-----",attribute_id="240",attribute_name="Head_Flying_Hours",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure",attribute_flags_short="P-----",attribute_id="240",attribute_name="Head_Flying_Hours",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure",attribute_flags_short="P-----",attribute_id="240",attribute_name="Head_Flying_Hours",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="2",attribute_name="Throughput_Performance",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="2",attribute_name="Throughput_Performance",attribute_value_type="raw",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="2",attribute_name="Throughput_Performance",attribute_value_type="raw",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="2",attribute_name="Throughput_Performance",attribute_value_type="thresh",device="/dev/sda"} 50 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="2",attribute_name="Throughput_Performance",attribute_value_type="thresh",device="/dev/sdb"} 50 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="2",attribute_name="Throughput_Performance",attribute_value_type="thresh",device="/dev/sdc"} 50 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="2",attribute_name="Throughput_Performance",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="2",attribute_name="Throughput_Performance",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="2",attribute_name="Throughput_Performance",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="2",attribute_name="Throughput_Performance",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="2",attribute_name="Throughput_Performance",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="2",attribute_name="Throughput_Performance",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="8",attribute_name="Seek_Time_Performance",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="8",attribute_name="Seek_Time_Performance",attribute_value_type="raw",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="8",attribute_name="Seek_Time_Performance",attribute_value_type="raw",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="8",attribute_name="Seek_Time_Performance",attribute_value_type="thresh",device="/dev/sda"} 50 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="8",attribute_name="Seek_Time_Performance",attribute_value_type="thresh",device="/dev/sdb"} 50 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="8",attribute_name="Seek_Time_Performance",attribute_value_type="thresh",device="/dev/sdc"} 50 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="8",attribute_name="Seek_Time_Performance",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="8",attribute_name="Seek_Time_Performance",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="8",attribute_name="Seek_Time_Performance",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="8",attribute_name="Seek_Time_Performance",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="8",attribute_name="Seek_Time_Performance",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,performance",attribute_flags_short="P-S---",attribute_id="8",attribute_name="Seek_Time_Performance",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="23",attribute_name="Helium_Condition_Lower",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="23",attribute_name="Helium_Condition_Lower",attribute_value_type="raw",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="23",attribute_name="Helium_Condition_Lower",attribute_value_type="raw",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="23",attribute_name="Helium_Condition_Lower",attribute_value_type="thresh",device="/dev/sda"} 75 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="23",attribute_name="Helium_Condition_Lower",attribute_value_type="thresh",device="/dev/sdb"} 75 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="23",attribute_name="Helium_Condition_Lower",attribute_value_type="thresh",device="/dev/sdc"} 75 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="23",attribute_name="Helium_Condition_Lower",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="23",attribute_name="Helium_Condition_Lower",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="23",attribute_name="Helium_Condition_Lower",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="23",attribute_name="Helium_Condition_Lower",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="23",attribute_name="Helium_Condition_Lower",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="23",attribute_name="Helium_Condition_Lower",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="24",attribute_name="Helium_Condition_Upper",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="24",attribute_name="Helium_Condition_Upper",attribute_value_type="raw",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="24",attribute_name="Helium_Condition_Upper",attribute_value_type="raw",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="24",attribute_name="Helium_Condition_Upper",attribute_value_type="thresh",device="/dev/sda"} 75 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="24",attribute_name="Helium_Condition_Upper",attribute_value_type="thresh",device="/dev/sdb"} 75 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="24",attribute_name="Helium_Condition_Upper",attribute_value_type="thresh",device="/dev/sdc"} 75 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="24",attribute_name="Helium_Condition_Upper",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="24",attribute_name="Helium_Condition_Upper",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="24",attribute_name="Helium_Condition_Upper",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="24",attribute_name="Helium_Condition_Upper",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="24",attribute_name="Helium_Condition_Upper",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,auto_keep",attribute_flags_short="PO---K",attribute_id="24",attribute_name="Helium_Condition_Upper",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="raw",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="raw",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="thresh",device="/dev/sda"} 50 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="thresh",device="/dev/sdb"} 50 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="thresh",device="/dev/sdc"} 50 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="7",attribute_name="Seek_Error_Rate",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="7",attribute_name="Seek_Error_Rate",attribute_value_type="raw",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="7",attribute_name="Seek_Error_Rate",attribute_value_type="raw",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="7",attribute_name="Seek_Error_Rate",attribute_value_type="thresh",device="/dev/sda"} 50 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="7",attribute_name="Seek_Error_Rate",attribute_value_type="thresh",device="/dev/sdb"} 50 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="7",attribute_name="Seek_Error_Rate",attribute_value_type="thresh",device="/dev/sdc"} 50 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="7",attribute_name="Seek_Error_Rate",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="7",attribute_name="Seek_Error_Rate",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="7",attribute_name="Seek_Error_Rate",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="7",attribute_name="Seek_Error_Rate",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="7",attribute_name="Seek_Error_Rate",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,error_rate",attribute_flags_short="PO-R--",attribute_id="7",attribute_name="Seek_Error_Rate",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count",attribute_flags_short="PO--C-",attribute_id="231",attribute_name="Unknown_SSD_Attribute",attribute_value_type="raw",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count",attribute_flags_short="PO--C-",attribute_id="231",attribute_name="Unknown_SSD_Attribute",attribute_value_type="thresh",device="/dev/sdd"} 10 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count",attribute_flags_short="PO--C-",attribute_id="231",attribute_name="Unknown_SSD_Attribute",attribute_value_type="value",device="/dev/sdd"} 97 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count",attribute_flags_short="PO--C-",attribute_id="231",attribute_name="Unknown_SSD_Attribute",attribute_value_type="worst",device="/dev/sdd"} 97 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="10",attribute_name="Spin_Retry_Count",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="10",attribute_name="Spin_Retry_Count",attribute_value_type="raw",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="10",attribute_name="Spin_Retry_Count",attribute_value_type="raw",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="10",attribute_name="Spin_Retry_Count",attribute_value_type="thresh",device="/dev/sda"} 30 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="10",attribute_name="Spin_Retry_Count",attribute_value_type="thresh",device="/dev/sdb"} 30 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="10",attribute_name="Spin_Retry_Count",attribute_value_type="thresh",device="/dev/sdc"} 30 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="10",attribute_name="Spin_Retry_Count",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="10",attribute_name="Spin_Retry_Count",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="10",attribute_name="Spin_Retry_Count",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="10",attribute_name="Spin_Retry_Count",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="10",attribute_name="Spin_Retry_Count",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="10",attribute_name="Spin_Retry_Count",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="raw",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="raw",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="raw",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="thresh",device="/dev/sda"} 10 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="thresh",device="/dev/sdb"} 10 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="thresh",device="/dev/sdc"} 10 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="thresh",device="/dev/sdd"} 3 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="value",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,event_count,auto_keep",attribute_flags_short="PO--CK",attribute_id="5",attribute_name="Reallocated_Sector_Ct",attribute_value_type="worst",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,auto_keep",attribute_flags_short="POS--K",attribute_id="3",attribute_name="Spin_Up_Time",attribute_value_type="raw",device="/dev/sda"} 3977 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,auto_keep",attribute_flags_short="POS--K",attribute_id="3",attribute_name="Spin_Up_Time",attribute_value_type="raw",device="/dev/sdb"} 4001 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,auto_keep",attribute_flags_short="POS--K",attribute_id="3",attribute_name="Spin_Up_Time",attribute_value_type="raw",device="/dev/sdc"} 4040 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,auto_keep",attribute_flags_short="POS--K",attribute_id="3",attribute_name="Spin_Up_Time",attribute_value_type="thresh",device="/dev/sda"} 1 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,auto_keep",attribute_flags_short="POS--K",attribute_id="3",attribute_name="Spin_Up_Time",attribute_value_type="thresh",device="/dev/sdb"} 1 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,auto_keep",attribute_flags_short="POS--K",attribute_id="3",attribute_name="Spin_Up_Time",attribute_value_type="thresh",device="/dev/sdc"} 1 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,auto_keep",attribute_flags_short="POS--K",attribute_id="3",attribute_name="Spin_Up_Time",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,auto_keep",attribute_flags_short="POS--K",attribute_id="3",attribute_name="Spin_Up_Time",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,auto_keep",attribute_flags_short="POS--K",attribute_id="3",attribute_name="Spin_Up_Time",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,auto_keep",attribute_flags_short="POS--K",attribute_id="3",attribute_name="Spin_Up_Time",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,auto_keep",attribute_flags_short="POS--K",attribute_id="3",attribute_name="Spin_Up_Time",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,auto_keep",attribute_flags_short="POS--K",attribute_id="3",attribute_name="Spin_Up_Time",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,error_rate",attribute_flags_short="POSR--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="raw",device="/dev/sdd"} 1352 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,error_rate",attribute_flags_short="POSR--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="thresh",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,error_rate",attribute_flags_short="POSR--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="value",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="prefailure,updated_online,performance,error_rate",attribute_flags_short="POSR--",attribute_id="1",attribute_name="Raw_Read_Error_Rate",attribute_value_type="worst",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="updated_online",attribute_flags_short="-O----",attribute_id="220",attribute_name="Disk_Shift",attribute_value_type="raw",device="/dev/sda"} 1.835008e+06 smartctl_device_attribute{attribute_flags_long="updated_online",attribute_flags_short="-O----",attribute_id="220",attribute_name="Disk_Shift",attribute_value_type="raw",device="/dev/sdb"} 1.31072e+06 smartctl_device_attribute{attribute_flags_long="updated_online",attribute_flags_short="-O----",attribute_id="220",attribute_name="Disk_Shift",attribute_value_type="raw",device="/dev/sdc"} 262145 smartctl_device_attribute{attribute_flags_long="updated_online",attribute_flags_short="-O----",attribute_id="220",attribute_name="Disk_Shift",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online",attribute_flags_short="-O----",attribute_id="220",attribute_name="Disk_Shift",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online",attribute_flags_short="-O----",attribute_id="220",attribute_name="Disk_Shift",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online",attribute_flags_short="-O----",attribute_id="220",attribute_name="Disk_Shift",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online",attribute_flags_short="-O----",attribute_id="220",attribute_name="Disk_Shift",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online",attribute_flags_short="-O----",attribute_id="220",attribute_name="Disk_Shift",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online",attribute_flags_short="-O----",attribute_id="220",attribute_name="Disk_Shift",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online",attribute_flags_short="-O----",attribute_id="220",attribute_name="Disk_Shift",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online",attribute_flags_short="-O----",attribute_id="220",attribute_name="Disk_Shift",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="raw",device="/dev/sda"} 1.8468503556e+11 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="raw",device="/dev/sdb"} 1.8468503556e+11 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="raw",device="/dev/sdc"} 1.84684773415e+11 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="raw",device="/dev/sdd"} 3.342375e+06 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="thresh",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="value",device="/dev/sdd"} 39 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="194",attribute_name="Temperature_Celsius",attribute_value_type="worst",device="/dev/sdd"} 51 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="224",attribute_name="Load_Friction",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="224",attribute_name="Load_Friction",attribute_value_type="raw",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="224",attribute_name="Load_Friction",attribute_value_type="raw",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="224",attribute_name="Load_Friction",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="224",attribute_name="Load_Friction",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="224",attribute_name="Load_Friction",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="224",attribute_name="Load_Friction",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="224",attribute_name="Load_Friction",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="224",attribute_name="Load_Friction",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="224",attribute_name="Load_Friction",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="224",attribute_name="Load_Friction",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,auto_keep",attribute_flags_short="-O---K",attribute_id="224",attribute_name="Load_Friction",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="raw",device="/dev/sda"} 11 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="raw",device="/dev/sdb"} 11 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="raw",device="/dev/sdc"} 11 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="raw",device="/dev/sdd"} 44 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="thresh",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="value",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="12",attribute_name="Power_Cycle_Count",attribute_value_type="worst",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="187",attribute_name="Reported_Uncorrect",attribute_value_type="raw",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="187",attribute_name="Reported_Uncorrect",attribute_value_type="thresh",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="187",attribute_name="Reported_Uncorrect",attribute_value_type="value",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="187",attribute_name="Reported_Uncorrect",attribute_value_type="worst",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="191",attribute_name="G-Sense_Error_Rate",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="191",attribute_name="G-Sense_Error_Rate",attribute_value_type="raw",device="/dev/sdb"} 1 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="191",attribute_name="G-Sense_Error_Rate",attribute_value_type="raw",device="/dev/sdc"} 1 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="191",attribute_name="G-Sense_Error_Rate",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="191",attribute_name="G-Sense_Error_Rate",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="191",attribute_name="G-Sense_Error_Rate",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="191",attribute_name="G-Sense_Error_Rate",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="191",attribute_name="G-Sense_Error_Rate",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="191",attribute_name="G-Sense_Error_Rate",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="191",attribute_name="G-Sense_Error_Rate",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="191",attribute_name="G-Sense_Error_Rate",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="191",attribute_name="G-Sense_Error_Rate",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="192",attribute_name="Power-Off_Retract_Count",attribute_value_type="raw",device="/dev/sda"} 6 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="192",attribute_name="Power-Off_Retract_Count",attribute_value_type="raw",device="/dev/sdb"} 6 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="192",attribute_name="Power-Off_Retract_Count",attribute_value_type="raw",device="/dev/sdc"} 6 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="192",attribute_name="Power-Off_Retract_Count",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="192",attribute_name="Power-Off_Retract_Count",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="192",attribute_name="Power-Off_Retract_Count",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="192",attribute_name="Power-Off_Retract_Count",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="192",attribute_name="Power-Off_Retract_Count",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="192",attribute_name="Power-Off_Retract_Count",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="192",attribute_name="Power-Off_Retract_Count",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="192",attribute_name="Power-Off_Retract_Count",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="192",attribute_name="Power-Off_Retract_Count",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="193",attribute_name="Load_Cycle_Count",attribute_value_type="raw",device="/dev/sda"} 125 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="193",attribute_name="Load_Cycle_Count",attribute_value_type="raw",device="/dev/sdb"} 151 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="193",attribute_name="Load_Cycle_Count",attribute_value_type="raw",device="/dev/sdc"} 158 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="193",attribute_name="Load_Cycle_Count",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="193",attribute_name="Load_Cycle_Count",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="193",attribute_name="Load_Cycle_Count",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="193",attribute_name="Load_Cycle_Count",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="193",attribute_name="Load_Cycle_Count",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="193",attribute_name="Load_Cycle_Count",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="193",attribute_name="Load_Cycle_Count",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="193",attribute_name="Load_Cycle_Count",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="193",attribute_name="Load_Cycle_Count",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="196",attribute_name="Reallocated_Event_Count",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="196",attribute_name="Reallocated_Event_Count",attribute_value_type="raw",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="196",attribute_name="Reallocated_Event_Count",attribute_value_type="raw",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="196",attribute_name="Reallocated_Event_Count",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="196",attribute_name="Reallocated_Event_Count",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="196",attribute_name="Reallocated_Event_Count",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="196",attribute_name="Reallocated_Event_Count",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="196",attribute_name="Reallocated_Event_Count",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="196",attribute_name="Reallocated_Event_Count",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="196",attribute_name="Reallocated_Event_Count",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="196",attribute_name="Reallocated_Event_Count",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="196",attribute_name="Reallocated_Event_Count",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="197",attribute_name="Current_Pending_Sector",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="197",attribute_name="Current_Pending_Sector",attribute_value_type="raw",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="197",attribute_name="Current_Pending_Sector",attribute_value_type="raw",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="197",attribute_name="Current_Pending_Sector",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="197",attribute_name="Current_Pending_Sector",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="197",attribute_name="Current_Pending_Sector",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="197",attribute_name="Current_Pending_Sector",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="197",attribute_name="Current_Pending_Sector",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="197",attribute_name="Current_Pending_Sector",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="197",attribute_name="Current_Pending_Sector",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="197",attribute_name="Current_Pending_Sector",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="197",attribute_name="Current_Pending_Sector",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="199",attribute_name="UDMA_CRC_Error_Count",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="199",attribute_name="UDMA_CRC_Error_Count",attribute_value_type="raw",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="199",attribute_name="UDMA_CRC_Error_Count",attribute_value_type="raw",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="199",attribute_name="UDMA_CRC_Error_Count",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="199",attribute_name="UDMA_CRC_Error_Count",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="199",attribute_name="UDMA_CRC_Error_Count",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="199",attribute_name="UDMA_CRC_Error_Count",attribute_value_type="value",device="/dev/sda"} 200 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="199",attribute_name="UDMA_CRC_Error_Count",attribute_value_type="value",device="/dev/sdb"} 200 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="199",attribute_name="UDMA_CRC_Error_Count",attribute_value_type="value",device="/dev/sdc"} 200 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="199",attribute_name="UDMA_CRC_Error_Count",attribute_value_type="worst",device="/dev/sda"} 200 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="199",attribute_name="UDMA_CRC_Error_Count",attribute_value_type="worst",device="/dev/sdb"} 200 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="199",attribute_name="UDMA_CRC_Error_Count",attribute_value_type="worst",device="/dev/sdc"} 200 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="222",attribute_name="Loaded_Hours",attribute_value_type="raw",device="/dev/sda"} 13299 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="222",attribute_name="Loaded_Hours",attribute_value_type="raw",device="/dev/sdb"} 13348 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="222",attribute_name="Loaded_Hours",attribute_value_type="raw",device="/dev/sdc"} 13356 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="222",attribute_name="Loaded_Hours",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="222",attribute_name="Loaded_Hours",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="222",attribute_name="Loaded_Hours",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="222",attribute_name="Loaded_Hours",attribute_value_type="value",device="/dev/sda"} 67 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="222",attribute_name="Loaded_Hours",attribute_value_type="value",device="/dev/sdb"} 67 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="222",attribute_name="Loaded_Hours",attribute_value_type="value",device="/dev/sdc"} 67 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="222",attribute_name="Loaded_Hours",attribute_value_type="worst",device="/dev/sda"} 67 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="222",attribute_name="Loaded_Hours",attribute_value_type="worst",device="/dev/sdb"} 67 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="222",attribute_name="Loaded_Hours",attribute_value_type="worst",device="/dev/sdc"} 67 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="223",attribute_name="Load_Retry_Count",attribute_value_type="raw",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="223",attribute_name="Load_Retry_Count",attribute_value_type="raw",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="223",attribute_name="Load_Retry_Count",attribute_value_type="raw",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="223",attribute_name="Load_Retry_Count",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="223",attribute_name="Load_Retry_Count",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="223",attribute_name="Load_Retry_Count",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="223",attribute_name="Load_Retry_Count",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="223",attribute_name="Load_Retry_Count",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="223",attribute_name="Load_Retry_Count",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="223",attribute_name="Load_Retry_Count",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="223",attribute_name="Load_Retry_Count",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="223",attribute_name="Load_Retry_Count",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="234",attribute_name="Unknown_Attribute",attribute_value_type="raw",device="/dev/sdd"} 3.034552e+06 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="234",attribute_name="Unknown_Attribute",attribute_value_type="thresh",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="234",attribute_name="Unknown_Attribute",attribute_value_type="value",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="234",attribute_name="Unknown_Attribute",attribute_value_type="worst",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="241",attribute_name="Total_LBAs_Written",attribute_value_type="raw",device="/dev/sdd"} 5.101427e+06 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="241",attribute_name="Total_LBAs_Written",attribute_value_type="thresh",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="241",attribute_name="Total_LBAs_Written",attribute_value_type="value",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="241",attribute_name="Total_LBAs_Written",attribute_value_type="worst",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="242",attribute_name="Total_LBAs_Read",attribute_value_type="raw",device="/dev/sdd"} 4.84436e+06 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="242",attribute_name="Total_LBAs_Read",attribute_value_type="thresh",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="242",attribute_name="Total_LBAs_Read",attribute_value_type="value",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="242",attribute_name="Total_LBAs_Read",attribute_value_type="worst",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="4",attribute_name="Start_Stop_Count",attribute_value_type="raw",device="/dev/sda"} 11 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="4",attribute_name="Start_Stop_Count",attribute_value_type="raw",device="/dev/sdb"} 11 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="4",attribute_name="Start_Stop_Count",attribute_value_type="raw",device="/dev/sdc"} 11 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="4",attribute_name="Start_Stop_Count",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="4",attribute_name="Start_Stop_Count",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="4",attribute_name="Start_Stop_Count",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="4",attribute_name="Start_Stop_Count",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="4",attribute_name="Start_Stop_Count",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="4",attribute_name="Start_Stop_Count",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="4",attribute_name="Start_Stop_Count",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="4",attribute_name="Start_Stop_Count",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="4",attribute_name="Start_Stop_Count",attribute_value_type="worst",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="raw",device="/dev/sda"} 13359 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="raw",device="/dev/sdb"} 13407 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="raw",device="/dev/sdc"} 13432 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="raw",device="/dev/sdd"} 37412 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="thresh",device="/dev/sdd"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="value",device="/dev/sda"} 67 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="value",device="/dev/sdb"} 67 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="value",device="/dev/sdc"} 67 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="value",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="worst",device="/dev/sda"} 67 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="worst",device="/dev/sdb"} 67 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="worst",device="/dev/sdc"} 67 smartctl_device_attribute{attribute_flags_long="updated_online,event_count,auto_keep",attribute_flags_short="-O--CK",attribute_id="9",attribute_name="Power_On_Hours",attribute_value_type="worst",device="/dev/sdd"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,performance,auto_keep",attribute_flags_short="-OS--K",attribute_id="226",attribute_name="Load-in_Time",attribute_value_type="raw",device="/dev/sda"} 536 smartctl_device_attribute{attribute_flags_long="updated_online,performance,auto_keep",attribute_flags_short="-OS--K",attribute_id="226",attribute_name="Load-in_Time",attribute_value_type="raw",device="/dev/sdb"} 532 smartctl_device_attribute{attribute_flags_long="updated_online,performance,auto_keep",attribute_flags_short="-OS--K",attribute_id="226",attribute_name="Load-in_Time",attribute_value_type="raw",device="/dev/sdc"} 533 smartctl_device_attribute{attribute_flags_long="updated_online,performance,auto_keep",attribute_flags_short="-OS--K",attribute_id="226",attribute_name="Load-in_Time",attribute_value_type="thresh",device="/dev/sda"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,performance,auto_keep",attribute_flags_short="-OS--K",attribute_id="226",attribute_name="Load-in_Time",attribute_value_type="thresh",device="/dev/sdb"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,performance,auto_keep",attribute_flags_short="-OS--K",attribute_id="226",attribute_name="Load-in_Time",attribute_value_type="thresh",device="/dev/sdc"} 0 smartctl_device_attribute{attribute_flags_long="updated_online,performance,auto_keep",attribute_flags_short="-OS--K",attribute_id="226",attribute_name="Load-in_Time",attribute_value_type="value",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,performance,auto_keep",attribute_flags_short="-OS--K",attribute_id="226",attribute_name="Load-in_Time",attribute_value_type="value",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,performance,auto_keep",attribute_flags_short="-OS--K",attribute_id="226",attribute_name="Load-in_Time",attribute_value_type="value",device="/dev/sdc"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,performance,auto_keep",attribute_flags_short="-OS--K",attribute_id="226",attribute_name="Load-in_Time",attribute_value_type="worst",device="/dev/sda"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,performance,auto_keep",attribute_flags_short="-OS--K",attribute_id="226",attribute_name="Load-in_Time",attribute_value_type="worst",device="/dev/sdb"} 100 smartctl_device_attribute{attribute_flags_long="updated_online,performance,auto_keep",attribute_flags_short="-OS--K",attribute_id="226",attribute_name="Load-in_Time",attribute_value_type="worst",device="/dev/sdc"} 100 # HELP smartctl_device_available_spare Normalized percentage (0 to 100%) of the remaining spare capacity available # TYPE smartctl_device_available_spare counter smartctl_device_available_spare{device="/dev/nvme0"} 100 smartctl_device_available_spare{device="/dev/sda"} 0 smartctl_device_available_spare{device="/dev/sdb"} 0 smartctl_device_available_spare{device="/dev/sdc"} 0 smartctl_device_available_spare{device="/dev/sdd"} 0 # HELP smartctl_device_available_spare_threshold When the Available Spare falls below the threshold indicated in this field, an asynchronous event completion may occur. The value is indicated as a normalized percentage (0 to 100%) # TYPE smartctl_device_available_spare_threshold counter smartctl_device_available_spare_threshold{device="/dev/nvme0"} 0 smartctl_device_available_spare_threshold{device="/dev/sda"} 0 smartctl_device_available_spare_threshold{device="/dev/sdb"} 0 smartctl_device_available_spare_threshold{device="/dev/sdc"} 0 smartctl_device_available_spare_threshold{device="/dev/sdd"} 0 # HELP smartctl_device_block_size Device block size # TYPE smartctl_device_block_size gauge smartctl_device_block_size{blocks_type="logical",device="/dev/nvme0"} 512 smartctl_device_block_size{blocks_type="logical",device="/dev/sda"} 512 smartctl_device_block_size{blocks_type="logical",device="/dev/sdb"} 512 smartctl_device_block_size{blocks_type="logical",device="/dev/sdc"} 512 smartctl_device_block_size{blocks_type="logical",device="/dev/sdd"} 512 smartctl_device_block_size{blocks_type="physical",device="/dev/nvme0"} 0 smartctl_device_block_size{blocks_type="physical",device="/dev/sda"} 4096 smartctl_device_block_size{blocks_type="physical",device="/dev/sdb"} 4096 smartctl_device_block_size{blocks_type="physical",device="/dev/sdc"} 4096 smartctl_device_block_size{blocks_type="physical",device="/dev/sdd"} 512 # HELP smartctl_device_bytes_read # TYPE smartctl_device_bytes_read counter smartctl_device_bytes_read{device="/dev/nvme0"} 5.1499918426112e+13 smartctl_device_bytes_read{device="/dev/sda"} 0 smartctl_device_bytes_read{device="/dev/sdb"} 0 smartctl_device_bytes_read{device="/dev/sdc"} 0 smartctl_device_bytes_read{device="/dev/sdd"} 0 # HELP smartctl_device_bytes_written # TYPE smartctl_device_bytes_written counter smartctl_device_bytes_written{device="/dev/nvme0"} 1.9632806690816e+13 smartctl_device_bytes_written{device="/dev/sda"} 0 smartctl_device_bytes_written{device="/dev/sdb"} 0 smartctl_device_bytes_written{device="/dev/sdc"} 0 smartctl_device_bytes_written{device="/dev/sdd"} 0 # HELP smartctl_device_capacity_blocks Device capacity in blocks # TYPE smartctl_device_capacity_blocks gauge smartctl_device_capacity_blocks{device="/dev/nvme0"} 5.00118192e+08 smartctl_device_capacity_blocks{device="/dev/sda"} 2.3437770752e+10 smartctl_device_capacity_blocks{device="/dev/sdb"} 2.3437770752e+10 smartctl_device_capacity_blocks{device="/dev/sdc"} 2.3437770752e+10 smartctl_device_capacity_blocks{device="/dev/sdd"} 2.50069679e+08 # HELP smartctl_device_capacity_bytes Device capacity in bytes # TYPE smartctl_device_capacity_bytes gauge smartctl_device_capacity_bytes{device="/dev/nvme0"} 2.56060514304e+11 smartctl_device_capacity_bytes{device="/dev/sda"} 1.2000138625024e+13 smartctl_device_capacity_bytes{device="/dev/sdb"} 1.2000138625024e+13 smartctl_device_capacity_bytes{device="/dev/sdc"} 1.2000138625024e+13 smartctl_device_capacity_bytes{device="/dev/sdd"} 1.28035675648e+11 # HELP smartctl_device_critical_warning This field indicates critical warnings for the state of the controller # TYPE smartctl_device_critical_warning counter smartctl_device_critical_warning{device="/dev/nvme0"} 4 smartctl_device_critical_warning{device="/dev/sda"} 0 smartctl_device_critical_warning{device="/dev/sdb"} 0 smartctl_device_critical_warning{device="/dev/sdc"} 0 smartctl_device_critical_warning{device="/dev/sdd"} 0 # HELP smartctl_device_interface_speed Device interface speed, bits per second # TYPE smartctl_device_interface_speed gauge smartctl_device_interface_speed{device="/dev/nvme0",speed_type="current"} 0 smartctl_device_interface_speed{device="/dev/nvme0",speed_type="max"} 0 smartctl_device_interface_speed{device="/dev/sda",speed_type="current"} 6e+09 smartctl_device_interface_speed{device="/dev/sda",speed_type="max"} 6e+09 smartctl_device_interface_speed{device="/dev/sdb",speed_type="current"} 6e+09 smartctl_device_interface_speed{device="/dev/sdb",speed_type="max"} 6e+09 smartctl_device_interface_speed{device="/dev/sdc",speed_type="current"} 3e+09 smartctl_device_interface_speed{device="/dev/sdc",speed_type="max"} 6e+09 smartctl_device_interface_speed{device="/dev/sdd",speed_type="current"} 3e+09 smartctl_device_interface_speed{device="/dev/sdd",speed_type="max"} 6e+09 # HELP smartctl_device_media_errors 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 # TYPE smartctl_device_media_errors counter smartctl_device_media_errors{device="/dev/nvme0"} 0 smartctl_device_media_errors{device="/dev/sda"} 0 smartctl_device_media_errors{device="/dev/sdb"} 0 smartctl_device_media_errors{device="/dev/sdc"} 0 smartctl_device_media_errors{device="/dev/sdd"} 0 # HELP smartctl_device_num_err_log_entries Contains the number of Error Information log entries over the life of the controller # TYPE smartctl_device_num_err_log_entries counter smartctl_device_num_err_log_entries{device="/dev/nvme0"} 0 smartctl_device_num_err_log_entries{device="/dev/sda"} 0 smartctl_device_num_err_log_entries{device="/dev/sdb"} 0 smartctl_device_num_err_log_entries{device="/dev/sdc"} 0 smartctl_device_num_err_log_entries{device="/dev/sdd"} 0 # HELP smartctl_device_percentage_used Device write percentage used # TYPE smartctl_device_percentage_used counter smartctl_device_percentage_used{device="/dev/nvme0"} 161 smartctl_device_percentage_used{device="/dev/sda"} 0 smartctl_device_percentage_used{device="/dev/sdb"} 0 smartctl_device_percentage_used{device="/dev/sdc"} 0 smartctl_device_percentage_used{device="/dev/sdd"} 0 # HELP smartctl_device_power_cycle_count Device power cycle count # TYPE smartctl_device_power_cycle_count counter smartctl_device_power_cycle_count{device="/dev/nvme0"} 11 smartctl_device_power_cycle_count{device="/dev/sda"} 11 smartctl_device_power_cycle_count{device="/dev/sdb"} 11 smartctl_device_power_cycle_count{device="/dev/sdc"} 11 smartctl_device_power_cycle_count{device="/dev/sdd"} 44 # HELP smartctl_device_power_on_seconds Device power on seconds # TYPE smartctl_device_power_on_seconds counter smartctl_device_power_on_seconds{device="/dev/nvme0"} 5.13324e+07 smartctl_device_power_on_seconds{device="/dev/sda"} 4.80924e+07 smartctl_device_power_on_seconds{device="/dev/sdb"} 4.82652e+07 smartctl_device_power_on_seconds{device="/dev/sdc"} 4.83552e+07 smartctl_device_power_on_seconds{device="/dev/sdd"} 1.346832e+08 # HELP smartctl_device_rotation_rate Device rotation rate # TYPE smartctl_device_rotation_rate gauge smartctl_device_rotation_rate{device="/dev/sda"} 7200 smartctl_device_rotation_rate{device="/dev/sdb"} 7200 smartctl_device_rotation_rate{device="/dev/sdc"} 7200 # HELP smartctl_device_smart_status General smart status # TYPE smartctl_device_smart_status gauge smartctl_device_smart_status{device="/dev/nvme0"} 0 smartctl_device_smart_status{device="/dev/sda"} 1 smartctl_device_smart_status{device="/dev/sdb"} 1 smartctl_device_smart_status{device="/dev/sdc"} 1 smartctl_device_smart_status{device="/dev/sdd"} 1 # HELP smartctl_device_smartctl_exit_status Exit status of smartctl on device # TYPE smartctl_device_smartctl_exit_status gauge smartctl_device_smartctl_exit_status{device="/dev/nvme0"} 8 smartctl_device_smartctl_exit_status{device="/dev/sda"} 0 smartctl_device_smartctl_exit_status{device="/dev/sdb"} 0 smartctl_device_smartctl_exit_status{device="/dev/sdc"} 0 smartctl_device_smartctl_exit_status{device="/dev/sdd"} 0 # HELP smartctl_device_status Device status # TYPE smartctl_device_status gauge smartctl_device_status{device="/dev/nvme0"} 0 smartctl_device_status{device="/dev/sda"} 1 smartctl_device_status{device="/dev/sdb"} 1 smartctl_device_status{device="/dev/sdc"} 1 smartctl_device_status{device="/dev/sdd"} 1 # HELP smartctl_device_temperature Device temperature celsius # TYPE smartctl_device_temperature gauge smartctl_device_temperature{device="/dev/nvme0",temperature_type="current"} 37 smartctl_device_temperature{device="/dev/sda",temperature_type="current"} 40 smartctl_device_temperature{device="/dev/sdb",temperature_type="current"} 40 smartctl_device_temperature{device="/dev/sdc",temperature_type="current"} 39 smartctl_device_temperature{device="/dev/sdd",temperature_type="current"} 39 # HELP smartctl_version smartctl version # TYPE smartctl_version gauge smartctl_version{build_info="(local build)",json_format_version="1.0",smartctl_version="7.3",svn_revision="5338"} 1 ``` smartctl_exporter-0.14.0/LICENSE000066400000000000000000000261361500167572200163770ustar00rootroot00000000000000 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. smartctl_exporter-0.14.0/MAINTAINERS.md000066400000000000000000000002111500167572200174500ustar00rootroot00000000000000* Ben Kochie @SuperQ * Conrad Hoffmann @bitfehler * David Randall @NiceGuyIT smartctl_exporter-0.14.0/Makefile000066400000000000000000000014461500167572200170270ustar00rootroot00000000000000# Copyright 2022 The Prometheus Authors # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Needs to be defined before including Makefile.common to auto-generate targets DOCKER_ARCHS ?= amd64 DOCKER_REPO ?= prometheuscommunity include Makefile.common STATICCHECK_IGNORE = DOCKER_IMAGE_NAME ?= smartctl-exporter smartctl_exporter-0.14.0/Makefile.common000066400000000000000000000221621500167572200203140ustar00rootroot00000000000000# Copyright 2018 The Prometheus Authors # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # A common Makefile that includes rules to be reused in different prometheus projects. # !!! Open PRs only against the prometheus/prometheus/Makefile.common repository! # Example usage : # Create the main Makefile in the root project directory. # include Makefile.common # customTarget: # @echo ">> Running customTarget" # # Ensure GOBIN is not set during build so that promu is installed to the correct path unexport GOBIN GO ?= go GOFMT ?= $(GO)fmt FIRST_GOPATH := $(firstword $(subst :, ,$(shell $(GO) env GOPATH))) GOOPTS ?= GOHOSTOS ?= $(shell $(GO) env GOHOSTOS) GOHOSTARCH ?= $(shell $(GO) env GOHOSTARCH) GO_VERSION ?= $(shell $(GO) version) GO_VERSION_NUMBER ?= $(word 3, $(GO_VERSION)) PRE_GO_111 ?= $(shell echo $(GO_VERSION_NUMBER) | grep -E 'go1\.(10|[0-9])\.') PROMU := $(FIRST_GOPATH)/bin/promu pkgs = ./... ifeq (arm, $(GOHOSTARCH)) GOHOSTARM ?= $(shell GOARM= $(GO) env GOARM) GO_BUILD_PLATFORM ?= $(GOHOSTOS)-$(GOHOSTARCH)v$(GOHOSTARM) else GO_BUILD_PLATFORM ?= $(GOHOSTOS)-$(GOHOSTARCH) endif GOTEST := $(GO) test GOTEST_DIR := ifneq ($(CIRCLE_JOB),) ifneq ($(shell command -v gotestsum 2> /dev/null),) GOTEST_DIR := test-results GOTEST := gotestsum --junitfile $(GOTEST_DIR)/unit-tests.xml -- endif endif PROMU_VERSION ?= 0.17.0 PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_VERSION)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM).tar.gz SKIP_GOLANGCI_LINT := GOLANGCI_LINT := GOLANGCI_LINT_OPTS ?= GOLANGCI_LINT_VERSION ?= v2.0.2 # golangci-lint only supports linux, darwin and windows platforms on i386/amd64/arm64. # windows isn't included here because of the path separator being different. ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin)) ifeq ($(GOHOSTARCH),$(filter $(GOHOSTARCH),amd64 i386 arm64)) # If we're in CI and there is an Actions file, that means the linter # is being run in Actions, so we don't need to run it here. ifneq (,$(SKIP_GOLANGCI_LINT)) GOLANGCI_LINT := else ifeq (,$(CIRCLE_JOB)) GOLANGCI_LINT := $(FIRST_GOPATH)/bin/golangci-lint else ifeq (,$(wildcard .github/workflows/golangci-lint.yml)) GOLANGCI_LINT := $(FIRST_GOPATH)/bin/golangci-lint endif endif endif PREFIX ?= $(shell pwd) BIN_DIR ?= $(shell pwd) DOCKER_IMAGE_TAG ?= $(subst /,-,$(shell git rev-parse --abbrev-ref HEAD)) DOCKERFILE_PATH ?= ./Dockerfile DOCKERBUILD_CONTEXT ?= ./ DOCKER_REPO ?= prom DOCKER_ARCHS ?= amd64 BUILD_DOCKER_ARCHS = $(addprefix common-docker-,$(DOCKER_ARCHS)) PUBLISH_DOCKER_ARCHS = $(addprefix common-docker-publish-,$(DOCKER_ARCHS)) TAG_DOCKER_ARCHS = $(addprefix common-docker-tag-latest-,$(DOCKER_ARCHS)) SANITIZED_DOCKER_IMAGE_TAG := $(subst +,-,$(DOCKER_IMAGE_TAG)) ifeq ($(GOHOSTARCH),amd64) ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux freebsd darwin windows)) # Only supported on amd64 test-flags := -race endif endif # This rule is used to forward a target like "build" to "common-build". This # allows a new "build" target to be defined in a Makefile which includes this # one and override "common-build" without override warnings. %: common-% ; .PHONY: common-all common-all: precheck style check_license lint yamllint unused build test .PHONY: common-style common-style: @echo ">> checking code style" @fmtRes=$$($(GOFMT) -d $$(find . -path ./vendor -prune -o -name '*.go' -print)); \ if [ -n "$${fmtRes}" ]; then \ echo "gofmt checking failed!"; echo "$${fmtRes}"; echo; \ echo "Please ensure you are using $$($(GO) version) for formatting code."; \ exit 1; \ fi .PHONY: common-check_license common-check_license: @echo ">> checking license header" @licRes=$$(for file in $$(find . -type f -iname '*.go' ! -path './vendor/*') ; do \ awk 'NR<=3' $$file | grep -Eq "(Copyright|generated|GENERATED)" || echo $$file; \ done); \ if [ -n "$${licRes}" ]; then \ echo "license header checking failed:"; echo "$${licRes}"; \ exit 1; \ fi .PHONY: common-deps common-deps: @echo ">> getting dependencies" $(GO) mod download .PHONY: update-go-deps update-go-deps: @echo ">> updating Go dependencies" @for m in $$($(GO) list -mod=readonly -m -f '{{ if and (not .Indirect) (not .Main)}}{{.Path}}{{end}}' all); do \ $(GO) get -d $$m; \ done $(GO) mod tidy .PHONY: common-test-short common-test-short: $(GOTEST_DIR) @echo ">> running short tests" $(GOTEST) -short $(GOOPTS) $(pkgs) .PHONY: common-test common-test: $(GOTEST_DIR) @echo ">> running all tests" $(GOTEST) $(test-flags) $(GOOPTS) $(pkgs) $(GOTEST_DIR): @mkdir -p $@ .PHONY: common-format common-format: @echo ">> formatting code" $(GO) fmt $(pkgs) .PHONY: common-vet common-vet: @echo ">> vetting code" $(GO) vet $(GOOPTS) $(pkgs) .PHONY: common-lint common-lint: $(GOLANGCI_LINT) ifdef GOLANGCI_LINT @echo ">> running golangci-lint" $(GOLANGCI_LINT) run $(GOLANGCI_LINT_OPTS) $(pkgs) endif .PHONY: common-lint-fix common-lint-fix: $(GOLANGCI_LINT) ifdef GOLANGCI_LINT @echo ">> running golangci-lint fix" $(GOLANGCI_LINT) run --fix $(GOLANGCI_LINT_OPTS) $(pkgs) endif .PHONY: common-yamllint common-yamllint: @echo ">> running yamllint on all YAML files in the repository" ifeq (, $(shell command -v yamllint 2> /dev/null)) @echo "yamllint not installed so skipping" else yamllint . endif # For backward-compatibility. .PHONY: common-staticcheck common-staticcheck: lint .PHONY: common-unused common-unused: @echo ">> running check for unused/missing packages in go.mod" $(GO) mod tidy @git diff --exit-code -- go.sum go.mod .PHONY: common-build common-build: promu @echo ">> building binaries" $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES) .PHONY: common-tarball common-tarball: promu @echo ">> building release tarball" $(PROMU) tarball --prefix $(PREFIX) $(BIN_DIR) .PHONY: common-docker-repo-name common-docker-repo-name: @echo "$(DOCKER_REPO)/$(DOCKER_IMAGE_NAME)" .PHONY: common-docker $(BUILD_DOCKER_ARCHS) common-docker: $(BUILD_DOCKER_ARCHS) $(BUILD_DOCKER_ARCHS): common-docker-%: docker build -t "$(DOCKER_REPO)/$(DOCKER_IMAGE_NAME)-linux-$*:$(SANITIZED_DOCKER_IMAGE_TAG)" \ -f $(DOCKERFILE_PATH) \ --build-arg ARCH="$*" \ --build-arg OS="linux" \ $(DOCKERBUILD_CONTEXT) .PHONY: common-docker-publish $(PUBLISH_DOCKER_ARCHS) common-docker-publish: $(PUBLISH_DOCKER_ARCHS) $(PUBLISH_DOCKER_ARCHS): common-docker-publish-%: docker push "$(DOCKER_REPO)/$(DOCKER_IMAGE_NAME)-linux-$*:$(SANITIZED_DOCKER_IMAGE_TAG)" DOCKER_MAJOR_VERSION_TAG = $(firstword $(subst ., ,$(shell cat VERSION))) .PHONY: common-docker-tag-latest $(TAG_DOCKER_ARCHS) common-docker-tag-latest: $(TAG_DOCKER_ARCHS) $(TAG_DOCKER_ARCHS): common-docker-tag-latest-%: docker tag "$(DOCKER_REPO)/$(DOCKER_IMAGE_NAME)-linux-$*:$(SANITIZED_DOCKER_IMAGE_TAG)" "$(DOCKER_REPO)/$(DOCKER_IMAGE_NAME)-linux-$*:latest" docker tag "$(DOCKER_REPO)/$(DOCKER_IMAGE_NAME)-linux-$*:$(SANITIZED_DOCKER_IMAGE_TAG)" "$(DOCKER_REPO)/$(DOCKER_IMAGE_NAME)-linux-$*:v$(DOCKER_MAJOR_VERSION_TAG)" .PHONY: common-docker-manifest common-docker-manifest: DOCKER_CLI_EXPERIMENTAL=enabled docker manifest create -a "$(DOCKER_REPO)/$(DOCKER_IMAGE_NAME):$(SANITIZED_DOCKER_IMAGE_TAG)" $(foreach ARCH,$(DOCKER_ARCHS),$(DOCKER_REPO)/$(DOCKER_IMAGE_NAME)-linux-$(ARCH):$(SANITIZED_DOCKER_IMAGE_TAG)) DOCKER_CLI_EXPERIMENTAL=enabled docker manifest push "$(DOCKER_REPO)/$(DOCKER_IMAGE_NAME):$(SANITIZED_DOCKER_IMAGE_TAG)" .PHONY: promu promu: $(PROMU) $(PROMU): $(eval PROMU_TMP := $(shell mktemp -d)) curl -s -L $(PROMU_URL) | tar -xvzf - -C $(PROMU_TMP) mkdir -p $(FIRST_GOPATH)/bin cp $(PROMU_TMP)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/promu $(FIRST_GOPATH)/bin/promu rm -r $(PROMU_TMP) .PHONY: proto proto: @echo ">> generating code from proto files" @./scripts/genproto.sh ifdef GOLANGCI_LINT $(GOLANGCI_LINT): mkdir -p $(FIRST_GOPATH)/bin curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/$(GOLANGCI_LINT_VERSION)/install.sh \ | sed -e '/install -d/d' \ | sh -s -- -b $(FIRST_GOPATH)/bin $(GOLANGCI_LINT_VERSION) endif .PHONY: precheck precheck:: define PRECHECK_COMMAND_template = precheck:: $(1)_precheck PRECHECK_COMMAND_$(1) ?= $(1) $$(strip $$(PRECHECK_OPTIONS_$(1))) .PHONY: $(1)_precheck $(1)_precheck: @if ! $$(PRECHECK_COMMAND_$(1)) 1>/dev/null 2>&1; then \ echo "Execution of '$$(PRECHECK_COMMAND_$(1))' command failed. Is $(1) installed?"; \ exit 1; \ fi endef govulncheck: install-govulncheck govulncheck ./... install-govulncheck: command -v govulncheck > /dev/null || go install golang.org/x/vuln/cmd/govulncheck@latest smartctl_exporter-0.14.0/README.md000066400000000000000000000237501500167572200166500ustar00rootroot00000000000000[![CircleCI](https://circleci.com/gh/prometheus-community/smartctl_exporter.svg?style=svg)](https://circleci.com/gh/prometheus-community/smartctl_exporter) [![Container Repository on Quay](https://quay.io/repository/prometheuscommunity/smartctl-exporter/status "Container Repository on Quay")](https://quay.io/repository/prometheuscommunity/smartctl-exporter) # smartctl_exporter Export smartctl statistics to prometheus Example output you can show in [EXAMPLE.md](EXAMPLE.md) ## Need more? **If you need additional metrics - contact me :)** **Create a feature request, describe the metric that you would like to have and attach exported from smartctl json file** # Requirements `smartmontools` >= 7.0, because export to json [released in 7.0](https://www.smartmontools.org/browser/tags/RELEASE_7_0/smartmontools/NEWS#L11) # Configuration ## Command line options The exporter will scan the system for available devices if no `--smartctl.device` flags are used. ``` usage: smartctl_exporter [] Flags: -h, --help Show context-sensitive help (also try --help-long and --help-man). --smartctl.path="/usr/sbin/smartctl" The path to the smartctl binary --smartctl.interval=60s The interval between smartctl polls --smartctl.rescan=10m The interval between rescanning for new/disappeared devices. If the interval is smaller than 1s no rescanning takes place. If any devices are configured with smartctl.device also no rescanning takes place. --smartctl.device=SMARTCTL.DEVICE ... The device to monitor (repeatable) --smartctl.device-exclude="" Regexp of devices to exclude from automatic scanning. (mutually exclusive to device-include) --smartctl.device-include="" Regexp of devices to include in automatic scanning. (mutually exclusive to device-exclude) --web.telemetry-path="/metrics" Path under which to expose metrics --web.systemd-socket Use systemd socket activation listeners instead of port listeners (Linux only). --web.listen-address=:9633 ... Addresses on which to expose metrics and web interface. Repeatable for multiple addresses. --web.config.file="" [EXPERIMENTAL] Path to configuration file that can enable TLS or authentication. --log.level=info Only log messages with the given severity or above. One of: [debug, info, warn, error] --log.format=logfmt Output format of log messages. One of: [logfmt, json] --version Show application version. ``` ## TLS and basic authentication This exporter supports TLS and basic authentication. To use TLS and/or basic authentication, you need to pass a configuration file using the `--web.config.file` parameter. The format of the file is described [in the exporter-toolkit repository](https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md). ## Example of running in Docker Minimal functional `docker-compose.yml`: ```yaml version: "3" services: smartctl-exporter: image: prometheuscommunity/smartctl-exporter privileged: true user: root ports: - "9633:9633" ``` # Troubleshooting ## Troubleshooting data inconsistencies `smartmon_exporter` uses the JSON output from `smartctl` to provide the data to Prometheus. If the data is incorrect, look at the data from `smartctl` to determine if the issue should be reported upstream to smartmontools or to this repo. In general, the `smartctl_exporter` should not modify the data in flight. If the data is missing from `smartctl`, it should not be in `smartctl_exporter`. If the data from `smartctl` is incorrect, it should be reported upstream. Requests for `smartctl_exporter` to "fix" incorrect data where `smartctl` is reporting incorrect data will be closed. The grey area is when invalid or missing data from smartctl is causing multiple invalid or incorrect data in `smartctl_exporter`. This could happen if the data is used in a calculation for other data. This will need to be researched on a case by case basis. | - | smartctl valid | smartctl missing | smartctl invalid/incorrect | |---------------------------|-----------------------------|-------------------------------------------------|----------------------------------| | smartctl_exporter valid | all good | N/A | N/A | | smartctl_exporter missing | issue for smartctl_exporter | report upstream to smartmontools | report upstream to smartmontools | | smartctl_exporter invalid | issue for smartctl_exporter | issue for smartctl_exporter and report upstream | report upstream to smartmontools | ### smartctl output vs smartctl_exporter output The S.M.A.R.T. attributes are mapped in [smartctl.go](https://github.com/prometheus-community/smartctl_exporter/blob/master/smartctl.go). Each function has a `prometheus.MustNewConstMetric` or similar function with the first parameter being the metric name. Find the metric name in [metrics.go](https://github.com/prometheus-community/smartctl_exporter/blob/master/metrics.go) to see how the exporter displays the information. This may sound technical, but it's crucial for understanding how data flows from `smartctl` to `smartctl_exporter` to Prometheus. If the data looks incorrect, check the [Smartmontools Frequently Asked Questions (FAQ)](https://www.smartmontools.org/wiki/FAQ). It's likely your question may already have an answer. If you still have questions, open an [issue](). ## Gathering smartctl data Follow these steps to gather smartctl data for troubleshooting purposes. If you have unique drives/data/edge cases and would like to "donate" the data, open a PR with the redacted JSON files. 1. Run `scripts/collect-smartctl-json.sh` to export all drives to a `smartctl-data` directory (created in the current directory). 2. Run `scripts/redact_fake_json.py` to redact sensitive data. 3. Provide the JSON file for the drive in question. ```bash cd scripts ./collect-smartctl-json.sh ./redact-fake-json.py smartctl-data/*.json ``` ## Run smartctl_exporter using JSON data The `smartctl_exporter` can be run using local JSON data. The device names are pulled from actual devices in the machine while the data is redirected to the `debug` directory. Save the JSON data in the `debug` directory using the actual device names using a 1:1 ratio. If you have 3 devices, `sda`, `sdb` and `sdc`, the `smartctl_exporter` will expect 3 files: `debug/sda.json`, `debug/sdb.json` and `debug/sdc.json`. Once the "fake devices" (JSON files) are in place, run the exporter passing the hidden `--smartctl.fake-data` switch on the command line. The port is specified to prevent conflicts with an existing `smartctl_exporter` on the default port. ```bash smartctl_exporter --web.listen-address 127.0.0.1:19633 --smartctl.fake-data ``` # FAQ ## How do I run `smartctl_exporter` against a JSON file? If you're helping someone else, request the output of the `smartctl` command above. Feed this into the `smartctl_exporter` using the hidden `--smartctl.fake-data` flag. If a `smartctl_exporter` is already running, use a different port; in this case, it's `19633`. Run `collect_fake_json.sh` first to collect the JSON files for **your** devices. Copy the requested JSON file into one of the fake files. After starting the exporter, you can query it to see the data generated. ```bash # Dump the JSON files for your devices into debug/ ./collect_fake_json.sh # copy the test JSON into one of the files in debug/ cp extracted-from-above-sda.json debug/sda.json # Make sure you have the latest version go build # Use a different port in case smartctl_exporter is already running sudo ./smartctl_exporter --web.listen-address=127.0.0.1:19633 --log.level=debug --smartctl.fake-data # Use curl with grep curl --silent 127.0.0.1:19633/metrics | grep -i nvme # Or xh with ripgrep xh --body :19633/metrics | rg nvme ``` ## Why is root required? Can't I add a user to the "disk" group? A blogger had the same question and opened a ticket on smartmontools. This is their response. `smartctl` needs to be run as root. [RFE: add O_RDRW mode for sat/scsi/ata devices](https://www.smartmontools.org/ticket/1064) > According to function `blk_verify_command()` from current kernel sources > (see [​block/scsi_ioctl.c](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/block/scsi_ioctl.c)), > O_RDONLY or O_RDWR make no difference if device was opened as root (or with > CAP_SYS_RAWIO). > > The SCSI commands listed in function `blk_set_cmd_filter_defaults()` show > that some of the `smartctl -d scsi` functionality might work with O_RDONLY > for non-root users. Some more might work with O_RDWR. > > But `smartctl -d sat` (to access SATA devices) won't work at all because the > SCSI commands ATA_12 and ATA_16 > (see [​scsi_proto.h](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/scsi/scsi_proto.h)) > are **always blocked for non-root users**. ## What about my NVMe drive? From the smartmontools FAQ: [My NVMe drive is not in the smartctl/smartd database](https://www.smartmontools.org/wiki/FAQ#MyNVMedriveisnotinthesmartctlsmartddatabase) > SCSI/SAS and NVMe drives do not provide ATA/SATA-like SMART Attributes. > Therefore the drive database does not contain any entries for these drives. > This may change in the future as some drives provide similar info via vendor > specific commands (see ticket #870). smartmontools also has a [wiki page for NVMe](https://www.smartmontools.org/wiki/NVMe_Support) devices. ## How do I report upstream to smartmontools? Check their FAQ: [How to create a bug report](https://www.smartmontools.org/wiki/FAQ#Howtocreateabugreport). smartctl_exporter-0.14.0/SECURITY.md000066400000000000000000000002541500167572200171540ustar00rootroot00000000000000# Reporting a security issue The Prometheus security policy, including how to report vulnerabilities, can be found here: smartctl_exporter-0.14.0/VERSION000066400000000000000000000000071500167572200164270ustar00rootroot000000000000000.14.0 smartctl_exporter-0.14.0/collect-smartctl-json.sh000077500000000000000000000042121500167572200221430ustar00rootroot00000000000000#! /bin/bash script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) # Data directory to dump smartctl output # This directory will be created if it doesn't exist data_dir="${script_dir}/smartctl-data" # The original script used --xall but that doesn't work # This matches the command in readSMARTctl() smartctl_args="--json --info --health --attributes --tolerance=verypermissive \ --nocheck=standby --format=brief --log=error" # Ignore this devices smartctl_ignore_dev_regex="^(/dev/bus)" # Determine the json query tool to use if command -v jq >/dev/null; then json_tool="jq" json_args="--raw-output" elif command -v yq >/dev/null; then json_tool="yq" json_args="--unwrapScalar" else echo -e "One of 'yq' or 'jq' is required. Please try again after \ installing one of them" exit 1 fi if [[ ! "${UID}" -eq 0 ]] && ! command -v sudo >/dev/null; then # Not root and sudo doesn't exist echo "sudo does not exist. Please run this as root" exit 1 fi SUDO="sudo" if [[ "${UID}" -eq 0 ]]; then # Don't use sudo if root SUDO="" fi [[ ! -d "${data_dir}" ]] && mkdir --parents "${data_dir}" if [[ $# -ne 0 ]]; then devices="${1}" else devices="$(smartctl --scan --json | "${json_tool}" "${json_args}" \ ".devices[].name | select(test(\"${smartctl_ignore_dev_regex}\") | not)")" mapfile -t devices <<< "${devices[@]}" fi for device in "${devices[@]}" do echo -n "Collecting data for '${device}'..." # shellcheck disable=SC2086 data="$($SUDO smartctl ${smartctl_args} ${device})" # Accommodate a smartmontools pre-7.3 bug data=${data#" Pending defect count:"} type="$(echo "${data}" | "${json_tool}" "${json_args}" '.device.type')" family="$(echo "${data}" | "${json_tool}" "${json_args}" \ 'select(.model_family != null) | .model_family | sub(" |/" ; "_" ; "g") | sub("\"|\\(|\\)" ; "" ; "g")')" model="$(echo "${data}" | "${json_tool}" "${json_args}" \ '.model_name | sub(" |/" ; "_" ; "g") | sub("\"|\\(|\\)" ; "" ; "g")')" device_name="$(basename "${device}")" echo -e "\tSaving to ${type}-${family:=null}-${model}-${device_name}.json" echo "${data}" > \ "${data_dir}/${type}-${family:=null}-${model}-${device_name}.json" done smartctl_exporter-0.14.0/device_filter.go000066400000000000000000000023131500167572200205140ustar00rootroot00000000000000// Copyright 2022 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package main import ( "regexp" ) type deviceFilter struct { ignorePattern *regexp.Regexp acceptPattern *regexp.Regexp } func newDeviceFilter(ignoredPattern, acceptPattern string) (f deviceFilter) { if ignoredPattern != "" { f.ignorePattern = regexp.MustCompile(ignoredPattern) } if acceptPattern != "" { f.acceptPattern = regexp.MustCompile(acceptPattern) } return } // ignored returns whether the device should be ignored func (f *deviceFilter) ignored(name string) bool { return ((f.ignorePattern != nil && f.ignorePattern.MatchString(name)) || (f.acceptPattern != nil && !f.acceptPattern.MatchString(name))) } smartctl_exporter-0.14.0/device_filter_test.go000066400000000000000000000024261500167572200215600ustar00rootroot00000000000000// Copyright 2022 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package main import ( "testing" ) func TestDeviceFilter(t *testing.T) { tests := []struct { ignore string accept string name string expectedResult bool }{ {"", "", "eth0", false}, {"", "^💩0$", "💩0", false}, {"", "^💩0$", "💩1", true}, {"", "^💩0$", "veth0", true}, {"^💩", "", "💩3", true}, {"^💩", "", "veth0", false}, } for _, test := range tests { filter := newDeviceFilter(test.ignore, test.accept) result := filter.ignored(test.name) if result != test.expectedResult { t.Errorf("ignorePattern=%v acceptPattern=%v ifname=%v expected=%v result=%v", test.ignore, test.accept, test.name, test.expectedResult, result) } } } smartctl_exporter-0.14.0/gjsonext.go000066400000000000000000000020571500167572200175560ustar00rootroot00000000000000// Copyright 2022 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package main import ( "github.com/tidwall/gjson" ) // GetStringIfExists returns json value or default func GetStringIfExists(json gjson.Result, key string, def string) string { value := json.Get(key) if value.Exists() { return value.String() } return def } // GetFloatIfExists returns json value or default func GetFloatIfExists(json gjson.Result, key string, def float64) float64 { value := json.Get(key) if value.Exists() { return value.Float() } return def } smartctl_exporter-0.14.0/go.mod000066400000000000000000000026431500167572200164750ustar00rootroot00000000000000module github.com/prometheus-community/smartctl_exporter go 1.22 require ( github.com/alecthomas/kingpin/v2 v2.4.0 github.com/prometheus/client_golang v1.21.1 github.com/prometheus/common v0.63.0 github.com/prometheus/exporter-toolkit v0.14.0 github.com/tidwall/gjson v1.18.0 ) require ( github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/coreos/go-systemd/v22 v22.5.0 // indirect github.com/jpillora/backoff v1.0.0 // indirect github.com/klauspost/compress v1.17.11 // indirect github.com/mdlayher/socket v0.4.1 // indirect github.com/mdlayher/vsock v1.2.1 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect github.com/prometheus/client_model v0.6.1 // indirect github.com/prometheus/procfs v0.15.1 // indirect github.com/tidwall/match v1.1.1 // indirect github.com/tidwall/pretty v1.2.0 // indirect github.com/xhit/go-str2duration/v2 v2.1.0 // indirect golang.org/x/crypto v0.33.0 // indirect golang.org/x/net v0.35.0 // indirect golang.org/x/oauth2 v0.25.0 // indirect golang.org/x/sync v0.11.0 // indirect golang.org/x/sys v0.30.0 // indirect golang.org/x/text v0.22.0 // indirect google.golang.org/protobuf v1.36.5 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect ) smartctl_exporter-0.14.0/go.sum000066400000000000000000000161131500167572200165170ustar00rootroot00000000000000github.com/alecthomas/kingpin/v2 v2.4.0 h1:f48lwail6p8zpO1bC4TxtqACaGqHYA22qkHjHpqDjYY= github.com/alecthomas/kingpin/v2 v2.4.0/go.mod h1:0gyi0zQnjuFk8xrkNKamJoyUo382HRL7ATRpFZCw6tE= github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 h1:s6gZFSlWYmbqAuRjVTiNNhvNRfY2Wxp9nhfyel4rklc= github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs= github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc= github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/mdlayher/socket v0.4.1 h1:eM9y2/jlbs1M615oshPQOHZzj6R6wMT7bX5NPiQvn2U= github.com/mdlayher/socket v0.4.1/go.mod h1:cAqeGjoufqdxWkD7DkpyS+wcefOtmu5OQ8KuoJGIReA= github.com/mdlayher/vsock v1.2.1 h1:pC1mTJTvjo1r9n9fbm7S1j04rCgCzhCOS5DY0zqHlnQ= github.com/mdlayher/vsock v1.2.1/go.mod h1:NRfCibel++DgeMD8z/hP+PPTjlNJsdPOmxcnENvE+SE= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_golang v1.21.1 h1:DOvXXTqVzvkIewV/CDPFdejpMCGeMcbGCQ8YOmu+Ibk= github.com/prometheus/client_golang v1.21.1/go.mod h1:U9NM32ykUErtVBxdvD3zfi+EuFkkaBvMb09mIfe0Zgg= github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/common v0.63.0 h1:YR/EIY1o3mEFP/kZCD7iDMnLPlGyuU2Gb3HIcXnA98k= github.com/prometheus/common v0.63.0/go.mod h1:VVFF/fBIoToEnWRVkYoXEkq3R3paCoxG9PXP74SnV18= github.com/prometheus/exporter-toolkit v0.14.0 h1:NMlswfibpcZZ+H0sZBiTjrA3/aBFHkNZqE+iCj5EmRg= github.com/prometheus/exporter-toolkit v0.14.0/go.mod h1:Gu5LnVvt7Nr/oqTBUC23WILZepW0nffNo10XdhQcwWA= github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc= github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY= github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs= github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc= github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU= golang.org/x/crypto v0.33.0 h1:IOBPskki6Lysi0lo9qQvbxiQ+FvsCC/YWOecCHAixus= golang.org/x/crypto v0.33.0/go.mod h1:bVdXmD7IV/4GdElGPozy6U7lWdRXA4qyRVGJV57uQ5M= golang.org/x/net v0.35.0 h1:T5GQRQb2y08kTAByq9L4/bz8cipCdA8FbRTXewonqY8= golang.org/x/net v0.35.0/go.mod h1:EglIi67kWsHKlRzzVMUD93VMSWGFOMSZgxFjparz1Qk= golang.org/x/oauth2 v0.25.0 h1:CY4y7XT9v0cRI9oupztF8AgiIu99L/ksR/Xp/6jrZ70= golang.org/x/oauth2 v0.25.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w= golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc= golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM= golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY= google.golang.org/protobuf v1.36.5 h1:tPhr+woSbjfYvY6/GPufUoYizxw1cF/yFoxJ2fmpwlM= google.golang.org/protobuf v1.36.5/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= smartctl_exporter-0.14.0/main.go000066400000000000000000000204551500167572200166430ustar00rootroot00000000000000// Copyright 2022 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package main import ( "fmt" "log/slog" "net/http" "os" "strings" "sync" "time" kingpin "github.com/alecthomas/kingpin/v2" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/collectors" versioncollector "github.com/prometheus/client_golang/prometheus/collectors/version" "github.com/prometheus/client_golang/prometheus/promhttp" "github.com/prometheus/common/promslog" "github.com/prometheus/common/promslog/flag" "github.com/prometheus/common/version" "github.com/prometheus/exporter-toolkit/web" webflag "github.com/prometheus/exporter-toolkit/web/kingpinflag" ) // Device type Device struct { Name string Type string Label string } func (d Device) String() string { return d.Name + ";" + d.Type + " (" + d.Label + ")" } // SMARTctlManagerCollector implements the Collector interface. type SMARTctlManagerCollector struct { CollectPeriod string CollectPeriodDuration time.Duration Devices []Device logger *slog.Logger mutex sync.Mutex } // Describe sends the super-set of all possible descriptors of metrics func (i *SMARTctlManagerCollector) Describe(ch chan<- *prometheus.Desc) { prometheus.DescribeByCollect(i, ch) } // Collect is called by the Prometheus registry when collecting metrics. func (i *SMARTctlManagerCollector) Collect(ch chan<- prometheus.Metric) { info := NewSMARTctlInfo(ch) i.mutex.Lock() refreshAllDevices(i.logger, i.Devices) for _, device := range i.Devices { json := readData(i.logger, device) if json.Exists() { info.SetJSON(json) smart := NewSMARTctl(i.logger, json, ch) smart.Collect() } } ch <- prometheus.MustNewConstMetric( metricDeviceCount, prometheus.GaugeValue, float64(len(i.Devices)), ) info.Collect() i.mutex.Unlock() } func (i *SMARTctlManagerCollector) RescanForDevices() { for { time.Sleep(*smartctlRescanInterval) i.logger.Info("Rescanning for devices") devices := scanDevices(i.logger) devices = buildDevicesFromFlag(devices) i.mutex.Lock() i.Devices = devices i.mutex.Unlock() } } var ( smartctlPath = kingpin.Flag("smartctl.path", "The path to the smartctl binary", ).Default("/usr/sbin/smartctl").String() smartctlInterval = kingpin.Flag("smartctl.interval", "The interval between smartctl polls", ).Default("60s").Duration() smartctlRescanInterval = kingpin.Flag("smartctl.rescan", "The interval between rescanning for new/disappeared devices. If the interval is smaller than 1s no rescanning takes place. If any devices are configured with smartctl.device also no rescanning takes place.", ).Default("10m").Duration() smartctlScan = kingpin.Flag("smartctl.scan", "Enable scanning. This is a default if no devices are specified").Default("false").Bool() smartctlDevices = kingpin.Flag("smartctl.device", "The device to monitor. Device type can be specified after a semicolon, eg. '/dev/bus/0;megaraid,1' (repeatable)", ).Strings() smartctlDeviceExclude = kingpin.Flag( "smartctl.device-exclude", "Regexp of devices to exclude from automatic scanning. (mutually exclusive to device-include)", ).Default("").String() smartctlDeviceInclude = kingpin.Flag( "smartctl.device-include", "Regexp of devices to exclude from automatic scanning. (mutually exclusive to device-exclude)", ).Default("").String() smartctlScanDeviceTypes = kingpin.Flag( "smartctl.scan-device-type", "Device type to use during automatic scan. Special by-id value forces predictable device names. (repeatable)", ).Strings() smartctlFakeData = kingpin.Flag("smartctl.fake-data", "The device to monitor (repeatable)", ).Default("false").Hidden().Bool() smartctlPowerModeCheck = kingpin.Flag("smartctl.powermode-check", "Whether or not to check powermode before fetching data", ).Default("standby").String() ) // scanDevices uses smartctl to gather the list of available devices. func scanDevices(logger *slog.Logger) []Device { filter := newDeviceFilter(*smartctlDeviceExclude, *smartctlDeviceInclude) json := readSMARTctlDevices(logger) scanDevices := json.Get("devices").Array() var scanDeviceResult []Device for _, d := range scanDevices { deviceName := d.Get("name").String() deviceType := d.Get("type").String() // SATA devices are reported as SCSI during scan - fallback to auto scraping if deviceType == "scsi" { deviceType = "auto" } deviceLabel := buildDeviceLabel(deviceName, deviceType) if filter.ignored(deviceLabel) { logger.Info("Ignoring device", "name", deviceLabel) } else { logger.Info("Found device", "name", deviceLabel) device := Device{ Name: deviceName, Type: deviceType, Label: deviceLabel, } scanDeviceResult = append(scanDeviceResult, device) } } return scanDeviceResult } func buildDevicesFromFlag(devices []Device) []Device { // TODO: deduplication? for _, device := range *smartctlDevices { deviceName, deviceType, _ := strings.Cut(device, ";") if deviceType == "" { deviceType = "auto" } devices = append(devices, Device{ Name: deviceName, Type: deviceType, Label: buildDeviceLabel(deviceName, deviceType), }) } return devices } func validatePowerMode(mode string) error { switch strings.ToLower(mode) { case "never", "sleep", "standby", "idle": return nil default: return fmt.Errorf("invalid power mode: %s. Must be one of: never, sleep, standby, idle", mode) } } func main() { metricsPath := kingpin.Flag( "web.telemetry-path", "Path under which to expose metrics", ).Default("/metrics").String() toolkitFlags := webflag.AddFlags(kingpin.CommandLine, ":9633") promslogConfig := &promslog.Config{} flag.AddFlags(kingpin.CommandLine, promslogConfig) kingpin.Version(version.Print("smartctl_exporter")) kingpin.HelpFlag.Short('h') kingpin.Parse() logger := promslog.New(promslogConfig) if err := validatePowerMode(*smartctlPowerModeCheck); err != nil { logger.Error(err.Error()) os.Exit(1) } logger.Info("Starting smartctl_exporter", "version", version.Info()) logger.Info("Build context", "build_context", version.BuildContext()) var devices []Device if len(*smartctlDevices) == 0 { *smartctlScan = true } if *smartctlScan { devices = scanDevices(logger) logger.Info("Number of devices found", "count", len(devices)) } if len(*smartctlDevices) > 0 { logger.Info("Devices specified", "devices", strings.Join(*smartctlDevices, ", ")) devices = buildDevicesFromFlag(devices) logger.Info("Devices filtered", "count", len(devices)) } collector := SMARTctlManagerCollector{ Devices: devices, logger: logger, } if *smartctlScan && *smartctlRescanInterval >= 1*time.Second { logger.Info("Start background scan process") logger.Info("Rescanning for devices every", "rescanInterval", *smartctlRescanInterval) go collector.RescanForDevices() } reg := prometheus.NewPedanticRegistry() reg.MustRegister(versioncollector.NewCollector("smartctl_exporter")) reg.MustRegister( collectors.NewProcessCollector(collectors.ProcessCollectorOpts{}), collectors.NewGoCollector(), ) prometheus.WrapRegistererWithPrefix("", reg).MustRegister(&collector) http.Handle(*metricsPath, promhttp.HandlerFor(reg, promhttp.HandlerOpts{})) if *metricsPath != "/" && *metricsPath != "" { landingConfig := web.LandingConfig{ Name: "smartctl_exporter", Description: "Prometheus Exporter for S.M.A.R.T. devices", Version: version.Info(), Links: []web.LandingLinks{ { Address: *metricsPath, Text: "Metrics", }, }, } landingPage, err := web.NewLandingPage(landingConfig) if err != nil { logger.Error("error creating landing page", "err", err) os.Exit(1) } http.Handle("/", landingPage) } srv := &http.Server{} if err := web.ListenAndServe(srv, toolkitFlags, logger); err != nil { logger.Error("error running HTTP server", "err", err) os.Exit(1) } } smartctl_exporter-0.14.0/metrics.go000066400000000000000000000176731500167572200173750ustar00rootroot00000000000000// Copyright 2022 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package main import ( "github.com/prometheus/client_golang/prometheus" ) var ( metricSmartctlVersion = prometheus.NewDesc( "smartctl_version", "smartctl version", []string{ "json_format_version", "smartctl_version", "svn_revision", "build_info", }, nil, ) metricDeviceModel = prometheus.NewDesc( "smartctl_device", "Device info", []string{ "device", "interface", "protocol", "model_family", "model_name", "serial_number", "ata_additional_product_id", "firmware_version", "ata_version", "sata_version", "form_factor", // scsi_model_name is mapped into model_name "scsi_vendor", "scsi_product", "scsi_revision", "scsi_version", }, nil, ) metricDeviceCount = prometheus.NewDesc( "smartctl_devices", "Number of devices configured or dynamically discovered", []string{}, nil, ) metricDeviceCapacityBlocks = prometheus.NewDesc( "smartctl_device_capacity_blocks", "Device capacity in blocks", []string{ "device", }, nil, ) metricDeviceCapacityBytes = prometheus.NewDesc( "smartctl_device_capacity_bytes", "Device capacity in bytes", []string{ "device", }, nil, ) metricDeviceTotalCapacityBytes = prometheus.NewDesc( "smartctl_device_nvme_capacity_bytes", "NVMe device total capacity bytes", []string{ "device", }, nil, ) metricDeviceBlockSize = prometheus.NewDesc( "smartctl_device_block_size", "Device block size", []string{ "device", "blocks_type", }, nil, ) metricDeviceInterfaceSpeed = prometheus.NewDesc( "smartctl_device_interface_speed", "Device interface speed, bits per second", []string{ "device", "speed_type", }, nil, ) metricDeviceAttribute = prometheus.NewDesc( "smartctl_device_attribute", "Device attributes", []string{ "device", "attribute_name", "attribute_flags_short", "attribute_flags_long", "attribute_value_type", "attribute_id", }, nil, ) metricDevicePowerOnSeconds = prometheus.NewDesc( "smartctl_device_power_on_seconds", "Device power on seconds", []string{ "device", }, nil, ) metricDeviceRotationRate = prometheus.NewDesc( "smartctl_device_rotation_rate", "Device rotation rate", []string{ "device", }, nil, ) metricDeviceTemperature = prometheus.NewDesc( "smartctl_device_temperature", "Device temperature celsius", []string{ "device", "temperature_type", }, nil, ) metricDevicePowerCycleCount = prometheus.NewDesc( "smartctl_device_power_cycle_count", "Device power cycle count", []string{ "device", }, nil, ) metricDevicePercentageUsed = prometheus.NewDesc( "smartctl_device_percentage_used", "Device write percentage used", []string{ "device", }, nil, ) metricDeviceAvailableSpare = prometheus.NewDesc( "smartctl_device_available_spare", "Normalized percentage (0 to 100%) of the remaining spare capacity available", []string{ "device", }, nil, ) metricDeviceAvailableSpareThreshold = prometheus.NewDesc( "smartctl_device_available_spare_threshold", "When the Available Spare falls below the threshold indicated in this field, an asynchronous event completion may occur. The value is indicated as a normalized percentage (0 to 100%)", []string{ "device", }, nil, ) metricDeviceCriticalWarning = prometheus.NewDesc( "smartctl_device_critical_warning", "This field indicates critical warnings for the state of the controller", []string{ "device", }, nil, ) metricDeviceMediaErrors = prometheus.NewDesc( "smartctl_device_media_errors", "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", []string{ "device", }, nil, ) metricDeviceNumErrLogEntries = prometheus.NewDesc( "smartctl_device_num_err_log_entries", "Contains the number of Error Information log entries over the life of the controller", []string{ "device", }, nil, ) metricDeviceBytesRead = prometheus.NewDesc( "smartctl_device_bytes_read", "", []string{ "device", }, nil, ) metricDeviceBytesWritten = prometheus.NewDesc( "smartctl_device_bytes_written", "", []string{ "device", }, nil, ) metricDeviceSmartStatus = prometheus.NewDesc( "smartctl_device_smart_status", "General smart status", []string{ "device", }, nil, ) metricDeviceExitStatus = prometheus.NewDesc( "smartctl_device_smartctl_exit_status", "Exit status of smartctl on device", []string{ "device", }, nil, ) metricDeviceState = prometheus.NewDesc( "smartctl_device_state", "Device state (0=active, 1=standby, 2=sleep, 3=dst, 4=offline, 5=sct)", []string{ "device", }, nil, ) metricDeviceStatistics = prometheus.NewDesc( "smartctl_device_statistics", "Device statistics", []string{ "device", "statistic_table", "statistic_name", "statistic_flags_short", "statistic_flags_long", }, nil, ) metricDeviceErrorLogCount = prometheus.NewDesc( "smartctl_device_error_log_count", "Device SMART error log count", []string{ "device", "error_log_type", }, nil, ) metricDeviceSelfTestLogCount = prometheus.NewDesc( "smartctl_device_self_test_log_count", "Device SMART self test log count", []string{ "device", "self_test_log_type", }, nil, ) metricDeviceSelfTestLogErrorCount = prometheus.NewDesc( "smartctl_device_self_test_log_error_count", "Device SMART self test log error count", []string{ "device", "self_test_log_type", }, nil, ) metricDeviceERCSeconds = prometheus.NewDesc( "smartctl_device_erc_seconds", "Device SMART Error Recovery Control Seconds", []string{ "device", "op_type", }, nil, ) metricSCSIGrownDefectList = prometheus.NewDesc( "smartctl_scsi_grown_defect_list", "Device SCSI grown defect list counter", []string{ "device", }, nil, ) metricReadErrorsCorrectedByRereadsRewrites = prometheus.NewDesc( "smartctl_read_errors_corrected_by_rereads_rewrites", "Read Errors Corrected by ReReads/ReWrites", []string{ "device", }, nil, ) metricReadErrorsCorrectedByEccFast = prometheus.NewDesc( "smartctl_read_errors_corrected_by_eccfast", "Read Errors Corrected by ECC Fast", []string{ "device", }, nil, ) metricReadErrorsCorrectedByEccDelayed = prometheus.NewDesc( "smartctl_read_errors_corrected_by_eccdelayed", "Read Errors Corrected by ECC Delayed", []string{ "device", }, nil, ) metricReadTotalUncorrectedErrors = prometheus.NewDesc( "smartctl_read_total_uncorrected_errors", "Read Total Uncorrected Errors", []string{ "device", }, nil, ) metricWriteErrorsCorrectedByRereadsRewrites = prometheus.NewDesc( "smartctl_write_errors_corrected_by_rereads_rewrites", "Write Errors Corrected by ReReads/ReWrites", []string{ "device", }, nil, ) metricWriteErrorsCorrectedByEccFast = prometheus.NewDesc( "smartctl_write_errors_corrected_by_eccfast", "Write Errors Corrected by ECC Fast", []string{ "device", }, nil, ) metricWriteErrorsCorrectedByEccDelayed = prometheus.NewDesc( "smartctl_write_errors_corrected_by_eccdelayed", "Write Errors Corrected by ECC Delayed", []string{ "device", }, nil, ) metricWriteTotalUncorrectedErrors = prometheus.NewDesc( "smartctl_write_total_uncorrected_errors", "Write Total Uncorrected Errors", []string{ "device", }, nil, ) ) smartctl_exporter-0.14.0/readjson.go000066400000000000000000000133501500167572200175200ustar00rootroot00000000000000// Copyright 2022 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package main import ( "fmt" "log/slog" "os" "os/exec" "strings" "sync" "time" "github.com/tidwall/gjson" ) // JSONCache caching json type JSONCache struct { JSON gjson.Result LastCollect time.Time } var ( jsonCache sync.Map ) func init() { jsonCache.Store("", JSONCache{}) } // Parse json to gjson object func parseJSON(data string) gjson.Result { if !gjson.Valid(data) { return gjson.Parse("{}") } return gjson.Parse(data) } // Reading fake smartctl json func readFakeSMARTctl(logger *slog.Logger, device Device) gjson.Result { s := strings.Split(device.Name, "/") filename := fmt.Sprintf("debug/%s.json", s[len(s)-1]) logger.Debug("Read fake S.M.A.R.T. data from json", "filename", filename) jsonFile, err := os.ReadFile(filename) if err != nil { logger.Error("Fake S.M.A.R.T. data reading error", "err", err) return parseJSON("{}") } return parseJSON(string(jsonFile)) } // Get json from smartctl and parse it func readSMARTctl(logger *slog.Logger, device Device, wg *sync.WaitGroup) { defer wg.Done() start := time.Now() var smartctlArgs = []string{"--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=" + *smartctlPowerModeCheck, "--format=brief", "--log=error", "--device=" + device.Type, device.Name} logger.Debug("Calling smartctl with args", "args", strings.Join(smartctlArgs, " ")) out, err := exec.Command(*smartctlPath, smartctlArgs...).Output() if err != nil { logger.Warn("S.M.A.R.T. output reading", "err", err, "device", device) } // Accommodate a smartmontools pre-7.3 bug cleaned_out := strings.TrimPrefix(string(out), " Pending defect count:") json := parseJSON(cleaned_out) rcOk := resultCodeIsOk(logger, device, json.Get("smartctl.exit_status").Int()) jsonOk := jsonIsOk(logger, json) logger.Debug("Collected S.M.A.R.T. json data", "device", device, "duration", time.Since(start)) if rcOk && jsonOk { jsonCache.Store(device, JSONCache{JSON: json, LastCollect: time.Now()}) } } func readSMARTctlDevices(logger *slog.Logger) gjson.Result { logger.Debug("Scanning for devices") var scanArgs []string = []string{"--json", "--scan"} for _, d := range *smartctlScanDeviceTypes { scanArgs = append(scanArgs, "--device", d) } out, err := exec.Command(*smartctlPath, scanArgs...).Output() if exiterr, ok := err.(*exec.ExitError); ok { logger.Debug("Exit Status", "exit_code", exiterr.ExitCode()) // The smartctl command returns 2 if devices are sleeping, ignore this error. if exiterr.ExitCode() != 2 { logger.Warn("S.M.A.R.T. output reading error", "err", err) return gjson.Result{} } } else if err != nil { logger.Warn("S.M.A.R.T. output reading error", "err", err) return gjson.Result{} } return parseJSON(string(out)) } // Refresh all devices' json func refreshAllDevices(logger *slog.Logger, devices []Device) { if *smartctlFakeData { return } var wg sync.WaitGroup for _, device := range devices { cacheValue, cacheOk := jsonCache.Load(device) if !cacheOk || time.Now().After(cacheValue.(JSONCache).LastCollect.Add(*smartctlInterval)) { wg.Add(1) go readSMARTctl(logger, device, &wg) } } wg.Wait() } func readData(logger *slog.Logger, device Device) gjson.Result { if *smartctlFakeData { return readFakeSMARTctl(logger, device) } cacheValue, found := jsonCache.Load(device) if !found { logger.Warn("device not found", "device", device) return gjson.Result{} } return cacheValue.(JSONCache).JSON } // Parse smartctl return code func resultCodeIsOk(logger *slog.Logger, device Device, SMARTCtlResult int64) bool { result := true if SMARTCtlResult > 0 { b := SMARTCtlResult if (b & 1) != 0 { logger.Error("Command line did not parse", "device", device) result = false } if (b & (1 << 1)) != 0 { logger.Error("Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode", "device", device) result = false } if (b & (1 << 2)) != 0 { logger.Warn("Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure", "device", device) } if (b & (1 << 3)) != 0 { logger.Warn("SMART status check returned 'DISK FAILING'", "device", device) } if (b & (1 << 4)) != 0 { logger.Warn("We found prefail Attributes <= threshold", "device", device) } if (b & (1 << 5)) != 0 { logger.Warn("SMART status check returned 'DISK OK' but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past", "device", device) } if (b & (1 << 6)) != 0 { logger.Warn("The device error log contains records of errors", "device", device) } if (b & (1 << 7)) != 0 { logger.Warn("The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored", "device", device) } } return result } // Check json func jsonIsOk(logger *slog.Logger, json gjson.Result) bool { messages := json.Get("smartctl.messages") // logger.Debug(messages.String()) if messages.Exists() { for _, message := range messages.Array() { if message.Get("severity").String() == "error" { logger.Error(message.Get("string").String()) return false } } } return true } smartctl_exporter-0.14.0/redact_fake_json.py000077500000000000000000000037571500167572200212340ustar00rootroot00000000000000#! /usr/bin/env python3 # SPDX-License-Identifier: Apache-2.0 # Redact potentially sensitive information in smartctl JSON files # This script does an in-place modification. import json import sys import copy import os def main(): for arg in sys.argv[1:]: print(arg) redact_one_file(arg) def redact_one_file(filename): data = None tmpname = filename+".new" with open(filename, "r") as jsonFile: data = json.load(jsonFile) newdata = redact_data(data) with open(tmpname, "w") as jsonFile: json.dump(newdata, jsonFile, indent="\t", sort_keys=True) os.rename(tmpname, filename) def mutate_nested_dict(d, keys, newvalue, if_present=False): # if_present=True: only mutate if the full key path exists. if len(keys) == 1: if not if_present or keys[0] in d: d[keys[0]] = newvalue else: k = keys[0] if k in d: mutate_nested_dict(d[k], keys[1:], newvalue, if_present=if_present) REDACTED_STRING = 'REDACTED' REDACTED_TIME_T = 1234567890 REDACTED_ASCTIME = "Fri Feb 13 23:31:30 2009 UTC" # TODO: generate from TIME_T, with UTC REDACTED_HEX16_STR = '0x1234567890abcdef' REDACTED_UINT32 = 1234567890 REDACT_FIELDS = [ {'k': ['smartctl','platform_info'], 'v': REDACTED_STRING}, {'k': ['smartctl','build_info'], 'v': REDACTED_STRING}, {'k': ['serial_number'], 'v': REDACTED_STRING}, {'k': ['firmware_version'], 'v': REDACTED_STRING}, {'k': ['local_time', 'time_t'], 'v': REDACTED_TIME_T}, {'k': ['local_time', 'asctime'], 'v': REDACTED_ASCTIME}, {'k': ['logical_unit_id'], 'v': REDACTED_HEX16_STR}, {'k': ['wwn','id'], 'v': REDACTED_UINT32}, # TODO: how to redact /dev/sdX /dev/nvmeN ?? ] def redact_data(data): newdata = copy.deepcopy(data) for f in REDACT_FIELDS: #newval = str(f['v'])+str(f['k']) # for debugging newval = f['v'] mutate_nested_dict(newdata, f['k'], newval, if_present=True) return newdata if __name__ == '__main__': main() smartctl_exporter-0.14.0/smartctl.go000066400000000000000000000462341500167572200175530ustar00rootroot00000000000000// Copyright 2022 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package main import ( "fmt" "log/slog" "regexp" "strings" "github.com/prometheus/client_golang/prometheus" "github.com/tidwall/gjson" ) // SMARTDevice - short info about device type SMARTDevice struct { device string serial string family string model string // These are used to select types of metrics. interface_ string protocol string } // SMARTctl object type SMARTctl struct { ch chan<- prometheus.Metric json gjson.Result logger *slog.Logger device SMARTDevice } func buildDeviceLabel(inputName string, inputType string) string { // Strip /dev prefix and replace / with _ (/dev/bus/0 becomes bus_0, /dev/disk/by-id/abcd becomes abcd) devReg := regexp.MustCompile(`^/dev/(?:disk/by-id/|disk/by-path/|)`) deviceName := strings.ReplaceAll(devReg.ReplaceAllString(inputName, ""), "/", "_") if strings.Contains(inputType, ",") { return deviceName + "_" + strings.ReplaceAll(inputType, ",", "_") } return deviceName } // NewSMARTctl is smartctl constructor func NewSMARTctl(logger *slog.Logger, json gjson.Result, ch chan<- prometheus.Metric) SMARTctl { var model_name string if obj := json.Get("model_name"); obj.Exists() { model_name = obj.String() } else if obj := json.Get("scsi_model_name"); obj.Exists() { model_name = obj.String() } // If the drive returns an empty model name, replace that with unknown. if model_name == "" { model_name = "unknown" } return SMARTctl{ ch: ch, json: json, logger: logger, device: SMARTDevice{ device: buildDeviceLabel(json.Get("device.name").String(), json.Get("device.type").String()), serial: strings.TrimSpace(json.Get("serial_number").String()), family: strings.TrimSpace(GetStringIfExists(json, "model_family", "unknown")), model: strings.TrimSpace(model_name), interface_: strings.TrimSpace(json.Get("device.type").String()), protocol: strings.TrimSpace(json.Get("device.protocol").String()), }, } } // Collect metrics func (smart *SMARTctl) Collect() { smart.logger.Debug("Collecting metrics from", "device", smart.device.device, "family", smart.device.family, "model", smart.device.model) smart.mineExitStatus() smart.mineDevice() smart.mineCapacity() smart.mineBlockSize() smart.mineInterfaceSpeed() smart.mineDeviceAttribute() smart.minePowerOnSeconds() smart.mineRotationRate() smart.mineTemperatures() smart.minePowerCycleCount() // ATA/SATA, NVME, SCSI, SAS smart.mineDeviceSCTStatus() smart.mineDeviceStatistics() smart.mineDeviceErrorLog() smart.mineDeviceSelfTestLog() smart.mineDeviceERC() smart.mineSmartStatus() if smart.device.interface_ == "nvme" { smart.mineNvmePercentageUsed() smart.mineNvmeAvailableSpare() smart.mineNvmeAvailableSpareThreshold() smart.mineNvmeCriticalWarning() smart.mineNvmeMediaErrors() smart.mineNvmeNumErrLogEntries() smart.mineNvmeBytesRead() smart.mineNvmeBytesWritten() } // SCSI, SAS if smart.device.interface_ == "scsi" { smart.mineSCSIGrownDefectList() smart.mineSCSIErrorCounterLog() smart.mineSCSIBytesRead() smart.mineSCSIBytesWritten() } } func (smart *SMARTctl) mineExitStatus() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceExitStatus, prometheus.GaugeValue, smart.json.Get("smartctl.exit_status").Float(), smart.device.device, ) } func (smart *SMARTctl) mineDevice() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceModel, prometheus.GaugeValue, 1, smart.device.device, smart.device.interface_, smart.device.protocol, smart.device.family, smart.device.model, smart.device.serial, GetStringIfExists(smart.json, "ata_additional_product_id", "unknown"), smart.json.Get("firmware_version").String(), smart.json.Get("ata_version.string").String(), smart.json.Get("sata_version.string").String(), smart.json.Get("form_factor.name").String(), // scsi_model_name is mapped into model_name smart.json.Get("scsi_vendor").String(), smart.json.Get("scsi_product").String(), smart.json.Get("scsi_revision").String(), smart.json.Get("scsi_version").String(), ) } func (smart *SMARTctl) mineCapacity() { // The user_capacity exists only when NVMe have single namespace. Otherwise, // for NVMe devices with multiple namespaces, when device name used without // namespace number (exporter case) user_capacity will be absent smart.ch <- prometheus.MustNewConstMetric( metricDeviceCapacityBlocks, prometheus.GaugeValue, smart.json.Get("user_capacity.blocks").Float(), smart.device.device, ) smart.ch <- prometheus.MustNewConstMetric( metricDeviceCapacityBytes, prometheus.GaugeValue, smart.json.Get("user_capacity.bytes").Float(), smart.device.device, ) nvme_total_capacity := smart.json.Get("nvme_total_capacity") if nvme_total_capacity.Exists() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceTotalCapacityBytes, prometheus.GaugeValue, nvme_total_capacity.Float(), smart.device.device, ) } } func (smart *SMARTctl) mineBlockSize() { for _, blockType := range []string{"logical", "physical"} { smart.ch <- prometheus.MustNewConstMetric( metricDeviceBlockSize, prometheus.GaugeValue, smart.json.Get(fmt.Sprintf("%s_block_size", blockType)).Float(), smart.device.device, blockType, ) } } func (smart *SMARTctl) mineInterfaceSpeed() { // TODO: Support scsi_sas_port_[01].phy_N.negotiated_logical_link_rate iSpeed := smart.json.Get("interface_speed") if iSpeed.Exists() { for _, speedType := range []string{"max", "current"} { tSpeed := iSpeed.Get(speedType) if tSpeed.Exists() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceInterfaceSpeed, prometheus.GaugeValue, tSpeed.Get("units_per_second").Float()*tSpeed.Get("bits_per_unit").Float(), smart.device.device, speedType, ) } } } } func (smart *SMARTctl) mineDeviceAttribute() { for _, attribute := range smart.json.Get("ata_smart_attributes.table").Array() { name := strings.TrimSpace(attribute.Get("name").String()) flagsShort := strings.TrimSpace(attribute.Get("flags.string").String()) flagsLong := smart.mineLongFlags(attribute.Get("flags"), []string{ "prefailure", "updated_online", "performance", "error_rate", "event_count", "auto_keep", }) id := attribute.Get("id").String() for key, path := range map[string]string{ "value": "value", "worst": "worst", "thresh": "thresh", "raw": "raw.value", } { smart.ch <- prometheus.MustNewConstMetric( metricDeviceAttribute, prometheus.GaugeValue, attribute.Get(path).Float(), smart.device.device, name, flagsShort, flagsLong, key, id, ) } } } func (smart *SMARTctl) minePowerOnSeconds() { pot := smart.json.Get("power_on_time") // If the power_on_time is NOT present, do not report as 0. if pot.Exists() { smart.ch <- prometheus.MustNewConstMetric( metricDevicePowerOnSeconds, prometheus.CounterValue, GetFloatIfExists(pot, "hours", 0)*60*60+GetFloatIfExists(pot, "minutes", 0)*60, smart.device.device, ) } } func (smart *SMARTctl) mineRotationRate() { rRate := GetFloatIfExists(smart.json, "rotation_rate", 0) // TODO: what should be done if this is absent vs really zero (for // solid-state drives)? if rRate > 0 { smart.ch <- prometheus.MustNewConstMetric( metricDeviceRotationRate, prometheus.GaugeValue, rRate, smart.device.device, ) } } func (smart *SMARTctl) mineTemperatures() { temperatures := smart.json.Get("temperature") // TODO: Implement scsi_environmental_reports if temperatures.Exists() { temperatures.ForEach(func(key, value gjson.Result) bool { smart.ch <- prometheus.MustNewConstMetric( metricDeviceTemperature, prometheus.GaugeValue, value.Float(), smart.device.device, key.String(), ) return true }) } } func (smart *SMARTctl) minePowerCycleCount() { // ATA & NVME powerCycleCount := smart.json.Get("power_cycle_count") if powerCycleCount.Exists() { smart.ch <- prometheus.MustNewConstMetric( metricDevicePowerCycleCount, prometheus.CounterValue, powerCycleCount.Float(), smart.device.device, ) return } // SCSI powerCycleCount = smart.json.Get("scsi_start_stop_cycle_counter.accumulated_start_stop_cycles") if powerCycleCount.Exists() { smart.ch <- prometheus.MustNewConstMetric( metricDevicePowerCycleCount, prometheus.CounterValue, powerCycleCount.Float(), smart.device.device, ) return } } func (smart *SMARTctl) mineDeviceSCTStatus() { status := smart.json.Get("ata_sct_status") if status.Exists() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceState, prometheus.GaugeValue, status.Get("device_state").Float(), smart.device.device, ) } } func (smart *SMARTctl) mineNvmePercentageUsed() { smart.ch <- prometheus.MustNewConstMetric( metricDevicePercentageUsed, prometheus.CounterValue, smart.json.Get("nvme_smart_health_information_log.percentage_used").Float(), smart.device.device, ) } func (smart *SMARTctl) mineNvmeAvailableSpare() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceAvailableSpare, prometheus.CounterValue, smart.json.Get("nvme_smart_health_information_log.available_spare").Float(), smart.device.device, ) } func (smart *SMARTctl) mineNvmeAvailableSpareThreshold() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceAvailableSpareThreshold, prometheus.CounterValue, smart.json.Get("nvme_smart_health_information_log.available_spare_threshold").Float(), smart.device.device, ) } func (smart *SMARTctl) mineNvmeCriticalWarning() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceCriticalWarning, prometheus.CounterValue, smart.json.Get("nvme_smart_health_information_log.critical_warning").Float(), smart.device.device, ) } func (smart *SMARTctl) mineNvmeMediaErrors() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceMediaErrors, prometheus.CounterValue, smart.json.Get("nvme_smart_health_information_log.media_errors").Float(), smart.device.device, ) } func (smart *SMARTctl) mineNvmeNumErrLogEntries() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceNumErrLogEntries, prometheus.CounterValue, smart.json.Get("nvme_smart_health_information_log.num_err_log_entries").Float(), smart.device.device, ) } // https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-1.0d-2023.12.28-Ratified.pdf // 4.1.4.2 SMART / Health Information (02h) // The SMART / Health Information log page is as defined in the NVM Express Base Specification. For the // Data Units Read and Data Units Written fields, when the logical block size is a value other than 512 bytes, // the controller shall convert the amount of data read to 512 byte units. // https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-2.0d-2024.01.11-Ratified.pdf // Figure 208: SMART / Health Information Log Page // Bytes 47:32 // Data Units Read: Contains the number of 512 byte data units the host has read from the // controller as part of processing a SMART Data Units Read Command; this value does not // include metadata. This value is reported in thousands (i.e., a value of 1 corresponds to 1,000 // units of 512 bytes read) and is rounded up (e.g., one indicates that the number of 512 byte // data units read is from 1 to 1,000, three indicates that the number of 512 byte data units read // is from 2,001 to 3,000). // // A value of 0h in this field indicates that the number of SMART Data Units Read is not reported. // // Bytes 63:48 // // Data Units Written: Contains the number of 512 byte data units the host has written to the ... // (the same as Data Units Read) func (smart *SMARTctl) mineNvmeBytesRead() { data_units_read := smart.json.Get("nvme_smart_health_information_log.data_units_read") // 0 => not reported by underlying hardware if !data_units_read.Exists() || data_units_read.Int() == 0 { return } smart.ch <- prometheus.MustNewConstMetric( metricDeviceBytesRead, prometheus.CounterValue, // WARNING: Float64 will lose precision when drives reach ~32EiB read/write // The underlying data_units_written,data_units_read are 128-bit integers data_units_read.Float()*1000.0*512.0, smart.device.device, ) } func (smart *SMARTctl) mineNvmeBytesWritten() { data_units_written := smart.json.Get("nvme_smart_health_information_log.data_units_written") // 0 => not reported by underlying hardware if !data_units_written.Exists() || data_units_written.Int() == 0 { return } smart.ch <- prometheus.MustNewConstMetric( metricDeviceBytesWritten, prometheus.CounterValue, // WARNING: Float64 will lose precision when drives reach ~32EiB read/write // The underlying data_units_written,data_units_read are 128-bit integers data_units_written.Float()*1000.0*512.0, smart.device.device, ) } func (smart *SMARTctl) mineSCSIBytesRead() { SCSIHealth := smart.json.Get("scsi_error_counter_log") if SCSIHealth.Exists() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceBytesRead, prometheus.CounterValue, // This value is reported by SMARTctl in GB [10^9]. // It is possible that some drives mis-report the value, but // that is not the responsibility of the exporter or smartctl SCSIHealth.Get("read.gigabytes_processed").Float()*1e9, smart.device.device, ) } } func (smart *SMARTctl) mineSCSIBytesWritten() { SCSIHealth := smart.json.Get("scsi_error_counter_log") if SCSIHealth.Exists() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceBytesWritten, prometheus.CounterValue, // This value is reported by SMARTctl in GB [10^9]. // It is possible that some drives mis-report the value, but // that is not the responsibility of the exporter or smartctl SCSIHealth.Get("write.gigabytes_processed").Float()*1e9, smart.device.device, ) } } func (smart *SMARTctl) mineSmartStatus() { smartStatus := smart.json.Get("smart_status") if smartStatus.Exists() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceSmartStatus, prometheus.GaugeValue, smartStatus.Get("passed").Float(), smart.device.device, ) } } func (smart *SMARTctl) mineDeviceStatistics() { for _, page := range smart.json.Get("ata_device_statistics.pages").Array() { table := strings.TrimSpace(page.Get("name").String()) // skip vendor-specific statistics (they lead to duplicate metric labels on Seagate Exos drives, // see https://github.com/Sheridan/smartctl_exporter/issues/3 for details) if table == "Vendor Specific Statistics" { continue } for _, statistic := range page.Get("table").Array() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceStatistics, prometheus.GaugeValue, statistic.Get("value").Float(), smart.device.device, table, strings.TrimSpace(statistic.Get("name").String()), strings.TrimSpace(statistic.Get("flags.string").String()), smart.mineLongFlags(statistic.Get("flags"), []string{ "valid", "normalized", "supports_dsn", "monitored_condition_met", }), ) } } for _, statistic := range smart.json.Get("sata_phy_event_counters.table").Array() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceStatistics, prometheus.GaugeValue, statistic.Get("value").Float(), smart.device.device, "SATA PHY Event Counters", strings.TrimSpace(statistic.Get("name").String()), "V---", "valid", ) } } func (smart *SMARTctl) mineLongFlags(json gjson.Result, flags []string) string { var result []string for _, flag := range flags { jFlag := json.Get(flag) if jFlag.Exists() && jFlag.Bool() { result = append(result, flag) } } return strings.Join(result, ",") } func (smart *SMARTctl) mineDeviceErrorLog() { for logType, status := range smart.json.Get("ata_smart_error_log").Map() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceErrorLogCount, prometheus.GaugeValue, status.Get("count").Float(), smart.device.device, logType, ) } } func (smart *SMARTctl) mineDeviceSelfTestLog() { for logType, status := range smart.json.Get("ata_smart_self_test_log").Map() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceSelfTestLogCount, prometheus.GaugeValue, status.Get("count").Float(), smart.device.device, logType, ) smart.ch <- prometheus.MustNewConstMetric( metricDeviceSelfTestLogErrorCount, prometheus.GaugeValue, status.Get("error_count_total").Float(), smart.device.device, logType, ) } } func (smart *SMARTctl) mineDeviceERC() { for ercType, status := range smart.json.Get("ata_sct_erc").Map() { smart.ch <- prometheus.MustNewConstMetric( metricDeviceERCSeconds, prometheus.GaugeValue, status.Get("deciseconds").Float()/10.0, smart.device.device, ercType, ) } } func (smart *SMARTctl) mineSCSIGrownDefectList() { scsi_grown_defect_list := smart.json.Get("scsi_grown_defect_list") if scsi_grown_defect_list.Exists() { smart.ch <- prometheus.MustNewConstMetric( metricSCSIGrownDefectList, prometheus.GaugeValue, scsi_grown_defect_list.Float(), smart.device.device, ) } } func (smart *SMARTctl) mineSCSIErrorCounterLog() { SCSIHealth := smart.json.Get("scsi_error_counter_log") if SCSIHealth.Exists() { smart.ch <- prometheus.MustNewConstMetric( metricReadErrorsCorrectedByRereadsRewrites, prometheus.GaugeValue, SCSIHealth.Get("read.errors_corrected_by_rereads_rewrites").Float(), smart.device.device, ) smart.ch <- prometheus.MustNewConstMetric( metricReadErrorsCorrectedByEccFast, prometheus.GaugeValue, SCSIHealth.Get("read.errors_corrected_by_eccfast").Float(), smart.device.device, ) smart.ch <- prometheus.MustNewConstMetric( metricReadErrorsCorrectedByEccDelayed, prometheus.GaugeValue, SCSIHealth.Get("read.errors_corrected_by_eccdelayed").Float(), smart.device.device, ) smart.ch <- prometheus.MustNewConstMetric( metricReadTotalUncorrectedErrors, prometheus.GaugeValue, SCSIHealth.Get("read.total_uncorrected_errors").Float(), smart.device.device, ) smart.ch <- prometheus.MustNewConstMetric( metricWriteErrorsCorrectedByRereadsRewrites, prometheus.GaugeValue, SCSIHealth.Get("write.errors_corrected_by_rereads_rewrites").Float(), smart.device.device, ) smart.ch <- prometheus.MustNewConstMetric( metricWriteErrorsCorrectedByEccFast, prometheus.GaugeValue, SCSIHealth.Get("write.errors_corrected_by_eccfast").Float(), smart.device.device, ) smart.ch <- prometheus.MustNewConstMetric( metricWriteErrorsCorrectedByEccDelayed, prometheus.GaugeValue, SCSIHealth.Get("write.errors_corrected_by_eccdelayed").Float(), smart.device.device, ) smart.ch <- prometheus.MustNewConstMetric( metricWriteTotalUncorrectedErrors, prometheus.GaugeValue, SCSIHealth.Get("write.total_uncorrected_errors").Float(), smart.device.device, ) // TODO: Should we also export the verify category? } } smartctl_exporter-0.14.0/smartctl_test.go000066400000000000000000000031021500167572200205750ustar00rootroot00000000000000// Copyright 2024 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package main import ( "testing" ) func TestBuildDeviceLabel(t *testing.T) { tests := []struct { deviceName string deviceType string expectedLabel string }{ {"/dev/bus/0", "megaraid,1", "bus_0_megaraid_1"}, {"/dev/sda", "auto", "sda"}, {"/dev/disk/by-id/ata-CT500MX500SSD1_ABCDEFGHIJ", "auto", "ata-CT500MX500SSD1_ABCDEFGHIJ"}, // Some cases extracted from smartctl docs. Are these the prettiest? // Probably not. Are they unique enough. Definitely. {"/dev/sg1", "cciss,1", "sg1_cciss_1"}, {"/dev/bsg/sssraid0", "sssraid,0,1", "bsg_sssraid0_sssraid_0_1"}, {"/dev/cciss/c0d0", "cciss,0", "cciss_c0d0_cciss_0"}, {"/dev/sdb", "aacraid,1,0,4", "sdb_aacraid_1_0_4"}, {"/dev/twl0", "3ware,1", "twl0_3ware_1"}, } for _, test := range tests { result := buildDeviceLabel(test.deviceName, test.deviceType) if result != test.expectedLabel { t.Errorf("deviceName=%v deviceType=%v expected=%v result=%v", test.deviceName, test.deviceType, test.expectedLabel, result) } } } smartctl_exporter-0.14.0/smartctlinfo.go000066400000000000000000000034021500167572200204150ustar00rootroot00000000000000// Copyright 2022 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package main import ( "fmt" "github.com/prometheus/client_golang/prometheus" "github.com/tidwall/gjson" ) // SMARTctlInfo object type SMARTctlInfo struct { ch chan<- prometheus.Metric json gjson.Result Ready bool } // NewSMARTctlInfo is smartctl constructor func NewSMARTctlInfo(ch chan<- prometheus.Metric) SMARTctlInfo { smart := SMARTctlInfo{} smart.ch = ch smart.Ready = false return smart } // SetJSON metrics func (smart *SMARTctlInfo) SetJSON(json gjson.Result) { if !smart.Ready { smart.json = json smart.Ready = true } } // Collect metrics func (smart *SMARTctlInfo) Collect() { if smart.Ready { smart.mineVersion() } } func (smart *SMARTctlInfo) mineVersion() { smartctlJSON := smart.json.Get("smartctl") smartctlVersion := smartctlJSON.Get("version").Array() jsonVersion := smart.json.Get("json_format_version").Array() smart.ch <- prometheus.MustNewConstMetric( metricSmartctlVersion, prometheus.GaugeValue, 1, fmt.Sprintf("%d.%d", jsonVersion[0].Int(), jsonVersion[1].Int()), fmt.Sprintf("%d.%d", smartctlVersion[0].Int(), smartctlVersion[1].Int()), smartctlJSON.Get("svn_revision").String(), smartctlJSON.Get("build_info").String(), ) } smartctl_exporter-0.14.0/systemd/000077500000000000000000000000001500167572200170525ustar00rootroot00000000000000smartctl_exporter-0.14.0/systemd/smartctl_exporter.service000066400000000000000000000005521500167572200242170ustar00rootroot00000000000000[Unit] Description=smartctl exporter service After=network-online.target [Service] Type=simple PIDFile=/run/smartctl_exporter.pid ExecStart=/usr/bin/smartctl_exporter User=root Group=root SyslogIdentifier=smartctl_exporter Restart=on-failure RemainAfterExit=no RestartSec=100ms StandardOutput=journal StandardError=journal [Install] WantedBy=multi-user.target smartctl_exporter-0.14.0/testdata/000077500000000000000000000000001500167572200171735ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata/.gitignore000066400000000000000000000000101500167572200211520ustar00rootroot00000000000000!*.json smartctl_exporter-0.14.0/testdata/HGST_HUS724020ALE640_28.json000066400000000000000000000423371500167572200231270ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 16, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "84", "value": 84 }, "thresh": 54, "value": 135, "when_failed": "", "worst": 135 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "423 (Average 428)", "value": 38682755495 }, "thresh": 24, "value": 146, "when_failed": "", "worst": 146 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "81", "value": 81 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 5, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 67, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "33", "value": 33 }, "thresh": 20, "value": 124, "when_failed": "", "worst": 124 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "83425", "value": 83425 }, "thresh": 0, "value": 89, "when_failed": "", "worst": 89 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 60, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "81", "value": 81 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "2539", "value": 2539 }, "thresh": 0, "value": 98, "when_failed": "", "worst": 98 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "2539", "value": 2539 }, "thresh": 0, "value": 98, "when_failed": "", "worst": 98 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "26 (Min/Max 13/41)", "value": 176094511130 }, "thresh": 0, "value": 230, "when_failed": "", "worst": 230 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "12", "value": 12 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 12, "logged_count": 5, "revision": 1, "table": [ { "completion_registers": { "count": 25, "device": 7, "error": 132, "lba": 16755303, "status": 81 }, "error_description": "Error: ICRC, ABRT at LBA = 0x07ffaa67 = 134195815", "error_number": 12, "lifetime_hours": 15760, "previous_commands": [ { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 1677902, "registers": { "command": 97, "count": 8, "device": 64, "device_control": 0, "features": 128, "lba": 16755328 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 1677902, "registers": { "command": 97, "count": 0, "device": 64, "device_control": 0, "features": 128, "lba": 16755200 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 1677902, "registers": { "command": 97, "count": 8, "device": 64, "device_control": 0, "features": 128, "lba": 16754944 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 1677902, "registers": { "command": 97, "count": 0, "device": 64, "device_control": 0, "features": 128, "lba": 16754816 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 1677901, "registers": { "command": 97, "count": 0, "device": 64, "device_control": 0, "features": 128, "lba": 16754688 } } ] }, { "completion_registers": { "count": 103, "device": 1, "error": 132, "lba": 14470041, "status": 81 }, "error_description": "Error: ICRC, ABRT at LBA = 0x01dccb99 = 31247257", "error_number": 11, "lifetime_hours": 15759, "previous_commands": [ { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 1257504, "registers": { "command": 97, "count": 136, "device": 64, "device_control": 0, "features": 128, "lba": 14482816 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 1257504, "registers": { "command": 97, "count": 128, "device": 64, "device_control": 0, "features": 128, "lba": 14482688 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 1257504, "registers": { "command": 97, "count": 120, "device": 64, "device_control": 0, "features": 128, "lba": 14482432 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 1257503, "registers": { "command": 97, "count": 112, "device": 64, "device_control": 0, "features": 128, "lba": 14482304 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 1257503, "registers": { "command": 97, "count": 104, "device": 64, "device_control": 0, "features": 128, "lba": 14482048 } } ] }, { "completion_registers": { "count": 63, "device": 10, "error": 132, "lba": 14442561, "status": 81 }, "error_description": "Error: ICRC, ABRT at LBA = 0x0adc6041 = 182214721", "error_number": 10, "lifetime_hours": 15730, "previous_commands": [ { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 76434464, "registers": { "command": 97, "count": 16, "device": 64, "device_control": 0, "features": 128, "lba": 14442624 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 76434464, "registers": { "command": 97, "count": 8, "device": 64, "device_control": 0, "features": 128, "lba": 14442496 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 76434464, "registers": { "command": 97, "count": 0, "device": 64, "device_control": 0, "features": 128, "lba": 14442240 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 76434463, "registers": { "command": 97, "count": 32, "device": 64, "device_control": 0, "features": 128, "lba": 14442112 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 76434462, "registers": { "command": 97, "count": 48, "device": 64, "device_control": 0, "features": 128, "lba": 14441856 } } ] }, { "completion_registers": { "count": 9, "device": 6, "error": 132, "lba": 11005815, "status": 81 }, "error_description": "Error: ICRC, ABRT at LBA = 0x06a7ef77 = 111669111", "error_number": 9, "lifetime_hours": 15728, "previous_commands": [ { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 69748928, "registers": { "command": 97, "count": 96, "device": 64, "device_control": 0, "features": 128, "lba": 11011456 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 69748928, "registers": { "command": 97, "count": 88, "device": 64, "device_control": 0, "features": 128, "lba": 11011328 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 69748927, "registers": { "command": 97, "count": 80, "device": 64, "device_control": 0, "features": 128, "lba": 11011072 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 69748927, "registers": { "command": 97, "count": 72, "device": 64, "device_control": 0, "features": 128, "lba": 11010944 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 69748926, "registers": { "command": 97, "count": 64, "device": 64, "device_control": 0, "features": 128, "lba": 11010688 } } ] }, { "completion_registers": { "count": 91, "device": 6, "error": 132, "lba": 9944741, "status": 81 }, "error_description": "Error: ICRC, ABRT at LBA = 0x0697bea5 = 110608037", "error_number": 8, "lifetime_hours": 15728, "previous_commands": [ { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 69184742, "registers": { "command": 97, "count": 8, "device": 64, "device_control": 0, "features": 128, "lba": 9945088 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 69184741, "registers": { "command": 97, "count": 0, "device": 64, "device_control": 0, "features": 128, "lba": 9944832 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 69184740, "registers": { "command": 97, "count": 16, "device": 64, "device_control": 0, "features": 128, "lba": 9944704 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 69184740, "registers": { "command": 97, "count": 8, "device": 64, "device_control": 0, "features": 128, "lba": 9944448 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 69184740, "registers": { "command": 97, "count": 0, "device": 64, "device_control": 0, "features": 128, "lba": 9944320 } } ] } ] } }, "ata_version": { "major_value": 508, "minor_value": 41, "string": "ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sdb [SAT]", "name": "/dev/sdb", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 2, "string": "3.0 Gb/s", "units_per_second": 30 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Hitachi/HGST Ultrastar 7K4000", "model_name": "HGST HUS724020ALE640", "physical_block_size": 4096, "power_cycle_count": 81, "power_on_time": { "hours": 83425 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 63 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdb" ], "build_info": "REDACTED", "drive_database_version": { "string": "7.3/5533" }, "exit_status": 64, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 26 }, "trim": { "supported": false }, "user_capacity": { "blocks": 3907029168, "bytes": 2000398934016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }smartctl_exporter-0.14.0/testdata/HITACHI_H109060SESUN600G_10.json000066400000000000000000000052511500167572200235440ustar00rootroot00000000000000{ "device": { "info_name": "/dev/sdb", "name": "/dev/sdb", "protocol": "SCSI", "type": "scsi" }, "device_type": { "name": "disk", "scsi_terminology": "Peripheral Device Type [PDT]", "scsi_value": 0 }, "form_factor": { "name": "2.5 inches", "scsi_value": 3 }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "logical_unit_id": "0x1234567890abcdef", "power_on_time": { "hours": 22364, "minutes": 52 }, "rotation_rate": 10020, "scsi_error_counter_log": { "read": { "correction_algorithm_invocations": 304122, "errors_corrected_by_eccdelayed": 40247, "errors_corrected_by_eccfast": 0, "errors_corrected_by_rereads_rewrites": 0, "gigabytes_processed": "162438.759", "total_errors_corrected": 40247, "total_uncorrected_errors": 0 }, "verify": { "correction_algorithm_invocations": 838388, "errors_corrected_by_eccdelayed": 87, "errors_corrected_by_eccfast": 0, "errors_corrected_by_rereads_rewrites": 0, "gigabytes_processed": "1.525", "total_errors_corrected": 87, "total_uncorrected_errors": 0 }, "write": { "correction_algorithm_invocations": 4187545, "errors_corrected_by_eccdelayed": 26762907, "errors_corrected_by_eccfast": 0, "errors_corrected_by_rereads_rewrites": 0, "gigabytes_processed": "127551.260", "total_errors_corrected": 26762907, "total_uncorrected_errors": 0 } }, "scsi_grown_defect_list": 0, "scsi_model_name": "HITACHI H109060SESUN600G", "scsi_product": "H109060SESUN600G", "scsi_revision": "A31A", "scsi_start_stop_cycle_counter": { "accumulated_load_unload_cycles": 3472, "accumulated_start_stop_cycles": 70, "specified_cycle_count_over_device_lifetime": 50000, "specified_load_unload_count_over_device_lifetime": 600000, "week_of_manufacture": "05", "year_of_manufacture": "2013" }, "scsi_transport_protocol": { "name": "SAS (SPL-4)", "value": 6 }, "scsi_vendor": "HITACHI", "scsi_version": "SPC-4", "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdb" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 26, "drive_trip": 85 }, "temperature_warning": { "enabled": true }, "user_capacity": { "blocks": 1172123568, "bytes": 600127266816 } }smartctl_exporter-0.14.0/testdata/HITACHI_H109060SESUN600G_9.json000066400000000000000000000053301500167572200234720ustar00rootroot00000000000000{ "device": { "info_name": "/dev/sda", "name": "/dev/sda", "protocol": "SCSI", "type": "scsi" }, "device_type": { "name": "disk", "scsi_terminology": "Peripheral Device Type [PDT]", "scsi_value": 0 }, "form_factor": { "name": "2.5 inches", "scsi_value": 3 }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "logical_unit_id": "0x1234567890abcdef", "power_on_time": { "hours": 982, "minutes": 1 }, "rotation_rate": 10020, "scsi_error_counter_log": { "read": { "correction_algorithm_invocations": 2272755, "errors_corrected_by_eccdelayed": 0, "errors_corrected_by_eccfast": 0, "errors_corrected_by_rereads_rewrites": 0, "gigabytes_processed": "111593.179", "total_errors_corrected": 0, "total_uncorrected_errors": 0 }, "verify": { "correction_algorithm_invocations": 274134, "errors_corrected_by_eccdelayed": 0, "errors_corrected_by_eccfast": 0, "errors_corrected_by_rereads_rewrites": 0, "gigabytes_processed": "0.000", "total_errors_corrected": 0, "total_uncorrected_errors": 0 }, "write": { "correction_algorithm_invocations": 4882199, "errors_corrected_by_eccdelayed": 0, "errors_corrected_by_eccfast": 0, "errors_corrected_by_rereads_rewrites": 0, "gigabytes_processed": "292086.584", "total_errors_corrected": 0, "total_uncorrected_errors": 0 } }, "scsi_grown_defect_list": 0, "scsi_model_name": "HITACHI H109060SESUN600G", "scsi_product": "H109060SESUN600G", "scsi_protection_interval_bytes_per_lb": 8, "scsi_protection_type": 1, "scsi_revision": "A690", "scsi_start_stop_cycle_counter": { "accumulated_load_unload_cycles": 2227, "accumulated_start_stop_cycles": 45, "specified_cycle_count_over_device_lifetime": 50000, "specified_load_unload_count_over_device_lifetime": 600000, "week_of_manufacture": "28", "year_of_manufacture": "2014" }, "scsi_transport_protocol": { "name": "SAS (SPL-4)", "value": 6 }, "scsi_vendor": "HITACHI", "scsi_version": "SPC-4", "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 27, "drive_trip": 85 }, "temperature_warning": { "enabled": true }, "user_capacity": { "blocks": 1172123568, "bytes": 600127266816 } }smartctl_exporter-0.14.0/testdata/HP_73.4G_MAS3735NC_25.json000066400000000000000000000042011500167572200227250ustar00rootroot00000000000000{ "device": { "info_name": "/dev/sdc", "name": "/dev/sdc", "protocol": "SCSI", "type": "scsi" }, "device_type": { "name": "disk", "scsi_terminology": "Peripheral Device Type [PDT]", "scsi_value": 0 }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "logical_unit_id": "0x1234567890abcdef", "rotation_rate": 15000, "scsi_error_counter_log": { "read": { "correction_algorithm_invocations": 0, "errors_corrected_by_eccdelayed": 1020, "errors_corrected_by_eccfast": 0, "errors_corrected_by_rereads_rewrites": 0, "gigabytes_processed": "64396.534", "total_errors_corrected": 0, "total_uncorrected_errors": 0 }, "write": { "correction_algorithm_invocations": 0, "errors_corrected_by_eccdelayed": 338, "errors_corrected_by_eccfast": 0, "errors_corrected_by_rereads_rewrites": 0, "gigabytes_processed": "28837.334", "total_errors_corrected": 0, "total_uncorrected_errors": 0 } }, "scsi_grown_defect_list": 0, "scsi_model_name": "HP 73.4G MAS3735NC", "scsi_product": "MAS3735NC", "scsi_revision": "HPC3", "scsi_start_stop_cycle_counter": { "accumulated_start_stop_cycles": 184, "specified_cycle_count_over_device_lifetime": 10000, "week_of_manufacture": "25", "year_of_manufacture": "2004" }, "scsi_transport_protocol": { "name": "Parallel SCSI (SPI-4)", "value": 1 }, "scsi_vendor": "HP 73.4G", "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdc" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "pre_release": false, "svn_revision": "5530", "version": [ 7, 4 ] }, "temperature": { "current": 28, "drive_trip": 65 }, "temperature_warning": { "enabled": true }, "user_capacity": { "blocks": 143374738, "bytes": 73407865856 } }smartctl_exporter-0.14.0/testdata/Hitachi_HUA722020ALA330_29.json000066400000000000000000000213511500167572200236710ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 16, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "100", "value": 100 }, "thresh": 54, "value": 133, "when_failed": "", "worst": 133 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "650 (Average 533)", "value": 51574538890 }, "thresh": 24, "value": 122, "when_failed": "", "worst": 122 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "32", "value": 32 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 5, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 67, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "34", "value": 34 }, "thresh": 20, "value": 123, "when_failed": "", "worst": 123 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "78405", "value": 78405 }, "thresh": 0, "value": 89, "when_failed": "", "worst": 89 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 60, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "32", "value": 32 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "496", "value": 496 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "496", "value": 496 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "28 (Min/Max 18/45)", "value": 193274707996 }, "thresh": 0, "value": 214, "when_failed": "", "worst": 214 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 0 } }, "ata_version": { "major_value": 508, "minor_value": 41, "string": "ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "max": { "bits_per_unit": 100000000, "sata_value": 6, "string": "3.0 Gb/s", "units_per_second": 30 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Hitachi Ultrastar A7K2000", "model_name": "Hitachi HUA722020ALA330", "physical_block_size": 512, "power_cycle_count": 32, "power_on_time": { "hours": 78405 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 2.6", "value": 31 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "drive_database_version": { "string": "7.3/5533" }, "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 28 }, "trim": { "supported": false }, "user_capacity": { "blocks": 3907029168, "bytes": 2000398934016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }smartctl_exporter-0.14.0/testdata/INTEL_SSDPE2KX080T8_1.json000066400000000000000000000033071500167572200231130ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "INTEL SSDPE2KX080T8", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 165, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 20126802, "data_units_written": 184919244, "host_reads": 134106494, "host_writes": 4922206599, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 22, "power_on_hours": 12164, "temperature": 29, "unsafe_shutdowns": 8, "warning_temp_time": 0 }, "nvme_total_capacity": 8001563222016, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 22, "power_on_time": { "hours": 12164 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 29 } }smartctl_exporter-0.14.0/testdata/INTEL_SSDPE2KX080T8_3.json000066400000000000000000000033061500167572200231140ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme1", "name": "/dev/nvme1", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "INTEL SSDPE2KX080T8", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 99, "available_spare_threshold": 10, "controller_busy_time": 142, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 22727998, "data_units_written": 147215516, "host_reads": 158059977, "host_writes": 4104714523, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 22, "power_on_hours": 12164, "temperature": 30, "unsafe_shutdowns": 8, "warning_temp_time": 0 }, "nvme_total_capacity": 8001563222016, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 22, "power_on_time": { "hours": 12164 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme1" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 30 } }smartctl_exporter-0.14.0/testdata/INTEL_SSDPE2KX080T8_4.json000066400000000000000000000033061500167572200231150ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme3", "name": "/dev/nvme3", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "INTEL SSDPE2KX080T8", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 85, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 20145988, "data_units_written": 103902180, "host_reads": 128169692, "host_writes": 1929265106, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 22, "power_on_hours": 12164, "temperature": 29, "unsafe_shutdowns": 8, "warning_temp_time": 0 }, "nvme_total_capacity": 8001563222016, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 22, "power_on_time": { "hours": 12164 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme3" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 29 } }smartctl_exporter-0.14.0/testdata/INTEL_SSDPE2KX080T8_5.json000066400000000000000000000033071500167572200231170ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme1", "name": "/dev/nvme1", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "INTEL SSDPE2KX080T8", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 99, "available_spare_threshold": 10, "controller_busy_time": 148, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 22744236, "data_units_written": 157616049, "host_reads": 289697433, "host_writes": 3162427130, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 39, "power_on_hours": 12671, "temperature": 30, "unsafe_shutdowns": 16, "warning_temp_time": 0 }, "nvme_total_capacity": 8001563222016, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 39, "power_on_time": { "hours": 12671 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme1" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 30 } }smartctl_exporter-0.14.0/testdata/INTEL_SSDPE2KX080T8_6.json000066400000000000000000000033101500167572200231120ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "INTEL SSDPE2KX080T8", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 225, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 23399403, "data_units_written": 223891595, "host_reads": 381125334, "host_writes": 6242030453, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 39, "power_on_hours": 12671, "temperature": 30, "unsafe_shutdowns": 16, "warning_temp_time": 0 }, "nvme_total_capacity": 8001563222016, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 39, "power_on_time": { "hours": 12671 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 30 } }smartctl_exporter-0.14.0/testdata/INTEL_SSDPE2KX080T8_7.json000066400000000000000000000033101500167572200231130ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme3", "name": "/dev/nvme3", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "INTEL SSDPE2KX080T8", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 181, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 17419632, "data_units_written": 171147998, "host_reads": 188762875, "host_writes": 4953155968, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 39, "power_on_hours": 12671, "temperature": 31, "unsafe_shutdowns": 16, "warning_temp_time": 0 }, "nvme_total_capacity": 8001563222016, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 39, "power_on_time": { "hours": 12671 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme3" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 31 } }smartctl_exporter-0.14.0/testdata/KXG60ZNV512G_TOSHIBA_2.json000066400000000000000000000042641500167572200232220ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme2", "name": "/dev/nvme2", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 4096, "model_name": "KXG60ZNV512G TOSHIBA", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 9233294, "nvme_namespaces": [ { "capacity": { "blocks": 125026902, "bytes": 512110190592 }, "eui64": { "ext_id": 21483710645, "oui": 9233294 }, "formatted_lba_size": 4096, "id": 1, "size": { "blocks": 125026902, "bytes": 512110190592 }, "utilization": { "blocks": 125026902, "bytes": 512110190592 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 4473, "subsystem_id": 4473 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 463, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 15794760, "data_units_written": 3861802, "host_reads": 97929810, "host_writes": 99025670, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 1, "power_cycles": 30, "power_on_hours": 12173, "temperature": 37, "temperature_sensors": [ 37 ], "unsafe_shutdowns": 15, "warning_temp_time": 0 }, "nvme_total_capacity": 512110190592, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.3", "value": 66304 }, "power_cycle_count": 30, "power_on_time": { "hours": 12173 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme2" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 37 }, "user_capacity": { "blocks": 125026902, "bytes": 512110190592 } }smartctl_exporter-0.14.0/testdata/KXG60ZNV512G_TOSHIBA_8.json000066400000000000000000000042671500167572200232330ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme2", "name": "/dev/nvme2", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "KXG60ZNV512G TOSHIBA", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 9233294, "nvme_namespaces": [ { "capacity": { "blocks": 1000215216, "bytes": 512110190592 }, "eui64": { "ext_id": 4295713919, "oui": 9233294 }, "formatted_lba_size": 512, "id": 1, "size": { "blocks": 1000215216, "bytes": 512110190592 }, "utilization": { "blocks": 1000215216, "bytes": 512110190592 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 4473, "subsystem_id": 4473 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 594, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 10480864, "data_units_written": 5578530, "host_reads": 141510981, "host_writes": 206619338, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 4, "power_cycles": 52, "power_on_hours": 12728, "temperature": 35, "temperature_sensors": [ 35 ], "unsafe_shutdowns": 28, "warning_temp_time": 0 }, "nvme_total_capacity": 512110190592, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.3", "value": 66304 }, "power_cycle_count": 52, "power_on_time": { "hours": 12728 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme2" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 35 }, "user_capacity": { "blocks": 1000215216, "bytes": 512110190592 } }smartctl_exporter-0.14.0/testdata/MB0500EBNCR_13.json000066400000000000000000000260541500167572200217550ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "341", "value": 341 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "2283", "value": 2283 }, "thresh": 21, "value": 174, "when_failed": "", "worst": 174 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "50", "value": 50 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "89214", "value": 89214 }, "thresh": 0, "value": 1, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "48", "value": 48 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 180, "name": "Unknown_HDD_Attribute", "raw": { "string": "0", "value": 0 }, "thresh": 100, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "26", "value": 26 }, "thresh": 45, "value": 74, "when_failed": "", "worst": 59 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "42", "value": 42 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "26", "value": 26 }, "thresh": 0, "value": 117, "when_failed": "", "worst": 102 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": true, "prefailure": false, "string": "-OS-CK ", "updated_online": true, "value": 54 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "4", "value": 4 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 510, "minor_value": 40, "string": "ATA8-ACS T13/1699-D revision 6" }, "device": { "info_name": "/dev/sdb [SAT]", "name": "/dev/sdb", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": false, "interface_speed": { "max": { "bits_per_unit": 100000000, "sata_value": 6, "string": "3.0 Gb/s", "units_per_second": 30 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "MB0500EBNCR", "physical_block_size": 512, "power_cycle_count": 48, "power_on_time": { "hours": 89214 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 2.6", "value": 30 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdb" ], "build_info": "REDACTED", "drive_database_version": { "string": "7.3/5533" }, "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 26 }, "trim": { "supported": false }, "user_capacity": { "blocks": 976773168, "bytes": 500107862016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }smartctl_exporter-0.14.0/testdata/MB0500EBNCR_14.json000066400000000000000000000260501500167572200217520ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "1", "value": 1 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "2358", "value": 2358 }, "thresh": 21, "value": 172, "when_failed": "", "worst": 172 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "50", "value": 50 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "89180", "value": 89180 }, "thresh": 0, "value": 1, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "48", "value": 48 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 180, "name": "Unknown_HDD_Attribute", "raw": { "string": "0", "value": 0 }, "thresh": 100, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "27", "value": 27 }, "thresh": 45, "value": 73, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "42", "value": 42 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "27", "value": 27 }, "thresh": 0, "value": 116, "when_failed": "", "worst": 103 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": true, "prefailure": false, "string": "-OS-CK ", "updated_online": true, "value": 54 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 510, "minor_value": 40, "string": "ATA8-ACS T13/1699-D revision 6" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": false, "interface_speed": { "max": { "bits_per_unit": 100000000, "sata_value": 6, "string": "3.0 Gb/s", "units_per_second": 30 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "MB0500EBNCR", "physical_block_size": 512, "power_cycle_count": 48, "power_on_time": { "hours": 89180 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 2.6", "value": 30 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "drive_database_version": { "string": "7.3/5533" }, "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 27 }, "trim": { "supported": false }, "user_capacity": { "blocks": 976773168, "bytes": 500107862016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }smartctl_exporter-0.14.0/testdata/README.md000066400000000000000000000007621500167572200204570ustar00rootroot00000000000000This directory contains JSON testing data for parsing validation. New data can be collected with the `collect_fake_json.sh` script. Sensitive information should been redacted using the `redact_fake_json.py` script. TODO: what is a good naming scheme for files in this directory? For first-pass, it has been either of `model_name` or `scsi_model_name`, followed by an identifier. Why multiple drives of the same model? Testing where one drive has fields not present on others, e.g. error counts. smartctl_exporter-0.14.0/testdata/SAMSUNG_MZ7WD240HAFV-00003_21.json000066400000000000000000000214551500167572200237770ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "84619", "value": 84619 }, "thresh": 0, "value": 83, "when_failed": "", "worst": 83 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "6", "value": 6 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 177, "name": "Wear_Leveling_Count", "raw": { "string": "1661", "value": 1661 }, "thresh": 5, "value": 91, "when_failed": "", "worst": 91 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 179, "name": "Used_Rsvd_Blk_Cnt_Tot", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 180, "name": "Unused_Rsvd_Blk_Cnt_Tot", "raw": { "string": "5248", "value": 5248 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 181, "name": "Program_Fail_Cnt_Total", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 182, "name": "Erase_Fail_Count_Total", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 183, "name": "Runtime_Bad_Block", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "27", "value": 27 }, "thresh": 0, "value": 73, "when_failed": "", "worst": 59 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "ECC_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 202, "name": "Exception_Mode_Status", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 235, "name": "POR_Recovery_Count", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "216456537880", "value": 216456537880 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 57, "string": "ACS-2, ATA8-ACS T13/1699-D revision 4c" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Samsung based SSDs", "model_name": "SAMSUNG MZ7WD240HAFV-00003", "physical_block_size": 512, "power_cycle_count": 6, "power_on_time": { "hours": 84619 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "drive_database_version": { "string": "7.3/5533" }, "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 27 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 468862128, "bytes": 240057409536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 9528 } }smartctl_exporter-0.14.0/testdata/SAMSUNG_MZ7WD240HAFV-00003_22.json000066400000000000000000000214551500167572200240000ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "84620", "value": 84620 }, "thresh": 0, "value": 83, "when_failed": "", "worst": 83 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "6", "value": 6 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 177, "name": "Wear_Leveling_Count", "raw": { "string": "1773", "value": 1773 }, "thresh": 5, "value": 90, "when_failed": "", "worst": 90 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 179, "name": "Used_Rsvd_Blk_Cnt_Tot", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 180, "name": "Unused_Rsvd_Blk_Cnt_Tot", "raw": { "string": "5248", "value": 5248 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 181, "name": "Program_Fail_Cnt_Total", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 182, "name": "Erase_Fail_Count_Total", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 183, "name": "Runtime_Bad_Block", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "27", "value": 27 }, "thresh": 0, "value": 73, "when_failed": "", "worst": 61 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "ECC_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 202, "name": "Exception_Mode_Status", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 235, "name": "POR_Recovery_Count", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "218759569150", "value": 218759569150 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 57, "string": "ACS-2, ATA8-ACS T13/1699-D revision 4c" }, "device": { "info_name": "/dev/sdb [SAT]", "name": "/dev/sdb", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Samsung based SSDs", "model_name": "SAMSUNG MZ7WD240HAFV-00003", "physical_block_size": 512, "power_cycle_count": 6, "power_on_time": { "hours": 84620 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdb" ], "build_info": "REDACTED", "drive_database_version": { "string": "7.3/5533" }, "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 27 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 468862128, "bytes": 240057409536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 9528 } }smartctl_exporter-0.14.0/testdata/SAMSUNG_MZQLB1T9HAJR-00007_19.json000066400000000000000000000042101500167572200240650ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "SAMSUNG MZQLB1T9HAJR-00007", "nvme_controller_id": 4, "nvme_ieee_oui_identifier": 9528, "nvme_namespaces": [ { "capacity": { "blocks": 3750748848, "bytes": 1920383410176 }, "formatted_lba_size": 512, "id": 1, "size": { "blocks": 3750748848, "bytes": 1920383410176 }, "utilization": { "blocks": 284186528, "bytes": 145503502336 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 5197, "subsystem_id": 5197 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 223, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 12345514, "data_units_written": 44965392, "host_reads": 81115611, "host_writes": 508465316, "media_errors": 0, "num_err_log_entries": 14, "percentage_used": 0, "power_cycles": 6, "power_on_hours": 20701, "temperature": 40, "temperature_sensors": [ 40, 43, 48 ], "unsafe_shutdowns": 0, "warning_temp_time": 0 }, "nvme_total_capacity": 1920383410176, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 6, "power_on_time": { "hours": 20701 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 40 }, "user_capacity": { "blocks": 3750748848, "bytes": 1920383410176 } }smartctl_exporter-0.14.0/testdata/SAMSUNG_MZQLB1T9HAJR-00007_20.json000066400000000000000000000042101500167572200240550ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme1", "name": "/dev/nvme1", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "SAMSUNG MZQLB1T9HAJR-00007", "nvme_controller_id": 4, "nvme_ieee_oui_identifier": 9528, "nvme_namespaces": [ { "capacity": { "blocks": 3750748848, "bytes": 1920383410176 }, "formatted_lba_size": 512, "id": 1, "size": { "blocks": 3750748848, "bytes": 1920383410176 }, "utilization": { "blocks": 289429144, "bytes": 148187721728 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 5197, "subsystem_id": 5197 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 232, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 12319491, "data_units_written": 48131060, "host_reads": 78560447, "host_writes": 506591500, "media_errors": 0, "num_err_log_entries": 14, "percentage_used": 0, "power_cycles": 7, "power_on_hours": 20701, "temperature": 41, "temperature_sensors": [ 41, 45, 48 ], "unsafe_shutdowns": 0, "warning_temp_time": 0 }, "nvme_total_capacity": 1920383410176, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 7, "power_on_time": { "hours": 20701 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme1" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 41 }, "user_capacity": { "blocks": 3750748848, "bytes": 1920383410176 } }smartctl_exporter-0.14.0/testdata/SAMSUNG_MZVL21T0HCLR-00B00_23.json000066400000000000000000000043041500167572200240570ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "SAMSUNG MZVL21T0HCLR-00B00", "nvme_controller_id": 6, "nvme_ieee_oui_identifier": 9528, "nvme_namespaces": [ { "capacity": { "blocks": 2000409264, "bytes": 1024209543168 }, "eui64": { "ext_id": 769096114121, "oui": 9528 }, "formatted_lba_size": 512, "id": 1, "size": { "blocks": 2000409264, "bytes": 1024209543168 }, "utilization": { "blocks": 531676888, "bytes": 272218566656 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 5197, "subsystem_id": 5197 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 35754, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 7193048, "data_units_written": 113662783, "host_reads": 60131549, "host_writes": 2219922465, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 16, "power_cycles": 6, "power_on_hours": 10423, "temperature": 29, "temperature_sensors": [ 29, 30 ], "unsafe_shutdowns": 1, "warning_temp_time": 0 }, "nvme_total_capacity": 1024209543168, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.3", "value": 66304 }, "power_cycle_count": 6, "power_on_time": { "hours": 10423 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 29 }, "user_capacity": { "blocks": 2000409264, "bytes": 1024209543168 } }smartctl_exporter-0.14.0/testdata/SAMSUNG_MZVL21T0HCLR-00B00_24.json000066400000000000000000000043041500167572200240600ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme1", "name": "/dev/nvme1", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "SAMSUNG MZVL21T0HCLR-00B00", "nvme_controller_id": 6, "nvme_ieee_oui_identifier": 9528, "nvme_namespaces": [ { "capacity": { "blocks": 2000409264, "bytes": 1024209543168 }, "eui64": { "ext_id": 769096114107, "oui": 9528 }, "formatted_lba_size": 512, "id": 1, "size": { "blocks": 2000409264, "bytes": 1024209543168 }, "utilization": { "blocks": 823621536, "bytes": 421694226432 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 5197, "subsystem_id": 5197 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 36476, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 1421618, "data_units_written": 118137665, "host_reads": 12283296, "host_writes": 2247575122, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 16, "power_cycles": 6, "power_on_hours": 10407, "temperature": 30, "temperature_sensors": [ 30, 31 ], "unsafe_shutdowns": 1, "warning_temp_time": 0 }, "nvme_total_capacity": 1024209543168, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.3", "value": 66304 }, "power_cycle_count": 6, "power_on_time": { "hours": 10407 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme1" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 30 }, "user_capacity": { "blocks": 2000409264, "bytes": 1024209543168 } }smartctl_exporter-0.14.0/testdata/SEAGATE_ST373453LC_26.json000066400000000000000000000037521500167572200227730ustar00rootroot00000000000000{ "device": { "info_name": "/dev/sdb", "name": "/dev/sdb", "protocol": "SCSI", "type": "scsi" }, "device_type": { "name": "disk", "scsi_terminology": "Peripheral Device Type [PDT]", "scsi_value": 0 }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "power_on_time": { "hours": 102880, "minutes": 59 }, "rotation_rate": 15015, "scsi_error_counter_log": { "read": { "correction_algorithm_invocations": 5332649, "errors_corrected_by_eccdelayed": 1, "errors_corrected_by_eccfast": 5330255, "errors_corrected_by_rereads_rewrites": 41, "gigabytes_processed": "11523.849", "total_errors_corrected": 5330297, "total_uncorrected_errors": 1 }, "write": { "correction_algorithm_invocations": 128473, "errors_corrected_by_eccdelayed": 0, "errors_corrected_by_eccfast": 0, "errors_corrected_by_rereads_rewrites": 1973, "gigabytes_processed": "11151.772", "total_errors_corrected": 1973, "total_uncorrected_errors": 535 } }, "scsi_grown_defect_list": 260, "scsi_model_name": "SEAGATE ST373453LC", "scsi_product": "ST373453LC", "scsi_revision": "DX10", "scsi_transport_protocol": { "name": "Parallel SCSI (SPI-4)", "value": 1 }, "scsi_vendor": "SEAGATE", "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdb" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "pre_release": false, "svn_revision": "5530", "version": [ 7, 4 ] }, "temperature": { "current": 33, "drive_trip": 68 }, "temperature_warning": { "enabled": false }, "user_capacity": { "blocks": 143374650, "bytes": 73407820800 } }smartctl_exporter-0.14.0/testdata/SEAGATE_ST373453LC_27.json000066400000000000000000000044151500167572200227710ustar00rootroot00000000000000{ "device": { "info_name": "/dev/sda", "name": "/dev/sda", "protocol": "SCSI", "type": "scsi" }, "device_type": { "name": "disk", "scsi_terminology": "Peripheral Device Type [PDT]", "scsi_value": 0 }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "power_on_time": { "hours": 91691, "minutes": 24 }, "rotation_rate": 15015, "scsi_error_counter_log": { "read": { "correction_algorithm_invocations": 128691559, "errors_corrected_by_eccdelayed": 0, "errors_corrected_by_eccfast": 128691425, "errors_corrected_by_rereads_rewrites": 0, "gigabytes_processed": "157558.954", "total_errors_corrected": 128691425, "total_uncorrected_errors": 0 }, "verify": { "correction_algorithm_invocations": 342052, "errors_corrected_by_eccdelayed": 0, "errors_corrected_by_eccfast": 342052, "errors_corrected_by_rereads_rewrites": 0, "gigabytes_processed": "577.560", "total_errors_corrected": 342052, "total_uncorrected_errors": 0 }, "write": { "correction_algorithm_invocations": 0, "errors_corrected_by_eccdelayed": 0, "errors_corrected_by_eccfast": 0, "errors_corrected_by_rereads_rewrites": 0, "gigabytes_processed": "13782.768", "total_errors_corrected": 0, "total_uncorrected_errors": 0 } }, "scsi_grown_defect_list": 0, "scsi_model_name": "SEAGATE ST373453LC", "scsi_product": "ST373453LC", "scsi_revision": "DX10", "scsi_transport_protocol": { "name": "Parallel SCSI (SPI-4)", "value": 1 }, "scsi_vendor": "SEAGATE", "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": false }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "pre_release": false, "svn_revision": "5530", "version": [ 7, 4 ] }, "temperature": { "current": 34, "drive_trip": 68 }, "temperature_warning": { "enabled": true }, "user_capacity": { "blocks": 143374650, "bytes": 73407820800 } }smartctl_exporter-0.14.0/testdata/ST3200820AS_15.json000066400000000000000000000214641500167572200217130ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "124179459", "value": 124179459 }, "thresh": 6, "value": 117, "when_failed": "", "worst": 88 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 96, "when_failed": "", "worst": 96 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "36", "value": 36 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 36, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "576454148", "value": 576454148 }, "thresh": 30, "value": 87, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "100216", "value": 100216 }, "thresh": 0, "value": 1, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "75", "value": 75 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 189, "name": "High_Fly_Writes", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "35 (Min/Max 28/39)", "value": 656146467 }, "thresh": 45, "value": 65, "when_failed": "", "worst": 55 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "35 (0 19 0 0 0)", "value": 81604378659 }, "thresh": 0, "value": 35, "when_failed": "", "worst": 45 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "55687139", "value": 55687139 }, "thresh": 0, "value": 74, "when_failed": "", "worst": 55 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 202, "name": "Data_Address_Mark_Errs", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 254, "minor_value": 0, "string": "ATA/ATAPI-7 (minor revision not indicated)" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Barracuda 7200.10", "model_name": "ST3200820AS", "physical_block_size": 512, "power_cycle_count": 75, "power_on_time": { "hours": 100216 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "drive_database_version": { "string": "7.3/5533" }, "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 35 }, "trim": { "supported": false }, "user_capacity": { "blocks": 390721968, "bytes": 200049647616 } }smartctl_exporter-0.14.0/testdata/ST3200820AS_16.json000066400000000000000000000423421500167572200217120ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "143944925", "value": 143944925 }, "thresh": 6, "value": 117, "when_failed": "", "worst": 88 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 96, "when_failed": "", "worst": 96 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "37", "value": 37 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 36, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "184476319", "value": 184476319 }, "thresh": 30, "value": 82, "when_failed": "", "worst": 55 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "100161", "value": 100161 }, "thresh": 0, "value": 1, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "79", "value": 79 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 189, "name": "High_Fly_Writes", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "33 (Min/Max 26/37)", "value": 622460961 }, "thresh": 45, "value": 67, "when_failed": "", "worst": 56 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "33 (0 20 0 0 0)", "value": 85899345953 }, "thresh": 0, "value": 33, "when_failed": "", "worst": 44 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "10474133", "value": 10474133 }, "thresh": 0, "value": 69, "when_failed": "", "worst": 64 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 202, "name": "Data_Address_Mark_Errs", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 98, "logged_count": 5, "revision": 1, "table": [ { "completion_registers": { "count": 1, "device": 231, "error": 16, "lba": 4843886, "status": 81 }, "error_number": 98, "lifetime_hours": 7042, "previous_commands": [ { "command_name": "SET NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 21652853, "registers": { "command": 55, "count": 1, "device": 231, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 21652717, "registers": { "command": 39, "count": 0, "device": 224, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "SET NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 21652601, "registers": { "command": 55, "count": 0, "device": 231, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 21652540, "registers": { "command": 39, "count": 1, "device": 224, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "SET NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 21648486, "registers": { "command": 55, "count": 1, "device": 231, "device_control": 0, "features": 255, "lba": 4843886 } } ] }, { "completion_registers": { "count": 1, "device": 231, "error": 16, "lba": 4843886, "status": 81 }, "error_number": 97, "lifetime_hours": 7042, "previous_commands": [ { "command_name": "SET NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 21652853, "registers": { "command": 55, "count": 1, "device": 231, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 21652717, "registers": { "command": 39, "count": 0, "device": 224, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "SET NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 21652601, "registers": { "command": 55, "count": 0, "device": 231, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 21652540, "registers": { "command": 39, "count": 1, "device": 224, "device_control": 0, "features": 255, "lba": 4845999 } }, { "command_name": "READ MULTIPLE EXT", "powerup_milliseconds": 21648486, "registers": { "command": 41, "count": 1, "device": 224, "device_control": 0, "features": 0, "lba": 4845999 } } ] }, { "completion_registers": { "count": 1, "device": 231, "error": 16, "lba": 4843886, "status": 81 }, "error_number": 96, "lifetime_hours": 5297, "previous_commands": [ { "command_name": "SET NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 17205739, "registers": { "command": 55, "count": 1, "device": 231, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 17205674, "registers": { "command": 39, "count": 0, "device": 224, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "SET NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 17205539, "registers": { "command": 55, "count": 0, "device": 231, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 17205422, "registers": { "command": 39, "count": 1, "device": 224, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "SET NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 17205351, "registers": { "command": 55, "count": 1, "device": 231, "device_control": 0, "features": 255, "lba": 4843886 } } ] }, { "completion_registers": { "count": 1, "device": 231, "error": 16, "lba": 4843886, "status": 81 }, "error_number": 95, "lifetime_hours": 5297, "previous_commands": [ { "command_name": "SET NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 17205739, "registers": { "command": 55, "count": 1, "device": 231, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 17205674, "registers": { "command": 39, "count": 0, "device": 224, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "SET NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 17205539, "registers": { "command": 55, "count": 0, "device": 231, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 17205422, "registers": { "command": 39, "count": 1, "device": 224, "device_control": 0, "features": 255, "lba": 4845999 } }, { "command_name": "READ MULTIPLE EXT", "powerup_milliseconds": 17205351, "registers": { "command": 41, "count": 1, "device": 224, "device_control": 0, "features": 0, "lba": 4845999 } } ] }, { "completion_registers": { "count": 1, "device": 231, "error": 16, "lba": 4843886, "status": 81 }, "error_number": 94, "lifetime_hours": 5168, "previous_commands": [ { "command_name": "SET NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 8100540, "registers": { "command": 55, "count": 1, "device": 231, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 8100540, "registers": { "command": 39, "count": 0, "device": 224, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "SET NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 8100540, "registers": { "command": 55, "count": 0, "device": 231, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 8106725, "registers": { "command": 39, "count": 1, "device": 224, "device_control": 0, "features": 255, "lba": 4843886 } }, { "command_name": "SET NATIVE MAX ADDRESS EXT [OBS-ACS-3]", "powerup_milliseconds": 8106666, "registers": { "command": 55, "count": 1, "device": 231, "device_control": 0, "features": 255, "lba": 4843886 } } ] } ] } }, "ata_version": { "major_value": 254, "minor_value": 0, "string": "ATA/ATAPI-7 (minor revision not indicated)" }, "device": { "info_name": "/dev/sdb [SAT]", "name": "/dev/sdb", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Barracuda 7200.10", "model_name": "ST3200820AS", "physical_block_size": 512, "power_cycle_count": 79, "power_on_time": { "hours": 100161 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdb" ], "build_info": "REDACTED", "drive_database_version": { "string": "7.3/5533" }, "exit_status": 64, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 33 }, "trim": { "supported": false }, "user_capacity": { "blocks": 390719855, "bytes": 200048565760 } }smartctl_exporter-0.14.0/testdata/ST3500418AS_11.json000066400000000000000000000253641500167572200217200ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "168165566", "value": 168165566 }, "thresh": 6, "value": 118, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 97, "when_failed": "", "worst": 97 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "72", "value": 72 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "1", "value": 1 }, "thresh": 36, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "610424933", "value": 610424933 }, "thresh": 30, "value": 87, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "44670", "value": 44670 }, "thresh": 0, "value": 50, "when_failed": "", "worst": 11 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "26", "value": 26 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "Runtime_Bad_Block", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 99, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 189, "name": "High_Fly_Writes", "raw": { "string": "58", "value": 58 }, "thresh": 0, "value": 42, "when_failed": "", "worst": 42 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "32 (Min/Max 23/35)", "value": 588709920 }, "thresh": 45, "value": 68, "when_failed": "", "worst": 58 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "32 (0 19 0 0 0)", "value": 81604378656 }, "thresh": 0, "value": 32, "when_failed": "", "worst": 42 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "168165566", "value": 168165566 }, "thresh": 0, "value": 40, "when_failed": "", "worst": 17 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "122817 (237 33 0)", "value": 260725989826497 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "543343366", "value": 543343366 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "224972325", "value": 224972325 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 496, "minor_value": 41, "string": "ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sdb [SAT]", "name": "/dev/sdb", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "max": { "bits_per_unit": 100000000, "sata_value": 6, "string": "3.0 Gb/s", "units_per_second": 30 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Barracuda 7200.12", "model_name": "ST3500418AS", "physical_block_size": 512, "power_cycle_count": 26, "power_on_time": { "hours": 44670 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 2.6", "value": 16 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdb" ], "build_info": "REDACTED", "drive_database_version": { "string": "7.3/5533" }, "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 32 }, "trim": { "supported": false }, "user_capacity": { "blocks": 976773168, "bytes": 500107862016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }smartctl_exporter-0.14.0/testdata/ST3500418AS_12.json000066400000000000000000000254001500167572200217100ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "234151754", "value": 234151754 }, "thresh": 6, "value": 119, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 97, "when_failed": "", "worst": 97 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "72", "value": 72 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "304", "value": 304 }, "thresh": 36, "value": 93, "when_failed": "", "worst": 93 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "12834215976973", "value": 12834215976973 }, "thresh": 30, "value": 55, "when_failed": "", "worst": 51 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "44668", "value": 44668 }, "thresh": 0, "value": 50, "when_failed": "", "worst": 11 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "26", "value": 26 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "Runtime_Bad_Block", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 99, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 189, "name": "High_Fly_Writes", "raw": { "string": "2", "value": 2 }, "thresh": 0, "value": 98, "when_failed": "", "worst": 98 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "33 (Min/Max 24/36)", "value": 605552673 }, "thresh": 45, "value": 67, "when_failed": "", "worst": 57 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "33 (0 19 0 0 0)", "value": 81604378657 }, "thresh": 0, "value": 33, "when_failed": "", "worst": 43 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "234151754", "value": 234151754 }, "thresh": 0, "value": 35, "when_failed": "", "worst": 13 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "122811 (109 12 0)", "value": 119898307157947 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "3022432698", "value": 3022432698 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "910143200", "value": 910143200 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 496, "minor_value": 41, "string": "ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "max": { "bits_per_unit": 100000000, "sata_value": 6, "string": "3.0 Gb/s", "units_per_second": 30 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Barracuda 7200.12", "model_name": "ST3500418AS", "physical_block_size": 512, "power_cycle_count": 26, "power_on_time": { "hours": 44668 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 2.6", "value": 16 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "drive_database_version": { "string": "7.3/5533" }, "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 33 }, "trim": { "supported": false }, "user_capacity": { "blocks": 976773168, "bytes": 500107862016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }smartctl_exporter-0.14.0/testdata/WDC_WD20EFRX-68EUZN0_17.json000066400000000000000000000213371500167572200232560ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "114", "value": 114 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 21, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "3", "value": 3 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-K ", "updated_online": true, "value": 46 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 196 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "47657", "value": 47657 }, "thresh": 0, "value": 35, "when_failed": "", "worst": 35 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "3", "value": 3 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "882", "value": 882 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "34", "value": 34 }, "thresh": 0, "value": 113, "when_failed": "", "worst": 110 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1022, "minor_value": 0, "string": "ACS-2 (minor revision not indicated)" }, "device": { "info_name": "/dev/sdb [SAT]", "name": "/dev/sdb", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Western Digital Red", "model_name": "WDC WD20EFRX-68EUZN0", "physical_block_size": 4096, "power_cycle_count": 3, "power_on_time": { "hours": 47657 }, "rotation_rate": 5400, "sata_version": { "string": "SATA 3.0", "value": 62 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdb" ], "build_info": "REDACTED", "drive_database_version": { "string": "7.3/5533" }, "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 34 }, "trim": { "supported": false }, "user_capacity": { "blocks": 3907029168, "bytes": 2000398934016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }smartctl_exporter-0.14.0/testdata/WDC_WD20EFRX-68EUZN0_18.json000066400000000000000000000213431500167572200232540ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "22", "value": 22 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "4150", "value": 4150 }, "thresh": 21, "value": 177, "when_failed": "", "worst": 177 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-K ", "updated_online": true, "value": 46 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "71605", "value": 71605 }, "thresh": 0, "value": 2, "when_failed": "", "worst": 2 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "5", "value": 5 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "3657", "value": 3657 }, "thresh": 0, "value": 199, "when_failed": "", "worst": 199 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "33", "value": 33 }, "thresh": 0, "value": 114, "when_failed": "", "worst": 106 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1022, "minor_value": 0, "string": "ACS-2 (minor revision not indicated)" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Western Digital Red", "model_name": "WDC WD20EFRX-68EUZN0", "physical_block_size": 4096, "power_cycle_count": 7, "power_on_time": { "hours": 71605 }, "rotation_rate": 5400, "sata_version": { "string": "SATA 3.0", "value": 62 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "drive_database_version": { "string": "7.3/5533" }, "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5338", "version": [ 7, 3 ] }, "temperature": { "current": 33 }, "trim": { "supported": false }, "user_capacity": { "blocks": 3907029168, "bytes": 2000398934016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }smartctl_exporter-0.14.0/testdata/nvme-null-CT250P2SSD8-nvme0.json000066400000000000000000000042121500167572200244240ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "CT250P2SSD8", "nvme_controller_id": 1, "nvme_ieee_oui_identifier": 41077, "nvme_namespaces": [ { "capacity": { "blocks": 488397168, "bytes": 250059350016 }, "eui64": { "ext_id": 391110459468, "oui": 41077 }, "formatted_lba_size": 512, "id": 1, "size": { "blocks": 488397168, "bytes": 250059350016 }, "utilization": { "blocks": 488397168, "bytes": 250059350016 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 49321, "subsystem_id": 49321 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 5, "controller_busy_time": 1675, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 4932757, "data_units_written": 1002900, "host_reads": 38087906, "host_writes": 29940645, "media_errors": 0, "num_err_log_entries": 1, "percentage_used": 0, "power_cycles": 8, "power_on_hours": 10147, "temperature": 26, "temperature_sensors": [ 40 ], "unsafe_shutdowns": 5, "warning_temp_time": 0 }, "nvme_total_capacity": 250059350016, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.3", "value": 66304 }, "power_cycle_count": 8, "power_on_time": { "hours": 10147 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 26 }, "user_capacity": { "blocks": 488397168, "bytes": 250059350016 } }smartctl_exporter-0.14.0/testdata/nvme-null-HUSMR7632BHP301-nvme0.json000066400000000000000000000032061500167572200250230ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "HUSMR7632BHP301", "nvme_controller_id": 35, "nvme_ieee_oui_identifier": 3274, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 7256, "subsystem_id": 7256 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 1184621, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 790641770, "data_units_written": 2824080560, "host_reads": 9757701763, "host_writes": 40892765082, "media_errors": 0, "num_err_log_entries": 34, "percentage_used": 5, "power_cycles": 53, "power_on_hours": 482, "temperature": 40, "temperature_sensors": [ 40, 32, 36, 38 ], "unsafe_shutdowns": 29, "warning_temp_time": 0 }, "nvme_total_capacity": 3204045602816, "nvme_unallocated_capacity": 0, "power_cycle_count": 53, "power_on_time": { "hours": 482 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 40 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_MEMPEK1W032GA-nvme0.json000066400000000000000000000036521500167572200256100ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "INTEL MEMPEK1W032GA", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_namespaces": [ { "capacity": { "blocks": 57149440, "bytes": 29260513280 }, "formatted_lba_size": 512, "id": 1, "size": { "blocks": 57149440, "bytes": 29260513280 }, "utilization": { "blocks": 57149440, "bytes": 29260513280 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 0, "controller_busy_time": 0, "critical_warning": 0, "data_units_read": 3539278, "data_units_written": 4744607, "host_reads": 26487271, "host_writes": 210021083, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 1, "power_cycles": 194, "power_on_hours": 41159, "temperature": 31, "unsafe_shutdowns": 173 }, "nvme_version": { "string": "<1.2", "value": 0 }, "power_cycle_count": 194, "power_on_time": { "hours": 41159 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 31 }, "user_capacity": { "blocks": 57149440, "bytes": 29260513280 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPE2KE016T8-nvme0.json000066400000000000000000000032511500167572200256030ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "INTEL SSDPE2KE016T8", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 22, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 25850206, "data_units_written": 13140871, "host_reads": 113307179, "host_writes": 132571492, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 48, "power_on_hours": 4236, "temperature": 31, "unsafe_shutdowns": 24, "warning_temp_time": 0 }, "nvme_total_capacity": 1600321314816, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 48, "power_on_time": { "hours": 4236 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 31 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPE2KE020T7-nvme0.json000066400000000000000000000042101500167572200255710ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "INTEL SSDPE2KE020T7", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_namespaces": [ { "capacity": { "blocks": 3907029168, "bytes": 2000398934016 }, "eui64": { "ext_id": 276138426624, "oui": 6083300 }, "formatted_lba_size": 512, "id": 1, "size": { "blocks": 3907029168, "bytes": 2000398934016 }, "utilization": { "blocks": 3907029168, "bytes": 2000398934016 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 99, "available_spare_threshold": 10, "controller_busy_time": 1120, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 788753289, "data_units_written": 577364942, "host_reads": 18069915709, "host_writes": 31991278795, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 3, "power_cycles": 121, "power_on_hours": 26055, "temperature": 14, "unsafe_shutdowns": 98, "warning_temp_time": 0 }, "nvme_total_capacity": 2000398934016, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 121, "power_on_time": { "hours": 26055 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 14 }, "user_capacity": { "blocks": 3907029168, "bytes": 2000398934016 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPE2KE032T8-nvme0.json000066400000000000000000000032521500167572200256020ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "INTEL SSDPE2KE032T8", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 48, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 24936976, "data_units_written": 41911765, "host_reads": 770212980, "host_writes": 1117261746, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 35, "power_on_hours": 4643, "temperature": 40, "unsafe_shutdowns": 31, "warning_temp_time": 0 }, "nvme_total_capacity": 3200631791616, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 35, "power_on_time": { "hours": 4643 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 40 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPE2KX010T8-nvme1.json000066400000000000000000000032651500167572200256260ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme1", "name": "/dev/nvme1", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "INTEL SSDPE2KX010T8", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 99, "available_spare_threshold": 10, "controller_busy_time": 17221, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 1152411394, "data_units_written": 5165815292, "host_reads": 101762817898, "host_writes": 166689758596, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 73, "power_cycles": 10, "power_on_hours": 8843, "temperature": 36, "unsafe_shutdowns": 7, "warning_temp_time": 0 }, "nvme_total_capacity": 1000204886016, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 10, "power_on_time": { "hours": 8843 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme1" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 36 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPE2KX020T7-nvme6.json000066400000000000000000000042141500167572200256260ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme6", "name": "/dev/nvme6", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 4096, "model_name": "INTEL SSDPE2KX020T7", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_namespaces": [ { "capacity": { "blocks": 488378646, "bytes": 2000398934016 }, "eui64": { "ext_id": 193695907840, "oui": 6083300 }, "formatted_lba_size": 4096, "id": 1, "size": { "blocks": 488378646, "bytes": 2000398934016 }, "utilization": { "blocks": 488378646, "bytes": 2000398934016 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 99, "available_spare_threshold": 10, "controller_busy_time": 21955, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 1031973760, "data_units_written": 5014522069, "host_reads": 22445737117, "host_writes": 112598062434, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 75, "power_cycles": 121, "power_on_hours": 49441, "temperature": 19, "unsafe_shutdowns": 106, "warning_temp_time": 0 }, "nvme_total_capacity": 2000398934016, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 121, "power_on_time": { "hours": 49441 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme6" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 19 }, "user_capacity": { "blocks": 488378646, "bytes": 2000398934016 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPE2KX020T8-nvme2.json000066400000000000000000000032641500167572200256270ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme2", "name": "/dev/nvme2", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "INTEL SSDPE2KX020T8", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 4541, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 196141631, "data_units_written": 2643181154, "host_reads": 8057873051, "host_writes": 92720362018, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 22, "power_cycles": 31, "power_on_hours": 36959, "temperature": 29, "unsafe_shutdowns": 21, "warning_temp_time": 0 }, "nvme_total_capacity": 2000398934016, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 31, "power_on_time": { "hours": 36959 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme2" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 29 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPE2KX040T8-nvme10.json000066400000000000000000000031161500167572200257040ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme10", "name": "/dev/nvme10", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "INTEL SSDPE2KX040T8", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 117, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 33128216, "data_units_written": 60648805, "host_reads": 506758577, "host_writes": 1364280341, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 21, "power_on_hours": 2434, "temperature": 29, "unsafe_shutdowns": 15, "warning_temp_time": 0 }, "nvme_total_capacity": 4000787030016, "nvme_unallocated_capacity": 0, "power_cycle_count": 21, "power_on_time": { "hours": 2434 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme10" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 29 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPE2MX450G7-nvme0.json000066400000000000000000000036561500167572200256250ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "INTEL SSDPE2MX450G7", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_namespaces": [ { "capacity": { "blocks": 879097968, "bytes": 450098159616 }, "formatted_lba_size": 512, "id": 1, "size": { "blocks": 879097968, "bytes": 450098159616 }, "utilization": { "blocks": 879097968, "bytes": 450098159616 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 98, "available_spare_threshold": 10, "controller_busy_time": 1, "critical_warning": 0, "data_units_read": 3977362, "data_units_written": 6981141, "host_reads": 31044112, "host_writes": 313248139, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 67, "power_on_hours": 22944, "temperature": 11, "unsafe_shutdowns": 4 }, "nvme_version": { "string": "<1.2", "value": 0 }, "power_cycle_count": 67, "power_on_time": { "hours": 22944 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 11 }, "user_capacity": { "blocks": 879097968, "bytes": 450098159616 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPEDKE020T7-nvme0.json000066400000000000000000000042101500167572200256130ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "INTEL SSDPEDKE020T7", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_namespaces": [ { "capacity": { "blocks": 3907029168, "bytes": 2000398934016 }, "eui64": { "ext_id": 600496931072, "oui": 6083300 }, "formatted_lba_size": 512, "id": 1, "size": { "blocks": 3907029168, "bytes": 2000398934016 }, "utilization": { "blocks": 3907029168, "bytes": 2000398934016 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 5299, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 345682780, "data_units_written": 1664146250, "host_reads": 5647764315, "host_writes": 52892954185, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 18, "power_cycles": 19, "power_on_hours": 17259, "temperature": 28, "unsafe_shutdowns": 12, "warning_temp_time": 0 }, "nvme_total_capacity": 2000398934016, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 19, "power_on_time": { "hours": 17259 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 28 }, "user_capacity": { "blocks": 3907029168, "bytes": 2000398934016 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPEDMD016T4-nvme0.json000066400000000000000000000037071500167572200256300ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "INTEL SSDPEDMD016T4", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_namespaces": [ { "capacity": { "blocks": 3125627568, "bytes": 1600321314816 }, "formatted_lba_size": 512, "id": 1, "size": { "blocks": 3125627568, "bytes": 1600321314816 }, "utilization": { "blocks": 3125627568, "bytes": 1600321314816 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 99, "available_spare_threshold": 10, "controller_busy_time": 16, "critical_warning": 0, "data_units_read": 6933871372, "data_units_written": 32381395004, "host_reads": 337375119290, "host_writes": 1694335138991, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 41, "power_cycles": 27, "power_on_hours": 57288, "temperature": 21, "unsafe_shutdowns": 0 }, "nvme_version": { "string": "<1.2", "value": 0 }, "power_cycle_count": 27, "power_on_time": { "hours": 57288 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 21 }, "user_capacity": { "blocks": 3125627568, "bytes": 1600321314816 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPEDMD400G4-nvme0.json000066400000000000000000000035301500167572200256020ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 4096, "model_name": "INTEL SSDPEDMD400G4", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_namespaces": [ { "capacity": { "blocks": 97677846, "bytes": 400088457216 }, "formatted_lba_size": 4096, "id": 1, "size": { "blocks": 97677846, "bytes": 400088457216 }, "utilization": { "blocks": 97677846, "bytes": 400088457216 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 295, "critical_warning": 0, "data_units_read": 27197255, "data_units_written": 655012839, "host_reads": 488215996, "host_writes": 12453004160, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 5, "power_cycles": 55, "power_on_hours": 41951, "temperature": 28, "unsafe_shutdowns": 4 }, "power_cycle_count": 55, "power_on_time": { "hours": 41951 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 28 }, "user_capacity": { "blocks": 97677846, "bytes": 400088457216 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPEDMD800G4-nvme0.json000066400000000000000000000037021500167572200256070ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 4096, "model_name": "INTEL SSDPEDMD800G4", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_namespaces": [ { "capacity": { "blocks": 195353046, "bytes": 800166076416 }, "formatted_lba_size": 4096, "id": 1, "size": { "blocks": 195353046, "bytes": 800166076416 }, "utilization": { "blocks": 195353046, "bytes": 800166076416 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 93, "available_spare_threshold": 10, "controller_busy_time": 1116, "critical_warning": 0, "data_units_read": 1662103356, "data_units_written": 15055091656, "host_reads": 160426723773, "host_writes": 495846288226, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 51, "power_cycles": 12, "power_on_hours": 54704, "temperature": 30, "unsafe_shutdowns": 0 }, "nvme_version": { "string": "<1.2", "value": 0 }, "power_cycle_count": 12, "power_on_time": { "hours": 54704 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 30 }, "user_capacity": { "blocks": 195353046, "bytes": 800166076416 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPEK1A058GA-nvme0.json000066400000000000000000000037021500167572200256010ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 4096, "model_name": "INTEL SSDPEK1A058GA", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_namespaces": [ { "capacity": { "blocks": 14398720, "bytes": 58977157120 }, "eui64": { "ext_id": 124058992896, "oui": 6083300 }, "formatted_lba_size": 4096, "id": 1, "size": { "blocks": 14398720, "bytes": 58977157120 }, "utilization": { "blocks": 14398720, "bytes": 58977157120 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 0, "controller_busy_time": 28, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 3501226, "data_units_written": 1081718, "host_reads": 22655963, "host_writes": 76735372, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 24, "power_on_hours": 3752, "temperature": 44, "unsafe_shutdowns": 18, "warning_temp_time": 0 }, "power_cycle_count": 24, "power_on_time": { "hours": 3752 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 44 }, "user_capacity": { "blocks": 14398720, "bytes": 58977157120 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPF2KE032T1-nvme0.json000066400000000000000000000032471500167572200256000ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "INTEL SSDPF2KE032T1", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 8, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 24934456, "data_units_written": 39452691, "host_reads": 766457016, "host_writes": 863371502, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 12, "power_on_hours": 4637, "temperature": 38, "unsafe_shutdowns": 7, "warning_temp_time": 0 }, "nvme_total_capacity": 3200631791616, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.4", "value": 66560 }, "power_cycle_count": 12, "power_on_time": { "hours": 4637 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 38 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPF2KX038T1-nvme5.json000066400000000000000000000031131500167572200256260ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme5", "name": "/dev/nvme5", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "INTEL SSDPF2KX038T1", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 98, "available_spare_threshold": 10, "controller_busy_time": 39, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 74575162, "data_units_written": 146527728, "host_reads": 1319001622, "host_writes": 4030259924, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 39, "power_on_hours": 4454, "temperature": 29, "unsafe_shutdowns": 26, "warning_temp_time": 0 }, "nvme_total_capacity": 3840755982336, "nvme_unallocated_capacity": 0, "power_cycle_count": 39, "power_on_time": { "hours": 4454 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme5" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 29 } }smartctl_exporter-0.14.0/testdata/nvme-null-INTEL_SSDPF2KX038TZ-nvme4.json000066400000000000000000000031121500167572200256750ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme4", "name": "/dev/nvme4", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "INTEL SSDPF2KX038TZ", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 6083300, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 32902, "subsystem_id": 32902 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 12, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 34089816, "data_units_written": 64549952, "host_reads": 514122574, "host_writes": 1619528929, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 21, "power_on_hours": 2435, "temperature": 29, "unsafe_shutdowns": 15, "warning_temp_time": 0 }, "nvme_total_capacity": 3840755982336, "nvme_unallocated_capacity": 0, "power_cycle_count": 21, "power_on_time": { "hours": 2435 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme4" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 29 } }smartctl_exporter-0.14.0/testdata/nvme-null-MTFDHAX1T6MCE-1AN1ZABYY-nvme0.json000066400000000000000000000040041500167572200262120ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "MTFDHAX1T6MCE-1AN1ZABYY", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 57551, "nvme_namespaces": [ { "capacity": { "blocks": 3125627568, "bytes": 1600321314816 }, "eui64": { "ext_id": 13062368512, "oui": 13623296 }, "formatted_lba_size": 512, "id": 1, "size": { "blocks": 3125627568, "bytes": 1600321314816 }, "utilization": { "blocks": 3125627568, "bytes": 1600321314816 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 4932, "subsystem_id": 4932 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 5, "controller_busy_time": 0, "critical_warning": 0, "data_units_read": 281422399, "data_units_written": 2184152450, "host_reads": 10641023038, "host_writes": 58578200626, "media_errors": 0, "num_err_log_entries": 1, "percentage_used": 69, "power_cycles": 40, "power_on_hours": 29891, "temperature": 32, "unsafe_shutdowns": 7 }, "nvme_version": { "string": "<1.2", "value": 0 }, "power_cycle_count": 40, "power_on_time": { "hours": 29891 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 32 }, "user_capacity": { "blocks": 3125627568, "bytes": 1600321314816 } }smartctl_exporter-0.14.0/testdata/nvme-null-Micron_7300_MTFDHBE1T6TDG-nvme0.json000066400000000000000000000042331500167572200267110ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "Micron_7300_MTFDHBE1T6TDG", "nvme_controller_id": 1, "nvme_ieee_oui_identifier": 41077, "nvme_namespaces": [ { "capacity": { "blocks": 3125627568, "bytes": 1600321314816 }, "eui64": { "ext_id": 5223520082, "oui": 41077 }, "formatted_lba_size": 512, "id": 1, "size": { "blocks": 3125627568, "bytes": 1600321314816 }, "utilization": { "blocks": 3125627568, "bytes": 1600321314816 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 4932, "subsystem_id": 4932 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 5, "controller_busy_time": 244, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 865, "data_units_written": 338104, "host_reads": 16825, "host_writes": 13198956, "media_errors": 0, "num_err_log_entries": 1, "percentage_used": 0, "power_cycles": 16, "power_on_hours": 5100, "temperature": 22, "temperature_sensors": [ 30, 24 ], "unsafe_shutdowns": 0, "warning_temp_time": 0 }, "nvme_total_capacity": 1600321314816, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.3", "value": 66304 }, "power_cycle_count": 16, "power_on_time": { "hours": 5100 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 22 }, "user_capacity": { "blocks": 3125627568, "bytes": 1600321314816 } }smartctl_exporter-0.14.0/testdata/nvme-null-Micron_7300_MTFDHBE1T9TDF-nvme0.json000066400000000000000000000042611500167572200267140ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 4096, "model_name": "Micron_7300_MTFDHBE1T9TDF", "nvme_controller_id": 1, "nvme_ieee_oui_identifier": 41077, "nvme_namespaces": [ { "capacity": { "blocks": 468843606, "bytes": 1920383410176 }, "eui64": { "ext_id": 4982755821, "oui": 41077 }, "formatted_lba_size": 4096, "id": 1, "size": { "blocks": 468843606, "bytes": 1920383410176 }, "utilization": { "blocks": 468843606, "bytes": 1920383410176 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 4932, "subsystem_id": 4932 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 5, "controller_busy_time": 1294669, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 223334847, "data_units_written": 1362255590, "host_reads": 6729365943, "host_writes": 43932944742, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 9, "power_cycles": 10, "power_on_hours": 27233, "temperature": 26, "temperature_sensors": [ 35, 28 ], "unsafe_shutdowns": 0, "warning_temp_time": 0 }, "nvme_total_capacity": 1920383410176, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.3", "value": 66304 }, "power_cycle_count": 10, "power_on_time": { "hours": 27233 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 26 }, "user_capacity": { "blocks": 468843606, "bytes": 1920383410176 } }smartctl_exporter-0.14.0/testdata/nvme-null-Micron_7300_MTFDHBE3T2TDG-nvme0.json000066400000000000000000000041101500167572200267010ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 4096, "model_name": "Micron_7300_MTFDHBE3T2TDG", "nvme_controller_id": 1, "nvme_ieee_oui_identifier": 41077, "nvme_namespaces": [ { "capacity": { "blocks": 781404246, "bytes": 3200631791616 }, "eui64": { "ext_id": 5122290698, "oui": 41077 }, "formatted_lba_size": 4096, "id": 1, "size": { "blocks": 781404246, "bytes": 3200631791616 }, "utilization": { "blocks": 781404246, "bytes": 3200631791616 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 4932, "subsystem_id": 4932 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 5, "controller_busy_time": 227837, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 16302695, "data_units_written": 165795201, "host_reads": 190918064, "host_writes": 3849300883, "media_errors": 0, "num_err_log_entries": 1, "percentage_used": 0, "power_cycles": 8, "power_on_hours": 3820, "temperature": 38, "temperature_sensors": [ 46, 40 ], "unsafe_shutdowns": 1, "warning_temp_time": 0 }, "nvme_total_capacity": 3200631791616, "nvme_unallocated_capacity": 0, "power_cycle_count": 8, "power_on_time": { "hours": 3820 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 38 }, "user_capacity": { "blocks": 781404246, "bytes": 3200631791616 } }smartctl_exporter-0.14.0/testdata/nvme-null-Micron_7300_MTFDHBE3T8TDF-nvme3.json000066400000000000000000000042551500167572200267230ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme3", "name": "/dev/nvme3", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 4096, "model_name": "Micron_7300_MTFDHBE3T8TDF", "nvme_controller_id": 1, "nvme_ieee_oui_identifier": 41077, "nvme_namespaces": [ { "capacity": { "blocks": 937684566, "bytes": 3840755982336 }, "eui64": { "ext_id": 5137678885, "oui": 41077 }, "formatted_lba_size": 4096, "id": 1, "size": { "blocks": 937684566, "bytes": 3840755982336 }, "utilization": { "blocks": 937684566, "bytes": 3840755982336 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 4932, "subsystem_id": 4932 }, "nvme_smart_health_information_log": { "available_spare": 99, "available_spare_threshold": 5, "controller_busy_time": 322317, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 176835984, "data_units_written": 891511465, "host_reads": 3997799320, "host_writes": 22147613604, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 2, "power_cycles": 44, "power_on_hours": 8833, "temperature": 26, "temperature_sensors": [ 35, 28 ], "unsafe_shutdowns": 32, "warning_temp_time": 0 }, "nvme_total_capacity": 3840755982336, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.3", "value": 66304 }, "power_cycle_count": 44, "power_on_time": { "hours": 8833 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme3" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 26 }, "user_capacity": { "blocks": 937684566, "bytes": 3840755982336 } }smartctl_exporter-0.14.0/testdata/nvme-null-Micron_7300_MTFDHBE960TDF-nvme0.json000066400000000000000000000042551500167572200266600ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "Micron_7300_MTFDHBE960TDF", "nvme_controller_id": 1, "nvme_ieee_oui_identifier": 41077, "nvme_namespaces": [ { "capacity": { "blocks": 1875385008, "bytes": 960197124096 }, "eui64": { "ext_id": 4994889026, "oui": 41077 }, "formatted_lba_size": 512, "id": 1, "size": { "blocks": 1875385008, "bytes": 960197124096 }, "utilization": { "blocks": 1875385008, "bytes": 960197124096 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 4932, "subsystem_id": 4932 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 5, "controller_busy_time": 1427331, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 398417835, "data_units_written": 1297577305, "host_reads": 8733559604, "host_writes": 24852979274, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 10, "power_cycles": 8, "power_on_hours": 26686, "temperature": 27, "temperature_sensors": [ 37, 29 ], "unsafe_shutdowns": 0, "warning_temp_time": 0 }, "nvme_total_capacity": 960197124096, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.3", "value": 66304 }, "power_cycle_count": 8, "power_on_time": { "hours": 26686 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 27 }, "user_capacity": { "blocks": 1875385008, "bytes": 960197124096 } }smartctl_exporter-0.14.0/testdata/nvme-null-Micron_7400_MTFDKCB1T6TFC-nvme2.json000066400000000000000000000032151500167572200267120ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme2", "name": "/dev/nvme2", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "Micron_7400_MTFDKCB1T6TFC", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 41077, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 4932, "subsystem_id": 4932 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 39003, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 1087990952, "data_units_written": 1136100893, "host_reads": 19755987150, "host_writes": 20204186058, "media_errors": 0, "num_err_log_entries": 40, "percentage_used": 4, "power_cycles": 44, "power_on_hours": 13108, "temperature": 35, "temperature_sensors": [ 42, 37, 34 ], "unsafe_shutdowns": 40, "warning_temp_time": 0 }, "nvme_total_capacity": 1600321314816, "nvme_unallocated_capacity": 0, "power_cycle_count": 44, "power_on_time": { "hours": 13108 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme2" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 35 } }smartctl_exporter-0.14.0/testdata/nvme-null-Micron_7400_MTFDKCB1T9TDZ-nvme10.json000066400000000000000000000033511500167572200270220ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme10", "name": "/dev/nvme10", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "Micron_7400_MTFDKCB1T9TDZ", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 41077, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 4932, "subsystem_id": 4932 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 9928, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 55574020, "data_units_written": 725355323, "host_reads": 1650568378, "host_writes": 16632159768, "media_errors": 0, "num_err_log_entries": 17, "percentage_used": 5, "power_cycles": 17, "power_on_hours": 9099, "temperature": 33, "temperature_sensors": [ 41, 35, 33 ], "unsafe_shutdowns": 15, "warning_temp_time": 0 }, "nvme_total_capacity": 1920383410176, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.4", "value": 66560 }, "power_cycle_count": 17, "power_on_time": { "hours": 9099 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme10" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 33 } }smartctl_exporter-0.14.0/testdata/nvme-null-Micron_7400_MTFDKCB3T2TFC-nvme2.json000066400000000000000000000033431500167572200267120ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme2", "name": "/dev/nvme2", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "Micron_7400_MTFDKCB3T2TFC", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 41077, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 4932, "subsystem_id": 4932 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 3476, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 58862015, "data_units_written": 124370358, "host_reads": 1516688038, "host_writes": 6089266363, "media_errors": 0, "num_err_log_entries": 9, "percentage_used": 0, "power_cycles": 8, "power_on_hours": 10346, "temperature": 24, "temperature_sensors": [ 30, 25, 24 ], "unsafe_shutdowns": 5, "warning_temp_time": 0 }, "nvme_total_capacity": 3200631791616, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.4", "value": 66560 }, "power_cycle_count": 8, "power_on_time": { "hours": 10346 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme2" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 24 } }smartctl_exporter-0.14.0/testdata/nvme-null-Micron_7400_MTFDKCB3T8TDZ-nvme3.json000066400000000000000000000032031500167572200267410ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme3", "name": "/dev/nvme3", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "Micron_7400_MTFDKCB3T8TDZ", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 41077, "nvme_number_of_namespaces": 128, "nvme_pci_vendor": { "id": 4932, "subsystem_id": 4932 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 1267, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 36236622, "data_units_written": 63334884, "host_reads": 387822512, "host_writes": 1066211555, "media_errors": 0, "num_err_log_entries": 15, "percentage_used": 0, "power_cycles": 20, "power_on_hours": 2436, "temperature": 31, "temperature_sensors": [ 39, 34, 31 ], "unsafe_shutdowns": 15, "warning_temp_time": 0 }, "nvme_total_capacity": 3840755982336, "nvme_unallocated_capacity": 0, "power_cycle_count": 20, "power_on_time": { "hours": 2436 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme3" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 31 } }smartctl_exporter-0.14.0/testdata/nvme-null-Micron_7450_MTFDKCB3T8TFR-nvme6.json000066400000000000000000000033311500167572200267450ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme6", "name": "/dev/nvme6", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "Micron_7450_MTFDKCB3T8TFR", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 41077, "nvme_number_of_namespaces": 132, "nvme_pci_vendor": { "id": 4932, "subsystem_id": 4932 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 213, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 2430296, "data_units_written": 27054698, "host_reads": 37410459, "host_writes": 553708815, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 1, "power_on_hours": 150, "temperature": 27, "temperature_sensors": [ 35, 30, 26 ], "unsafe_shutdowns": 0, "warning_temp_time": 0 }, "nvme_total_capacity": 3840755982336, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.4", "value": 66560 }, "power_cycle_count": 1, "power_on_time": { "hours": 150 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme6" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 27 } }smartctl_exporter-0.14.0/testdata/nvme-null-Micron_7450_MTFDKCC3T2TFS-nvme1.json000066400000000000000000000033301500167572200267330ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme1", "name": "/dev/nvme1", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "Micron_7450_MTFDKCC3T2TFS", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 41077, "nvme_number_of_namespaces": 132, "nvme_pci_vendor": { "id": 4932, "subsystem_id": 4932 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 10, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 170056, "data_units_written": 1248078, "host_reads": 412435, "host_writes": 92595817, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 32, "power_on_hours": 2884, "temperature": 33, "temperature_sensors": [ 38, 35, 33 ], "unsafe_shutdowns": 30, "warning_temp_time": 0 }, "nvme_total_capacity": 3200631791616, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.4", "value": 66560 }, "power_cycle_count": 32, "power_on_time": { "hours": 2884 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme1" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 33 } }smartctl_exporter-0.14.0/testdata/nvme-null-Micron_7450_MTFDKCC3T8TFR-nvme11.json000066400000000000000000000032041500167572200270210ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme11", "name": "/dev/nvme11", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "Micron_7450_MTFDKCC3T8TFR", "nvme_controller_id": 0, "nvme_ieee_oui_identifier": 41077, "nvme_number_of_namespaces": 132, "nvme_pci_vendor": { "id": 4932, "subsystem_id": 4932 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 928, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 34195414, "data_units_written": 60979236, "host_reads": 358762506, "host_writes": 1016731250, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 20, "power_on_hours": 2436, "temperature": 25, "temperature_sensors": [ 29, 26, 25 ], "unsafe_shutdowns": 15, "warning_temp_time": 0 }, "nvme_total_capacity": 3840755982336, "nvme_unallocated_capacity": 0, "power_cycle_count": 20, "power_on_time": { "hours": 2436 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme11" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 25 } }smartctl_exporter-0.14.0/testdata/nvme-null-Micron_9300_MTFDHAL3T8TDP-nvme0.json000066400000000000000000000033371500167572200267420ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "Micron_9300_MTFDHAL3T8TDP", "nvme_controller_id": 1, "nvme_ieee_oui_identifier": 41077, "nvme_number_of_namespaces": 32, "nvme_pci_vendor": { "id": 4932, "subsystem_id": 4932 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 5, "controller_busy_time": 9702, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 5289507, "data_units_written": 17746518, "host_reads": 52735545, "host_writes": 527514964, "media_errors": 0, "num_err_log_entries": 8, "percentage_used": 0, "power_cycles": 3, "power_on_hours": 285, "temperature": 24, "temperature_sensors": [ 27, 24, 20, 20 ], "unsafe_shutdowns": 1, "warning_temp_time": 0 }, "nvme_total_capacity": 3840755982336, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 3, "power_on_time": { "hours": 285 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 24 } }smartctl_exporter-0.14.0/testdata/nvme-null-SAMSUNG_MZPLJ6T4HALA-00007-nvme0.json000066400000000000000000000033211500167572200265040ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "SAMSUNG MZPLJ6T4HALA-00007", "nvme_controller_id": 65, "nvme_ieee_oui_identifier": 9528, "nvme_number_of_namespaces": 32, "nvme_pci_vendor": { "id": 5197, "subsystem_id": 5197 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 1, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 84478, "data_units_written": 88679, "host_reads": 426730, "host_writes": 2591584, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 32, "power_on_hours": 861, "temperature": 33, "temperature_sensors": [ 33, 31, 32 ], "unsafe_shutdowns": 10, "warning_temp_time": 0 }, "nvme_total_capacity": 6401252745216, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.3", "value": 66304 }, "power_cycle_count": 32, "power_on_time": { "hours": 861 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 33 } }smartctl_exporter-0.14.0/testdata/nvme-null-SAMSUNG_MZPLL1T6HAJQ-00005-nvme0.json000066400000000000000000000033551500167572200265260ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "SAMSUNG MZPLL1T6HAJQ-00005", "nvme_controller_id": 33, "nvme_ieee_oui_identifier": 9528, "nvme_number_of_namespaces": 32, "nvme_pci_vendor": { "id": 5197, "subsystem_id": 5197 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 56388, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 367584746, "data_units_written": 2840371158, "host_reads": 34181111227, "host_writes": 71799680343, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 6, "power_cycles": 21, "power_on_hours": 28074, "temperature": 40, "temperature_sensors": [ 40, 38, 38 ], "unsafe_shutdowns": 16, "warning_temp_time": 0 }, "nvme_total_capacity": 1600321314816, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2.1", "value": 66049 }, "power_cycle_count": 21, "power_on_time": { "hours": 28074 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 40 } }smartctl_exporter-0.14.0/testdata/nvme-null-SAMSUNG_MZPLL1T6HEHP-00003-nvme0.json000066400000000000000000000033501500167572200265200ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "SAMSUNG MZPLL1T6HEHP-00003", "nvme_controller_id": 33, "nvme_ieee_oui_identifier": 9528, "nvme_number_of_namespaces": 32, "nvme_pci_vendor": { "id": 5197, "subsystem_id": 5197 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 9689, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 132156216, "data_units_written": 611904693, "host_reads": 4241167614, "host_writes": 18543068881, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 1, "power_cycles": 65, "power_on_hours": 26605, "temperature": 36, "temperature_sensors": [ 36, 34, 34 ], "unsafe_shutdowns": 45, "warning_temp_time": 0 }, "nvme_total_capacity": 1600321314816, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2", "value": 66048 }, "power_cycle_count": 65, "power_on_time": { "hours": 26605 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 36 } }smartctl_exporter-0.14.0/testdata/nvme-null-SAMSUNG_MZPLL3T2HAJQ-00005-nvme1.json000066400000000000000000000032061500167572200265200ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme1", "name": "/dev/nvme1", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "SAMSUNG MZPLL3T2HAJQ-00005", "nvme_controller_id": 33, "nvme_ieee_oui_identifier": 9528, "nvme_number_of_namespaces": 32, "nvme_pci_vendor": { "id": 5197, "subsystem_id": 5197 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 5572, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 93216906, "data_units_written": 500161695, "host_reads": 2332065245, "host_writes": 5255094035, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 25, "power_on_hours": 13138, "temperature": 38, "temperature_sensors": [ 38, 38, 38 ], "unsafe_shutdowns": 14, "warning_temp_time": 0 }, "nvme_total_capacity": 3200631791616, "nvme_unallocated_capacity": 0, "power_cycle_count": 25, "power_on_time": { "hours": 13138 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme1" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 38 } }smartctl_exporter-0.14.0/testdata/nvme-null-SAMSUNG_MZPLL3T2HMLS-00003-nvme1.json000066400000000000000000000032151500167572200265360ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme1", "name": "/dev/nvme1", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "SAMSUNG MZPLL3T2HMLS-00003", "nvme_controller_id": 33, "nvme_ieee_oui_identifier": 9528, "nvme_number_of_namespaces": 32, "nvme_pci_vendor": { "id": 5197, "subsystem_id": 5197 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 81688, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 3716916944, "data_units_written": 6264387784, "host_reads": 59834749634, "host_writes": 158424932551, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 6, "power_cycles": 70, "power_on_hours": 50235, "temperature": 40, "temperature_sensors": [ 40, 39, 38 ], "unsafe_shutdowns": 47, "warning_temp_time": 0 }, "nvme_total_capacity": 3200631791616, "nvme_unallocated_capacity": 0, "power_cycle_count": 70, "power_on_time": { "hours": 50235 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme1" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 40 } }smartctl_exporter-0.14.0/testdata/nvme-null-SAMSUNG_MZQL21T9HCJR-00A07-nvme0.json000066400000000000000000000033361500167572200265250ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "SAMSUNG MZQL21T9HCJR-00A07", "nvme_controller_id": 6, "nvme_ieee_oui_identifier": 9528, "nvme_number_of_namespaces": 32, "nvme_pci_vendor": { "id": 5197, "subsystem_id": 5197 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 3970, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 70487783, "data_units_written": 267397176, "host_reads": 1980393839, "host_writes": 9358693660, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 3, "power_cycles": 63, "power_on_hours": 13113, "temperature": 22, "temperature_sensors": [ 22, 29 ], "unsafe_shutdowns": 34, "warning_temp_time": 0 }, "nvme_total_capacity": 1920383410176, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.4", "value": 66560 }, "power_cycle_count": 63, "power_on_time": { "hours": 13113 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 22 } }smartctl_exporter-0.14.0/testdata/nvme-null-SAMSUNG_MZQL23T8HCLS-00A07-nvme9.json000066400000000000000000000033321500167572200265360ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme9", "name": "/dev/nvme9", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "SAMSUNG MZQL23T8HCLS-00A07", "nvme_controller_id": 6, "nvme_ieee_oui_identifier": 9528, "nvme_number_of_namespaces": 32, "nvme_pci_vendor": { "id": 5197, "subsystem_id": 5197 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 5203, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 62679808, "data_units_written": 639454618, "host_reads": 1615291761, "host_writes": 16276566236, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 3, "power_cycles": 4, "power_on_hours": 4369, "temperature": 22, "temperature_sensors": [ 22, 31 ], "unsafe_shutdowns": 1, "warning_temp_time": 0 }, "nvme_total_capacity": 3840755982336, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.4", "value": 66560 }, "power_cycle_count": 4, "power_on_time": { "hours": 4369 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme9" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 22 } }smartctl_exporter-0.14.0/testdata/nvme-null-SAMSUNG_MZQL2960HCJR-00A07-nvme0.json000066400000000000000000000033251500167572200264640ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "SAMSUNG MZQL2960HCJR-00A07", "nvme_controller_id": 6, "nvme_ieee_oui_identifier": 9528, "nvme_number_of_namespaces": 32, "nvme_pci_vendor": { "id": 5197, "subsystem_id": 5197 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 108, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 3463621, "data_units_written": 3055861, "host_reads": 336456600, "host_writes": 354224726, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 20, "power_on_hours": 1999, "temperature": 22, "temperature_sensors": [ 22, 31 ], "unsafe_shutdowns": 17, "warning_temp_time": 0 }, "nvme_total_capacity": 960197124096, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.4", "value": 66560 }, "power_cycle_count": 20, "power_on_time": { "hours": 1999 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 22 } }smartctl_exporter-0.14.0/testdata/nvme-null-SAMSUNG_MZWLL3T2HAJQ-00005-nvme0.json000066400000000000000000000037501500167572200265320ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "model_name": "SAMSUNG MZWLL3T2HAJQ-00005", "nvme_controller_id": 33, "nvme_ieee_oui_identifier": 9528, "nvme_number_of_namespaces": 32, "nvme_pci_vendor": { "id": 5197, "subsystem_id": 5197 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 93891, "critical_comp_time": 0, "critical_warning": 16, "data_units_read": 146935678, "data_units_written": 147556750, "host_reads": 3927325763, "host_writes": 2665106227, "media_errors": 0, "num_err_log_entries": 0, "percentage_used": 0, "power_cycles": 6, "power_on_hours": 18376, "temperature": 40, "temperature_sensors": [ 40, 40, 35 ], "unsafe_shutdowns": 4, "warning_temp_time": 0 }, "nvme_total_capacity": 3200631791616, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.2.1", "value": 66049 }, "power_cycle_count": 6, "power_on_time": { "hours": 18376 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "media_read_only": false, "other": 0, "persistent_memory_region_unreliable": false, "reliability_degraded": false, "spare_below_threshold": false, "temperature_above_or_below_threshold": false, "value": 16, "volatile_memory_backup_failed": true }, "passed": false }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 8, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 40 } }smartctl_exporter-0.14.0/testdata/nvme-null-Samsung_SSD_970_EVO_Plus_250GB-nvme0.json000066400000000000000000000042401500167572200300640ustar00rootroot00000000000000{ "device": { "info_name": "/dev/nvme0", "name": "/dev/nvme0", "protocol": "NVMe", "type": "nvme" }, "firmware_version": "REDACTED", "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "Samsung SSD 970 EVO Plus 250GB", "nvme_controller_id": 4, "nvme_ieee_oui_identifier": 9528, "nvme_namespaces": [ { "capacity": { "blocks": 488397168, "bytes": 250059350016 }, "eui64": { "ext_id": 386844027293, "oui": 9528 }, "formatted_lba_size": 512, "id": 1, "size": { "blocks": 488397168, "bytes": 250059350016 }, "utilization": { "blocks": 25515848, "bytes": 13064114176 } } ], "nvme_number_of_namespaces": 1, "nvme_pci_vendor": { "id": 5197, "subsystem_id": 5197 }, "nvme_smart_health_information_log": { "available_spare": 100, "available_spare_threshold": 10, "controller_busy_time": 892, "critical_comp_time": 0, "critical_warning": 0, "data_units_read": 2025034, "data_units_written": 1969459, "host_reads": 13927240, "host_writes": 88382369, "media_errors": 0, "num_err_log_entries": 22, "percentage_used": 0, "power_cycles": 16, "power_on_hours": 3149, "temperature": 35, "temperature_sensors": [ 35, 39 ], "unsafe_shutdowns": 12, "warning_temp_time": 0 }, "nvme_total_capacity": 250059350016, "nvme_unallocated_capacity": 0, "nvme_version": { "string": "1.3", "value": 66304 }, "power_cycle_count": 16, "power_on_time": { "hours": 3149 }, "serial_number": "REDACTED", "smart_status": { "nvme": { "value": 0 }, "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/nvme0" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 35 }, "user_capacity": { "blocks": 488397168, "bytes": 250059350016 } }smartctl_exporter-0.14.0/testdata/sat-Dell_Certified_Intel_S3520_Series_SSDs-SSDSCKJB240G7R-sdm.json000066400000000000000000000333021500167572200324020ustar00rootroot00000000000000{ "ata_additional_product_id": "DELL(tm)", "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-- ", "updated_online": true, "value": 14 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "4294967295", "value": 4294967295 }, "thresh": 39, "value": 130, "when_failed": "", "worst": 130 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "21213", "value": 21213 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "186", "value": 186 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRC- ", "updated_online": true, "value": 30 }, "id": 13, "name": "Read_Soft_Error_Rate", "raw": { "string": "4294967295", "value": 4294967295 }, "thresh": 0, "value": 130, "when_failed": "", "worst": 130 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "167", "value": 167 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 179, "name": "Used_Rsvd_Blk_Cnt_Tot", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 180, "name": "Unused_Rsvd_Blk_Cnt_Tot", "raw": { "string": "7268", "value": 7268 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 181, "name": "Program_Fail_Cnt_Total", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 182, "name": "Erase_Fail_Count_Total", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "47", "value": 47 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 92 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 195, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 201, "name": "Power_Loss_Cap_Test", "raw": { "string": "18900 (310 1222)", "value": 1331519965652 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 202, "name": "End_of_Life", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "129493", "value": 129493 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "102400", "value": 102400 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "362060752", "value": 362060752 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Total_LBAs_Written", "raw": { "string": "129493", "value": 129493 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle_Status", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "129493", "value": 129493 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "573613", "value": 573613 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 245, "name": "Percent_Life_Remaining", "raw": { "string": "100", "value": 100 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdm [SAT]", "name": "/dev/sdm", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 7, "name": "M.2" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Dell Certified Intel S3520 Series SSDs", "model_name": "SSDSCKJB240G7R", "physical_block_size": 4096, "power_cycle_count": 186, "power_on_time": { "hours": 21213 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdm" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 47 }, "user_capacity": { "blocks": 468862128, "bytes": 240057409536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }smartctl_exporter-0.14.0/testdata/sat-HGST_Ultrastar_7K6000-HGST_HUS726020ALE614-sda.json000066400000000000000000000214221500167572200276160ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 16, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "108", "value": 108 }, "thresh": 54, "value": 136, "when_failed": "", "worst": 136 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "222 (Average 222)", "value": 17194418398 }, "thresh": 24, "value": 134, "when_failed": "", "worst": 134 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "12", "value": 12 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 5, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 67, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "18", "value": 18 }, "thresh": 20, "value": 128, "when_failed": "", "worst": 128 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "67518", "value": 67518 }, "thresh": 0, "value": 91, "when_failed": "", "worst": 91 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 60, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "12", "value": 12 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "2507", "value": 2507 }, "thresh": 0, "value": 98, "when_failed": "", "worst": 98 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "2507", "value": 2507 }, "thresh": 0, "value": 98, "when_failed": "", "worst": 98 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "27 (Min/Max 21/39)", "value": 167505100827 }, "thresh": 0, "value": 222, "when_failed": "", "worst": 222 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 41, "string": "ACS-2, ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "HGST Ultrastar 7K6000", "model_name": "HGST HUS726020ALE614", "physical_block_size": 4096, "power_cycle_count": 12, "power_on_time": { "hours": 67518 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 27 }, "trim": { "supported": false }, "user_capacity": { "blocks": 3907029168, "bytes": 2000398934016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }smartctl_exporter-0.14.0/testdata/sat-HGST_Ultrastar_7K6000-HGST_HUS726040ALA614-sda.json000066400000000000000000000214211500167572200276130ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 16, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "107", "value": 107 }, "thresh": 54, "value": 136, "when_failed": "", "worst": 136 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "371 (Average 364)", "value": 30088626547 }, "thresh": 24, "value": 145, "when_failed": "", "worst": 145 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "11", "value": 11 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 5, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 67, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "18", "value": 18 }, "thresh": 20, "value": 128, "when_failed": "", "worst": 128 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "54154", "value": 54154 }, "thresh": 0, "value": 93, "when_failed": "", "worst": 93 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 60, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "11", "value": 11 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "2256", "value": 2256 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "2256", "value": 2256 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "31 (Min/Max 24/41)", "value": 176095232031 }, "thresh": 0, "value": 193, "when_failed": "", "worst": 193 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 41, "string": "ACS-2, ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "HGST Ultrastar 7K6000", "model_name": "HGST HUS726040ALA614", "physical_block_size": 512, "power_cycle_count": 11, "power_on_time": { "hours": 54154 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 31 }, "trim": { "supported": false }, "user_capacity": { "blocks": 7814037168, "bytes": 4000787030016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }smartctl_exporter-0.14.0/testdata/sat-HGST_Ultrastar_7K6000-HGST_HUS726040ALE614-sdb.json000066400000000000000000000214271500167572200276260ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 16, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "108", "value": 108 }, "thresh": 54, "value": 136, "when_failed": "", "worst": 136 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "393 (Average 391)", "value": 30090396041 }, "thresh": 24, "value": 136, "when_failed": "", "worst": 136 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "121", "value": 121 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 5, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 67, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "18", "value": 18 }, "thresh": 20, "value": 128, "when_failed": "", "worst": 128 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "42454", "value": 42454 }, "thresh": 0, "value": 94, "when_failed": "", "worst": 94 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 60, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "121", "value": 121 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "1703", "value": 1703 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "1703", "value": 1703 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "31 (Min/Max 21/42)", "value": 180390002719 }, "thresh": 0, "value": 193, "when_failed": "", "worst": 193 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 41, "string": "ACS-2, ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sdb [SAT]", "name": "/dev/sdb", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "HGST Ultrastar 7K6000", "model_name": "HGST HUS726040ALE614", "physical_block_size": 4096, "power_cycle_count": 121, "power_on_time": { "hours": 42454 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdb" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 31 }, "trim": { "supported": false }, "user_capacity": { "blocks": 7814037168, "bytes": 4000787030016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }smartctl_exporter-0.14.0/testdata/sat-HGST_Ultrastar_7K6000-HGST_HUS726060ALE614-sdf.json000066400000000000000000000214231500167572200276300ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 16, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "104", "value": 104 }, "thresh": 54, "value": 137, "when_failed": "", "worst": 137 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "501 (Average 485)", "value": 42981458421 }, "thresh": 24, "value": 133, "when_failed": "", "worst": 133 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "15", "value": 15 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 5, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 67, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "18", "value": 18 }, "thresh": 20, "value": 128, "when_failed": "", "worst": 128 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "63037", "value": 63037 }, "thresh": 0, "value": 91, "when_failed": "", "worst": 91 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 60, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "15", "value": 15 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "2708", "value": 2708 }, "thresh": 0, "value": 98, "when_failed": "", "worst": 98 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "2708", "value": 2708 }, "thresh": 0, "value": 98, "when_failed": "", "worst": 98 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "25 (Min/Max 18/42)", "value": 180389806105 }, "thresh": 0, "value": 240, "when_failed": "", "worst": 240 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 41, "string": "ACS-2, ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sdf [SAT]", "name": "/dev/sdf", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "HGST Ultrastar 7K6000", "model_name": "HGST HUS726060ALE614", "physical_block_size": 4096, "power_cycle_count": 15, "power_on_time": { "hours": 63037 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdf" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 25 }, "trim": { "supported": false }, "user_capacity": { "blocks": 11721045168, "bytes": 6001175126016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }smartctl_exporter-0.14.0/testdata/sat-HGST_Ultrastar_HC310_320-HGST_HUS726T4TALE6L4-sda.json000066400000000000000000000213661500167572200303050ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 16, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "92", "value": 92 }, "thresh": 54, "value": 133, "when_failed": "", "worst": 133 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 30064771072 }, "thresh": 24, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 5, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 67, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "18", "value": 18 }, "thresh": 20, "value": 128, "when_failed": "", "worst": 128 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "291", "value": 291 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 60, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "13", "value": 13 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "13", "value": 13 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "29 (Min/Max 22/32)", "value": 137440395293 }, "thresh": 0, "value": 206, "when_failed": "", "worst": 206 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 41, "string": "ACS-2, ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "HGST Ultrastar HC310/320", "model_name": "HGST HUS726T4TALE6L4", "physical_block_size": 4096, "power_cycle_count": 1, "power_on_time": { "hours": 291 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 29 }, "trim": { "supported": false }, "user_capacity": { "blocks": 7814037168, "bytes": 4000787030016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }smartctl_exporter-0.14.0/testdata/sat-HGST_Ultrastar_HC310_320-HGST_HUS728T8TALE6L4-sdd.json000066400000000000000000000214241500167572200303110ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 16, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "96", "value": 96 }, "thresh": 54, "value": 132, "when_failed": "", "worst": 132 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "494 (Average 466)", "value": 30095311342 }, "thresh": 24, "value": 169, "when_failed": "", "worst": 169 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "16", "value": 16 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 5, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 67, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "18", "value": 18 }, "thresh": 20, "value": 128, "when_failed": "", "worst": 128 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "38399", "value": 38399 }, "thresh": 0, "value": 95, "when_failed": "", "worst": 95 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 60, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "16", "value": 16 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "1604", "value": 1604 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "1604", "value": 1604 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "28 (Min/Max 18/39)", "value": 167504904220 }, "thresh": 0, "value": 214, "when_failed": "", "worst": 214 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 41, "string": "ACS-2, ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sdd [SAT]", "name": "/dev/sdd", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "HGST Ultrastar HC310/320", "model_name": "HGST HUS728T8TALE6L4", "physical_block_size": 4096, "power_cycle_count": 16, "power_on_time": { "hours": 38399 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdd" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 28 }, "trim": { "supported": false }, "user_capacity": { "blocks": 15628053168, "bytes": 8001563222016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }smartctl_exporter-0.14.0/testdata/sat-HGST_Ultrastar_He10-HGST_HUH721008ALE604-sde.json000066400000000000000000000222661500167572200275240ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 16, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "104", "value": 104 }, "thresh": 54, "value": 131, "when_failed": "", "worst": 131 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "396 (Average 445)", "value": 25798967692 }, "thresh": 24, "value": 156, "when_failed": "", "worst": 156 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "128", "value": 128 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 5, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 67, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "18", "value": 18 }, "thresh": 20, "value": 128, "when_failed": "", "worst": 128 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "32564", "value": 32564 }, "thresh": 0, "value": 96, "when_failed": "", "worst": 96 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 60, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "123", "value": 123 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---K ", "updated_online": true, "value": 35 }, "id": 22, "name": "Helium_Level", "raw": { "string": "100", "value": 100 }, "thresh": 25, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "1064", "value": 1064 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "1064", "value": 1064 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "25 (Min/Max 17/41)", "value": 176094773273 }, "thresh": 0, "value": 240, "when_failed": "", "worst": 240 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 41, "string": "ACS-2, ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sde [SAT]", "name": "/dev/sde", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "HGST Ultrastar He10", "model_name": "HGST HUH721008ALE604", "physical_block_size": 4096, "power_cycle_count": 123, "power_on_time": { "hours": 32564 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sde" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 25 }, "trim": { "supported": false }, "user_capacity": { "blocks": 15628053168, "bytes": 8001563222016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }smartctl_exporter-0.14.0/testdata/sat-Hitachi_Deskstar_7K1000.C-Hitachi_HDS721010CLA332-sda.json000066400000000000000000000212311500167572200311430ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "786446", "value": 786446 }, "thresh": 16, "value": 94, "when_failed": "", "worst": 94 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "95", "value": 95 }, "thresh": 54, "value": 136, "when_failed": "", "worst": 136 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "314 (Average 310)", "value": 25790120250 }, "thresh": 24, "value": 121, "when_failed": "", "worst": 121 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "26", "value": 26 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 5, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 67, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "31", "value": 31 }, "thresh": 20, "value": 138, "when_failed": "", "worst": 138 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "109245", "value": 109245 }, "thresh": 0, "value": 85, "when_failed": "", "worst": 85 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 60, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "26", "value": 26 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "58", "value": 58 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "58", "value": 58 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "28 (Min/Max 20/49)", "value": 210454708252 }, "thresh": 0, "value": 214, "when_failed": "", "worst": 214 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 0 } }, "ata_version": { "major_value": 508, "minor_value": 41, "string": "ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "max": { "bits_per_unit": 100000000, "sata_value": 6, "string": "3.0 Gb/s", "units_per_second": 30 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Hitachi Deskstar 7K1000.C", "model_name": "Hitachi HDS721010CLA332", "physical_block_size": 512, "power_cycle_count": 26, "power_on_time": { "hours": 109245 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 2.6", "value": 31 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 28 }, "trim": { "supported": false }, "user_capacity": { "blocks": 1953525168, "bytes": 1000204886016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }smartctl_exporter-0.14.0/testdata/sat-Hitachi_HGST_Ultrastar_7K2-HGST_HUS722T1TALA604-sdu.json000066400000000000000000000230301500167572200311420ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "3750", "value": 3750 }, "thresh": 21, "value": 145, "when_failed": "", "worst": 138 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "46", "value": 46 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-K ", "updated_online": true, "value": 46 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "32218", "value": 32218 }, "thresh": 0, "value": 56, "when_failed": "", "worst": 56 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "45", "value": 45 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 16, "name": "Gas_Gauge", "raw": { "string": "17023028824", "value": 17023028824 }, "thresh": 0, "value": 0, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "Runtime_Bad_Block", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "20", "value": 20 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "9104", "value": 9104 }, "thresh": 0, "value": 197, "when_failed": "", "worst": 197 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "25", "value": 25 }, "thresh": 0, "value": 118, "when_failed": "", "worst": 107 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2046, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdu [SAT]", "name": "/dev/sdu", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Hitachi/HGST Ultrastar 7K2", "model_name": "HGST HUS722T1TALA604", "physical_block_size": 512, "power_cycle_count": 45, "power_on_time": { "hours": 32218 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.1", "value": 126 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdu" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 25 }, "trim": { "supported": false }, "user_capacity": { "blocks": 1953525168, "bytes": 1000204886016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }smartctl_exporter-0.14.0/testdata/sat-Hitachi_HGST_Ultrastar_7K2-HGST_HUS722T2TALA604-sdc.json000066400000000000000000000230271500167572200311270ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "3850", "value": 3850 }, "thresh": 21, "value": 183, "when_failed": "", "worst": 182 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "43", "value": 43 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-K ", "updated_online": true, "value": 46 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "40662", "value": 40662 }, "thresh": 0, "value": 45, "when_failed": "", "worst": 45 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "43", "value": 43 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 16, "name": "Gas_Gauge", "raw": { "string": "677786019612", "value": 677786019612 }, "thresh": 0, "value": 12, "when_failed": "", "worst": 188 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "Runtime_Bad_Block", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "33", "value": 33 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "54", "value": 54 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "26", "value": 26 }, "thresh": 0, "value": 121, "when_failed": "", "worst": 109 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2046, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdc [SAT]", "name": "/dev/sdc", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Hitachi/HGST Ultrastar 7K2", "model_name": "HGST HUS722T2TALA604", "physical_block_size": 512, "power_cycle_count": 43, "power_on_time": { "hours": 40662 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.1", "value": 126 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdc" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 26 }, "trim": { "supported": false }, "user_capacity": { "blocks": 3907029168, "bytes": 2000398934016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }smartctl_exporter-0.14.0/testdata/sat-Hitachi_HGST_Ultrastar_7K4000-HGST_HUS724020ALA640-sdc.json000066400000000000000000000214121500167572200312370ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 16, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "76", "value": 76 }, "thresh": 54, "value": 138, "when_failed": "", "worst": 138 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "457 (Average 480)", "value": 38686163401 }, "thresh": 24, "value": 133, "when_failed": "", "worst": 133 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "62", "value": 62 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 5, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 67, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "24", "value": 24 }, "thresh": 20, "value": 145, "when_failed": "", "worst": 145 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "56961", "value": 56961 }, "thresh": 0, "value": 92, "when_failed": "", "worst": 92 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 60, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "62", "value": 62 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "99", "value": 99 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "99", "value": 99 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "27 (Min/Max 18/36)", "value": 154620002331 }, "thresh": 0, "value": 222, "when_failed": "", "worst": 222 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 508, "minor_value": 41, "string": "ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sdc [SAT]", "name": "/dev/sdc", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Hitachi/HGST Ultrastar 7K4000", "model_name": "HGST HUS724020ALA640", "physical_block_size": 512, "power_cycle_count": 62, "power_on_time": { "hours": 56961 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 63 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdc" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 27 }, "trim": { "supported": false }, "user_capacity": { "blocks": 3907029168, "bytes": 2000398934016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }smartctl_exporter-0.14.0/testdata/sat-Hitachi_HGST_Ultrastar_7K4000-HGST_HUS724040ALA640-sda.json000066400000000000000000000214161500167572200312430ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 16, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "78", "value": 78 }, "thresh": 54, "value": 137, "when_failed": "", "worst": 137 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "593 (Average 637)", "value": 51581354577 }, "thresh": 24, "value": 126, "when_failed": "", "worst": 126 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "37", "value": 37 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 5, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 67, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "26", "value": 26 }, "thresh": 20, "value": 140, "when_failed": "", "worst": 140 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "64012", "value": 64012 }, "thresh": 0, "value": 91, "when_failed": "", "worst": 91 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 60, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "27", "value": 27 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "1740", "value": 1740 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "1740", "value": 1740 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "36 (Min/Max 18/40)", "value": 171799871524 }, "thresh": 0, "value": 166, "when_failed": "", "worst": 166 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 508, "minor_value": 41, "string": "ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Hitachi/HGST Ultrastar 7K4000", "model_name": "HGST HUS724040ALA640", "physical_block_size": 512, "power_cycle_count": 27, "power_on_time": { "hours": 64012 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 63 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 36 }, "trim": { "supported": false }, "user_capacity": { "blocks": 7814037168, "bytes": 4000787030016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }smartctl_exporter-0.14.0/testdata/sat-Hitachi_Ultrastar_A7K2000-Hitachi_HUA722010CLA330-sdr.json000066400000000000000000000212161500167572200313070ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 16, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "90", "value": 90 }, "thresh": 54, "value": 137, "when_failed": "", "worst": 137 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "309 (Average 308)", "value": 25789989173 }, "thresh": 24, "value": 123, "when_failed": "", "worst": 123 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "34", "value": 34 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 5, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 67, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "28", "value": 28 }, "thresh": 20, "value": 144, "when_failed": "", "worst": 144 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "54978", "value": 54978 }, "thresh": 0, "value": 93, "when_failed": "", "worst": 93 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 60, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "34", "value": 34 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "87", "value": 87 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "87", "value": 87 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "24 (Min/Max 18/38)", "value": 163209936920 }, "thresh": 0, "value": 250, "when_failed": "", "worst": 250 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 0 } }, "ata_version": { "major_value": 508, "minor_value": 41, "string": "ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sdr [SAT]", "name": "/dev/sdr", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "max": { "bits_per_unit": 100000000, "sata_value": 6, "string": "3.0 Gb/s", "units_per_second": 30 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Hitachi Ultrastar A7K2000", "model_name": "Hitachi HUA722010CLA330", "physical_block_size": 512, "power_cycle_count": 34, "power_on_time": { "hours": 54978 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 2.6", "value": 31 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdr" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 24 }, "trim": { "supported": false }, "user_capacity": { "blocks": 1953525168, "bytes": 1000204886016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }sat-Intel_730_and_DC_S35x0_3610_3700_Series_SSDs-INTEL_SSDSC2BB016T4-sdf.json000066400000000000000000000310521500167572200331720ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16401, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "67329", "value": 67329 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "32", "value": 32 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "29", "value": 29 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "8670 (398 2929)", "value": 1709588947422 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Temperature_Case", "raw": { "string": "23 (Min/Max 20/29)", "value": 487850007 }, "thresh": 0, "value": 77, "when_failed": "", "worst": 71 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "29", "value": 29 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Internal", "raw": { "string": "23", "value": 23 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "62594010", "value": 62594010 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 15, "when_failed": "", "worst": 15 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "62594010", "value": 62594010 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "12767078", "value": 12767078 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "138721860", "value": 138721860 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdf [SAT]", "name": "/dev/sdf", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel 730 and DC S35x0/3610/3700 Series SSDs", "model_name": "INTEL SSDSC2BB016T4", "physical_block_size": 4096, "power_cycle_count": 32, "power_on_time": { "hours": 67329 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdf" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 23 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 3125627568, "bytes": 1600321314816 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_730_and_DC_S35x0_3610_3700_Series_SSDs-INTEL_SSDSC2BB240G4-sde.json000066400000000000000000000301601500167572200331520ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "69412", "value": 69412 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "55", "value": 55 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "49", "value": 49 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "640 (409 5906)", "value": 1757028680320 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Temperature_Case", "raw": { "string": "16 (Min/Max 14/28)", "value": 470679568 }, "thresh": 0, "value": 84, "when_failed": "", "worst": 72 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "49", "value": 49 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Internal", "raw": { "string": "25", "value": 25 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "15376617", "value": 15376617 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "80619", "value": 80619 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "31", "value": 31 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "4164380", "value": 4164380 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 22, "when_failed": "", "worst": 22 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "15376617", "value": 15376617 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "7177604", "value": 7177604 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 272, "string": "ACS-2 T13/2015-D revision 3" }, "device": { "info_name": "/dev/sde [SAT]", "name": "/dev/sde", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel 730 and DC S35x0/3610/3700 Series SSDs", "model_name": "INTEL SSDSC2BB240G4", "physical_block_size": 4096, "power_cycle_count": 55, "power_on_time": { "hours": 69412 }, "rotation_rate": 0, "sata_version": { "string": "SATA 2.6", "value": 31 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sde" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 25 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 468862128, "bytes": 240057409536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_730_and_DC_S35x0_3610_3700_Series_SSDs-INTEL_SSDSC2BB240G6-sdf.json000066400000000000000000000310361500167572200331600ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "67252", "value": 67252 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "530", "value": 530 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "524", "value": 524 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "4490 (395 1377)", "value": 1696602329482 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Temperature_Case", "raw": { "string": "19 (Min/Max 12/29)", "value": 487325715 }, "thresh": 0, "value": 81, "when_failed": "", "worst": 71 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "524", "value": 524 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Internal", "raw": { "string": "19", "value": 19 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "10301402", "value": 10301402 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "51917", "value": 51917 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "4034425", "value": 4034425 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 50, "when_failed": "", "worst": 50 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "10301402", "value": 10301402 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "15956", "value": 15956 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "13233052", "value": 13233052 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 272, "string": "ACS-2 T13/2015-D revision 3" }, "device": { "info_name": "/dev/sdf [SAT]", "name": "/dev/sdf", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel 730 and DC S35x0/3610/3700 Series SSDs", "model_name": "INTEL SSDSC2BB240G6", "physical_block_size": 4096, "power_cycle_count": 530, "power_on_time": { "hours": 67252 }, "rotation_rate": 0, "sata_version": { "string": "SATA 2.6", "value": 31 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdf" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 19 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 468862128, "bytes": 240057409536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_730_and_DC_S35x0_3610_3700_Series_SSDs-INTEL_SSDSC2BB240G7-sdg.json000066400000000000000000000310271500167572200331620ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "56721", "value": 56721 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "11", "value": 11 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "6", "value": 6 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "15110 (349 5924)", "value": 1499331836678 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Temperature_Case", "raw": { "string": "19 (Min/Max 15/25)", "value": 420413459 }, "thresh": 0, "value": 81, "when_failed": "", "worst": 75 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "6", "value": 6 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Internal", "raw": { "string": "19", "value": 19 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "22052942", "value": 22052942 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "58818", "value": 58818 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "2", "value": 2 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "3403256", "value": 3403256 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 43, "when_failed": "", "worst": 43 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "22052942", "value": 22052942 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "568982", "value": 568982 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "30298233", "value": 30298233 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdg [SAT]", "name": "/dev/sdg", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel 730 and DC S35x0/3610/3700 Series SSDs", "model_name": "INTEL SSDSC2BB240G7", "physical_block_size": 4096, "power_cycle_count": 11, "power_on_time": { "hours": 56721 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdg" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 19 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 468862128, "bytes": 240057409536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_730_and_DC_S35x0_3610_3700_Series_SSDs-INTEL_SSDSC2BB480G4-sda.json000066400000000000000000000301451500167572200331570ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "56437", "value": 56437 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "75", "value": 75 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "62", "value": 62 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "623 (328 56)", "value": 1408752943727 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Temperature_Case", "raw": { "string": "10 (Min/Max 4/26)", "value": 436469770 }, "thresh": 0, "value": 90, "when_failed": "", "worst": 80 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "62", "value": 62 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Internal", "raw": { "string": "21", "value": 21 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "3", "value": 3 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "1209471", "value": 1209471 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "2837", "value": 2837 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "2205008", "value": 2205008 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 95, "when_failed": "", "worst": 95 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "1209471", "value": 1209471 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "4566495", "value": 4566495 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 272, "string": "ACS-2 T13/2015-D revision 3" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel 730 and DC S35x0/3610/3700 Series SSDs", "model_name": "INTEL SSDSC2BB480G4", "physical_block_size": 4096, "power_cycle_count": 75, "power_on_time": { "hours": 56437 }, "rotation_rate": 0, "sata_version": { "string": "SATA 2.6", "value": 31 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 21 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 740785439, "bytes": 379282144768 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_730_and_DC_S35x0_3610_3700_Series_SSDs-INTEL_SSDSC2BB480G6-sda.json000066400000000000000000000310421500167572200331560ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16403, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "54278", "value": 54278 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "50", "value": 50 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "45", "value": 45 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "5060 (319 2829)", "value": 1370279973828 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Temperature_Case", "raw": { "string": "28 (Min/Max 24/37)", "value": 622329884 }, "thresh": 0, "value": 72, "when_failed": "", "worst": 64 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "45", "value": 45 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Internal", "raw": { "string": "28", "value": 28 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "10960529", "value": 10960529 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 64, "when_failed": "", "worst": 64 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "10960529", "value": 10960529 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "1480522", "value": 1480522 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "18148965", "value": 18148965 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 272, "string": "ACS-2 T13/2015-D revision 3" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel 730 and DC S35x0/3610/3700 Series SSDs", "model_name": "INTEL SSDSC2BB480G6", "physical_block_size": 512, "power_cycle_count": 50, "power_on_time": { "hours": 54278 }, "rotation_rate": 0, "sata_version": { "string": "SATA 2.6", "value": 31 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 28 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 937703088, "bytes": 480103981056 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_730_and_DC_S35x0_3610_3700_Series_SSDs-INTEL_SSDSC2BB480G7-sda.json000066400000000000000000000310231500167572200331560ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "52003", "value": 52003 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "32", "value": 32 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "27", "value": 27 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "14970 (341 8524)", "value": 1465142491770 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Temperature_Case", "raw": { "string": "22 (Min/Max 19/26)", "value": 437452822 }, "thresh": 0, "value": 78, "when_failed": "", "worst": 75 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "27", "value": 27 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Internal", "raw": { "string": "22", "value": 22 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "849547", "value": 849547 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "2519", "value": 2519 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "58", "value": 58 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "3120097", "value": 3120097 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 98, "when_failed": "", "worst": 98 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "849547", "value": 849547 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "1200534", "value": 1200534 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "2286373", "value": 2286373 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel 730 and DC S35x0/3610/3700 Series SSDs", "model_name": "INTEL SSDSC2BB480G7", "physical_block_size": 4096, "power_cycle_count": 32, "power_on_time": { "hours": 52003 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 22 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 937703088, "bytes": 480103981056 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_730_and_DC_S35x0_3610_3700_Series_SSDs-INTEL_SSDSC2BB800G4-sda.json000066400000000000000000000301631500167572200331530ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "64506", "value": 64506 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "28", "value": 28 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "19", "value": 19 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "604 (376 3794)", "value": 1615156347484 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Temperature_Case", "raw": { "string": "23 (Min/Max 19/35)", "value": 588447767 }, "thresh": 0, "value": 77, "when_failed": "", "worst": 65 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "19", "value": 19 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Internal", "raw": { "string": "34", "value": 34 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "15017138", "value": 15017138 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "35154", "value": 35154 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "56", "value": 56 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "3870254", "value": 3870254 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 66, "when_failed": "", "worst": 66 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "15017138", "value": 15017138 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "19209582", "value": 19209582 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 272, "string": "ACS-2 T13/2015-D revision 3" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel 730 and DC S35x0/3610/3700 Series SSDs", "model_name": "INTEL SSDSC2BB800G4", "physical_block_size": 4096, "power_cycle_count": 28, "power_on_time": { "hours": 64506 }, "rotation_rate": 0, "sata_version": { "string": "SATA 2.6", "value": 31 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 34 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 1562824368, "bytes": 800166076416 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_730_and_DC_S35x0_3610_3700_Series_SSDs-INTEL_SSDSC2BB800G6-sdb.json000066400000000000000000000310401500167572200331510ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "68009", "value": 68009 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "27", "value": 27 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "17", "value": 17 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "6710 (395 5453)", "value": 1696869456438 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Temperature_Case", "raw": { "string": "30 (Min/Max 28/39)", "value": 656146462 }, "thresh": 0, "value": 70, "when_failed": "", "worst": 62 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "17", "value": 17 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Internal", "raw": { "string": "30", "value": 30 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "27887319", "value": 27887319 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "48455", "value": 48455 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "27", "value": 27 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "4080377", "value": 4080377 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 53, "when_failed": "", "worst": 53 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "27887319", "value": 27887319 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "10569812", "value": 10569812 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "38991517", "value": 38991517 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 272, "string": "ACS-2 T13/2015-D revision 3" }, "device": { "info_name": "/dev/sdb [SAT]", "name": "/dev/sdb", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel 730 and DC S35x0/3610/3700 Series SSDs", "model_name": "INTEL SSDSC2BB800G6", "physical_block_size": 4096, "power_cycle_count": 27, "power_on_time": { "hours": 68009 }, "rotation_rate": 0, "sata_version": { "string": "SATA 2.6", "value": 31 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdb" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 30 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 1562824368, "bytes": 800166076416 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_730_and_DC_S35x0_3610_3700_Series_SSDs-INTEL_SSDSC2BB800G7-sdh.json000066400000000000000000000310401500167572200331600ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "55188", "value": 55188 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "25", "value": 25 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "20", "value": 20 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "14690 (351 4320)", "value": 1507816651106 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Temperature_Case", "raw": { "string": "26 (Min/Max 19/40)", "value": 672333850 }, "thresh": 0, "value": 74, "when_failed": "", "worst": 61 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "20", "value": 20 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Internal", "raw": { "string": "26", "value": 26 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "15041780", "value": 15041780 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "18780", "value": 18780 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "31", "value": 31 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "3311272", "value": 3311272 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 82, "when_failed": "", "worst": 82 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "15041780", "value": 15041780 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "6879182", "value": 6879182 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "26624256", "value": 26624256 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdh [SAT]", "name": "/dev/sdh", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel 730 and DC S35x0/3610/3700 Series SSDs", "model_name": "INTEL SSDSC2BB800G7", "physical_block_size": 4096, "power_cycle_count": 25, "power_on_time": { "hours": 55188 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdh" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 26 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 1562824368, "bytes": 800166076416 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }smartctl_exporter-0.14.0/testdata/sat-Intel_S3520_Series_SSDs-INTEL_SSDSC2BB016T7-sdc.json000066400000000000000000000310171500167572200302410ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "43494", "value": 43494 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "39", "value": 39 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "37", "value": 37 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "13420 (297 4078)", "value": 1275872556140 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Case_Temperature", "raw": { "string": "26 (Min/Max 19/30)", "value": 504561690 }, "thresh": 0, "value": 74, "when_failed": "", "worst": 70 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "37", "value": 37 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Drive_Temperature", "raw": { "string": "26", "value": 26 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Pending_Sector_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "2772743", "value": 2772743 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "4075", "value": 4075 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "34", "value": 34 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "2609411", "value": 2609411 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 97, "when_failed": "", "worst": 97 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle_Status", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "2772743", "value": 2772743 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "1472973", "value": 1472973 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "10636875", "value": 10636875 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdc [SAT]", "name": "/dev/sdc", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel S3520 Series SSDs", "model_name": "INTEL SSDSC2BB016T7", "physical_block_size": 4096, "power_cycle_count": 39, "power_on_time": { "hours": 43494 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdc" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 26 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 3125627568, "bytes": 1600321314816 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_S4510_S4610_S4500_S4600_Series_SSDs-INTEL_SSDSC2KB019T7-sdq.json000066400000000000000000000310541500167572200324010ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "20904", "value": 20904 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "19", "value": 19 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "13", "value": 13 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "2551 (141 2657)", "value": 605764520439 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Drive_Temperature", "raw": { "string": "26 (Min/Max 16/35)", "value": 588251162 }, "thresh": 0, "value": 74, "when_failed": "", "worst": 66 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "13", "value": 13 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "26", "value": 26 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Pending_Sector_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "29748724", "value": 29748724 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "15544", "value": 15544 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "15", "value": 15 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "1254219", "value": 1254219 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 85, "when_failed": "", "worst": 85 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle_Status", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "29748724", "value": 29748724 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "5578367", "value": 5578367 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "54777356", "value": 54777356 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdq [SAT]", "name": "/dev/sdq", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel S4510/S4610/S4500/S4600 Series SSDs", "model_name": "INTEL SSDSC2KB019T7", "physical_block_size": 4096, "power_cycle_count": 19, "power_on_time": { "hours": 20904 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdq" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 26 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 3750748848, "bytes": 1920383410176 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_S4510_S4610_S4500_S4600_Series_SSDs-INTEL_SSDSC2KB019T8-sdr.json000066400000000000000000000317341500167572200324100ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "17704", "value": 17704 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "23", "value": 23 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "22", "value": 22 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "2517 (23 65535)", "value": 103079152085 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Drive_Temperature", "raw": { "string": "25 (Min/Max 20/35)", "value": 588513305 }, "thresh": 0, "value": 75, "when_failed": "", "worst": 67 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "22", "value": 22 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "25", "value": 25 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Pending_Sector_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "2856519", "value": 2856519 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "1781", "value": 1781 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "15", "value": 15 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "1062252", "value": 1062252 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle_Status", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 235, "name": "Power_Loss_Cap_Test", "raw": { "string": "2517 (23 65535)", "value": 103079152085 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "2856519", "value": 2856519 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "505266", "value": 505266 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "12454492", "value": 12454492 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdr [SAT]", "name": "/dev/sdr", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel S4510/S4610/S4500/S4600 Series SSDs", "model_name": "INTEL SSDSC2KB019T8", "physical_block_size": 4096, "power_cycle_count": 23, "power_on_time": { "hours": 17704 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdr" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 25 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 3750748848, "bytes": 1920383410176 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_S4510_S4610_S4500_S4600_Series_SSDs-INTEL_SSDSC2KB019TZ-sdr.json000066400000000000000000000342371500167572200324530ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 67, "when_failed": "", "worst": 67 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "3260", "value": 3260 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "2548 (7 65535)", "value": 34359675380 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Drive_Temperature", "raw": { "string": "25 (Min/Max 22/37)", "value": 622198809 }, "thresh": 0, "value": 75, "when_failed": "", "worst": 66 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "25", "value": 25 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Pending_Sector_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "1649413", "value": 1649413 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "1044", "value": 1044 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "4", "value": 4 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "195629", "value": 195629 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 229, "name": "Unknown_Attribute", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 230, "name": "Unknown_SSD_Attribute", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle_Status", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 235, "name": "Power_Loss_Cap_Test", "raw": { "string": "2548 (7 65535)", "value": 34359675380 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "1649413", "value": 1649413 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "80424", "value": 80424 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "8211577", "value": 8211577 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 246, "name": "Unknown_Attribute", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdr [SAT]", "name": "/dev/sdr", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel S4510/S4610/S4500/S4600 Series SSDs", "model_name": "INTEL SSDSC2KB019TZ", "physical_block_size": 4096, "power_cycle_count": 7, "power_on_time": { "hours": 3260 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdr" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 25 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 3750748848, "bytes": 1920383410176 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_S4510_S4610_S4500_S4600_Series_SSDs-INTEL_SSDSC2KB240G7-sdd.json000066400000000000000000000310331500167572200323400ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "4", "value": 4 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "49466", "value": 49466 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "12", "value": 12 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "22 (304 9536)", "value": 1306295009302 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Drive_Temperature", "raw": { "string": "23 (Min/Max 20/31)", "value": 521404439 }, "thresh": 0, "value": 77, "when_failed": "", "worst": 69 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "23", "value": 23 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Pending_Sector_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "4149381", "value": 4149381 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "46141", "value": 46141 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "22", "value": 22 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "2967952", "value": 2967952 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 55, "when_failed": "", "worst": 55 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle_Status", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "4149381", "value": 4149381 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "1233691", "value": 1233691 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "25496755", "value": 25496755 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdd [SAT]", "name": "/dev/sdd", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel S4510/S4610/S4500/S4600 Series SSDs", "model_name": "INTEL SSDSC2KB240G7", "physical_block_size": 4096, "power_cycle_count": 12, "power_on_time": { "hours": 49466 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdd" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 23 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 468862128, "bytes": 240057409536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_S4510_S4610_S4500_S4600_Series_SSDs-INTEL_SSDSC2KB240G8-sdc.json000066400000000000000000000317451500167572200323520ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "40786", "value": 40786 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "725", "value": 725 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "721", "value": 721 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "2673 (725 65535)", "value": 3118146194033 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Drive_Temperature", "raw": { "string": "20 (Min/Max 15/28)", "value": 470745108 }, "thresh": 0, "value": 80, "when_failed": "", "worst": 72 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "721", "value": 721 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "20", "value": 20 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Pending_Sector_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "2575247", "value": 2575247 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "12441", "value": 12441 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "5", "value": 5 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "2447065", "value": 2447065 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 88, "when_failed": "", "worst": 88 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle_Status", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 235, "name": "Power_Loss_Cap_Test", "raw": { "string": "2673 (725 65535)", "value": 3118146194033 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "2575247", "value": 2575247 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "136620", "value": 136620 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "12186490", "value": 12186490 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdc [SAT]", "name": "/dev/sdc", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel S4510/S4610/S4500/S4600 Series SSDs", "model_name": "INTEL SSDSC2KB240G8", "physical_block_size": 4096, "power_cycle_count": 725, "power_on_time": { "hours": 40786 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdc" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 20 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 468862128, "bytes": 240057409536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_S4510_S4610_S4500_S4600_Series_SSDs-INTEL_SSDSC2KB480G7-sda.json000066400000000000000000000310251500167572200323440ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "23289", "value": 23289 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "22", "value": 22 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "12", "value": 12 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "2421 (158 10045)", "value": 679263144309 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Drive_Temperature", "raw": { "string": "29 (Min/Max 26/40)", "value": 672792605 }, "thresh": 0, "value": 71, "when_failed": "", "worst": 62 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "12", "value": 12 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "29", "value": 29 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Pending_Sector_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "46901", "value": 46901 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "204", "value": 204 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "50", "value": 50 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "1397343", "value": 1397343 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle_Status", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "46901", "value": 46901 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "47930", "value": 47930 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "202843", "value": 202843 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel S4510/S4610/S4500/S4600 Series SSDs", "model_name": "INTEL SSDSC2KB480G7", "physical_block_size": 4096, "power_cycle_count": 22, "power_on_time": { "hours": 23289 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 29 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 937703088, "bytes": 480103981056 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_S4510_S4610_S4500_S4600_Series_SSDs-INTEL_SSDSC2KB480G8-sdm.json000066400000000000000000000315211500167572200323620ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "13017", "value": 13017 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "10", "value": 10 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "2475 (10 65535)", "value": 47244577195 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Drive_Temperature", "raw": { "string": "30 (Min/Max 22/34)", "value": 571867166 }, "thresh": 0, "value": 70, "when_failed": "", "worst": 66 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "30", "value": 30 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Pending_Sector_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "14308", "value": 14308 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "51", "value": 51 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "98", "value": 98 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "781077", "value": 781077 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle_Status", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 235, "name": "Power_Loss_Cap_Test", "raw": { "string": "2475 (10 65535)", "value": 47244577195 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "14308", "value": 14308 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "1059500", "value": 1059500 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "95488", "value": 95488 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdm [SAT]", "name": "/dev/sdm", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel S4510/S4610/S4500/S4600 Series SSDs", "model_name": "INTEL SSDSC2KB480G8", "physical_block_size": 4096, "power_cycle_count": 10, "power_on_time": { "hours": 13017 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdm" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 30 }, "user_capacity": { "blocks": 937703088, "bytes": 480103981056 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_S4510_S4610_S4500_S4600_Series_SSDs-INTEL_SSDSC2KB960G7-sdi.json000066400000000000000000000310561500167572200323630ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "34454", "value": 34454 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "31", "value": 31 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "27", "value": 27 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "2451 (234 8250)", "value": 1005563021715 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Drive_Temperature", "raw": { "string": "22 (Min/Max 21/34)", "value": 571801622 }, "thresh": 0, "value": 78, "when_failed": "", "worst": 66 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "27", "value": 27 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "22", "value": 22 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Pending_Sector_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "12755342", "value": 12755342 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "14397", "value": 14397 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "61", "value": 61 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "2067177", "value": 2067177 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 86, "when_failed": "", "worst": 86 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle_Status", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "12755342", "value": 12755342 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "20061059", "value": 20061059 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "26106552", "value": 26106552 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdi [SAT]", "name": "/dev/sdi", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel S4510/S4610/S4500/S4600 Series SSDs", "model_name": "INTEL SSDSC2KB960G7", "physical_block_size": 4096, "power_cycle_count": 31, "power_on_time": { "hours": 34454 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdi" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 22 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 1875385008, "bytes": 960197124096 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_S4510_S4610_S4500_S4600_Series_SSDs-INTEL_SSDSC2KB960G8-sde.json000066400000000000000000000317171500167572200323640ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "13383", "value": 13383 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "14", "value": 14 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "11", "value": 11 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "2523 (14 65535)", "value": 64424446427 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Drive_Temperature", "raw": { "string": "23 (Min/Max 21/34)", "value": 571801623 }, "thresh": 0, "value": 77, "when_failed": "", "worst": 66 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "11", "value": 11 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "23", "value": 23 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Pending_Sector_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "215581", "value": 215581 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "573", "value": 573 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "17", "value": 17 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "803020", "value": 803020 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle_Status", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 235, "name": "Power_Loss_Cap_Test", "raw": { "string": "2523 (14 65535)", "value": 64424446427 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "215581", "value": 215581 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "47096", "value": 47096 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "2122543", "value": 2122543 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sde [SAT]", "name": "/dev/sde", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel S4510/S4610/S4500/S4600 Series SSDs", "model_name": "INTEL SSDSC2KB960G8", "physical_block_size": 4096, "power_cycle_count": 14, "power_on_time": { "hours": 13383 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sde" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 23 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 1875385008, "bytes": 960197124096 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_S4510_S4610_S4500_S4600_Series_SSDs-INTEL_SSDSC2KG480G8-sda.json000066400000000000000000000315241500167572200323560ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "2460", "value": 2460 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "23", "value": 23 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "19", "value": 19 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "2405 (23 65535)", "value": 103079151973 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Drive_Temperature", "raw": { "string": "32 (Min/Max 28/37)", "value": 622592032 }, "thresh": 0, "value": 68, "when_failed": "", "worst": 64 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "19", "value": 19 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "32", "value": 32 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Pending_Sector_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "18612", "value": 18612 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "51", "value": 51 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "91", "value": 91 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "147623", "value": 147623 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle_Status", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 235, "name": "Power_Loss_Cap_Test", "raw": { "string": "2405 (23 65535)", "value": 103079151973 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "18612", "value": 18612 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "200257", "value": 200257 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "110747", "value": 110747 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel S4510/S4610/S4500/S4600 Series SSDs", "model_name": "INTEL SSDSC2KG480G8", "physical_block_size": 4096, "power_cycle_count": 23, "power_on_time": { "hours": 2460 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 32 }, "user_capacity": { "blocks": 937703088, "bytes": 480103981056 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Intel_S4510_S4610_S4500_S4600_Series_SSDs-INTEL_SSDSCKKB480G8-sda.json000066400000000000000000000317001500167572200323760ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "3618", "value": 3618 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "61", "value": 61 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unsafe_Shutdown_Count", "raw": { "string": "27", "value": 27 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 175, "name": "Power_Loss_Cap_Test", "raw": { "string": "2242 (62 65535)", "value": 270582876354 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Downshift_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 90, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Drive_Temperature", "raw": { "string": "34 (Min/Max 26/42)", "value": 706347042 }, "thresh": 0, "value": 66, "when_failed": "", "worst": 59 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "27", "value": 27 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "34", "value": 34 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Pending_Sector_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 225, "name": "Host_Writes_32MiB", "raw": { "string": "100661", "value": 100661 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 226, "name": "Workld_Media_Wear_Indic", "raw": { "string": "81", "value": 81 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 227, "name": "Workld_Host_Reads_Perc", "raw": { "string": "9", "value": 9 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 228, "name": "Workload_Minutes", "raw": { "string": "216691", "value": 216691 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Media_Wearout_Indicator", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 234, "name": "Thermal_Throttle_Status", "raw": { "string": "0/0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 235, "name": "Power_Loss_Cap_Test", "raw": { "string": "2242 (62 65535)", "value": 270582876354 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "100661", "value": 100661 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "12175", "value": 12175 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "NAND_Writes_32MiB", "raw": { "string": "140496", "value": 140496 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2044, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 7, "name": "M.2" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Intel S4510/S4610/S4500/S4600 Series SSDs", "model_name": "INTEL SSDSCKKB480G8", "physical_block_size": 4096, "power_cycle_count": 61, "power_on_time": { "hours": 3618 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 34 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 937703088, "bytes": 480103981056 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 6083300 } }sat-Micron_5100_Pro___52x0___5300_SSDs-Micron_5210_MTFDDAK960QDE-sdm.json000066400000000000000000000307531500167572200326350ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "3815", "value": 3815 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "1", "value": 1 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Reserved_Block_Pct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 173, "name": "Avg_Block-Erase_Count", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unexpect_Power_Loss_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Int_Downshift_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "19 (Min/Max 11/28)", "value": 120259805203 }, "thresh": 0, "value": 81, "when_failed": "", "worst": 72 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 202, "name": "Percent_Lifetime_Remain", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-- ", "updated_online": true, "value": 14 }, "id": 206, "name": "Write_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 246, "name": "Total_LBAs_Written", "raw": { "string": "272291616", "value": 272291616 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 247, "name": "Host_Program_Page_Count", "raw": { "string": "8509113", "value": 8509113 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 248, "name": "Bckgnd_Program_Page_Cnt", "raw": { "string": "1059955", "value": 1059955 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 180, "name": "Unused_Rsvd_Blk_Cnt_Tot", "raw": { "string": "2946", "value": 2946 }, "thresh": 0, "value": 1, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 210, "name": "RAIN_Success_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2040, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdm [SAT]", "name": "/dev/sdm", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Micron 5100 Pro / 52x0 / 5300 SSDs", "model_name": "Micron_5210_MTFDDAK960QDE", "physical_block_size": 4096, "power_cycle_count": 1, "power_on_time": { "hours": 3815 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdm" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 19 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 1875385008, "bytes": 960197124096 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 41077 } }sat-Micron_5100_Pro___52x0___5300_SSDs-Micron_5300_MTFDDAK1T9TDS-sda.json000066400000000000000000000325351500167572200327010ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "4175", "value": 4175 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "19", "value": 19 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Reserved_Block_Pct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 173, "name": "Avg_Block-Erase_Count", "raw": { "string": "83", "value": 83 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unexpect_Power_Loss_Ct", "raw": { "string": "16", "value": 16 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Int_Downshift_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "29", "value": 29 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "24 (Min/Max 13/35)", "value": 150324707352 }, "thresh": 0, "value": 76, "when_failed": "", "worst": 65 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "24", "value": 24 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 202, "name": "Percent_Lifetime_Remain", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-- ", "updated_online": true, "value": 14 }, "id": 206, "name": "Write_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 246, "name": "Total_LBAs_Written", "raw": { "string": "130006927240", "value": 130006927240 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 247, "name": "Host_Program_Page_Count", "raw": { "string": "4062707571", "value": 4062707571 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 248, "name": "Bckgnd_Program_Page_Cnt", "raw": { "string": "8824675195", "value": 8824675195 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 180, "name": "Unused_Rsvd_Blk_Cnt_Tot", "raw": { "string": "4800", "value": 4800 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 210, "name": "RAIN_Success_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 211, "name": "Integ_Scan_Complete_Cnt", "raw": { "string": "42", "value": 42 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 212, "name": "Integ_Scan_Folding_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4088, "minor_value": 65535, "string": "ACS-4 (minor revision not indicated)" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Micron 5100 Pro / 52x0 / 5300 SSDs", "model_name": "Micron_5300_MTFDDAK1T9TDS", "physical_block_size": 4096, "power_cycle_count": 19, "power_on_time": { "hours": 4175 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 24 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 3750748848, "bytes": 1920383410176 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 41077 } }sat-Micron_5100_Pro___52x0___5300_SSDs-Micron_5300_MTFDDAK240TDS-sda.json000066400000000000000000000325301500167572200326240ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "22926", "value": 22926 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "23", "value": 23 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Reserved_Block_Pct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 173, "name": "Avg_Block-Erase_Count", "raw": { "string": "16", "value": 16 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unexpect_Power_Loss_Ct", "raw": { "string": "21", "value": 21 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Int_Downshift_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "10", "value": 10 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "27 (Min/Max 16/33)", "value": 141734969371 }, "thresh": 0, "value": 73, "when_failed": "", "worst": 67 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 202, "name": "Percent_Lifetime_Remain", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-- ", "updated_online": true, "value": 14 }, "id": 206, "name": "Write_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 246, "name": "Total_LBAs_Written", "raw": { "string": "13081275632", "value": 13081275632 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 247, "name": "Host_Program_Page_Count", "raw": { "string": "429271075", "value": 429271075 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 248, "name": "Bckgnd_Program_Page_Cnt", "raw": { "string": "33907658", "value": 33907658 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 180, "name": "Unused_Rsvd_Blk_Cnt_Tot", "raw": { "string": "2305", "value": 2305 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 210, "name": "RAIN_Success_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 211, "name": "Integ_Scan_Complete_Cnt", "raw": { "string": "150", "value": 150 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 212, "name": "Integ_Scan_Folding_Cnt", "raw": { "string": "6", "value": 6 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4088, "minor_value": 65535, "string": "ACS-4 (minor revision not indicated)" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Micron 5100 Pro / 52x0 / 5300 SSDs", "model_name": "Micron_5300_MTFDDAK240TDS", "physical_block_size": 4096, "power_cycle_count": 23, "power_on_time": { "hours": 22926 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 27 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 468862128, "bytes": 240057409536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 41077 } }sat-Micron_5100_Pro___52x0___5300_SSDs-Micron_5300_MTFDDAK3T8TDS-sdc.json000066400000000000000000000325501500167572200327010ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "14643", "value": 14643 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "58", "value": 58 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Reserved_Block_Pct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 173, "name": "Avg_Block-Erase_Count", "raw": { "string": "40", "value": 40 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unexpect_Power_Loss_Ct", "raw": { "string": "53", "value": 53 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Int_Downshift_Ct", "raw": { "string": "31", "value": 31 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "11", "value": 11 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "23 (Min/Max 14/38)", "value": 163209674775 }, "thresh": 0, "value": 77, "when_failed": "", "worst": 62 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 202, "name": "Percent_Lifetime_Remain", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-- ", "updated_online": true, "value": 14 }, "id": 206, "name": "Write_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 246, "name": "Total_LBAs_Written", "raw": { "string": "400292112400", "value": 400292112400 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 247, "name": "Host_Program_Page_Count", "raw": { "string": "12774640139", "value": 12774640139 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 248, "name": "Bckgnd_Program_Page_Cnt", "raw": { "string": "578699417", "value": 578699417 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 180, "name": "Unused_Rsvd_Blk_Cnt_Tot", "raw": { "string": "14081", "value": 14081 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 210, "name": "RAIN_Success_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 211, "name": "Integ_Scan_Complete_Cnt", "raw": { "string": "123", "value": 123 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 212, "name": "Integ_Scan_Folding_Cnt", "raw": { "string": "15", "value": 15 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4088, "minor_value": 65535, "string": "ACS-4 (minor revision not indicated)" }, "device": { "info_name": "/dev/sdc [SAT]", "name": "/dev/sdc", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Micron 5100 Pro / 52x0 / 5300 SSDs", "model_name": "Micron_5300_MTFDDAK3T8TDS", "physical_block_size": 4096, "power_cycle_count": 58, "power_on_time": { "hours": 14643 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdc" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 23 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 7501476528, "bytes": 3840755982336 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 41077 } }sat-Micron_5100_Pro___52x0___5300_SSDs-Micron_5300_MTFDDAK960TDS-sdi.json000066400000000000000000000325261500167572200326520ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "26409", "value": 26409 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "3", "value": 3 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Reserved_Block_Pct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 173, "name": "Avg_Block-Erase_Count", "raw": { "string": "99", "value": 99 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unexpect_Power_Loss_Ct", "raw": { "string": "2", "value": 2 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Int_Downshift_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "8", "value": 8 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "23 (Min/Max 15/33)", "value": 141734903831 }, "thresh": 0, "value": 77, "when_failed": "", "worst": 67 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 202, "name": "Percent_Lifetime_Remain", "raw": { "string": "1", "value": 1 }, "thresh": 1, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-- ", "updated_online": true, "value": 14 }, "id": 206, "name": "Write_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 246, "name": "Total_LBAs_Written", "raw": { "string": "153586889664", "value": 153586889664 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 247, "name": "Host_Program_Page_Count", "raw": { "string": "4799589736", "value": 4799589736 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 248, "name": "Bckgnd_Program_Page_Cnt", "raw": { "string": "3340144569", "value": 3340144569 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 180, "name": "Unused_Rsvd_Blk_Cnt_Tot", "raw": { "string": "2983", "value": 2983 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 210, "name": "RAIN_Success_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 211, "name": "Integ_Scan_Complete_Cnt", "raw": { "string": "159", "value": 159 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 212, "name": "Integ_Scan_Folding_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4088, "minor_value": 65535, "string": "ACS-4 (minor revision not indicated)" }, "device": { "info_name": "/dev/sdi [SAT]", "name": "/dev/sdi", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Micron 5100 Pro / 52x0 / 5300 SSDs", "model_name": "Micron_5300_MTFDDAK960TDS", "physical_block_size": 4096, "power_cycle_count": 3, "power_on_time": { "hours": 26409 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdi" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 23 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 1875385008, "bytes": 960197124096 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 41077 } }sat-Micron_5100_Pro___52x0___5300_SSDs-Micron_5300_MTFDDAV240TDS-sda.json000066400000000000000000000325231500167572200326410ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "10561", "value": 10561 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "53", "value": 53 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Reserved_Block_Pct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 173, "name": "Avg_Block-Erase_Count", "raw": { "string": "12", "value": 12 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unexpect_Power_Loss_Ct", "raw": { "string": "17", "value": 17 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Int_Downshift_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "33", "value": 33 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "28 (Min/Max 23/50)", "value": 214749872156 }, "thresh": 0, "value": 72, "when_failed": "", "worst": 50 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 202, "name": "Percent_Lifetime_Remain", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-- ", "updated_online": true, "value": 14 }, "id": 206, "name": "Write_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 246, "name": "Total_LBAs_Written", "raw": { "string": "10945093682", "value": 10945093682 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 247, "name": "Host_Program_Page_Count", "raw": { "string": "346714837", "value": 346714837 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 248, "name": "Bckgnd_Program_Page_Cnt", "raw": { "string": "24007173", "value": 24007173 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 180, "name": "Unused_Rsvd_Blk_Cnt_Tot", "raw": { "string": "2305", "value": 2305 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 210, "name": "RAIN_Success_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 211, "name": "Integ_Scan_Complete_Cnt", "raw": { "string": "110", "value": 110 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 212, "name": "Integ_Scan_Folding_Cnt", "raw": { "string": "31", "value": 31 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4088, "minor_value": 65535, "string": "ACS-4 (minor revision not indicated)" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 7, "name": "M.2" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Micron 5100 Pro / 52x0 / 5300 SSDs", "model_name": "Micron_5300_MTFDDAV240TDS", "physical_block_size": 4096, "power_cycle_count": 53, "power_on_time": { "hours": 10561 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 28 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 468862128, "bytes": 240057409536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 41077 } }sat-Micron_5100_Pro___52x0___5300_SSDs-Micron_5300_MTFDDAV480TDS-sda.json000066400000000000000000000325141500167572200326470ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "4111", "value": 4111 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "46", "value": 46 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Reserved_Block_Pct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 173, "name": "Avg_Block-Erase_Count", "raw": { "string": "13", "value": 13 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unexpect_Power_Loss_Ct", "raw": { "string": "12", "value": 12 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Int_Downshift_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "12", "value": 12 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "35 (Min/Max 24/51)", "value": 219044904995 }, "thresh": 0, "value": 65, "when_failed": "", "worst": 49 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 202, "name": "Percent_Lifetime_Remain", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-- ", "updated_online": true, "value": 14 }, "id": 206, "name": "Write_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 246, "name": "Total_LBAs_Written", "raw": { "string": "17744378123", "value": 17744378123 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 247, "name": "Host_Program_Page_Count", "raw": { "string": "557165843", "value": 557165843 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 248, "name": "Bckgnd_Program_Page_Cnt", "raw": { "string": "24916201", "value": 24916201 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 180, "name": "Unused_Rsvd_Blk_Cnt_Tot", "raw": { "string": "2161", "value": 2161 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 210, "name": "RAIN_Success_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 211, "name": "Integ_Scan_Complete_Cnt", "raw": { "string": "65", "value": 65 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 212, "name": "Integ_Scan_Folding_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4088, "minor_value": 65535, "string": "ACS-4 (minor revision not indicated)" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 7, "name": "M.2" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Micron 5100 Pro / 52x0 / 5300 SSDs", "model_name": "Micron_5300_MTFDDAV480TDS", "physical_block_size": 4096, "power_cycle_count": 46, "power_on_time": { "hours": 4111 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 35 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 937703088, "bytes": 480103981056 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 41077 } }sat-Micron_5100___52x0___5300___5400_SSDs-Micron_5300_MTFDDAK480TDS-sda.json000066400000000000000000000323441500167572200327630ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "19394", "value": 19394 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "53", "value": 53 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 170, "name": "Reserved_Block_Pct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 171, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 173, "name": "Avg_Block-Erase_Count", "raw": { "string": "6", "value": 6 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 174, "name": "Unexpect_Power_Loss_Ct", "raw": { "string": "44", "value": 44 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "SATA_Int_Downshift_Ct", "raw": { "string": "3", "value": 3 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "27", "value": 27 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "27 (Min/Max 16/35)", "value": 150324903963 }, "thresh": 0, "value": 73, "when_failed": "", "worst": 65 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "2", "value": 2 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 202, "name": "Percent_Lifetime_Remain", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-- ", "updated_online": true, "value": 14 }, "id": 206, "name": "Write_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 246, "name": "Total_LBAs_Written", "raw": { "string": "7916536962", "value": 7916536962 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 247, "name": "Host_Program_Page_Count", "raw": { "string": "255173508", "value": 255173508 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 248, "name": "Bckgnd_Program_Page_Cnt", "raw": { "string": "24600708", "value": 24600708 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 180, "name": "Unused_Rsvd_Blk_Cnt_Tot", "raw": { "string": "2161", "value": 2161 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 210, "name": "RAIN_Success_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 211, "name": "Integ_Scan_Complete_Cnt", "raw": { "string": "141", "value": 141 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 212, "name": "Integ_Scan_Folding_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4088, "minor_value": 65535, "string": "ACS-4 (minor revision not indicated)" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Micron 5100 / 52x0 / 5300 / 5400 SSDs", "model_name": "Micron_5300_MTFDDAK480TDS", "physical_block_size": 4096, "power_cycle_count": 53, "power_on_time": { "hours": 19394 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 27 }, "user_capacity": { "blocks": 937703088, "bytes": 480103981056 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 41077 } }smartctl_exporter-0.14.0/testdata/sat-Phison_Driven_SSDs-KINGSTON_SA400M8120G-sda.json000066400000000000000000000304521500167572200276670ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "4994", "value": 4994 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "8", "value": 8 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 148, "name": "Unknown_Attribute", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 149, "name": "Unknown_Attribute", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 167, "name": "Write_Protect_Mode", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 168, "name": "SATA_Phy_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 169, "name": "Bad_Block_Rate", "raw": { "string": "4", "value": 4 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 170, "name": "Bad_Blk_Ct_Erl/Lat", "raw": { "string": "0/6", "value": 6 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 172, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 173, "name": "MaxAvgErase_Ct", "raw": { "string": "50 (Average 17)", "value": 1114162 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 181, "name": "Program_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 182, "name": "Erase_Fail_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "3", "value": 3 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "38 (Min/Max 28/39)", "value": 120261640230 }, "thresh": 0, "value": 38, "when_failed": "", "worst": 39 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "SATA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 218, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 231, "name": "SSD_Life_Left", "raw": { "string": "98", "value": 98 }, "thresh": 0, "value": 98, "when_failed": "", "worst": 98 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 233, "name": "Flash_Writes_GiB", "raw": { "string": "979", "value": 979 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Lifetime_Writes_GiB", "raw": { "string": "398", "value": 398 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Lifetime_Reads_GiB", "raw": { "string": "937", "value": 937 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 244, "name": "Average_Erase_Count", "raw": { "string": "17", "value": 17 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 245, "name": "Max_Erase_Count", "raw": { "string": "50", "value": 50 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 246, "name": "Total_Erase_Count", "raw": { "string": "125544", "value": 125544 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_version": { "major_value": 2040, "minor_value": 283, "string": "ACS-3 T13/2161-D revision 4" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Phison Driven SSDs", "model_name": "KINGSTON SA400M8120G", "physical_block_size": 512, "power_cycle_count": 8, "power_on_time": { "hours": 4994 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 4, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 38 }, "trim": { "deterministic": false, "supported": true, "zeroed": false }, "user_capacity": { "blocks": 234441648, "bytes": 120034123776 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 9911 } }smartctl_exporter-0.14.0/testdata/sat-Phison_Driven_SSDs-KINGSTON_SKC400S371T-sda.json000066400000000000000000000315301500167572200277450ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Not_In_Use", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Not_In_Use", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 5, "name": "Retired_Block_Count", "raw": { "string": "1", "value": 1 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Not_In_Use", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Not_In_Use", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "54450", "value": 54450 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "23", "value": 23 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 168, "name": "SATA_Phy_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 170, "name": "Bad_Blk_Ct_Erl/Lat", "raw": { "string": "1/1162", "value": 16778378 }, "thresh": 10, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 173, "name": "MaxAvgErase_Ct", "raw": { "string": "888 (Average 808)", "value": 52953976 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 175, "name": "Not_In_Use", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 192, "name": "Unsafe_Shutdown_Count", "raw": { "string": "15", "value": 15 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---K ", "updated_online": true, "value": 35 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "31 (Min/Max 23/44)", "value": 188980068383 }, "thresh": 30, "value": 69, "when_failed": "", "worst": 56 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "1", "value": 1 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Not_In_Use", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 199, "name": "SATA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 218, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 231, "name": "SSD_Life_Left", "raw": { "string": "74", "value": 74 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 233, "name": "Flash_Writes_GiB", "raw": { "string": "840007", "value": 840007 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 240, "name": "Not_In_Use", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 241, "name": "Lifetime_Writes_GiB", "raw": { "string": "391741", "value": 391741 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 242, "name": "Lifetime_Reads_GiB", "raw": { "string": "1837742", "value": 1837742 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 244, "name": "Average_Erase_Count", "raw": { "string": "808", "value": 808 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 245, "name": "Max_Erase_Count", "raw": { "string": "888", "value": 888 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 246, "name": "Total_Erase_Count", "raw": { "string": "217844032", "value": 217844032 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1016, "minor_value": 0, "string": "ACS-2 (minor revision not indicated)" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Phison Driven SSDs", "model_name": "KINGSTON SKC400S371T", "physical_block_size": 512, "power_cycle_count": 23, "power_on_time": { "hours": 54450 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 31 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 2000409264, "bytes": 1024209543168 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 9911 } }smartctl_exporter-0.14.0/testdata/sat-Samsung_based_SSDs-SAMSUNG_MZ7L3240HCHQ-00A07-sda.json000066400000000000000000000306051500167572200304610ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "10106", "value": 10106 }, "thresh": 0, "value": 97, "when_failed": "", "worst": 97 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "17", "value": 17 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 177, "name": "Wear_Leveling_Count", "raw": { "string": "114", "value": 114 }, "thresh": 5, "value": 98, "when_failed": "", "worst": 98 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 179, "name": "Used_Rsvd_Blk_Cnt_Tot", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 180, "name": "Unused_Rsvd_Blk_Cnt_Tot", "raw": { "string": "220", "value": 220 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 181, "name": "Program_Fail_Cnt_Total", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 182, "name": "Erase_Fail_Count_Total", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 183, "name": "Runtime_Bad_Block", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "30", "value": 30 }, "thresh": 0, "value": 70, "when_failed": "", "worst": 62 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "30 (Min/Max 24/40)", "value": 171800264734 }, "thresh": 0, "value": 70, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "ECC_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 202, "name": "Exception_Mode_Status", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 235, "name": "POR_Recovery_Count", "raw": { "string": "14", "value": 14 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "652566252", "value": 652566252 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "28190000396", "value": 28190000396 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "SATA_Downshift_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 244, "name": "Thermal_Throttle_St", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 245, "name": "Timed_Workld_Media_Wear", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 246, "name": "Timed_Workld_RdWr_Ratio", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 247, "name": "Timed_Workld_Timer", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 251, "name": "NAND_Writes", "raw": { "string": "993815616", "value": 993815616 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4092, "minor_value": 94, "string": "ACS-4 T13/BSR INCITS 529 revision 5" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Samsung based SSDs", "model_name": "SAMSUNG MZ7L3240HCHQ-00A07", "physical_block_size": 4096, "power_cycle_count": 17, "power_on_time": { "hours": 10106 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 30 }, "user_capacity": { "blocks": 468862128, "bytes": 240057409536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 9528 } }smartctl_exporter-0.14.0/testdata/sat-Samsung_based_SSDs-SAMSUNG_MZ7LH1T9HMLT-00005-sda.json000066400000000000000000000307771500167572200305660ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "4717", "value": 4717 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "53", "value": 53 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 177, "name": "Wear_Leveling_Count", "raw": { "string": "16", "value": 16 }, "thresh": 5, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 179, "name": "Used_Rsvd_Blk_Cnt_Tot", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 180, "name": "Unused_Rsvd_Blk_Cnt_Tot", "raw": { "string": "5816", "value": 5816 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 181, "name": "Program_Fail_Cnt_Total", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 182, "name": "Erase_Fail_Count_Total", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 183, "name": "Runtime_Bad_Block", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "24", "value": 24 }, "thresh": 0, "value": 76, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "24 (Min/Max 21/40)", "value": 171800068120 }, "thresh": 0, "value": 76, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "ECC_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 202, "name": "Exception_Mode_Status", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 235, "name": "POR_Recovery_Count", "raw": { "string": "30", "value": 30 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "63180483059", "value": 63180483059 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "47974401521", "value": 47974401521 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "SATA_Downshift_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 244, "name": "Thermal_Throttle_St", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 245, "name": "Timed_Workld_Media_Wear", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 246, "name": "Timed_Workld_RdWr_Ratio", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 247, "name": "Timed_Workld_Timer", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 251, "name": "NAND_Writes", "raw": { "string": "64213448960", "value": 64213448960 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4092, "minor_value": 94, "string": "ACS-4 T13/BSR INCITS 529 revision 5" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Samsung based SSDs", "model_name": "SAMSUNG MZ7LH1T9HMLT-00005", "physical_block_size": 4096, "power_cycle_count": 53, "power_on_time": { "hours": 4717 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 24 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 3750748848, "bytes": 1920383410176 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 9528 } }smartctl_exporter-0.14.0/testdata/sat-Samsung_based_SSDs-SAMSUNG_MZ7LH480HAHQ-00005-sda.json000066400000000000000000000306131500167572200304660ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "7753", "value": 7753 }, "thresh": 0, "value": 98, "when_failed": "", "worst": 98 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "168", "value": 168 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 177, "name": "Wear_Leveling_Count", "raw": { "string": "25", "value": 25 }, "thresh": 5, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 179, "name": "Used_Rsvd_Blk_Cnt_Tot", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 180, "name": "Unused_Rsvd_Blk_Cnt_Tot", "raw": { "string": "1434", "value": 1434 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 181, "name": "Program_Fail_Cnt_Total", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 182, "name": "Erase_Fail_Count_Total", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 183, "name": "Runtime_Bad_Block", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "26", "value": 26 }, "thresh": 0, "value": 74, "when_failed": "", "worst": 67 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "26 (Min/Max 20/33)", "value": 141735231514 }, "thresh": 0, "value": 74, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "ECC_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 202, "name": "Exception_Mode_Status", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 235, "name": "POR_Recovery_Count", "raw": { "string": "161", "value": 161 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "1375952821", "value": 1375952821 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "45092229071", "value": 45092229071 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "SATA_Downshift_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 244, "name": "Thermal_Throttle_St", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 245, "name": "Timed_Workld_Media_Wear", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 246, "name": "Timed_Workld_RdWr_Ratio", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 247, "name": "Timed_Workld_Timer", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 251, "name": "NAND_Writes", "raw": { "string": "1637892480", "value": 1637892480 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4092, "minor_value": 94, "string": "ACS-4 T13/BSR INCITS 529 revision 5" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Samsung based SSDs", "model_name": "SAMSUNG MZ7LH480HAHQ-00005", "physical_block_size": 4096, "power_cycle_count": 168, "power_on_time": { "hours": 7753 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 26 }, "user_capacity": { "blocks": 937703088, "bytes": 480103981056 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 9528 } }smartctl_exporter-0.14.0/testdata/sat-Seagate_Constellation_ES.3-ST1000NM0033-9ZM173-sdq.json000066400000000000000000000246221500167572200307030ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "90736659", "value": 90736659 }, "thresh": 44, "value": 79, "when_failed": "", "worst": 63 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 97, "when_failed": "", "worst": 96 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "25", "value": 25 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "569143298", "value": 569143298 }, "thresh": 30, "value": 87, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "76915", "value": 76915 }, "thresh": 0, "value": 13, "when_failed": "", "worst": 13 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "25", "value": 25 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 99, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 189, "name": "High_Fly_Writes", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "25 (Min/Max 21/31)", "value": 521469977 }, "thresh": 45, "value": 75, "when_failed": "", "worst": 59 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "22", "value": 22 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "3224", "value": 3224 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "25 (0 16 0 0 0)", "value": 68719476761 }, "thresh": 0, "value": 25, "when_failed": "", "worst": 41 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "90736659", "value": 90736659 }, "thresh": 0, "value": 37, "when_failed": "", "worst": 15 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1008, "minor_value": 0, "string": "ACS-2 (minor revision not indicated)" }, "device": { "info_name": "/dev/sdq [SAT]", "name": "/dev/sdq", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Constellation ES.3", "model_name": "ST1000NM0033-9ZM173", "physical_block_size": 512, "power_cycle_count": 25, "power_on_time": { "hours": 76915 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 32 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdq" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 25 }, "trim": { "supported": false }, "user_capacity": { "blocks": 1953525168, "bytes": 1000204886016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }smartctl_exporter-0.14.0/testdata/sat-Seagate_Constellation_ES.3-ST2000NM0033-9ZM175-sde.json000066400000000000000000000246271500167572200306770ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "138668267", "value": 138668267 }, "thresh": 44, "value": 81, "when_failed": "", "worst": 63 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 96, "when_failed": "", "worst": 95 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "18", "value": 18 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "2134229173", "value": 2134229173 }, "thresh": 30, "value": 93, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "76590", "value": 76590 }, "thresh": 0, "value": 13, "when_failed": "", "worst": 13 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "17", "value": 17 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 99, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 189, "name": "High_Fly_Writes", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "24 (Min/Max 18/33)", "value": 554827800 }, "thresh": 45, "value": 76, "when_failed": "", "worst": 56 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "11", "value": 11 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "3206", "value": 3206 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "24 (0 18 0 0 0)", "value": 77309411352 }, "thresh": 0, "value": 24, "when_failed": "", "worst": 44 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "138668267", "value": 138668267 }, "thresh": 0, "value": 21, "when_failed": "", "worst": 3 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1008, "minor_value": 0, "string": "ACS-2 (minor revision not indicated)" }, "device": { "info_name": "/dev/sde [SAT]", "name": "/dev/sde", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Constellation ES.3", "model_name": "ST2000NM0033-9ZM175", "physical_block_size": 512, "power_cycle_count": 17, "power_on_time": { "hours": 76590 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 32 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sde" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 24 }, "trim": { "supported": false }, "user_capacity": { "blocks": 3907029168, "bytes": 2000398934016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }smartctl_exporter-0.14.0/testdata/sat-Seagate_Constellation_ES.3-ST3000NM0033-9ZM178-sdc.json000066400000000000000000000246551500167572200307020ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "35422734", "value": 35422734 }, "thresh": 44, "value": 75, "when_failed": "", "worst": 63 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 94, "when_failed": "", "worst": 93 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "140", "value": 140 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "1", "value": 1 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "1788942287", "value": 1788942287 }, "thresh": 30, "value": 92, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "57744", "value": 57744 }, "thresh": 0, "value": 35, "when_failed": "", "worst": 35 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "140", "value": 140 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 99, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "17180131332", "value": 17180131332 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 189, "name": "High_Fly_Writes", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "22 (Min/Max 21/22)", "value": 370475030 }, "thresh": 45, "value": 78, "when_failed": "", "worst": 56 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "136", "value": 136 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "2482", "value": 2482 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "22 (0 18 0 0 0)", "value": 77309411350 }, "thresh": 0, "value": 22, "when_failed": "", "worst": 44 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "35422734", "value": 35422734 }, "thresh": 0, "value": 19, "when_failed": "", "worst": 6 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1008, "minor_value": 0, "string": "ACS-2 (minor revision not indicated)" }, "device": { "info_name": "/dev/sdc [SAT]", "name": "/dev/sdc", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 2, "string": "3.0 Gb/s", "units_per_second": 30 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Constellation ES.3", "model_name": "ST3000NM0033-9ZM178", "physical_block_size": 512, "power_cycle_count": 140, "power_on_time": { "hours": 57744 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 32 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdc" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 22 }, "trim": { "supported": false }, "user_capacity": { "blocks": 5860533168, "bytes": 3000592982016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }smartctl_exporter-0.14.0/testdata/sat-Seagate_Constellation_ES_SATA-ST32000644NS-sda.json000066400000000000000000000245201500167572200305010ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "103699713", "value": 103699713 }, "thresh": 44, "value": 80, "when_failed": "", "worst": 63 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 91, "when_failed": "", "worst": 82 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "26", "value": 26 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 36, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "52383508216", "value": 52383508216 }, "thresh": 30, "value": 78, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "45080", "value": 45080 }, "thresh": 0, "value": 49, "when_failed": "", "worst": 49 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "26", "value": 26 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 99, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 189, "name": "High_Fly_Writes", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "27 (Min/Max 24/36)", "value": 605552667 }, "thresh": 45, "value": 73, "when_failed": "", "worst": 63 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "23", "value": 23 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "26", "value": 26 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "27 (0 15 0 0 0)", "value": 64424509467 }, "thresh": 0, "value": 27, "when_failed": "", "worst": 40 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "103699713", "value": 103699713 }, "thresh": 0, "value": 28, "when_failed": "", "worst": 18 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 496, "minor_value": 41, "string": "ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 2, "string": "3.0 Gb/s", "units_per_second": 30 }, "max": { "bits_per_unit": 100000000, "sata_value": 6, "string": "3.0 Gb/s", "units_per_second": 30 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Constellation ES (SATA)", "model_name": "ST32000644NS", "physical_block_size": 512, "power_cycle_count": 26, "power_on_time": { "hours": 45080 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 2.6", "value": 16 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 27 }, "trim": { "supported": false }, "user_capacity": { "blocks": 3907029168, "bytes": 2000398934016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }smartctl_exporter-0.14.0/testdata/sat-Seagate_Constellation_ES_SATA_6Gb_s-ST500NM0011-sda.json000066400000000000000000000246201500167572200314200ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "171057050", "value": 171057050 }, "thresh": 44, "value": 82, "when_failed": "", "worst": 63 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 96, "when_failed": "", "worst": 95 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "48", "value": 48 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 36, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "987249722", "value": 987249722 }, "thresh": 30, "value": 90, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "76427", "value": 76427 }, "thresh": 0, "value": 13, "when_failed": "", "worst": 13 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "48", "value": 48 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 99, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 189, "name": "High_Fly_Writes", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "32 (Min/Max 25/37)", "value": 622395424 }, "thresh": 45, "value": 68, "when_failed": "", "worst": 59 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "38", "value": 38 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "65", "value": 65 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "32 (0 18 0 0 0)", "value": 77309411360 }, "thresh": 0, "value": 32, "when_failed": "", "worst": 41 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "171057050", "value": 171057050 }, "thresh": 0, "value": 118, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 496, "minor_value": 41, "string": "ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Constellation ES (SATA 6Gb/s)", "model_name": "ST500NM0011", "physical_block_size": 512, "power_cycle_count": 48, "power_on_time": { "hours": 76427 }, "rotation_rate": 7202, "sata_version": { "string": "SATA 3.0", "value": 32 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 32 }, "trim": { "supported": false }, "user_capacity": { "blocks": 976773168, "bytes": 500107862016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }sat-Seagate_Enterprise_Capacity_3.5_HDD-ST10000NM0016-1TT101-sda.json000066400000000000000000000273471500167572200323070ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "167226072", "value": 167226072 }, "thresh": 44, "value": 82, "when_failed": "", "worst": 64 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 94, "when_failed": "", "worst": 91 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "41", "value": 41 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "2675401001", "value": 2675401001 }, "thresh": 45, "value": 94, "when_failed": "", "worst": 62 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "34013 (105 34 0)", "value": 115594749838557 }, "thresh": 0, "value": 62, "when_failed": "", "worst": 62 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "42", "value": 42 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 99, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0 0 0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 189, "name": "High_Fly_Writes", "raw": { "string": "49", "value": 49 }, "thresh": 0, "value": 51, "when_failed": "", "worst": 51 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "25 (Min/Max 23/35)", "value": 588709913 }, "thresh": 40, "value": 75, "when_failed": "", "worst": 57 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "18368", "value": 18368 }, "thresh": 0, "value": 91, "when_failed": "", "worst": 91 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "60", "value": 60 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "59747", "value": 59747 }, "thresh": 0, "value": 71, "when_failed": "", "worst": 71 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "25 (0 14 0 0 0)", "value": 60129542169 }, "thresh": 0, "value": 25, "when_failed": "", "worst": 43 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "167226072", "value": 167226072 }, "thresh": 0, "value": 20, "when_failed": "", "worst": 6 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "16671h+22m+05.274s", "value": 5692008488255775 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "336030386452", "value": 336030386452 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "100392633118", "value": 100392633118 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2032, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Enterprise Capacity 3.5 HDD", "model_name": "ST10000NM0016-1TT101", "physical_block_size": 4096, "power_cycle_count": 42, "power_on_time": { "hours": 34013 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 25 }, "trim": { "supported": false }, "user_capacity": { "blocks": 19532873728, "bytes": 10000831348736 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }sat-Seagate_Enterprise_Capacity_3.5_HDD-ST1000NM0008-2F2100-sda.json000066400000000000000000000273511500167572200321430ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "26943318", "value": 26943318 }, "thresh": 44, "value": 74, "when_failed": "", "worst": 63 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 96, "when_failed": "", "worst": 96 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "36", "value": 36 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "312868058", "value": 312868058 }, "thresh": 45, "value": 84, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "47060h+35m+00.858s", "value": 9023116403587028 }, "thresh": 0, "value": 47, "when_failed": "", "worst": 47 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "29", "value": 29 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 99, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0 0 0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 189, "name": "High_Fly_Writes", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "24 (Min/Max 20/33)", "value": 554958872 }, "thresh": 40, "value": 76, "when_failed": "", "worst": 67 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "1582", "value": 1582 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "2670", "value": 2670 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "24 (0 18 0 0 0)", "value": 77309411352 }, "thresh": 0, "value": 24, "when_failed": "", "worst": 40 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "26943318", "value": 26943318 }, "thresh": 0, "value": 74, "when_failed": "", "worst": 63 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "46922h+54m+18.974s", "value": 13997186748561226 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "7826697467", "value": 7826697467 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "71818734117", "value": 71818734117 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2032, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Enterprise Capacity 3.5 HDD", "model_name": "ST1000NM0008-2F2100", "physical_block_size": 512, "power_cycle_count": 29, "power_on_time": { "hours": 47060, "minutes": 35 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 24 }, "trim": { "supported": false }, "user_capacity": { "blocks": 1953525168, "bytes": 1000204886016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }sat-Seagate_Enterprise_Capacity_3.5_HDD-ST2000NM0008-2F3100-sdl.json000066400000000000000000000273721500167572200321630ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "184637705", "value": 184637705 }, "thresh": 44, "value": 82, "when_failed": "", "worst": 63 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 96, "when_failed": "", "worst": 96 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "52", "value": 52 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "1072141236", "value": 1072141236 }, "thresh": 45, "value": 90, "when_failed": "", "worst": 61 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "37054h+12m+58.233s", "value": 3342485283705022 }, "thresh": 0, "value": 58, "when_failed": "", "worst": 58 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "51", "value": 51 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 99, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "2 2 2", "value": 8590065666 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 189, "name": "High_Fly_Writes", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "19 (Min/Max 17/29)", "value": 487653395 }, "thresh": 40, "value": 81, "when_failed": "", "worst": 61 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "805", "value": 805 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "18494", "value": 18494 }, "thresh": 0, "value": 91, "when_failed": "", "worst": 91 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "19 (0 17 0 0 0)", "value": 73014444051 }, "thresh": 0, "value": 19, "when_failed": "", "worst": 40 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "184637705", "value": 184637705 }, "thresh": 0, "value": 82, "when_failed": "", "worst": 63 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "34643h+21m+17.541s", "value": 5486996814333779 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "917915044063", "value": 917915044063 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "699347210152", "value": 699347210152 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2032, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdl [SAT]", "name": "/dev/sdl", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Enterprise Capacity 3.5 HDD", "model_name": "ST2000NM0008-2F3100", "physical_block_size": 512, "power_cycle_count": 51, "power_on_time": { "hours": 37054, "minutes": 12 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdl" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 19 }, "trim": { "supported": false }, "user_capacity": { "blocks": 3907029168, "bytes": 2000398934016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }sat-Seagate_Enterprise_Capacity_3.5_HDD-ST4000NM0035-1V4107-sdc.json000066400000000000000000000273141500167572200321770ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "156126818", "value": 156126818 }, "thresh": 44, "value": 82, "when_failed": "", "worst": 64 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 95, "when_failed": "", "worst": 93 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "36", "value": 36 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "2856887595", "value": 2856887595 }, "thresh": 45, "value": 95, "when_failed": "", "worst": 62 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "37119", "value": 37119 }, "thresh": 0, "value": 58, "when_failed": "", "worst": 58 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "32", "value": 32 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 99, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0 0 0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 189, "name": "High_Fly_Writes", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "29 (Min/Max 28/31)", "value": 521928733 }, "thresh": 40, "value": 71, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "12551", "value": 12551 }, "thresh": 0, "value": 94, "when_failed": "", "worst": 94 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "29", "value": 29 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "221697", "value": 221697 }, "thresh": 0, "value": 1, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "29 (0 15 0 0 0)", "value": 64424509469 }, "thresh": 0, "value": 29, "when_failed": "", "worst": 40 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "156126818", "value": 156126818 }, "thresh": 0, "value": 4, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "22566h+01m+09.514s", "value": 298560356636710 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "147026905479", "value": 147026905479 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "231362640550", "value": 231362640550 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2032, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdc [SAT]", "name": "/dev/sdc", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Enterprise Capacity 3.5 HDD", "model_name": "ST4000NM0035-1V4107", "physical_block_size": 512, "power_cycle_count": 32, "power_on_time": { "hours": 37119 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdc" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 29 }, "trim": { "supported": false }, "user_capacity": { "blocks": 7814037168, "bytes": 4000787030016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }sat-Seagate_Enterprise_Capacity_3.5_HDD-ST8000NM0016-1U3101-sds.json000066400000000000000000000273441500167572200322150ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "239425872", "value": 239425872 }, "thresh": 44, "value": 84, "when_failed": "", "worst": 64 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 93, "when_failed": "", "worst": 92 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "61", "value": 61 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "3788264559", "value": 3788264559 }, "thresh": 45, "value": 96, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "38098 (190 82 0)", "value": 209259396633810 }, "thresh": 0, "value": 57, "when_failed": "", "worst": 57 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "63", "value": 63 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 99, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0 0 0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 189, "name": "High_Fly_Writes", "raw": { "string": "38", "value": 38 }, "thresh": 0, "value": 62, "when_failed": "", "worst": 62 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "21 (Min/Max 19/30)", "value": 504561685 }, "thresh": 40, "value": 79, "when_failed": "", "worst": 63 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "12508", "value": 12508 }, "thresh": 0, "value": 94, "when_failed": "", "worst": 94 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "382", "value": 382 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "5329", "value": 5329 }, "thresh": 0, "value": 98, "when_failed": "", "worst": 98 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "21 (0 16 0 0 0)", "value": 68719476757 }, "thresh": 0, "value": 21, "when_failed": "", "worst": 40 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "239425872", "value": 239425872 }, "thresh": 0, "value": 5, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "35114h+21m+42.902s", "value": 5595921479928106 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "219601741475", "value": 219601741475 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "155044474266", "value": 155044474266 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2032, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sds [SAT]", "name": "/dev/sds", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Enterprise Capacity 3.5 HDD", "model_name": "ST8000NM0016-1U3101", "physical_block_size": 4096, "power_cycle_count": 63, "power_on_time": { "hours": 38098 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sds" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 21 }, "trim": { "supported": false }, "user_capacity": { "blocks": 15628053168, "bytes": 8001563222016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }sat-Seagate_Enterprise_Capacity_3.5_HDD-ST8000NM0055-1RM112-sdh.json000066400000000000000000000273231500167572200322330ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "19820656", "value": 19820656 }, "thresh": 44, "value": 73, "when_failed": "", "worst": 64 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 90, "when_failed": "", "worst": 89 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "39", "value": 39 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "2448016663", "value": 2448016663 }, "thresh": 45, "value": 94, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "50427", "value": 50427 }, "thresh": 0, "value": 43, "when_failed": "", "worst": 43 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "40", "value": 40 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 99, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0 0 0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RCK ", "updated_online": true, "value": 58 }, "id": 189, "name": "High_Fly_Writes", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "31 (Min/Max 29/37)", "value": 622657567 }, "thresh": 40, "value": 69, "when_failed": "", "worst": 55 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "149358", "value": 149358 }, "thresh": 0, "value": 26, "when_failed": "", "worst": 26 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "1581", "value": 1581 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "201071", "value": 201071 }, "thresh": 0, "value": 1, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "31 (0 19 0 0 0)", "value": 81604378655 }, "thresh": 0, "value": 31, "when_failed": "", "worst": 45 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "19820656", "value": 19820656 }, "thresh": 0, "value": 73, "when_failed": "", "worst": 64 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "50311h+35m+49.046s", "value": 9230082287649927 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "474314849904", "value": 474314849904 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "158212488565", "value": 158212488565 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2032, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdh [SAT]", "name": "/dev/sdh", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Enterprise Capacity 3.5 HDD", "model_name": "ST8000NM0055-1RM112", "physical_block_size": 4096, "power_cycle_count": 40, "power_on_time": { "hours": 50427 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdh" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 31 }, "trim": { "supported": false }, "user_capacity": { "blocks": 15628053168, "bytes": 8001563222016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }smartctl_exporter-0.14.0/testdata/sat-Seagate_Exos_7E8-ST1000NM000A-2J3100-sdq.json000066400000000000000000000255441500167572200266220ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "87494727", "value": 87494727 }, "thresh": 44, "value": 79, "when_failed": "", "worst": 64 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 97, "when_failed": "", "worst": 97 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "13", "value": 13 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "45734571", "value": 45734571 }, "thresh": 45, "value": 77, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "4886", "value": 4886 }, "thresh": 0, "value": 95, "when_failed": "", "worst": 95 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "13", "value": 13 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 18, "name": "Head_Health", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "26 (Min/Max 22/28)", "value": 471203866 }, "thresh": 40, "value": 74, "when_failed": "", "worst": 72 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "225", "value": 225 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "26 (0 22 0 0 0)", "value": 94489280538 }, "thresh": 0, "value": 26, "when_failed": "", "worst": 40 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "87494727", "value": 87494727 }, "thresh": 0, "value": 79, "when_failed": "", "worst": 64 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "4362h+39m+17.321s", "value": 10124616601178378 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "702856333", "value": 702856333 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "361205548", "value": 361205548 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4064, "minor_value": 65535, "string": "ACS-4 (minor revision not indicated)" }, "device": { "info_name": "/dev/sdq [SAT]", "name": "/dev/sdq", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Exos 7E8", "model_name": "ST1000NM000A-2J3100", "physical_block_size": 512, "power_cycle_count": 13, "power_on_time": { "hours": 4886 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdq" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 26 }, "trim": { "supported": false }, "user_capacity": { "blocks": 1953525168, "bytes": 1000204886016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }smartctl_exporter-0.14.0/testdata/sat-Seagate_Exos_7E8-ST8000NM000A-2KE101-sdi.json000066400000000000000000000255751500167572200266510ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "225101888", "value": 225101888 }, "thresh": 44, "value": 84, "when_failed": "", "worst": 64 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 91, "when_failed": "", "worst": 90 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "25", "value": 25 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "632182215", "value": 632182215 }, "thresh": 45, "value": 88, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "21906", "value": 21906 }, "thresh": 0, "value": 75, "when_failed": "", "worst": 75 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "25", "value": 25 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 18, "name": "Head_Health", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "26 (Min/Max 23/29)", "value": 488046618 }, "thresh": 40, "value": 74, "when_failed": "", "worst": 61 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "10", "value": 10 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "1609", "value": 1609 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "26 (0 15 0 0 0)", "value": 64424509466 }, "thresh": 0, "value": 26, "when_failed": "", "worst": 40 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "225101888", "value": 225101888 }, "thresh": 0, "value": 8, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "21665h+14m+56.209s", "value": 3849188345402529 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "163797093829", "value": 163797093829 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "202972837162", "value": 202972837162 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4064, "minor_value": 65535, "string": "ACS-4 (minor revision not indicated)" }, "device": { "info_name": "/dev/sdi [SAT]", "name": "/dev/sdi", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Exos 7E8", "model_name": "ST8000NM000A-2KE101", "physical_block_size": 4096, "power_cycle_count": 25, "power_on_time": { "hours": 21906 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdi" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 26 }, "trim": { "supported": false }, "user_capacity": { "blocks": 15628053168, "bytes": 8001563222016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }smartctl_exporter-0.14.0/testdata/sat-Seagate_Exos_X16-ST16000NM001G-2KK103-sda.json000066400000000000000000000254611500167572200267440ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "239307048", "value": 239307048 }, "thresh": 44, "value": 84, "when_failed": "", "worst": 64 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 91, "when_failed": "", "worst": 90 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "26", "value": 26 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "330010684", "value": 330010684 }, "thresh": 45, "value": 85, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "13114", "value": 13114 }, "thresh": 0, "value": 86, "when_failed": "", "worst": 86 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "15", "value": 15 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 18, "name": "Head_Health", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "51540393996", "value": 51540393996 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 97 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "26 (Min/Max 25/32)", "value": 538509338 }, "thresh": 40, "value": 74, "when_failed": "", "worst": 50 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "5", "value": 5 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "4954", "value": 4954 }, "thresh": 0, "value": 98, "when_failed": "", "worst": 98 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "26 (0 23 0 0 0)", "value": 98784247834 }, "thresh": 0, "value": 26, "when_failed": "", "worst": 40 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---K ", "updated_online": true, "value": 35 }, "id": 200, "name": "Pressure_Limit", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "12523h+17m+08.635s", "value": 4417953684533483 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "385165652077", "value": 385165652077 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "150964211289", "value": 150964211289 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4064, "minor_value": 65535, "string": "ACS-4 (minor revision not indicated)" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Seagate Exos X16", "model_name": "ST16000NM001G-2KK103", "physical_block_size": 4096, "power_cycle_count": 15, "power_on_time": { "hours": 13114 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 26 }, "user_capacity": { "blocks": 31251759104, "bytes": 16000900661248 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }smartctl_exporter-0.14.0/testdata/sat-Silicon_Motion_based_SSDs-TS32GMTS400-sda.json000066400000000000000000000340431500167572200300130ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "796", "value": 796 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "29", "value": 29 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 160, "name": "Uncorrectable_Error_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 161, "name": "Valid_Spare_Block_Cnt", "raw": { "string": "61", "value": 61 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 163, "name": "Initial_Bad_Block_Count", "raw": { "string": "21", "value": 21 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 164, "name": "Total_Erase_Count", "raw": { "string": "136733", "value": 136733 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 165, "name": "Max_Erase_Count", "raw": { "string": "172", "value": 172 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 166, "name": "Min_Erase_Count", "raw": { "string": "71", "value": 71 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 167, "name": "Average_Erase_Count", "raw": { "string": "132", "value": 132 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 168, "name": "Max_Erase_Count_of_Spec", "raw": { "string": "3000", "value": 3000 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 169, "name": "Remaining_Lifetime_Perc", "raw": { "string": "96", "value": 96 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 175, "name": "Program_Fail_Count_Chip", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 176, "name": "Erase_Fail_Count_Chip", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 177, "name": "Wear_Leveling_Count", "raw": { "string": "401", "value": 401 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 178, "name": "Runtime_Invalid_Blk_Cnt", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 181, "name": "Program_Fail_Cnt_Total", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 182, "name": "Erase_Fail_Count_Total", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "4", "value": 4 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "26", "value": 26 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 16, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 232, "name": "Available_Reservd_Space", "raw": { "string": "100", "value": 100 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 241, "name": "Host_Writes_32MiB", "raw": { "string": "30245", "value": 30245 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 242, "name": "Host_Reads_32MiB", "raw": { "string": "72455", "value": 72455 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 245, "name": "TLC_Writes_32MiB", "raw": { "string": "136733", "value": 136733 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1008, "minor_value": 0, "string": "ACS-2 (minor revision not indicated)" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Silicon Motion based SSDs", "model_name": "TS32GMTS400", "physical_block_size": 512, "power_cycle_count": 29, "power_on_time": { "hours": 796 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.1", "value": 127 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 26 }, "trim": { "deterministic": true, "supported": true, "zeroed": true }, "user_capacity": { "blocks": 62533296, "bytes": 32017047552 } }smartctl_exporter-0.14.0/testdata/sat-Toshiba_3.5_HDD_MK.002TSKB-TOSHIBA_MK1002TSKB-sdb.json000066400000000000000000000270571500167572200301110ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "6740", "value": 6740 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "22", "value": 22 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "73882", "value": 73882 }, "thresh": 0, "value": 1, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 30, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "18", "value": 18 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "8", "value": 8 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "779", "value": 779 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "24 (Min/Max 16/31)", "value": 133145034776 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 220, "name": "Disk_Shift", "raw": { "string": "24", "value": 24 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 222, "name": "Loaded_Hours", "raw": { "string": "71787", "value": 71787 }, "thresh": 0, "value": 1, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 223, "name": "Load_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 224, "name": "Load_Friction", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": false, "string": "-OS--K ", "updated_online": true, "value": 38 }, "id": 226, "name": "Load-in_Time", "raw": { "string": "107", "value": 107 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "P----- ", "updated_online": false, "value": 1 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 504, "minor_value": 0, "string": "ATA8-ACS (minor revision not indicated)" }, "device": { "info_name": "/dev/sdb [SAT]", "name": "/dev/sdb", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 2, "string": "3.0 Gb/s", "units_per_second": 30 }, "max": { "bits_per_unit": 100000000, "sata_value": 6, "string": "3.0 Gb/s", "units_per_second": 30 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Toshiba 3.5\" HDD MK.002TSKB", "model_name": "TOSHIBA MK1002TSKB", "physical_block_size": 512, "power_cycle_count": 18, "power_on_time": { "hours": 73882 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 2.6", "value": 31 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdb" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 24 }, "trim": { "supported": false }, "user_capacity": { "blocks": 1953525168, "bytes": 1000204886016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 57 } }sat-Toshiba_3.5_MG03ACAxxxY_Enterprise_HDD-TOSHIBA_MG03ACA100-sdv.json000066400000000000000000000271001500167572200325220ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "5061", "value": 5061 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "50", "value": 50 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "34688", "value": 34688 }, "thresh": 0, "value": 14, "when_failed": "", "worst": 14 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 30, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "50", "value": 50 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "40", "value": 40 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "65", "value": 65 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "24 (Min/Max 11/36)", "value": 154619543576 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 220, "name": "Disk_Shift", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 222, "name": "Loaded_Hours", "raw": { "string": "35752", "value": 35752 }, "thresh": 0, "value": 11, "when_failed": "", "worst": 11 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 223, "name": "Load_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 224, "name": "Load_Friction", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": false, "string": "-OS--K ", "updated_online": true, "value": 38 }, "id": 226, "name": "Load-in_Time", "raw": { "string": "499", "value": 499 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "P----- ", "updated_online": false, "value": 1 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 504, "minor_value": 0, "string": "ATA8-ACS (minor revision not indicated)" }, "device": { "info_name": "/dev/sdv [SAT]", "name": "/dev/sdv", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Toshiba 3.5\" MG03ACAxxx(Y) Enterprise HDD", "model_name": "TOSHIBA MG03ACA100", "physical_block_size": 512, "power_cycle_count": 50, "power_on_time": { "hours": 34688 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 63 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdv" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 24 }, "trim": { "supported": false }, "user_capacity": { "blocks": 1953525168, "bytes": 1000204886016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 57 } }smartctl_exporter-0.14.0/testdata/sat-Toshiba_MG04ACA..._Enterprise_HDD-TOSHIBA_MG04ACA200E-sdd.json000066400000000000000000000270731500167572200316240ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "3236", "value": 3236 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "18", "value": 18 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "38978", "value": 38978 }, "thresh": 0, "value": 3, "when_failed": "", "worst": 3 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 30, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "18", "value": 18 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "4744", "value": 4744 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "11", "value": 11 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "32", "value": 32 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "34 (Min/Max 17/43)", "value": 184684707874 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 220, "name": "Disk_Shift", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 222, "name": "Loaded_Hours", "raw": { "string": "38115", "value": 38115 }, "thresh": 0, "value": 5, "when_failed": "", "worst": 5 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 223, "name": "Load_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 224, "name": "Load_Friction", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": false, "string": "-OS--K ", "updated_online": true, "value": 38 }, "id": 226, "name": "Load-in_Time", "raw": { "string": "643", "value": 643 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "P----- ", "updated_online": false, "value": 1 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 504, "minor_value": 0, "string": "ATA8-ACS (minor revision not indicated)" }, "device": { "info_name": "/dev/sdd [SAT]", "name": "/dev/sdd", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Toshiba MG04ACA... Enterprise HDD", "model_name": "TOSHIBA MG04ACA200E", "physical_block_size": 4096, "power_cycle_count": 18, "power_on_time": { "hours": 38978 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 63 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdd" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 34 }, "trim": { "supported": false }, "user_capacity": { "blocks": 3907029168, "bytes": 2000398934016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 57 } }smartctl_exporter-0.14.0/testdata/sat-Toshiba_MG04ACA..._Enterprise_HDD-TOSHIBA_MG04ACA400E-sdg.json000066400000000000000000000270641500167572200316310ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "7135", "value": 7135 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "13", "value": 13 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "25313", "value": 25313 }, "thresh": 0, "value": 37, "when_failed": "", "worst": 37 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 30, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "4", "value": 4 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "15", "value": 15 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "26 (Min/Max 20/39)", "value": 167505035290 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 220, "name": "Disk_Shift", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 222, "name": "Loaded_Hours", "raw": { "string": "25313", "value": 25313 }, "thresh": 0, "value": 37, "when_failed": "", "worst": 37 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 223, "name": "Load_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 224, "name": "Load_Friction", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": false, "string": "-OS--K ", "updated_online": true, "value": 38 }, "id": 226, "name": "Load-in_Time", "raw": { "string": "559", "value": 559 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "P----- ", "updated_online": false, "value": 1 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 504, "minor_value": 0, "string": "ATA8-ACS (minor revision not indicated)" }, "device": { "info_name": "/dev/sdg [SAT]", "name": "/dev/sdg", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Toshiba MG04ACA... Enterprise HDD", "model_name": "TOSHIBA MG04ACA400E", "physical_block_size": 4096, "power_cycle_count": 7, "power_on_time": { "hours": 25313 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 63 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdg" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 26 }, "trim": { "supported": false }, "user_capacity": { "blocks": 7814037168, "bytes": 4000787030016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 57 } }sat-Toshiba_MG05ACA..._Enterprise_Capacity_HDD-TOSHIBA_MG05ACA800E-sdw.json000066400000000000000000000356511500167572200334160ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "10810", "value": 10810 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "54", "value": 54 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "37603", "value": 37603 }, "thresh": 0, "value": 6, "when_failed": "", "worst": 6 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 30, "value": 101, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "51", "value": 51 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "40", "value": 40 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "720", "value": 720 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "24 (Min/Max 15/44)", "value": 188979544088 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 220, "name": "Disk_Shift", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 222, "name": "Loaded_Hours", "raw": { "string": "37151", "value": 37151 }, "thresh": 0, "value": 8, "when_failed": "", "worst": 8 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 223, "name": "Load_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 224, "name": "Load_Friction", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": false, "string": "-OS--K ", "updated_online": true, "value": 38 }, "id": 226, "name": "Load-in_Time", "raw": { "string": "548", "value": 548 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "P----- ", "updated_online": false, "value": 1 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 2, "logged_count": 2, "revision": 1, "table": [ { "completion_registers": { "count": 200, "device": 64, "error": 64, "lba": 7454176, "status": 65 }, "error_description": "Error: UNC at LBA = 0x0071bde0 = 7454176", "error_number": 2, "lifetime_hours": 36208, "previous_commands": [ { "command_name": "READ FPDMA QUEUED", "powerup_milliseconds": 1272235351, "registers": { "command": 96, "count": 232, "device": 64, "device_control": 0, "features": 8, "lba": 5810912 } }, { "command_name": "READ FPDMA QUEUED", "powerup_milliseconds": 1272232458, "registers": { "command": 96, "count": 224, "device": 64, "device_control": 0, "features": 0, "lba": 7452376 } }, { "command_name": "READ FPDMA QUEUED", "powerup_milliseconds": 1272232458, "registers": { "command": 96, "count": 216, "device": 64, "device_control": 0, "features": 8, "lba": 7457432 } }, { "command_name": "READ FPDMA QUEUED", "powerup_milliseconds": 1272232458, "registers": { "command": 96, "count": 208, "device": 64, "device_control": 0, "features": 0, "lba": 7455448 } }, { "command_name": "READ FPDMA QUEUED", "powerup_milliseconds": 1272232458, "registers": { "command": 96, "count": 200, "device": 64, "device_control": 0, "features": 0, "lba": 7453400 } } ] }, { "completion_registers": { "count": 152, "device": 64, "error": 64, "lba": 2111240, "status": 65 }, "error_description": "Error: UNC at LBA = 0x00203708 = 2111240", "error_number": 1, "lifetime_hours": 26135, "previous_commands": [ { "command_name": "READ FPDMA QUEUED", "powerup_milliseconds": 1593518119, "registers": { "command": 96, "count": 200, "device": 64, "device_control": 0, "features": 0, "lba": 2113344 } }, { "command_name": "READ FPDMA QUEUED", "powerup_milliseconds": 1593518119, "registers": { "command": 96, "count": 192, "device": 64, "device_control": 0, "features": 128, "lba": 2112960 } }, { "command_name": "READ FPDMA QUEUED", "powerup_milliseconds": 1593518119, "registers": { "command": 96, "count": 184, "device": 64, "device_control": 0, "features": 128, "lba": 2112576 } }, { "command_name": "READ FPDMA QUEUED", "powerup_milliseconds": 1593518119, "registers": { "command": 96, "count": 176, "device": 64, "device_control": 0, "features": 128, "lba": 2112192 } }, { "command_name": "READ FPDMA QUEUED", "powerup_milliseconds": 1593518119, "registers": { "command": 96, "count": 168, "device": 64, "device_control": 0, "features": 0, "lba": 2111680 } } ] } ] } }, "ata_version": { "major_value": 2040, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdw [SAT]", "name": "/dev/sdw", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Toshiba MG05ACA... Enterprise Capacity HDD", "model_name": "TOSHIBA MG05ACA800E", "physical_block_size": 4096, "power_cycle_count": 51, "power_on_time": { "hours": 37603 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdw" ], "build_info": "REDACTED", "exit_status": 64, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 24 }, "trim": { "supported": false }, "user_capacity": { "blocks": 15628053168, "bytes": 8001563222016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 57 } }sat-Toshiba_MG06ACA..._Enterprise_Capacity_HDD-TOSHIBA_MG06ACA10TE-sda.json000066400000000000000000000270011500167572200334150ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "9056", "value": 9056 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "30", "value": 30 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "12818", "value": 12818 }, "thresh": 0, "value": 68, "when_failed": "", "worst": 68 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 30, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "30", "value": 30 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "4", "value": 4 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "29", "value": 29 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "43", "value": 43 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "26 (Min/Max 20/37)", "value": 158915100698 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 220, "name": "Disk_Shift", "raw": { "string": "50724870", "value": 50724870 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 222, "name": "Loaded_Hours", "raw": { "string": "12210", "value": 12210 }, "thresh": 0, "value": 70, "when_failed": "", "worst": 70 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 223, "name": "Load_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 224, "name": "Load_Friction", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": false, "string": "-OS--K ", "updated_online": true, "value": 38 }, "id": 226, "name": "Load-in_Time", "raw": { "string": "531", "value": 531 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "P----- ", "updated_online": false, "value": 1 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2040, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Toshiba MG06ACA... Enterprise Capacity HDD", "model_name": "TOSHIBA MG06ACA10TE", "physical_block_size": 4096, "power_cycle_count": 30, "power_on_time": { "hours": 12818 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 26 }, "user_capacity": { "blocks": 19532873728, "bytes": 10000831348736 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 57 } }sat-Toshiba_MG06ACA..._Enterprise_Capacity_HDD-TOSHIBA_MG06ACA800E-sda.json000066400000000000000000000271131500167572200333640ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "5698", "value": 5698 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "23", "value": 23 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "31689", "value": 31689 }, "thresh": 0, "value": 21, "when_failed": "", "worst": 21 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 30, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "11", "value": 11 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "6", "value": 6 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "104", "value": 104 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "31 (Min/Max 19/42)", "value": 180389871647 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 220, "name": "Disk_Shift", "raw": { "string": "168820742", "value": 168820742 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 222, "name": "Loaded_Hours", "raw": { "string": "30456", "value": 30456 }, "thresh": 0, "value": 24, "when_failed": "", "worst": 24 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 223, "name": "Load_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 224, "name": "Load_Friction", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": false, "string": "-OS--K ", "updated_online": true, "value": 38 }, "id": 226, "name": "Load-in_Time", "raw": { "string": "531", "value": 531 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "P----- ", "updated_online": false, "value": 1 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2040, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Toshiba MG06ACA... Enterprise Capacity HDD", "model_name": "TOSHIBA MG06ACA800E", "physical_block_size": 4096, "power_cycle_count": 11, "power_on_time": { "hours": 31689 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 31 }, "trim": { "supported": false }, "user_capacity": { "blocks": 15628053168, "bytes": 8001563222016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 57 } }sat-Toshiba_MG08ACA..._Enterprise_Capacity_HDD-TOSHIBA_MG08ACA16TE-sda.json000066400000000000000000000304721500167572200334350ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "5129", "value": 5129 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "6", "value": 6 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "15166", "value": 15166 }, "thresh": 0, "value": 63, "when_failed": "", "worst": 63 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 30, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "6", "value": 6 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---K ", "updated_online": true, "value": 35 }, "id": 23, "name": "Helium_Condition_Lower", "raw": { "string": "0", "value": 0 }, "thresh": 75, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---K ", "updated_online": true, "value": 35 }, "id": 24, "name": "Helium_Condition_Upper", "raw": { "string": "0", "value": 0 }, "thresh": 75, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "5", "value": 5 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "10", "value": 10 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "23 (Min/Max 18/33)", "value": 141735100439 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 220, "name": "Disk_Shift", "raw": { "string": "524288", "value": 524288 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 222, "name": "Loaded_Hours", "raw": { "string": "15165", "value": 15165 }, "thresh": 0, "value": 63, "when_failed": "", "worst": 63 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 223, "name": "Load_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 224, "name": "Load_Friction", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": false, "string": "-OS--K ", "updated_online": true, "value": 38 }, "id": 226, "name": "Load-in_Time", "raw": { "string": "596", "value": 596 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "P----- ", "updated_online": false, "value": 1 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2040, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Toshiba MG08ACA... Enterprise Capacity HDD", "model_name": "TOSHIBA MG08ACA16TE", "physical_block_size": 4096, "power_cycle_count": 6, "power_on_time": { "hours": 15166 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 23 }, "user_capacity": { "blocks": 31251759104, "bytes": 16000900661248 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 57 } }sat-Toshiba_MG09ACA..._Enterprise_Capacity_HDD-TOSHIBA_MG09ACA18TE-sdd.json000066400000000000000000000332231500167572200334410ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "8657", "value": 8657 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "4772", "value": 4772 }, "thresh": 0, "value": 89, "when_failed": "", "worst": 89 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 30, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---K ", "updated_online": true, "value": 35 }, "id": 23, "name": "Helium_Condition_Lower", "raw": { "string": "0", "value": 0 }, "thresh": 75, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---K ", "updated_online": true, "value": 35 }, "id": 24, "name": "Helium_Condition_Upper", "raw": { "string": "0", "value": 0 }, "thresh": 75, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---K ", "updated_online": true, "value": 35 }, "id": 27, "name": "MAMR_Health_Monitor", "raw": { "string": "986199", "value": 986199 }, "thresh": 30, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "2258", "value": 2258 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "30 (Min/Max 21/32)", "value": 137440329758 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 220, "name": "Disk_Shift", "raw": { "string": "524288", "value": 524288 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 222, "name": "Loaded_Hours", "raw": { "string": "4179", "value": 4179 }, "thresh": 0, "value": 90, "when_failed": "", "worst": 90 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 223, "name": "Load_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 224, "name": "Load_Friction", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": false, "string": "-OS--K ", "updated_online": true, "value": 38 }, "id": 226, "name": "Load-in_Time", "raw": { "string": "636", "value": 636 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "P----- ", "updated_online": false, "value": 1 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "368942236632", "value": 368942236632 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "1843674429", "value": 1843674429 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4088, "minor_value": 94, "string": "ACS-4 T13/BSR INCITS 529 revision 5" }, "device": { "info_name": "/dev/sdd [SAT]", "name": "/dev/sdd", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Toshiba MG09ACA... Enterprise Capacity HDD", "model_name": "TOSHIBA MG09ACA18TE", "physical_block_size": 4096, "power_cycle_count": 1, "power_on_time": { "hours": 4772 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdd" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 30 }, "trim": { "supported": false }, "user_capacity": { "blocks": 35156656128, "bytes": 18000207937536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 57 } }smartctl_exporter-0.14.0/testdata/sat-Toshiba_X300-TOSHIBA_HDWE160-sdb.json000066400000000000000000000267321500167572200256630ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "10781", "value": 10781 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "31", "value": 31 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "47234", "value": 47234 }, "thresh": 0, "value": 1, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 30, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "31", "value": 31 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "390", "value": 390 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "29", "value": 29 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "43", "value": 43 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "25 (Min/Max 17/36)", "value": 154619936793 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 220, "name": "Disk_Shift", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 222, "name": "Loaded_Hours", "raw": { "string": "47226", "value": 47226 }, "thresh": 0, "value": 1, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 223, "name": "Load_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 224, "name": "Load_Friction", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": false, "string": "-OS--K ", "updated_online": true, "value": 38 }, "id": 226, "name": "Load-in_Time", "raw": { "string": "539", "value": 539 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "P----- ", "updated_online": false, "value": 1 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 504, "minor_value": 0, "string": "ATA8-ACS (minor revision not indicated)" }, "device": { "info_name": "/dev/sdb [SAT]", "name": "/dev/sdb", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Toshiba X300", "model_name": "TOSHIBA HDWE160", "physical_block_size": 4096, "power_cycle_count": 31, "power_on_time": { "hours": 47234 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 63 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdb" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 25 }, "user_capacity": { "blocks": 11721045168, "bytes": 6001175126016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 57 } }smartctl_exporter-0.14.0/testdata/sat-Western_Digital_RE3_Serial_ATA-WDC_WD1002FBYS-02A6B0-sdb.json000066400000000000000000000210371500167572200317310ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "1108", "value": 1108 }, "thresh": 21, "value": 253, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "38", "value": 38 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-K ", "updated_online": true, "value": 46 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "89475", "value": 89475 }, "thresh": 0, "value": 1, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "37", "value": 37 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "35", "value": 35 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "2", "value": 2 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "33", "value": 33 }, "thresh": 0, "value": 117, "when_failed": "", "worst": 106 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 510, "minor_value": 0, "string": "ATA8-ACS (minor revision not indicated)" }, "device": { "info_name": "/dev/sdb [SAT]", "name": "/dev/sdb", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "max": { "bits_per_unit": 100000000, "sata_value": 6, "string": "3.0 Gb/s", "units_per_second": 30 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Western Digital RE3 Serial ATA", "model_name": "WDC WD1002FBYS-02A6B0", "physical_block_size": 512, "power_cycle_count": 37, "power_on_time": { "hours": 89475 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 2.5", "value": 14 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdb" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 33 }, "trim": { "supported": false }, "user_capacity": { "blocks": 1953525168, "bytes": 1000204886016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }smartctl_exporter-0.14.0/testdata/sat-Western_Digital_RE3_Serial_ATA-WDC_WD5002ABYS-02B1B0-sda.json000066400000000000000000000341141500167572200317230ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "1058", "value": 1058 }, "thresh": 21, "value": 238, "when_failed": "", "worst": 236 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "51", "value": 51 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-K ", "updated_online": true, "value": 46 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "66857", "value": 66857 }, "thresh": 0, "value": 9, "when_failed": "", "worst": 9 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "49", "value": 49 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "34", "value": 34 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "16", "value": 16 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "26", "value": 26 }, "thresh": 0, "value": 121, "when_failed": "", "worst": 108 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 9, "logged_count": 5, "revision": 1, "table": [ { "completion_registers": { "count": 0, "device": 224, "error": 4, "lba": 3059519, "status": 65 }, "error_description": "Error: ABRT at LBA = 0x002eaf3f = 3059519", "error_number": 9, "lifetime_hours": 13365, "previous_commands": [ { "command_name": "READ DMA", "powerup_milliseconds": 4068888754, "registers": { "command": 200, "count": 0, "device": 0, "device_control": 8, "features": 0, "lba": 3059519 } }, { "command_name": "IDENTIFY DEVICE", "powerup_milliseconds": 4068888753, "registers": { "command": 236, "count": 0, "device": 0, "device_control": 8, "features": 0, "lba": 0 } }, { "command_name": "SET FEATURES [Set transfer mode]", "powerup_milliseconds": 4068888752, "registers": { "command": 239, "count": 70, "device": 0, "device_control": 8, "features": 3, "lba": 0 } } ] }, { "completion_registers": { "count": 0, "device": 224, "error": 4, "lba": 3059263, "status": 65 }, "error_description": "Error: ABRT at LBA = 0x002eae3f = 3059263", "error_number": 8, "lifetime_hours": 13365, "previous_commands": [ { "command_name": "READ DMA", "powerup_milliseconds": 4068884690, "registers": { "command": 200, "count": 0, "device": 0, "device_control": 8, "features": 0, "lba": 3059263 } }, { "command_name": "IDENTIFY DEVICE", "powerup_milliseconds": 4068884689, "registers": { "command": 236, "count": 0, "device": 0, "device_control": 8, "features": 0, "lba": 0 } }, { "command_name": "SET FEATURES [Set transfer mode]", "powerup_milliseconds": 4068884689, "registers": { "command": 239, "count": 70, "device": 0, "device_control": 8, "features": 3, "lba": 0 } } ] }, { "completion_registers": { "count": 0, "device": 224, "error": 4, "lba": 3059263, "status": 65 }, "error_description": "Error: ABRT at LBA = 0x002eae3f = 3059263", "error_number": 7, "lifetime_hours": 13365, "previous_commands": [ { "command_name": "READ DMA", "powerup_milliseconds": 4068880630, "registers": { "command": 200, "count": 0, "device": 0, "device_control": 8, "features": 0, "lba": 3059263 } }, { "command_name": "IDENTIFY DEVICE", "powerup_milliseconds": 4068880629, "registers": { "command": 236, "count": 0, "device": 0, "device_control": 8, "features": 0, "lba": 0 } }, { "command_name": "SET FEATURES [Set transfer mode]", "powerup_milliseconds": 4068880628, "registers": { "command": 239, "count": 70, "device": 0, "device_control": 8, "features": 3, "lba": 0 } } ] }, { "completion_registers": { "count": 0, "device": 224, "error": 4, "lba": 3059263, "status": 65 }, "error_description": "Error: ABRT at LBA = 0x002eae3f = 3059263", "error_number": 6, "lifetime_hours": 13365, "previous_commands": [ { "command_name": "READ DMA", "powerup_milliseconds": 4068876568, "registers": { "command": 200, "count": 0, "device": 0, "device_control": 8, "features": 0, "lba": 3059263 } }, { "command_name": "IDENTIFY DEVICE", "powerup_milliseconds": 4068876567, "registers": { "command": 236, "count": 0, "device": 0, "device_control": 8, "features": 0, "lba": 0 } }, { "command_name": "SET FEATURES [Set transfer mode]", "powerup_milliseconds": 4068876567, "registers": { "command": 239, "count": 70, "device": 0, "device_control": 8, "features": 3, "lba": 0 } } ] }, { "completion_registers": { "count": 0, "device": 224, "error": 4, "lba": 3059263, "status": 65 }, "error_description": "Error: ABRT at LBA = 0x002eae3f = 3059263", "error_number": 5, "lifetime_hours": 13365, "previous_commands": [ { "command_name": "READ DMA", "powerup_milliseconds": 4068872504, "registers": { "command": 200, "count": 0, "device": 0, "device_control": 8, "features": 0, "lba": 3059263 } }, { "command_name": "IDENTIFY DEVICE", "powerup_milliseconds": 4068872502, "registers": { "command": 236, "count": 0, "device": 0, "device_control": 8, "features": 0, "lba": 0 } }, { "command_name": "SET FEATURES [Set transfer mode]", "powerup_milliseconds": 4068872502, "registers": { "command": 239, "count": 70, "device": 0, "device_control": 8, "features": 3, "lba": 0 } } ] } ] } }, "ata_version": { "major_value": 510, "minor_value": 0, "string": "ATA8-ACS (minor revision not indicated)" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "max": { "bits_per_unit": 100000000, "sata_value": 6, "string": "3.0 Gb/s", "units_per_second": 30 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Western Digital RE3 Serial ATA", "model_name": "WDC WD5002ABYS-02B1B0", "physical_block_size": 512, "power_cycle_count": 49, "power_on_time": { "hours": 66857 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 2.5", "value": 14 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 64, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 26 }, "trim": { "supported": false }, "user_capacity": { "blocks": 976773168, "bytes": 500107862016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }smartctl_exporter-0.14.0/testdata/sat-Western_Digital_RE4-WDC_WD1003FBYX-01Y7B0-sda.json000066400000000000000000000210321500167572200277760ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "27", "value": 27 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "4258", "value": 4258 }, "thresh": 21, "value": 174, "when_failed": "", "worst": 172 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "44", "value": 44 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-K ", "updated_online": true, "value": 46 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "92209", "value": 92209 }, "thresh": 0, "value": 1, "when_failed": "", "worst": 1 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "40", "value": 40 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "36", "value": 36 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "24", "value": 24 }, "thresh": 0, "value": 123, "when_failed": "", "worst": 106 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "644", "value": 644 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 510, "minor_value": 0, "string": "ATA8-ACS (minor revision not indicated)" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "max": { "bits_per_unit": 100000000, "sata_value": 6, "string": "3.0 Gb/s", "units_per_second": 30 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Western Digital RE4", "model_name": "WDC WD1003FBYX-01Y7B0", "physical_block_size": 512, "power_cycle_count": 40, "power_on_time": { "hours": 92209 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 2.6", "value": 30 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 24 }, "trim": { "supported": false }, "user_capacity": { "blocks": 1953525168, "bytes": 1000204886016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }smartctl_exporter-0.14.0/testdata/sat-Western_Digital_RE4-WDC_WD1003FBYZ-010FB0-sdq.json000066400000000000000000000212211500167572200277660ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "4300", "value": 4300 }, "thresh": 21, "value": 174, "when_failed": "", "worst": 174 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "12", "value": 12 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-K ", "updated_online": true, "value": 46 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "24619", "value": 24619 }, "thresh": 0, "value": 67, "when_failed": "", "worst": 67 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "12", "value": 12 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "9", "value": 9 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "25", "value": 25 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "25", "value": 25 }, "thresh": 0, "value": 122, "when_failed": "", "worst": 109 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 510, "minor_value": 0, "string": "ATA8-ACS (minor revision not indicated)" }, "device": { "info_name": "/dev/sdq [SAT]", "name": "/dev/sdq", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Western Digital RE4", "model_name": "WDC WD1003FBYZ-010FB0", "physical_block_size": 512, "power_cycle_count": 12, "power_on_time": { "hours": 24619 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 62 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdq" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 25 }, "trim": { "supported": false }, "user_capacity": { "blocks": 1953525168, "bytes": 1000204886016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }smartctl_exporter-0.14.0/testdata/sat-Western_Digital_RE4-WDC_WD2003FYYS-02W0B1-sdi.json000066400000000000000000000212341500167572200300260ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "8908", "value": 8908 }, "thresh": 21, "value": 253, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "70", "value": 70 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-K ", "updated_online": true, "value": 46 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "58530", "value": 58530 }, "thresh": 0, "value": 20, "when_failed": "", "worst": 20 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "68", "value": 68 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "66", "value": 66 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "3", "value": 3 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "24", "value": 24 }, "thresh": 0, "value": 128, "when_failed": "", "worst": 108 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "3118119", "value": 3118119 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 510, "minor_value": 0, "string": "ATA8-ACS (minor revision not indicated)" }, "device": { "info_name": "/dev/sdi [SAT]", "name": "/dev/sdi", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 2, "string": "3.0 Gb/s", "units_per_second": 30 }, "max": { "bits_per_unit": 100000000, "sata_value": 6, "string": "3.0 Gb/s", "units_per_second": 30 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Western Digital RE4", "model_name": "WDC WD2003FYYS-02W0B1", "physical_block_size": 512, "power_cycle_count": 68, "power_on_time": { "hours": 58530 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 63 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdi" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 24 }, "trim": { "supported": false }, "user_capacity": { "blocks": 3907029168, "bytes": 2000398934016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }smartctl_exporter-0.14.0/testdata/sat-Western_Digital_RE4-WDC_WD5003ABYX-01WERA1-sdb.json000066400000000000000000000212331500167572200301370ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "178322", "value": 178322 }, "thresh": 51, "value": 181, "when_failed": "", "worst": 181 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "3733", "value": 3733 }, "thresh": 21, "value": 145, "when_failed": "", "worst": 144 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "87", "value": 87 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-K ", "updated_online": true, "value": 46 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "33921", "value": 33921 }, "thresh": 0, "value": 54, "when_failed": "", "worst": 54 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "82", "value": 82 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "61", "value": 61 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "25", "value": 25 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "28", "value": 28 }, "thresh": 0, "value": 115, "when_failed": "", "worst": 103 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 186 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 510, "minor_value": 0, "string": "ATA8-ACS (minor revision not indicated)" }, "device": { "info_name": "/dev/sdb [SAT]", "name": "/dev/sdb", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 2, "string": "3.0 Gb/s", "units_per_second": 30 }, "max": { "bits_per_unit": 100000000, "sata_value": 6, "string": "3.0 Gb/s", "units_per_second": 30 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Western Digital RE4", "model_name": "WDC WD5003ABYX-01WERA1", "physical_block_size": 512, "power_cycle_count": 82, "power_on_time": { "hours": 33921 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 63 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdb" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 28 }, "trim": { "supported": false }, "user_capacity": { "blocks": 976773168, "bytes": 500107862016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }smartctl_exporter-0.14.0/testdata/sat-Western_Digital_RE4-WDC_WD5003ABYZ-011FA0-sda.json000066400000000000000000000212011500167572200277430ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 21, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "3", "value": 3 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-K ", "updated_online": true, "value": 46 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "7277", "value": 7277 }, "thresh": 0, "value": 91, "when_failed": "", "worst": 90 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "3", "value": 3 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "70", "value": 70 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "19", "value": 19 }, "thresh": 0, "value": 124, "when_failed": "", "worst": 113 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 510, "minor_value": 0, "string": "ATA8-ACS (minor revision not indicated)" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Western Digital RE4", "model_name": "WDC WD5003ABYZ-011FA0", "physical_block_size": 512, "power_cycle_count": 3, "power_on_time": { "hours": 7277 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 62 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 19 }, "trim": { "supported": false }, "user_capacity": { "blocks": 976773168, "bytes": 500107862016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }smartctl_exporter-0.14.0/testdata/sat-Western_Digital_Re-WDC_WD1004FBYZ-01YCBB0-sdh.json000066400000000000000000000230261500167572200301070ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "4041", "value": 4041 }, "thresh": 21, "value": 179, "when_failed": "", "worst": 179 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "39", "value": 39 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-K ", "updated_online": true, "value": 46 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "63920", "value": 63920 }, "thresh": 0, "value": 13, "when_failed": "", "worst": 13 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "38", "value": 38 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 16, "name": "Total_LBAs_Read", "raw": { "string": "131244010515", "value": 131244010515 }, "thresh": 0, "value": 2, "when_failed": "", "worst": 198 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "Runtime_Bad_Block", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "30", "value": 30 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "62", "value": 62 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "26", "value": 26 }, "thresh": 0, "value": 121, "when_failed": "", "worst": 111 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2046, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdh [SAT]", "name": "/dev/sdh", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Western Digital Re", "model_name": "WDC WD1004FBYZ-01YCBB0", "physical_block_size": 512, "power_cycle_count": 38, "power_on_time": { "hours": 63920 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.1", "value": 126 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdh" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 26 }, "trim": { "supported": false }, "user_capacity": { "blocks": 1953525168, "bytes": 1000204886016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }smartctl_exporter-0.14.0/testdata/sat-Western_Digital_Re-WDC_WD2000FYYZ-01UL1B1-sdj.json000066400000000000000000000220541500167572200301220ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "6125", "value": 6125 }, "thresh": 21, "value": 177, "when_failed": "", "worst": 174 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "16", "value": 16 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-K ", "updated_online": true, "value": 46 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "28035", "value": 28035 }, "thresh": 0, "value": 62, "when_failed": "", "worst": 62 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "15", "value": 15 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "Runtime_Bad_Block", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "9", "value": 9 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "6", "value": 6 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "22", "value": 22 }, "thresh": 0, "value": 128, "when_failed": "", "worst": 108 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 510, "minor_value": 0, "string": "ATA8-ACS (minor revision not indicated)" }, "device": { "info_name": "/dev/sdj [SAT]", "name": "/dev/sdj", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Western Digital Re", "model_name": "WDC WD2000FYYZ-01UL1B1", "physical_block_size": 512, "power_cycle_count": 15, "power_on_time": { "hours": 28035 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 62 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdj" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 22 }, "trim": { "supported": false }, "user_capacity": { "blocks": 3907029168, "bytes": 2000398934016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }smartctl_exporter-0.14.0/testdata/sat-Western_Digital_Re-WDC_WD3000FYYZ-01UL1B1-sdc.json000066400000000000000000000220621500167572200301130ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-K ", "updated_online": true, "value": 47 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 51, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "10916", "value": 10916 }, "thresh": 21, "value": 161, "when_failed": "", "worst": 152 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "21", "value": 21 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 140, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": false, "performance": true, "prefailure": false, "string": "-OSR-K ", "updated_online": true, "value": 46 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "58046", "value": 58046 }, "thresh": 0, "value": 21, "when_failed": "", "worst": 21 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 11, "name": "Calibration_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "21", "value": 21 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 183, "name": "Runtime_Bad_Block", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "16", "value": 16 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "34", "value": 34 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "21", "value": 21 }, "thresh": 0, "value": 131, "when_failed": "", "worst": 105 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 510, "minor_value": 0, "string": "ATA8-ACS (minor revision not indicated)" }, "device": { "info_name": "/dev/sdc [SAT]", "name": "/dev/sdc", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 2, "string": "3.0 Gb/s", "units_per_second": 30 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Western Digital Re", "model_name": "WDC WD3000FYYZ-01UL1B1", "physical_block_size": 512, "power_cycle_count": 21, "power_on_time": { "hours": 58046 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 62 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdc" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 21 }, "trim": { "supported": false }, "user_capacity": { "blocks": 5860533168, "bytes": 3000592982016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 5358 } }sat-Western_Digital_Ultrastar_DC_HC550-WDC__WUH721816ALE6L4-sdx.json000066400000000000000000000254511500167572200324740ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "100", "value": 100 }, "thresh": 54, "value": 135, "when_failed": "", "worst": 135 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "346 (Average 342)", "value": 25792217434 }, "thresh": 1, "value": 83, "when_failed": "", "worst": 83 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "58", "value": 58 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "15", "value": 15 }, "thresh": 20, "value": 140, "when_failed": "", "worst": 140 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "20117", "value": 20117 }, "thresh": 0, "value": 98, "when_failed": "", "worst": 98 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "56", "value": 56 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---K ", "updated_online": true, "value": 35 }, "id": 22, "name": "Helium_Level", "raw": { "string": "100", "value": 100 }, "thresh": 25, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "910", "value": 910 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "910", "value": 910 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "26 (Min/Max 17/36)", "value": 154619936794 }, "thresh": 0, "value": 70, "when_failed": "", "worst": 70 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 1, "logged_count": 1, "revision": 1, "table": [ { "completion_registers": { "count": 0, "device": 0, "error": 132, "lba": 0, "status": 65 }, "error_description": "Error: ICRC, ABRT at LBA = 0x00000000 = 0", "error_number": 1, "lifetime_hours": 1762, "previous_commands": [ { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 72789895, "registers": { "command": 97, "count": 136, "device": 64, "device_control": 0, "features": 0, "lba": 3390976 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 72789886, "registers": { "command": 97, "count": 160, "device": 64, "device_control": 0, "features": 0, "lba": 3392512 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 72789886, "registers": { "command": 97, "count": 152, "device": 64, "device_control": 0, "features": 0, "lba": 3392000 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 72789886, "registers": { "command": 97, "count": 144, "device": 64, "device_control": 0, "features": 0, "lba": 3391488 } }, { "command_name": "WRITE FPDMA QUEUED", "powerup_milliseconds": 72789885, "registers": { "command": 97, "count": 128, "device": 64, "device_control": 0, "features": 0, "lba": 3390464 } } ] } ] } }, "ata_version": { "major_value": 4092, "minor_value": 156, "string": "ACS-4 published, ANSI INCITS 529-2018" }, "device": { "info_name": "/dev/sdx [SAT]", "name": "/dev/sdx", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Western Digital Ultrastar DC HC550", "model_name": "WDC WUH721816ALE6L4", "physical_block_size": 4096, "power_cycle_count": 56, "power_on_time": { "hours": 20117 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdx" ], "build_info": "REDACTED", "exit_status": 64, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 26 }, "user_capacity": { "blocks": 31251759104, "bytes": 16000900661248 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }sat-Western_Digital_Ultrastar_DC_HC550-WDC__WUH721818ALE6L4-sda.json000066400000000000000000000222561500167572200324470ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "44", "value": 44 }, "thresh": 54, "value": 149, "when_failed": "", "worst": 149 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "313 (Average 349)", "value": 25792676153 }, "thresh": 1, "value": 84, "when_failed": "", "worst": 84 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "9", "value": 9 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "15", "value": 15 }, "thresh": 20, "value": 140, "when_failed": "", "worst": 140 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "3533", "value": 3533 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "9", "value": 9 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---K ", "updated_online": true, "value": 35 }, "id": 22, "name": "Helium_Level", "raw": { "string": "100", "value": 100 }, "thresh": 25, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "141", "value": 141 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "141", "value": 141 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "35 (Min/Max 21/38)", "value": 163210133539 }, "thresh": 0, "value": 59, "when_failed": "", "worst": 59 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4092, "minor_value": 156, "string": "ACS-4 published, ANSI INCITS 529-2018" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Western Digital Ultrastar DC HC550", "model_name": "WDC WUH721818ALE6L4", "physical_block_size": 4096, "power_cycle_count": 9, "power_on_time": { "hours": 3533 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 35 }, "trim": { "supported": false }, "user_capacity": { "blocks": 35156656128, "bytes": 18000207937536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }sat-Western_Digital_Ultrastar_DC_HC550-WDC__WUH721818ALN604-sda.json000066400000000000000000000222451500167572200324220ustar00rootroot00000000000000smartctl_exporter-0.14.0/testdata{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "96", "value": 96 }, "thresh": 54, "value": 136, "when_failed": "", "worst": 136 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0 (Average 332)", "value": 25791561728 }, "thresh": 1, "value": 92, "when_failed": "", "worst": 92 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "5", "value": 5 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "15", "value": 15 }, "thresh": 20, "value": 140, "when_failed": "", "worst": 140 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "545", "value": 545 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "5", "value": 5 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---K ", "updated_online": true, "value": 35 }, "id": 22, "name": "Helium_Level", "raw": { "string": "100", "value": 100 }, "thresh": 25, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "28", "value": 28 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "28", "value": 28 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "29 (Min/Max 22/34)", "value": 146030329885 }, "thresh": 0, "value": 66, "when_failed": "", "worst": 66 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4092, "minor_value": 156, "string": "ACS-4 published, ANSI INCITS 529-2018" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 4096, "model_family": "Western Digital Ultrastar DC HC550", "model_name": "WDC WUH721818ALN604", "physical_block_size": 4096, "power_cycle_count": 5, "power_on_time": { "hours": 545 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 29 }, "trim": { "supported": false }, "user_capacity": { "blocks": 4394582016, "bytes": 18000207937536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }smartctl_exporter-0.14.0/testdata/sat-Western_Digital_Ultrastar_DC_HC550-WUH721818ALE6L4-sdd.json000066400000000000000000000264101500167572200316710ustar00rootroot00000000000000{ "ata_additional_product_id": "202224", "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "48", "value": 48 }, "thresh": 54, "value": 148, "when_failed": "", "worst": 148 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "334 (Average 338)", "value": 25791955278 }, "thresh": 1, "value": 84, "when_failed": "", "worst": 84 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "18", "value": 18 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "15", "value": 15 }, "thresh": 20, "value": 140, "when_failed": "", "worst": 140 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "926", "value": 926 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "18", "value": 18 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---K ", "updated_online": true, "value": 35 }, "id": 22, "name": "Helium_Level", "raw": { "string": "100", "value": 100 }, "thresh": 25, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 82, "name": "Unknown_Attribute", "raw": { "string": "255", "value": 255 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "61", "value": 61 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "61", "value": 61 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "33 (Min/Max 18/36)", "value": 154620002337 }, "thresh": 0, "value": 62, "when_failed": "", "worst": 62 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "54506376968", "value": 54506376968 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "1738553973", "value": 1738553973 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4092, "minor_value": 156, "string": "ACS-4 published, ANSI INCITS 529-2018" }, "device": { "info_name": "/dev/sdd [SAT]", "name": "/dev/sdd", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": true, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_family": "Western Digital Ultrastar DC HC550", "model_name": "WUH721818ALE6L4", "physical_block_size": 4096, "power_cycle_count": 18, "power_on_time": { "hours": 926 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdd" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 33 }, "trim": { "supported": false }, "user_capacity": { "blocks": 35156656128, "bytes": 18000207937536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }smartctl_exporter-0.14.0/testdata/sat-null-Hitachi_HUA722010CLA630-sda.json000066400000000000000000000211421500167572200256630ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 16, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "93", "value": 93 }, "thresh": 54, "value": 136, "when_failed": "", "worst": 136 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "318 (Average 319)", "value": 25790710078 }, "thresh": 24, "value": 119, "when_failed": "", "worst": 119 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "31", "value": 31 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 5, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 67, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "28", "value": 28 }, "thresh": 20, "value": 144, "when_failed": "", "worst": 144 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "67502", "value": 67502 }, "thresh": 0, "value": 91, "when_failed": "", "worst": 91 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 60, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "31", "value": 31 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "84", "value": 84 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "84", "value": 84 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "24 (Min/Max 18/36)", "value": 154620002328 }, "thresh": 0, "value": 250, "when_failed": "", "worst": 250 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 0 } }, "ata_version": { "major_value": 508, "minor_value": 41, "string": "ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": false, "interface_speed": { "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "Hitachi HUA722010CLA630", "physical_block_size": 512, "power_cycle_count": 31, "power_on_time": { "hours": 67502 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 2.6", "value": 31 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 24 }, "trim": { "supported": false }, "user_capacity": { "blocks": 1953525168, "bytes": 1000204886016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }smartctl_exporter-0.14.0/testdata/sat-null-SAMSUNG_MZ7L3480HCHQ-00A07-sda.json000066400000000000000000000305311500167572200257700ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 1, "table": [ { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "10786", "value": 10786 }, "thresh": 0, "value": 97, "when_failed": "", "worst": 97 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "10", "value": 10 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 177, "name": "Wear_Leveling_Count", "raw": { "string": "129", "value": 129 }, "thresh": 5, "value": 98, "when_failed": "", "worst": 98 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 179, "name": "Used_Rsvd_Blk_Cnt_Tot", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 180, "name": "Unused_Rsvd_Blk_Cnt_Tot", "raw": { "string": "435", "value": 435 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 181, "name": "Program_Fail_Cnt_Total", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 182, "name": "Erase_Fail_Count_Total", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 183, "name": "Runtime_Bad_Block", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 184, "name": "End-to-End_Error", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "29", "value": 29 }, "thresh": 0, "value": 71, "when_failed": "", "worst": 57 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "29 (Min/Max 23/43)", "value": 184685101085 }, "thresh": 0, "value": 71, "when_failed": "", "worst": 57 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": true, "performance": false, "prefailure": false, "string": "-O-RC- ", "updated_online": true, "value": 26 }, "id": 195, "name": "Hardware_ECC_Recovered", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 202, "name": "Unknown_SSD_Attribute", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 235, "name": "Unknown_Attribute", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "1304884573", "value": 1304884573 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "50913750", "value": 50913750 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 243, "name": "Unknown_Attribute", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 244, "name": "Unknown_Attribute", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 245, "name": "Unknown_Attribute", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 246, "name": "Unknown_Attribute", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 247, "name": "Unknown_Attribute", "raw": { "string": "65535", "value": 65535 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 251, "name": "Unknown_Attribute", "raw": { "string": "1792412160", "value": 1792412160 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4092, "minor_value": 94, "string": "ACS-4 T13/BSR INCITS 529 revision 5" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 3, "name": "2.5 inches" }, "in_smartctl_database": false, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "SAMSUNG MZ7L3480HCHQ-00A07", "physical_block_size": 4096, "power_cycle_count": 10, "power_on_time": { "hours": 10786 }, "rotation_rate": 0, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5049", "version": [ 7, 1 ] }, "temperature": { "current": 29 }, "user_capacity": { "blocks": 937703088, "bytes": 480103981056 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 9528 } }smartctl_exporter-0.14.0/testdata/sat-null-ST18000NM000J-2TV103-sda.json000066400000000000000000000254631500167572200247430ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "189861997", "value": 189861997 }, "thresh": 44, "value": 83, "when_failed": "", "worst": 65 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 92, "when_failed": "", "worst": 91 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "11", "value": 11 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "440935", "value": 440935 }, "thresh": 45, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "1136", "value": 1136 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "11", "value": 11 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 18, "name": "Unknown_Attribute", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "24 (Min/Max 24/27)", "value": 454557720 }, "thresh": 0, "value": 76, "when_failed": "", "worst": 66 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "7", "value": 7 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "1189", "value": 1189 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "24 (0 23 0 0 0)", "value": 98784247832 }, "thresh": 0, "value": 24, "when_failed": "", "worst": 40 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---K ", "updated_online": true, "value": 35 }, "id": 200, "name": "Multi_Zone_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "104 (35 88 0)", "value": 38860864094312 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "183631411", "value": 183631411 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "6230586", "value": 6230586 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4064, "minor_value": 65535, "string": "ACS-4 (minor revision not indicated)" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": false, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "ST18000NM000J-2TV103", "physical_block_size": 4096, "power_cycle_count": 11, "power_on_time": { "hours": 1136 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 24 }, "trim": { "supported": false }, "user_capacity": { "blocks": 35156656128, "bytes": 18000207937536 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }smartctl_exporter-0.14.0/testdata/sat-null-ST8000NM017B-2TJ103-sda.json000066400000000000000000000246541500167572200246470ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 10, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "11772680", "value": 11772680 }, "thresh": 44, "value": 71, "when_failed": "", "worst": 64 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "PO---- ", "updated_online": true, "value": 3 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 94, "when_failed": "", "worst": 93 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "17", "value": 17 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": true, "prefailure": true, "string": "POSR-- ", "updated_online": true, "value": 15 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "790616774", "value": 790616774 }, "thresh": 45, "value": 89, "when_failed": "", "worst": 60 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "10645", "value": 10645 }, "thresh": 0, "value": 88, "when_failed": "", "worst": 88 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 97, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "18", "value": 18 }, "thresh": 20, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 18, "name": "Unknown_Attribute", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 187, "name": "Reported_Uncorrect", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 188, "name": "Command_Timeout", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 190, "name": "Airflow_Temperature_Cel", "raw": { "string": "27 (Min/Max 24/30)", "value": 504889371 }, "thresh": 0, "value": 73, "when_failed": "", "worst": 47 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "11", "value": 11 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "651", "value": 651 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "27 (0 18 0 0 0)", "value": 77309411355 }, "thresh": 0, "value": 27, "when_failed": "", "worst": 44 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----C- ", "updated_online": false, "value": 16 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": true, "event_count": true, "performance": true, "prefailure": false, "string": "-OSRCK ", "updated_online": true, "value": 62 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "10091 (72 195 0)", "value": 80002355832683 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 241, "name": "Total_LBAs_Written", "raw": { "string": "401457943888", "value": 401457943888 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "------ ", "updated_online": false, "value": 0 }, "id": 242, "name": "Total_LBAs_Read", "raw": { "string": "60841830299295", "value": 60841830299295 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 253 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 4064, "minor_value": 65535, "string": "ACS-4 (minor revision not indicated)" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": false, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "ST8000NM017B-2TJ103", "physical_block_size": 4096, "power_cycle_count": 18, "power_on_time": { "hours": 10645 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 27 }, "trim": { "supported": false }, "user_capacity": { "blocks": 15628053168, "bytes": 8001563222016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3152 } }smartctl_exporter-0.14.0/testdata/sat-null-TOSHIBA_HDWR160-sdc.json000066400000000000000000000266761500167572200245570ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "7786", "value": 7786 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "52", "value": 52 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "23690", "value": 23690 }, "thresh": 0, "value": 41, "when_failed": "", "worst": 41 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 30, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "52", "value": 52 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "51", "value": 51 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "59", "value": 59 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "29 (Min/Max 15/39)", "value": 167504707613 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 220, "name": "Disk_Shift", "raw": { "string": "84541451", "value": 84541451 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 222, "name": "Loaded_Hours", "raw": { "string": "23624", "value": 23624 }, "thresh": 0, "value": 41, "when_failed": "", "worst": 41 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 223, "name": "Load_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 224, "name": "Load_Friction", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": false, "string": "-OS--K ", "updated_online": true, "value": 38 }, "id": 226, "name": "Load-in_Time", "raw": { "string": "527", "value": 527 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "P----- ", "updated_online": false, "value": 1 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2040, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdc [SAT]", "name": "/dev/sdc", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": false, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "TOSHIBA HDWR160", "physical_block_size": 4096, "power_cycle_count": 52, "power_on_time": { "hours": 23690 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdc" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 29 }, "user_capacity": { "blocks": 11721045168, "bytes": 6001175126016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 57 } }smartctl_exporter-0.14.0/testdata/sat-null-TOSHIBA_MG04ACA100N-sdu.json000066400000000000000000000270051500167572200251040ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "2013", "value": 2013 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "33", "value": 33 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "21821", "value": 21821 }, "thresh": 0, "value": 46, "when_failed": "", "worst": 46 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 30, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "33", "value": 33 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "26", "value": 26 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "114", "value": 114 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "23 (Min/Max 14/33)", "value": 141734838295 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 220, "name": "Disk_Shift", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 222, "name": "Loaded_Hours", "raw": { "string": "21471", "value": 21471 }, "thresh": 0, "value": 47, "when_failed": "", "worst": 47 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 223, "name": "Load_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 224, "name": "Load_Friction", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": false, "string": "-OS--K ", "updated_online": true, "value": 38 }, "id": 226, "name": "Load-in_Time", "raw": { "string": "648", "value": 648 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "P----- ", "updated_online": false, "value": 1 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 504, "minor_value": 0, "string": "ATA8-ACS (minor revision not indicated)" }, "device": { "info_name": "/dev/sdu [SAT]", "name": "/dev/sdu", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": false, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "TOSHIBA MG04ACA100N", "physical_block_size": 512, "power_cycle_count": 33, "power_on_time": { "hours": 21821 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.0", "value": 63 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdu" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 23 }, "trim": { "supported": false }, "user_capacity": { "blocks": 1953525168, "bytes": 1000204886016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 57 } }smartctl_exporter-0.14.0/testdata/sat-null-TOSHIBA_MG08ADA800E-sdo.json000066400000000000000000000270001500167572200250740ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--K ", "updated_online": true, "value": 39 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "9353", "value": 9353 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "6", "value": 6 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 10, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "0", "value": 0 }, "thresh": 50, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "14085", "value": 14085 }, "thresh": 0, "value": 65, "when_failed": "", "worst": 65 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 30, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "6", "value": 6 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 191, "name": "G-Sense_Error_Rate", "raw": { "string": "1", "value": 1 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "2", "value": 2 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "28", "value": 28 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "20 (Min/Max 17/29)", "value": 124555165716 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "----CK ", "updated_online": false, "value": 48 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 220, "name": "Disk_Shift", "raw": { "string": "393218", "value": 393218 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 222, "name": "Loaded_Hours", "raw": { "string": "13682", "value": 13682 }, "thresh": 0, "value": 66, "when_failed": "", "worst": 66 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 223, "name": "Load_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 224, "name": "Load_Friction", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": true, "prefailure": false, "string": "-OS--K ", "updated_online": true, "value": 38 }, "id": 226, "name": "Load-in_Time", "raw": { "string": "519", "value": 519 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": true, "string": "P----- ", "updated_online": false, "value": 1 }, "id": 240, "name": "Head_Flying_Hours", "raw": { "string": "0", "value": 0 }, "thresh": 1, "value": 100, "when_failed": "", "worst": 100 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 2040, "minor_value": 109, "string": "ACS-3 T13/2161-D revision 5" }, "device": { "info_name": "/dev/sdo [SAT]", "name": "/dev/sdo", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": false, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "TOSHIBA MG08ADA800E", "physical_block_size": 4096, "power_cycle_count": 6, "power_on_time": { "hours": 14085 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.3", "value": 511 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smart_support": { "available": true, "enabled": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sdo" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "version": [ 7, 3 ] }, "temperature": { "current": 20 }, "trim": { "supported": false }, "user_capacity": { "blocks": 15628053168, "bytes": 8001563222016 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 57 } }smartctl_exporter-0.14.0/testdata/sat-null-WDC__WUS721010ALE6L4-sda.json000066400000000000000000000212101500167572200251610ustar00rootroot00000000000000{ "ata_smart_attributes": { "revision": 16, "table": [ { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 1, "name": "Raw_Read_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 16, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 2, "name": "Throughput_Performance", "raw": { "string": "92", "value": 92 }, "thresh": 54, "value": 133, "when_failed": "", "worst": 133 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "POS--- ", "updated_online": true, "value": 7 }, "id": 3, "name": "Spin_Up_Time", "raw": { "string": "0", "value": 51539607552 }, "thresh": 24, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 4, "name": "Start_Stop_Count", "raw": { "string": "5", "value": 5 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--CK ", "updated_online": true, "value": 51 }, "id": 5, "name": "Reallocated_Sector_Ct", "raw": { "string": "0", "value": 0 }, "thresh": 5, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": true, "string": "PO-R-- ", "updated_online": true, "value": 11 }, "id": 7, "name": "Seek_Error_Rate", "raw": { "string": "0", "value": 0 }, "thresh": 67, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": true, "prefailure": true, "string": "P-S--- ", "updated_online": false, "value": 5 }, "id": 8, "name": "Seek_Time_Performance", "raw": { "string": "18", "value": 18 }, "thresh": 20, "value": 128, "when_failed": "", "worst": 128 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 9, "name": "Power_On_Hours", "raw": { "string": "9829", "value": 9829 }, "thresh": 0, "value": 99, "when_failed": "", "worst": 99 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": true, "string": "PO--C- ", "updated_online": true, "value": 19 }, "id": 10, "name": "Spin_Retry_Count", "raw": { "string": "0", "value": 0 }, "thresh": 60, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 12, "name": "Power_Cycle_Count", "raw": { "string": "5", "value": 5 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 192, "name": "Power-Off_Retract_Count", "raw": { "string": "417", "value": 417 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--C- ", "updated_online": true, "value": 18 }, "id": 193, "name": "Load_Cycle_Count", "raw": { "string": "417", "value": 417 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---- ", "updated_online": true, "value": 2 }, "id": 194, "name": "Temperature_Celsius", "raw": { "string": "29 (Min/Max 21/39)", "value": 167505100829 }, "thresh": 0, "value": 206, "when_failed": "", "worst": 206 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": true, "performance": false, "prefailure": false, "string": "-O--CK ", "updated_online": true, "value": 50 }, "id": 196, "name": "Reallocated_Event_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": true, "error_rate": false, "event_count": false, "performance": false, "prefailure": false, "string": "-O---K ", "updated_online": true, "value": 34 }, "id": 197, "name": "Current_Pending_Sector", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "---R-- ", "updated_online": false, "value": 8 }, "id": 198, "name": "Offline_Uncorrectable", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 100, "when_failed": "", "worst": 100 }, { "flags": { "auto_keep": false, "error_rate": true, "event_count": false, "performance": false, "prefailure": false, "string": "-O-R-- ", "updated_online": true, "value": 10 }, "id": 199, "name": "UDMA_CRC_Error_Count", "raw": { "string": "0", "value": 0 }, "thresh": 0, "value": 200, "when_failed": "", "worst": 200 } ] }, "ata_smart_error_log": { "summary": { "count": 0, "revision": 1 } }, "ata_version": { "major_value": 1020, "minor_value": 41, "string": "ACS-2, ATA8-ACS T13/1699-D revision 4" }, "device": { "info_name": "/dev/sda [SAT]", "name": "/dev/sda", "protocol": "ATA", "type": "sat" }, "firmware_version": "REDACTED", "form_factor": { "ata_value": 2, "name": "3.5 inches" }, "in_smartctl_database": false, "interface_speed": { "current": { "bits_per_unit": 100000000, "sata_value": 3, "string": "6.0 Gb/s", "units_per_second": 60 }, "max": { "bits_per_unit": 100000000, "sata_value": 14, "string": "6.0 Gb/s", "units_per_second": 60 } }, "json_format_version": [ 1, 0 ], "local_time": { "asctime": "Fri Feb 13 23:31:30 2009 UTC", "time_t": 1234567890 }, "logical_block_size": 512, "model_name": "WDC WUS721010ALE6L4", "physical_block_size": 4096, "power_cycle_count": 5, "power_on_time": { "hours": 9829 }, "rotation_rate": 7200, "sata_version": { "string": "SATA 3.2", "value": 255 }, "serial_number": "REDACTED", "smart_status": { "passed": true }, "smartctl": { "argv": [ "smartctl", "--json", "--info", "--health", "--attributes", "--tolerance=verypermissive", "--nocheck=standby", "--format=brief", "--log=error", "/dev/sda" ], "build_info": "REDACTED", "exit_status": 0, "platform_info": "REDACTED", "svn_revision": "5022", "version": [ 7, 1 ] }, "temperature": { "current": 29 }, "user_capacity": { "blocks": 19532873728, "bytes": 10000831348736 }, "wwn": { "id": 1234567890, "naa": 5, "oui": 3274 } }