Resi cues connection errors are amber (check option amber): 'Poll failed' is not the stream down
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -273,6 +273,9 @@ def check_conn(chk, snap, ctx):
|
||||
c = snap.conns.get(chk["conn"], {})
|
||||
if chk.get("ignore_warning") and res.level == WARN and c.get("enabled") and c.get("category") == "warning":
|
||||
res = Result(OK)
|
||||
if chk.get("amber") and res.level == ERR and c.get("enabled"):
|
||||
# A cloud helper (Resi cues): its error is not the stream being down (2026-10-25: "Poll failed").
|
||||
res = Result(WARN, res.msg, service_only=res.service_only)
|
||||
return [("conn", res)]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user