smartctl_exporter/testdata/WDC_WD20EFRX-68EUZN0_18.json
Robin H. Johnson a1c3448357
feat: add JSON testing data
- 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>
2023-11-07 22:58:28 -08:00

483 lines
No EOL
8.7 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": "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
}
}