fix(monitor): honour storage exclusions in the PVE storage capacity alert

This commit is contained in:
MacRimi
2026-09-29 20:56:02 +02:00
parent 438cb935d0
commit f421ac1cb1
3 changed files with 27 additions and 1 deletions
+2 -1
View File
@@ -1277,7 +1277,8 @@ class NotificationManager:
# Check storage exclusions for storage-related events.
# If the storage is excluded from notifications, suppress the event entirely.
_STORAGE_EVENTS = {'storage_unavailable', 'storage_low_space', 'storage_warning', 'storage_error'}
_STORAGE_EVENTS = {'storage_unavailable', 'storage_low_space', 'storage_warning', 'storage_error',
'pve_storage_full'}
if event.event_type in _STORAGE_EVENTS:
storage_name = event.data.get('storage_name') or event.data.get('name')
if storage_name: