health

Solid

Service/infra health via liveness/readiness checks, resource usage, quick diagnostics. Triggers: health check, services up, system status, infra health, degraded service.

AI & Automation 155 stars 19 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
73
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Health Check $ARGUMENTS Check the health of all project services. ## Project context - Services: !`docker compose ps 2>/dev/null || echo "no-docker"` ## Auto-Detection Detect services from `docker-compose.yml`, `.env`, or project configuration. ### Quick Check ```bash # If using Docker Compose docker compose ps # Process check (bare metal) ps aux | grep -E "(node|python|java|php)" | grep -v grep ``` ## Common Service Checks | Service | Health Check | |---------|-------------| | HTTP API | `curl -f http://localhost:{port}/health` | | PostgreSQL | `pg_isready -h localhost -p 5432` | | MySQL | `mysqladmin ping -h localhost` | | Redis | `redis-cli ping` | | MongoDB | `mongosh --eval "db.runCommand({ping:1})"` | | Elasticsearch | `curl -f http://localhost:9200/_cluster/health` | | RabbitMQ | `curl -f http://localhost:15672/api/healthchecks/node` | ## Diagnostics ```bash # Container logs (if Docker) docker compose logs --tail 50 {service} # Resource usage docker stats --no-stream # Docker htop # Bare metal # Disk usage df -h # System docker system df # Docker # Network netstat -tlnp # Listening ports curl -I http://localhost:{port} # Connectivity ``` ## Common Issues | Symptom | Check | Solution | |---------|-------|----------| | Service not responding | Process running? Port open? | Restart service | | Slow responses | Resource usage, connections | Scale or optimize | | Connection refused | Net...

Details

Author
softspark
Repository
softspark/ai-toolkit
Created
2 months ago
Last Updated
2 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category