Skip to content

Support for NVMe data in RTL9210B USB adapter #279

Open
@tsdmgz

Description

@tsdmgz

Hello! I was trying to understand why despite having an NVMe SSD connected over USB and smartctl outputting nvme_smart_health_information_log, this data missing from exporter output. It appears that device.type is sntrealtek and not nvme.

I'd imagine adding something like || smart.device.interface_ == "sntrealtek" in

if smart.device.interface_ == "nvme" {
can account for this but I'm not sure if that's a good idea long term?

#267 (comment) could also be a similar issue here. Attaching also my drive's output from collect-smartctl-json.sh.

sntrealtek-null-SPCC_M.2_PCIe_SSD-sda.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions