hub v0.73.1: allowlist disk_health_degraded (controller v0.169.0 disk-health)

Adds disk_health_degraded to allowedEventTypes so the controller's per-disk SMART
degradation notification is ingested, not 400-rejected. Deliberately no customerMessages
entry (like offbox_enlarge_blocked) — the controller's dynamic Hungarian message (disk
label + attributes) is preserved by the templates.go fallback. Test + red-proof.
This commit is contained in:
2026-07-24 21:35:01 +02:00
parent be9edb443c
commit 19dbb02ee3
3 changed files with 33 additions and 0 deletions
+5
View File
@@ -1572,6 +1572,11 @@ var allowedEventTypes = map[string]bool{
"storage_reconnected": true,
"disk_warning": true,
"disk_critical": true,
// controller v0.169.0 — per-disk SMART degradation (Rendben→Figyelmeztetés/Hiba). The controller
// sends a dynamic Hungarian message (disk label + the triggering attribute names), so — like
// offbox_enlarge_blocked — there is deliberately NO customerMessages entry (which would discard the
// specifics via the templates.go fallback priority).
"disk_health_degraded": true,
"health_degraded": true,
"health_critical": true,
"health_recovered": true,