diff --git a/script/monitor/checks/GENERIC_POOL_SIZE_CHECK.sh b/script/monitor/checks/GENERIC_POOL_SIZE_CHECK.sh deleted file mode 100755 index ed4ba5c..0000000 --- a/script/monitor/checks/GENERIC_POOL_SIZE_CHECK.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -SERVER="${1:?"FQDN of server missing"}" -FILE="pool-size.txt" - -# --connect-timeout SECONDS Maximum time allowed for connection -# -k Allow connections to SSL sites without certs (H) -# -L Follow redirects (H) -# --max-time SECONDS Maximum time allowed for the transfer -# -s Silent mode. Don't output anything -# -f Fail fast with no output on HTTP errors (otherwise no exit-code > 0 on 404) -RESULT="$(curl --connect-timeout 10 --max-time 10 -k -s -f https://$SERVER/monitoring/$FILE || echo WARN#404 on $FILE check HTTPS)" -echo $RESULT