From c7aea6912ed2d6bce8b8bbc5db5184d560db6862 Mon Sep 17 00:00:00 2001 From: Benjamin Stier Date: Tue, 25 Oct 2022 09:54:17 +0200 Subject: [PATCH] Add state for degraded edge nodes. --- agent_based/nsx_edges.py | 1 + 1 file changed, 1 insertion(+) diff --git a/agent_based/nsx_edges.py b/agent_based/nsx_edges.py index 519aaff..39e5cb2 100644 --- a/agent_based/nsx_edges.py +++ b/agent_based/nsx_edges.py @@ -34,6 +34,7 @@ class EdgeData(TypedDict, total=False): _STATUS_MAP = { "UP": State.OK, + "DEGRADED": State.WARN, "DOWN": State.CRIT, }