copr: add nagios check for copr backend
This commit is contained in:
parent
07d4e8e713
commit
dce5318cfc
2 changed files with 19 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue