From aa558146fed586969178f04ff0930796eb790b6d Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Mon, 14 Feb 2022 19:16:13 +0100 Subject: [PATCH] ajout du downtime --- data.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data.py b/data.py index 3a24136..266d3c9 100644 --- a/data.py +++ b/data.py @@ -194,6 +194,9 @@ class DataStore: # send notification log.info("Sending to %s: %s" % (destmuc, message)) self.linkedBot.push(destmuc, cur.maintainer+", "+message) + # ignore unregistered downtimes + elif "DOWNTIME" in cur.type: + pass # General problem elif not service and problemCount == 0: message = "fin d'alerte générale sur" \