add: memory, storage, pcie collectors (1.4-1.6) — tested on real hardware

This commit is contained in:
2026-03-05 14:50:34 +03:00
parent 569bbf8909
commit 55f6098a17
4 changed files with 381 additions and 1 deletions

View File

@@ -25,7 +25,11 @@ func Run() schema.HardwareIngestRequest {
snap.CPUs = cpus
snap.Firmware = append(snap.Firmware, cpuFW...)
// remaining collectors added in steps 1.4 1.10
snap.Memory = collectMemory()
snap.Storage = collectStorage()
snap.PCIeDevices = collectPCIe()
// remaining collectors added in steps 1.7 1.10
slog.Info("audit completed", "duration", time.Since(start).Round(time.Millisecond))