mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01:00
Update history entry LastSeen on alert resolution so the stored duration reflects how long the alert was actually active, not the snapshot captured at creation time. This fixes the "0m" duration display for all resolved metric-based alerts. Fix reevaluateActiveAlertsLocked to use HostDefaults for host agent alerts and PBSDefaults for PBS alerts instead of falling through to GuestDefaults and NodeDefaults respectively, which could incorrectly resolve or retain alerts on config save when thresholds differ.