mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-11-23 01:43: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>
612 lines
No EOL
11 KiB
JSON
612 lines
No EOL
11 KiB
JSON
{
|
|
"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
|
|
}
|
|
} |