From 371652fbe8d13b76c036501c346fd94271001af9 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 5 Mar 2022 08:31:48 +0100 Subject: [PATCH] nodes: set icinga notification period to daytime for some nodes --- nodes/aurto.py | 1 + nodes/entropia-jira.toml | 3 ++- nodes/htz-cloud/luther.py | 1 + nodes/htz-cloud/pirmasens.py | 1 + nodes/htz-cloud/pleroma.py | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/nodes/aurto.py b/nodes/aurto.py index 54a18f6..6020653 100644 --- a/nodes/aurto.py +++ b/nodes/aurto.py @@ -13,6 +13,7 @@ nodes['aurto'] = { 'also_affected_by': { 'rx300', }, + 'period': 'daytime', }, 'backups': { 'paths': { diff --git a/nodes/entropia-jira.toml b/nodes/entropia-jira.toml index d7e8efa..d648b3a 100644 --- a/nodes/entropia-jira.toml +++ b/nodes/entropia-jira.toml @@ -1,7 +1,8 @@ -hostname = "ticket.gulas.ch" +hostname = "45.140.180.45" dummy = true [metadata.icinga_options] +period = "daytime" pretty_name = "ticket.gulas.ch" [metadata.icinga2_api.nginx.services."NGINX VHOST jira CERTIFICATE"] diff --git a/nodes/htz-cloud/luther.py b/nodes/htz-cloud/luther.py index f5e2b1e..6e30f57 100644 --- a/nodes/htz-cloud/luther.py +++ b/nodes/htz-cloud/luther.py @@ -42,6 +42,7 @@ nodes['htz-cloud.luther'] = { }, }, 'icinga_options': { + 'period': 'daytime', 'pretty_name': 'Lutherkirchengemeinde Pirmasens', 'vars.notification.sms': False, }, diff --git a/nodes/htz-cloud/pirmasens.py b/nodes/htz-cloud/pirmasens.py index c41592b..adb255b 100644 --- a/nodes/htz-cloud/pirmasens.py +++ b/nodes/htz-cloud/pirmasens.py @@ -32,6 +32,7 @@ nodes['htz-cloud.pirmasens'] = { }, }, 'icinga_options': { + 'period': 'daytime', 'pretty_name': 'kunsmann.info', }, 'nginx': { diff --git a/nodes/htz-cloud/pleroma.py b/nodes/htz-cloud/pleroma.py index e9ec7ef..b57d13c 100644 --- a/nodes/htz-cloud/pleroma.py +++ b/nodes/htz-cloud/pleroma.py @@ -31,6 +31,7 @@ nodes['htz-cloud.pleroma'] = { }, }, 'icinga_options': { + 'period': 'daytime', 'pretty_name': 'cybert-media.net', }, 'cron': {