smartctl_exporter/testdata/SAMSUNG_MZ7WD240HAFV-00003_21.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

485 lines
No EOL
8.8 KiB
JSON

{
"ata_smart_attributes": {
"revision": 1,
"table": [
{
"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": 10,
"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": 9,
"name": "Power_On_Hours",
"raw": {
"string": "84619",
"value": 84619
},
"thresh": 0,
"value": 83,
"when_failed": "",
"worst": 83
},
{
"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": "6",
"value": 6
},
"thresh": 0,
"value": 99,
"when_failed": "",
"worst": 99
},
{
"flags": {
"auto_keep": false,
"error_rate": false,
"event_count": true,
"performance": false,
"prefailure": true,
"string": "PO--C- ",
"updated_online": true,
"value": 19
},
"id": 177,
"name": "Wear_Leveling_Count",
"raw": {
"string": "1661",
"value": 1661
},
"thresh": 5,
"value": 91,
"when_failed": "",
"worst": 91
},
{
"flags": {
"auto_keep": false,
"error_rate": false,
"event_count": true,
"performance": false,
"prefailure": true,
"string": "PO--C- ",
"updated_online": true,
"value": 19
},
"id": 179,
"name": "Used_Rsvd_Blk_Cnt_Tot",
"raw": {
"string": "0",
"value": 0
},
"thresh": 10,
"value": 100,
"when_failed": "",
"worst": 100
},
{
"flags": {
"auto_keep": false,
"error_rate": false,
"event_count": true,
"performance": false,
"prefailure": true,
"string": "PO--C- ",
"updated_online": true,
"value": 19
},
"id": 180,
"name": "Unused_Rsvd_Blk_Cnt_Tot",
"raw": {
"string": "5248",
"value": 5248
},
"thresh": 10,
"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": 181,
"name": "Program_Fail_Cnt_Total",
"raw": {
"string": "0",
"value": 0
},
"thresh": 10,
"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": 182,
"name": "Erase_Fail_Count_Total",
"raw": {
"string": "0",
"value": 0
},
"thresh": 10,
"value": 100,
"when_failed": "",
"worst": 100
},
{
"flags": {
"auto_keep": false,
"error_rate": false,
"event_count": true,
"performance": false,
"prefailure": true,
"string": "PO--C- ",
"updated_online": true,
"value": 19
},
"id": 183,
"name": "Runtime_Bad_Block",
"raw": {
"string": "0",
"value": 0
},
"thresh": 10,
"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": 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": "Uncorrectable_Error_Cnt",
"raw": {
"string": "0",
"value": 0
},
"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": 190,
"name": "Airflow_Temperature_Cel",
"raw": {
"string": "27",
"value": 27
},
"thresh": 0,
"value": 73,
"when_failed": "",
"worst": 59
},
{
"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": "ECC_Error_Rate",
"raw": {
"string": "0",
"value": 0
},
"thresh": 0,
"value": 200,
"when_failed": "",
"worst": 200
},
{
"flags": {
"auto_keep": true,
"error_rate": true,
"event_count": true,
"performance": true,
"prefailure": false,
"string": "-OSRCK ",
"updated_online": true,
"value": 62
},
"id": 199,
"name": "CRC_Error_Count",
"raw": {
"string": "0",
"value": 0
},
"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": 202,
"name": "Exception_Mode_Status",
"raw": {
"string": "0",
"value": 0
},
"thresh": 10,
"value": 100,
"when_failed": "",
"worst": 100
},
{
"flags": {
"auto_keep": false,
"error_rate": false,
"event_count": true,
"performance": false,
"prefailure": false,
"string": "-O--C- ",
"updated_online": true,
"value": 18
},
"id": 235,
"name": "POR_Recovery_Count",
"raw": {
"string": "1",
"value": 1
},
"thresh": 0,
"value": 99,
"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": 241,
"name": "Total_LBAs_Written",
"raw": {
"string": "216456537880",
"value": 216456537880
},
"thresh": 0,
"value": 99,
"when_failed": "",
"worst": 99
}
]
},
"ata_smart_error_log": {
"summary": {
"count": 0,
"revision": 1
}
},
"ata_version": {
"major_value": 1020,
"minor_value": 57,
"string": "ACS-2, ATA8-ACS T13/1699-D revision 4c"
},
"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": "Samsung based SSDs",
"model_name": "SAMSUNG MZ7WD240HAFV-00003",
"physical_block_size": 512,
"power_cycle_count": 6,
"power_on_time": {
"hours": 84619
},
"rotation_rate": 0,
"sata_version": {
"string": "SATA 3.1",
"value": 127
},
"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": 27
},
"trim": {
"deterministic": true,
"supported": true,
"zeroed": true
},
"user_capacity": {
"blocks": 468862128,
"bytes": 240057409536
},
"wwn": {
"id": 1234567890,
"naa": 5,
"oui": 9528
}
}