From e69b8e5a66b4e26fbe546d63488f3d78ff382eab Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 26 Feb 2022 14:35:43 +0100 Subject: [PATCH] move entropia-jira monitoring to dedicated node --- nodes/entropia-jira.toml | 16 ++++++++++++++++ nodes/ovh/icinga2.py | 15 --------------- 2 files changed, 16 insertions(+), 15 deletions(-) create mode 100644 nodes/entropia-jira.toml diff --git a/nodes/entropia-jira.toml b/nodes/entropia-jira.toml new file mode 100644 index 0000000..d7e8efa --- /dev/null +++ b/nodes/entropia-jira.toml @@ -0,0 +1,16 @@ +hostname = "ticket.gulas.ch" +dummy = true + +[metadata.icinga_options] +pretty_name = "ticket.gulas.ch" + +[metadata.icinga2_api.nginx.services."NGINX VHOST jira CERTIFICATE"] +check_command = "check_https_cert_at_url" +"vars.domain" = "ticket.gulas.ch" +"vars.notification.mail" = true + +[metadata.icinga2_api.nginx.services."NGINX VHOST jira CONTENT"] +check_command = "check_http_wget" +"vars.http_wget_contains" = "login.jsp" +"vars.http_wget_url" = "https://ticket.gulas.ch/secure/Dashboard.jspa" +"vars.notification.sms" = true diff --git a/nodes/ovh/icinga2.py b/nodes/ovh/icinga2.py index 494ce6d..222f821 100644 --- a/nodes/ovh/icinga2.py +++ b/nodes/ovh/icinga2.py @@ -78,21 +78,6 @@ nodes['ovh.icinga2'] = { 'check_command': 'check_https_cert_at_url', 'vars.domain': 'matrix.flauschekatze.space', }, - 'media.ccc.de CERTIFICATE': { - 'check_command': 'check_https_cert_at_url', - 'vars.domain': 'media.ccc.de', - }, - 'ticket.gulas.ch CERTIFICATE': { - 'check_command': 'check_https_cert_at_url', - 'vars.domain': 'ticket.gulas.ch', - 'vars.notification.mail': True - }, - 'ticket.gulas.ch CONTENT': { - 'check_command': 'check_http_wget', - 'vars.http_wget_contains': 'login.jsp', - 'vars.http_wget_url': 'https://ticket.gulas.ch/secure/Dashboard.jspa', - 'vars.notification.sms': True, - }, }, }, },