copr: add nagios check for copr backend

This commit is contained in:
Silvie Chlupova 2022-02-07 09:57:50 +01:00 committed by kevin
parent 07d4e8e713
commit dce5318cfc
2 changed files with 19 additions and 7 deletions

View file

@ -10,6 +10,18 @@ define host {
{% endif %}
}
define host {
host_name copr-be
alias download.copr.fedorainfracloud.org
use mincheck
address d1nld9ovj32u75.cloudfront.net
{% if vars['nagios_location'] == 'iad2_internal' %}
parents iad2-gw
{% else %}
parents ibiblio-gw
{% endif %}
}
define host {
host_name registry-cdn
alias cdn.registry.fedoraproject.org

View file

@ -336,10 +336,10 @@ define service {
{% endif %}
# define service {
# hostgroup_name proxies
# service_description http-download.copr.fedorainfracloud.org
# check_command check_website_ssl!download.copr.fedorainfracloud.org!/!Index of /
# max_check_attempts 8
# use websitetemplate
#}
define service {
host_name download.copr.fedorainfracloud.org
service_description http-download.copr.fedorainfracloud.org
check_command check_website_ssl!download.copr.fedorainfracloud.org!/!Index of /
max_check_attempts 8
use websitetemplate
}