copr: fix nagios service for checking Copr CDN
Fixes: https://pagure.io/fedora-infrastructure/issue/10508
This commit is contained in:
parent
7504296db8
commit
db6dc98940
2 changed files with 12 additions and 7 deletions
|
@ -61,6 +61,11 @@ define command{
|
||||||
command_line $USER1$/check_http -w 30 -c 40 --ssl --sni -I $HOSTADDRESS$ -H $ARG1$ -u $ARG2$ -s "$ARG3$"
|
command_line $USER1$/check_http -w 30 -c 40 --ssl --sni -I $HOSTADDRESS$ -H $ARG1$ -u $ARG2$ -s "$ARG3$"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
define command{
|
||||||
|
command_name check_website_follow_ssl
|
||||||
|
command_line $USER1$/check_http -w 30 -c 40 --ssl --sni -I $HOSTADDRESS$ -H $ARG1$ -u $ARG2$ -s "$ARG3$" -f follow
|
||||||
|
}
|
||||||
|
|
||||||
define command{
|
define command{
|
||||||
command_name check_ssl_cert
|
command_name check_ssl_cert
|
||||||
command_line $USER1$/check_http --sni -I $HOSTADDRESS$ -H $ARG1$ -C $ARG2$
|
command_line $USER1$/check_http --sni -I $HOSTADDRESS$ -H $ARG1$ -C $ARG2$
|
||||||
|
|
|
@ -336,10 +336,10 @@ define service {
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# define service {
|
define service {
|
||||||
# hostgroup_name proxies
|
hostgroup_name proxies
|
||||||
# service_description http-download.copr.fedorainfracloud.org
|
service_description http-download.copr.fedorainfracloud.org
|
||||||
# check_command check_website_follow_ssl!download.copr.fedorainfracloud.org!/!Index of /
|
check_command check_website_follow_ssl!download.copr.fedorainfracloud.org!/!Index of /
|
||||||
# max_check_attempts 8
|
max_check_attempts 8
|
||||||
# use websitetemplate
|
use websitetemplate
|
||||||
# }
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue