check_curl: also show status code
This commit is contained in:
parent
30b2f8b3e3
commit
b01637a4de
|
@ -421,5 +421,5 @@ if [ -n "$CRIT_STRING" ]; then
|
|||
fi
|
||||
|
||||
# All checks passed
|
||||
echo "OK - response time was $RESPONSE_TIME seconds${BODY_CONTAINS}-> $URL | $perfdata"
|
||||
echo "OK - response time was $RESPONSE_TIME seconds. Returned code $HTTP_CODE.${BODY_CONTAINS}-> $URL | $perfdata"
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue