| name | smoke-test |
| description | Hit /health on all 10 cz-agents containers on Hetzner and print a status table (name | port | version | status). Use after any deploy or to verify production state. |
| disable-model-invocation | true |
smoke-test
Check health of all cz-agents MCP containers on Hetzner production.
Run this Bash command via SSH
ssh -i ~/.ssh/id_rsa_macbook martin@91.98.119.223 "
printf '%-25s %-6s %-10s %s\n' 'SERVICE' 'PORT' 'VERSION' 'STATUS'
printf '%-25s %-6s %-10s %s\n' '-------' '----' '-------' '------'
for entry in 'cz-agents-ares:3030:3030' 'cz-agents-cnb:3031:3031' 'cz-agents-sanctions:3032:3030' 'cz-agents-dd:3033:3030' 'cz-agents-isir:3034:3030' 'cz-agents-adis:3035:3030' 'cz-agents-realestate:3036:3036' 'cz-agents-ddplus:3037:3030' 'cz-agents-realestate-pro:3038:3030'; do
name=\$(echo \$entry | cut -d: -f1)
port=\$(echo \$entry | cut -d: -f2)
internal=\$(echo \$entry | cut -d: -f3)
resp=\$(docker exec \$name wget -qO- http://localhost:\$internal/health 2>/dev/null || echo '{\"status\":\"DOWN\"}')
ver=\$(echo \$resp | grep -oP '\"version\":\"\\K[^\"]+' || echo '-')
st=\$(echo \$resp | grep -oP '\"status\":\"\\K[^\"]+' || echo 'DOWN')
printf '%-25s %-6s %-10s %s\n' \$name \$port \$ver \$st
done
"
Expected output
All services should show ok. Any DOWN needs investigation.
Also check webapp
ssh -i ~/.ssh/id_rsa_macbook martin@91.98.119.223 "curl -so /dev/null -w '%{http_code}' http://127.0.0.1:3050/api/health || echo DOWN"