copr: fix nagios service for checking Copr CDN

Fixes: https://pagure.io/fedora-infrastructure/issue/10508
This commit is contained in:
Silvie Chlupova 2022-01-31 10:33:30 +01:00
parent 7504296db8
commit db6dc98940
2 changed files with 12 additions and 7 deletions

View file

@ -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$"
}
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{
command_name check_ssl_cert
command_line $USER1$/check_http --sni -I $HOSTADDRESS$ -H $ARG1$ -C $ARG2$