smartctl_exporter/testdata/ST3200820AS_15.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

481 lines
No EOL
8.8 KiB
JSON

{
"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
}
}