From 8d9f6e0c4c65694f52267fa752b0937968f61733 Mon Sep 17 00:00:00 2001 From: Silvie Chlupova Date: Mon, 20 Dec 2021 11:02:25 +0100 Subject: [PATCH] copr: nagios check for copr frontend, backend and distgit Fixes: https://pagure.io/copr/copr/issue/2002 --- .../templates/nagios/services/websites.cfg.j2 | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/roles/nagios_server/templates/nagios/services/websites.cfg.j2 b/roles/nagios_server/templates/nagios/services/websites.cfg.j2 index 032de7689c..5568265034 100644 --- a/roles/nagios_server/templates/nagios/services/websites.cfg.j2 +++ b/roles/nagios_server/templates/nagios/services/websites.cfg.j2 @@ -352,4 +352,26 @@ define service { {% endif %} +define service { + hostgroup_name proxies + service_description download.copr.fedorainfracloud.org-https + check_command check_website_ssl!download.copr.fedorainfracloud.org!Index of / + max_check_attempts 8 + use websitetemplate +} +define service { + host_name noc01.iad2.fedoraproject.org + service_description copr-dist-git.fedorainfracloud.org-https + check_command check_website_ssl!copr-dist-git.fedorainfracloud.org!/cgit/!Git repository browser + max_check_attempts 8 + use websitetemplate +} + +define service { + host_name noc01.iad2.fedoraproject.org + service_description copr.fedorainfracloud.org-https + check_command check_website_ssl!copr.fedorainfracloud.org!Copr hosts + max_check_attempts 8 + use websitetemplate +}