You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
ansible-role-nginx/openshift/openshift_ec2/roles/lvs/templates/check.sh

8 lines
177 B

#!/bin/bash
LINES=`wget -q -O - --no-check-certificate https://$1/broker/rest/api | wc -c`
if [ $LINES -gt "0" ]; then
echo "OK"
else
echo "FAILURE"
fi
exit 0