You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have multiple HDDs connected via thunderbolt to nvme -> nvme to sata. smartctl lists them just fine and I can also manual query them with smartctl --info --json. But, the collector incorrectly crafts the command for this.
To better explain the issue, this is one of the HDDs (via smartctl --scan --json)
Describe the bug
I have multiple HDDs connected via thunderbolt to nvme -> nvme to sata.
smartctl
lists them just fine and I can also manual query them withsmartctl --info --json
. But, the collector incorrectly crafts the command for this.To better explain the issue, this is one of the HDDs (via
smartctl --scan --json
)You can see, the name is a bit weird. This is how you query the device:
smartctl --info --json "IOService:/AppleARMPE/arm-io@10F00000/AppleH16GFamilyIO/apciec3@80000000/AppleT8132PCIeC/pcic3-bridge@0/IOPP/pci-bridge@0/IOPP/pci-bridge@0/IOPP/pci1b21,1166@0/AppleAHCI/PRT2@2/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice"
This results in the following correct output:
This is how the collector tries to execute the info command:
The collector adds the
/dev/
prefix which is wrong and results in a failure.Expected behavior
If the device name starts with
IOService
on MacOS, don't add the/dev/
prefix.Log Files
The text was updated successfully, but these errors were encountered: