Fix gitignore: allow scripts/backup, ignore /var/backups only

This commit is contained in:
Lakehouse Admin
2026-05-19 23:13:01 +02:00
parent df5ec93dc3
commit e473872ef9
3 changed files with 39 additions and 3 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ check() {
local name="$1" url="$2"
local code
code=$(curl -sk -o /dev/null -w "%{http_code}" --connect-timeout 5 --max-time 10 "$url" 2>/dev/null || echo "000")
if [[ "$code" =~ ^(200|301|302|401|403)$ ]]; then
if [[ "$code" =~ ^(200|301|302|303|401|403)$ ]]; then
printf "OK %-28s %s (%s)\n" "$name" "$url" "$code"
else
printf "FAIL %-28s %s (%s)\n" "$name" "$url" "$code"
@@ -22,7 +22,7 @@ check "Kafka UI" "http://atc-kafka01.dell-atc.lan:9000/"
check "Debezium" "http://atc-lake01.dell-atc.lan:8083/"
check "Spark" "http://atc-lake01.dell-atc.lan:8080/"
check "Trino" "http://atc-lake01.dell-atc.lan:8089/ui/"
check "Airflow" "http://10.0.21.55:8080/health"
check "Airflow" "http://10.0.21.55:8080/"
check "Kibana" "http://atc-elastic01.dell-atc.lan:5601/"
check "Grafana" "http://atc-grafana.dell-atc.lan:3000/api/health"
check "Forgejo" "http://atc-mgt01.dell-atc.lan:3001/"