mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-23 03:33:53 +00:00
617b912d07
Fixed an issue where powered-off VMs were triggering CPU/RAM alerts. Changes made: 1. Alert manager now skips ANY non-running VM (not just "stopped") - Handles all states: stopped, paused, suspended, etc. - Only checks thresholds for VMs with status="running" 2. Zero out metrics for non-running VMs/containers - Proxmox may report stale metrics for stopped VMs - Now explicitly sets CPU, memory, disk, network to 0 for non-running guests 3. Added debug logging to track VM states and metric handling This ensures alerts only fire for actively running VMs and containers.