Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Hand a node only the usage metrics its agent evaluates (#2581)

rcourtman66c8c63e793d
diff --cc internal/alerts/host.go
index af6132e74f,8cdd3e89dd..29e325deeb
--- a/internal/alerts/host.go
+++ b/internal/alerts/host.go
@@@ -465,8 -451,9 +473,9 @@@ func (m *Manager) CheckHost(host models
if effectiveDiskThreshold == nil {
continue
}
+ evaluatesSummaryDisk = evaluatesSummaryDisk || (diskResourceID == summaryDiskResourceID && effectiveDiskThreshold.Trigger > 0)
- diskMetadata := cloneMetadata(baseMetadata)
+ diskMetadata := hostChildAlertMetadata(baseMetadata, hostDiskAlertResourceType)
diskMetadata["metric"] = "disk"
diskMetadata["mountpoint"] = disk.Mountpoint
diskMetadata["device"] = disk.Device