diff --git a/check_http b/check_http index 81a1c794a13bdd97f9efba9239dcf74d94d7c1ad..ea797ea154d00b685976bfea02a93039ff0a03ad 100755 --- a/check_http +++ b/check_http @@ -103,7 +103,7 @@ ph.require "curl" sUrl=$( ph.getValueWithParam '' u "$@") sMethod=$( ph.getValueWithParam 'GET' m "$@" | tr [:lower:] [:upper:]) -curlParams=$( ph.getValueWithParam '' c "$@") +curlParams=$( ph.getValueWithParam '' c "$@") iStatus=$( ph.getValueWithParam '' s "$@") sHeader=$( ph.getValueWithParam '' r "$@") @@ -112,11 +112,7 @@ sNotInBody=$( ph.getValueWithParam '' n "$@") sJq=$( ph.getValueWithParam '' j "$@") sLabel=$( ph.getValueWithParam "" l "$@") - curlParams+=" -si -X $sMethod" - -# echo "Url is $sUrl" - sProblems= sOK=