Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEriks Sneiders <eriks.sneiders@zabbix.com>2022-03-28 08:24:05 +0300
committerEriks Sneiders <eriks.sneiders@zabbix.com>2022-04-01 11:16:46 +0300
commit69472edbaed30e69dec2f636d6deb980c8992819 (patch)
treeab92f5de92196b6b1a42e6cddccbaf882870fa16 /src
parentb375462d78c4bf2b10d91ac5d7a161ce3eae99de (diff)
...G...... [ZBXNEXT-7559] fixed smart.disk.discovery for megaraid
Diffstat (limited to 'src')
-rw-r--r--src/go/plugins/smart/smartfs.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/go/plugins/smart/smartfs.go b/src/go/plugins/smart/smartfs.go
index 1f194f36c43..b695e853ba4 100644
--- a/src/go/plugins/smart/smartfs.go
+++ b/src/go/plugins/smart/smartfs.go
@@ -609,6 +609,8 @@ func (r *runner) getMegaRaidDevices(jsonRunner bool) {
}
dp.Info.Name = fmt.Sprintf("%s %s", raid.name, raid.rType)
+ dp.Info.name = raid.name
+ dp.Info.raidType = raid.rType
r.setRaidDevices(dp, device, raid.rType, jsonRunner)
}