This commit is contained in:
psy 2021-01-04 11:51:11 +01:00
parent 080db854d1
commit b99410f135
No known key found for this signature in database
GPG key ID: DFF5B17AC3A8ECF5

View file

@ -34,7 +34,7 @@ def postAlertmanager(chatName):
if 'description' in alert['annotations']:
message += alert['annotations']['description']
if alert['status'] == "firing":
message += "@here"
message += " @here"
message += "\n"
if 'name' in alert['labels']:
message += "Instance: "+alert['labels'].get('instance', 'unknown')+"("+alert['labels']['name']+")\n"