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

11 lines
498 B
Markdown

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.