mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-11-16 01:33:07 +01:00
a1c3448357
- Add README about test data. - Add script to redact sensitive fields. - Add JSON testing data collected from many systems, with redaction of sensitive fields. The initial corpus includes: - NVME drives - SAS drives - HDD only, no SSD - SCSI drives - HDD only, no SSD - SATA drives - SSD & HDD Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
90 lines
No EOL
1.7 KiB
JSON
90 lines
No EOL
1.7 KiB
JSON
{
|
|
"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
|
|
}
|
|
} |