fix: typo icingaweb_url

This commit is contained in:
2023-07-24 17:59:20 +02:00
parent be733a05f5
commit 881cf3134d

View File

@@ -10,7 +10,7 @@ def make_icinga_message(struct):
first_line = "{state} - {service} ({host})".format(state=struct.get("service_state"),
service=struct.get("service_name"), host=struct.get("service_host"))
second_line = struct.get("service_output") or ""
third_line = "Direkt-Link: {link}".format(link=struct.get("icingaeweb_url"))
third_line = "Direkt-Link: {link}".format(link=struct.get("icingaweb_url"))
if not struct.get("owners") and not struct.get("owner-groups"):
fourth_line = "Notification to: admins (default)"