From c15723b49908c2ad058997129a2466b0b8f66890 Mon Sep 17 00:00:00 2001 From: Martin Berghaus Date: Wed, 26 Mar 2025 16:15:26 +0100 Subject: [PATCH] replaced by GENERIC_ZFSPOOL_USAGE_CHECK.sh --- script/monitor/checks/GENERIC_POOL_SIZE_CHECK.sh | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100755 script/monitor/checks/GENERIC_POOL_SIZE_CHECK.sh 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