mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-26 05:29:45 +00:00
eb42ada79a
A full or degraded pool's alert linked to the top of the Proxmox overview, so the operator had to find the pool themselves. The alert card now links Proxmox storage alerts to /proxmox/storage?resource=, and Storage opens and reveals that pool. ZFS pool and device alerts are raised under composite ids the resource registry cannot open, so checkZFSPoolHealth stamps the owning storage as storageResourceId metadata and the card prefers it. An unstamped composite id opens Storage without naming a pool. The Storage deep-link hook matched only Ceph pools by id or any name, so alert source ids and shared names (every node has a local-zfs) missed or opened the wrong pool. It now matches id, then metrics id, then a unique name, resolves anything else through the registry, and opens every matched pool. It acts only while Storage is the active Proxmox tab, because the mounted-but-hidden Storage tab otherwise read guest links, and a pool the operator opens or closes during a lookup outranks the link.