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.

fix: correct UpdateAlertDelayHours doc comment (0 normalizes to 24, -1 disables)

rcourtmanae4632b5b5a0
diff --git a/internal/alerts/alerts.go b/internal/alerts/alerts.go
index 5d2540ce8d..cfddafcb81 100644
--- a/internal/alerts/alerts.go
+++ b/internal/alerts/alerts.go
@@ -320,7 +320,7 @@ type DockerThresholdConfig struct {
ServiceCritGapPct int `json:"serviceCriticalGapPercent"` // % of desired tasks missing to trigger critical (default: 50)
StateDisableConnectivity bool `json:"stateDisableConnectivity,omitempty"` // Disable container offline/state alerts globally
StatePoweredOffSeverity AlertLevel `json:"statePoweredOffSeverity,omitempty"` // Default severity for container state/offline alerts
- UpdateAlertDelayHours int `json:"updateAlertDelayHours,omitempty"` // Hours to wait before alerting on available image updates (default: 24, 0 = disabled)
+ UpdateAlertDelayHours int `json:"updateAlertDelayHours,omitempty"` // Hours to wait before alerting on available image updates (default: 24, -1 = disabled)
}
// PMGThresholdConfig represents Proxmox Mail Gateway-specific alert thresholds