ajout du downtime

This commit is contained in:
Adrien Bourmault 2022-02-14 19:40:23 +01:00
parent 4689ba6466
commit 6ecee71b4c
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 1 additions and 1 deletions

View File

@ -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)