ajout du downtime
This commit is contained in:
parent
c12543ba82
commit
aa558146fe
3
data.py
3
data.py
|
@ -194,6 +194,9 @@ class DataStore:
|
||||||
# send notification
|
# send notification
|
||||||
log.info("Sending to %s: %s" % (destmuc, message))
|
log.info("Sending to %s: %s" % (destmuc, message))
|
||||||
self.linkedBot.push(destmuc, cur.maintainer+", "+message)
|
self.linkedBot.push(destmuc, cur.maintainer+", "+message)
|
||||||
|
# ignore unregistered downtimes
|
||||||
|
elif "DOWNTIME" in cur.type:
|
||||||
|
pass
|
||||||
# General problem
|
# General problem
|
||||||
elif not service and problemCount == 0:
|
elif not service and problemCount == 0:
|
||||||
message = "fin d'alerte générale sur" \
|
message = "fin d'alerte générale sur" \
|
||||||
|
|
Loading…
Reference in New Issue