diff --git a/data.py b/data.py index 9120dea..593b08b 100644 --- a/data.py +++ b/data.py @@ -135,7 +135,7 @@ class DataStore: problemCount += cur.counts[cstatus] # If this notification is a problem - if not "OK" in status: + if not "OK" in status and not "UP" in status: # Unknown state if "UNKNOWN" in cur.type and problemCount == 0: message = "état inconnu sur (%s)" % (host, text)