health-probe

Solid

Health probes for both sides of the AGI stack — openclaw + arifOS MCP

AI & Automation 49 stars 8 forks Updated today AGPL-3.0

Install

View on GitHub

Quality Score: 80/100

Stars 20%
57
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Health Probe — AGI Stack Monitor Triggers: "health", "probe", "is everything ok", "check stack", "gateway health", "arifos health", "container health", "is arifos sick", "system status" --- ## On Trigger — Run Full Probe ### 1. arifOS MCP Side ```bash curl -sf http://arifosmcp:8080/health | jq '{status, tools_loaded, version, uptime}' ``` Expected: `status: "healthy"`, `tools_loaded: 13` Alert if: `tools_loaded < 13` or status != "healthy" ### 2. OpenClaw Gateway Self ```bash curl -sf http://localhost:18789/ | head -c 200 2>/dev/null && echo "GATEWAY_UP" || echo "GATEWAY_UNREACHABLE" ``` ### 3. All Containers Status ```bash docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}" | grep -v "^NAME" ``` Flag any container NOT showing `healthy` or `Up`: - `unhealthy` → CRITICAL - `Exited` / `Restarting` → CRITICAL - `Up X minutes` without `healthy` → WARNING (check if has healthcheck) ### 4. Disk Check ```bash df -h / | awk 'NR==2 { used=$5+0 if (used > 85) print "DISK_CRITICAL: " used "% used" else if (used > 75) print "DISK_WARNING: " used "% used" else print "DISK_OK: " used "% used" }' ``` ### 5. RAM Check ```bash free -h | awk '/^Mem:/ { total=$2; avail=$7 print "RAM: total=" total " available=" avail }' docker stats --no-stream --format "{{.Name}}: {{.MemUsage}}" | sort -t'/' -k1 -rh | head -5 ``` ### 6. Ollama Models Available ```bash docker exec ollama_engine ollama list 2>/dev/null | tail -n +2 ``` ### 7. Log the probe result ```b...

Details

Author
ariffazil
Repository
ariffazil/arifos
Created
8 months ago
Last Updated
today
Language
Python
License
AGPL-3.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category