check_curl

This commit is contained in:
Cyberes 2023-04-21 23:54:19 -06:00
parent ba3f79c7c7
commit 639f037aa2
1 changed files with 3 additions and 3 deletions

View File

@ -96,13 +96,13 @@ if [ $status -ne 0 ]; then
msg="CRITICAL: Malformed URL $URL"
;;
# 5)
# msg="CRITICAL: Couldn't resolve proxy $proxy"
# msg="CRITICAL: Could not resolve proxy $proxy"
# ;;
6)
msg="CRITICAL: Couldn't resolve host $URL"
msg="CRITICAL: Could not resolve host $URL"
;;
# 7)
# msg="CRITICAL: Couldn't connect to proxy $proxy"
# msg="CRITICAL: Could not connect to proxy $proxy"
# ;;
22)
msg="CRITICAL: Server returned http code >= 400"