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>
122 lines
No EOL
2.7 KiB
JSON
122 lines
No EOL
2.7 KiB
JSON
{
|
|
"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
|
|
}
|
|
} |