ajout du downtime

This commit is contained in:
Adrien Bourmault 2022-02-14 19:16:13 +01:00
parent c12543ba82
commit aa558146fe
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 3 additions and 0 deletions

View File

@ -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" \