ajout du downtime
This commit is contained in:
parent
4689ba6466
commit
6ecee71b4c
2
data.py
2
data.py
|
@ -135,7 +135,7 @@ class DataStore:
|
||||||
problemCount += cur.counts[cstatus]
|
problemCount += cur.counts[cstatus]
|
||||||
|
|
||||||
# If this notification is a problem
|
# If this notification is a problem
|
||||||
if not "OK" in status:
|
if not "OK" in status and not "UP" in status:
|
||||||
# Unknown state
|
# Unknown state
|
||||||
if "UNKNOWN" in cur.type and problemCount == 0:
|
if "UNKNOWN" in cur.type and problemCount == 0:
|
||||||
message = "état inconnu sur (%s)" % (host, text)
|
message = "état inconnu sur (%s)" % (host, text)
|
||||||
|
|
Loading…
Reference in New Issue