|
|
@ -50,12 +50,6 @@ func (c *BaseCollector) DetectStorageDevices() ([]models.Device, error) {
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// ignore NVMe devices (not currently supported) TBA
|
|
|
|
|
|
|
|
if disk.StorageController == ghw.STORAGE_CONTROLLER_NVME {
|
|
|
|
|
|
|
|
c.logger.Debugf(" => Ignore: NVMe storage controller - (found %s)\n", disk.StorageController.String())
|
|
|
|
|
|
|
|
continue
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Skip unknown storage controllers, not usually S.M.A.R.T compatible.
|
|
|
|
// Skip unknown storage controllers, not usually S.M.A.R.T compatible.
|
|
|
|
if disk.StorageController == ghw.STORAGE_CONTROLLER_UNKNOWN {
|
|
|
|
if disk.StorageController == ghw.STORAGE_CONTROLLER_UNKNOWN {
|
|
|
|
c.logger.Debugf(" => Ignore: Unknown storage controller - (found %s)\n", disk.StorageController.String())
|
|
|
|
c.logger.Debugf(" => Ignore: Unknown storage controller - (found %s)\n", disk.StorageController.String())
|
|
|
|