From 48cc7a05479dd4b6ba61063b97d2ffedc56e00f4 Mon Sep 17 00:00:00 2001 From: Joel Rebello Date: Thu, 3 Nov 2022 14:08:01 +0100 Subject: [PATCH] providers/supermicro: include lsblk, hdparm, nvme collectors for capabilities data --- providers/supermicro/supermicro.go | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/providers/supermicro/supermicro.go b/providers/supermicro/supermicro.go index efa9880d..69326e51 100644 --- a/providers/supermicro/supermicro.go +++ b/providers/supermicro/supermicro.go @@ -28,10 +28,17 @@ func New(dmidecode *utils.Dmidecode, l *logrus.Logger) (model.DeviceManager, err // register inventory collectors collectors := &actions.Collectors{ - BMC: utils.NewIpmicfgCmd(trace), - BIOS: utils.NewIpmicfgCmd(trace), - CPLDs: utils.NewIpmicfgCmd(trace), - Drives: []actions.DriveCollector{utils.NewSmartctlCmd(trace)}, + BMC: utils.NewIpmicfgCmd(trace), + BIOS: utils.NewIpmicfgCmd(trace), + CPLDs: utils.NewIpmicfgCmd(trace), + Drives: []actions.DriveCollector{ + utils.NewSmartctlCmd(trace), + utils.NewLsblkCmd(trace), + }, + DriveCapabilities: []actions.DriveCapabilityCollector{ + utils.NewHdparmCmd(trace), + utils.NewNvmeCmd(trace), + }, StorageControllers: utils.NewStoreCLICmd(trace), NICs: utils.NewMlxupCmd(trace), }