Add Linux mdraid health monitoring (#1750)

This commit is contained in:
VACInc
2026-02-27 13:42:47 -05:00
committed by GitHub
parent 69fdcb36ab
commit 02c1a0c13d
7 changed files with 393 additions and 17 deletions

11
agent/mdraid_stub.go Normal file
View File

@@ -0,0 +1,11 @@
//go:build !linux
package agent
func scanMdraidDevices() []*DeviceInfo {
return nil
}
func (sm *SmartManager) collectMdraidHealth(deviceInfo *DeviceInfo) (bool, error) {
return false, nil
}