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, - }, }, }, },