ajout du downtime
This commit is contained in:
parent
1c1f94efd7
commit
3675dabac2
2
data.py
2
data.py
|
@ -190,7 +190,7 @@ class DataStore:
|
||||||
self.linkedBot.push(destmuc, cur.maintainer+", "+message)
|
self.linkedBot.push(destmuc, cur.maintainer+", "+message)
|
||||||
|
|
||||||
elif "DOWNTIMEEND" in type and cur.downtime:
|
elif "DOWNTIMEEND" in type and cur.downtime:
|
||||||
cur.downtime = True
|
cur.downtime = False
|
||||||
message = "fin de downtime sur" \
|
message = "fin de downtime sur" \
|
||||||
" sur %s (%s)" % (host, text)
|
" sur %s (%s)" % (host, text)
|
||||||
# send notification
|
# send notification
|
||||||
|
|
Loading…
Reference in New Issue