smartctl_exporter/testdata
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
..
.gitignore feat: add JSON testing data 2023-11-07 22:58:28 -08:00
HGST_HUS724020ALE640_28.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
HITACHI_H109060SESUN600G_9.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
HITACHI_H109060SESUN600G_10.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
Hitachi_HUA722020ALA330_29.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
HP_73.4G_MAS3735NC_25.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
INTEL_SSDPE2KX080T8_1.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
INTEL_SSDPE2KX080T8_3.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
INTEL_SSDPE2KX080T8_4.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
INTEL_SSDPE2KX080T8_5.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
INTEL_SSDPE2KX080T8_6.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
INTEL_SSDPE2KX080T8_7.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
KXG60ZNV512G_TOSHIBA_2.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
KXG60ZNV512G_TOSHIBA_8.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
MB0500EBNCR_13.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
MB0500EBNCR_14.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
README.md feat: add JSON testing data 2023-11-07 22:58:28 -08:00
SAMSUNG_MZ7WD240HAFV-00003_21.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
SAMSUNG_MZ7WD240HAFV-00003_22.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
SAMSUNG_MZQLB1T9HAJR-00007_19.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
SAMSUNG_MZQLB1T9HAJR-00007_20.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
SAMSUNG_MZVL21T0HCLR-00B00_23.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
SAMSUNG_MZVL21T0HCLR-00B00_24.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
SEAGATE_ST373453LC_26.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
SEAGATE_ST373453LC_27.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
ST3200820AS_15.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
ST3200820AS_16.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
ST3500418AS_11.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
ST3500418AS_12.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
WDC_WD20EFRX-68EUZN0_17.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00
WDC_WD20EFRX-68EUZN0_18.json feat: add JSON testing data 2023-11-07 22:58:28 -08:00

This directory contains JSON testing data for parsing validation.

New data can be collected with the collect_fake_json.sh script.

Sensitive information should been redacted using the redact_fake_json.py script.

TODO: what is a good naming scheme for files in this directory? For first-pass, it has been either of model_name or scsi_model_name, followed by an identifier. Why multiple drives of the same model? Testing where one drive has fields not present on others, e.g. error counts.