This commit is contained in:
2026-02-02 12:29:00 +09:00
parent f8f5cef6e1
commit 495ef7d86c
175 changed files with 45128 additions and 0 deletions

23
scripts/health-check.sh Normal file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
# Health Check Script with Authentication
BASE_URL="http://localhost:8080"
echo "================================"
echo "1. Health Check (No Auth)"
echo "================================"
curl -s "${BASE_URL}/monitor/health" | jq .
echo ""
echo "================================"
echo "2. Health Check with Details (With Auth)"
echo "================================"
curl -s -u admin:admin123 "${BASE_URL}/monitor/health" | jq .
echo ""
echo "================================"
echo "3. DiskSpace Only (With Auth)"
echo "================================"
curl -s -u admin:admin123 "${BASE_URL}/monitor/health" | jq '.components.diskSpace'
echo ""