diff --git a/data.py b/data.py index 593b08b..be3f678 100644 --- a/data.py +++ b/data.py @@ -189,13 +189,15 @@ class DataStore: log.info("Sending to %s: %s" % (destmuc, message)) self.linkedBot.push(destmuc, cur.maintainer+", "+message) - elif "DOWNTIMEEND" in type and not cur.downtime: + elif "DOWNTIMEEND" in type and cur.downtime: cur.downtime = True - message = "début de downtime sur" \ + message = "fin de downtime sur" \ " sur %s (%s)" % (host, text) # send notification log.info("Sending to %s: %s" % (destmuc, message)) self.linkedBot.push(destmuc, cur.maintainer+", "+message) + else: + pass # General problem elif not service and problemCount == 0: