node_exporter/collector/fixtures/udev/data/b8:16
Benoît Knecht 9b5d55e511 collector/diskstats: Add fixtures for udev data
Now that we read some data from `/run/udev/data`, add the corresponding
fixtures and update the expected test results accordingly.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
2022-07-06 12:30:50 +02:00

63 lines
2 KiB
Plaintext

S:disk/by-id/scsi-3e1b87abbb16bd84e
S:disk/by-id/wwn-0xe1b87abbb16bd84e
S:disk/by-path/pci-0000:00:1f.2-ata-1
S:disk/by-id/scsi-0ATA_SuperMicro_SSD_SMC0E1B87ABBB16BD84E
S:disk/by-id/scsi-SATA_SuperMicro_SSD_SMC0E1B87ABBB16BD84E
S:disk/by-id/scsi-1ATA_SuperMicro_SSD_SMC0E1B87ABBB16BD84E
S:disk/by-id/ata-SuperMicro_SSD_SMC0E1B87ABBB16BD84E
W:58
I:147686920
E:ID_ATA=1
E:ID_TYPE=disk
E:ID_BUS=ata
E:ID_MODEL=SuperMicro_SSD
E:ID_MODEL_ENC=SuperMicro\x20SSD\x20\x20
E:ID_REVISION=0R
E:ID_SERIAL=SuperMicro_SSD_SMC0E1B87ABBB16BD84E
E:ID_SERIAL_SHORT=SMC0E1B87ABBB16BD84E
E:ID_ATA_WRITE_CACHE=1
E:ID_ATA_WRITE_CACHE_ENABLED=1
E:ID_ATA_FEATURE_SET_HPA=1
E:ID_ATA_FEATURE_SET_HPA_ENABLED=1
E:ID_ATA_FEATURE_SET_PM=1
E:ID_ATA_FEATURE_SET_PM_ENABLED=1
E:ID_ATA_FEATURE_SET_SECURITY=1
E:ID_ATA_FEATURE_SET_SECURITY_ENABLED=0
E:ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN=4
E:ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN=4
E:ID_ATA_FEATURE_SET_SMART=1
E:ID_ATA_FEATURE_SET_SMART_ENABLED=1
E:ID_ATA_FEATURE_SET_AAM=1
E:ID_ATA_FEATURE_SET_AAM_ENABLED=0
E:ID_ATA_FEATURE_SET_AAM_VENDOR_RECOMMENDED_VALUE=0
E:ID_ATA_FEATURE_SET_AAM_CURRENT_VALUE=0
E:ID_ATA_DOWNLOAD_MICROCODE=1
E:ID_ATA_SATA=1
E:ID_ATA_SATA_SIGNAL_RATE_GEN2=1
E:ID_ATA_SATA_SIGNAL_RATE_GEN1=1
E:ID_ATA_ROTATION_RATE_RPM=0
E:ID_WWN=0xe1b87abbb16bd84e
E:ID_WWN_WITH_EXTENSION=0xe1b87abbb16bd84e
E:ID_PATH=pci-0000:00:1f.2-ata-1
E:ID_PATH_TAG=pci-0000_00_1f_2-ata-1
E:ID_PART_TABLE_UUID=45980145-24e2-4302-a7f0-364c68cfaf59
E:ID_PART_TABLE_TYPE=gpt
E:SCSI_TPGS=0
E:SCSI_TYPE=disk
E:SCSI_VENDOR=ATA
E:SCSI_VENDOR_ENC=ATA\x20\x20\x20\x20\x20
E:SCSI_MODEL=SuperMicro_SSD
E:SCSI_MODEL_ENC=SuperMicro\x20SSD\x20\x20
E:SCSI_REVISION=0R
E:ID_SCSI=1
E:ID_SCSI_INQUIRY=1
E:ID_VENDOR=ATA
E:ID_VENDOR_ENC=ATA\x20\x20\x20\x20\x20
E:SCSI_IDENT_SERIAL=SMC0E1B87ABBB16BD84E
E:SCSI_IDENT_LUN_VENDOR=SMC0E1B87ABBB16BD84E
E:SCSI_IDENT_LUN_T10=ATA_SuperMicro_SSD_SMC0E1B87ABBB16BD84E
E:SCSI_IDENT_LUN_ATA=SuperMicro_SSD_SMC0E1B87ABBB16BD84E
E:SCSI_IDENT_LUN_NAA_REG=e1b87abbb16bd84e
E:ID_FS_TYPE=
G:systemd