Multi-service health dashboard and monitoring tool. Monitor websites, APIs, SSL certificates, Docker containers, systemd services, infrastructure health, and more. All checks run locally. Optional Telegram notifications.
Use this skill when the user asks about:
Trigger phrases: "is everything healthy?", "what went down this week?", "when does my SSL cert expire?", "check if ollama is running", "monitor my services", "uptime stats", "disk usage", "service health", "infrastructure status"
If the database does not exist yet, run the setup script:
bash
bash setup.sh
This creates the data directory, installs the CLI tool, and initializes the database.
The CLI tool is nex-healthcheck. All commands output plain text.
Run health checks on monitored services:
bash
nex-healthcheck check # Run all enabled checks
nex-healthcheck check --service "nex-ai.be"
nex-healthcheck check --group "production"
nex-healthcheck check --tag "pi"
Add a service to monitor:
bash
nex-healthcheck add --name "nex-ai.be" --type http --target "https://nex-ai.be" --expected 200
nex-healthcheck add --name "HAL-9000" --type tcp --target "192.168.1.100" --port 2222
nex-healthcheck add --name "SSL nex-ai.be" --type ssl_cert --target "nex-ai.be"
nex-healthcheck add --name "Pi Docker Ollama" --type docker --target "ollama" --ssh-host "pi@192.168.1.100"
nex-healthcheck add --name "Pi Disk" --type disk --target "/" --ssh-host "pi@192.168.1.100" --group "pi-infra"
nex-healthcheck add --name "Cloudflare DNS" --type dns --target "nex-ai.be"
nex-healthcheck add --name "Life Logger" --type systemd --target "nex-life-logger" --ssh-host "pi@192.168.1.100"
nex-healthcheck add --name "Health API" --type ssh_cmd --ssh-host "user@server" --target "curl http://localhost:8000/health" --expected "ok"
Check types:
http: HTTP GET request, check status codetcp: TCP socket connection testdns: DNS resolution check (requires dig/nslookup)ssl_cert: SSL certificate expiry checkdocker: Docker container status (requires docker CLI or SSH)systemd: Systemd service status (requires systemctl or SSH)ssh_cmd: Run arbitrary command via SSHping: ICMP ping checkdisk: Disk usage checkbash
nex-healthcheck list # Show all monitored services
bash
nex-healthcheck remove --name "service-name"
bash
nex-healthcheck status # Quick status from last checks
bash
nex-healthcheck history --name "service-name" --days 7
nex-healthcheck history --name "service-name" --days 30
bash
nex-healthcheck incidents # Show active incidents
nex-healthcheck incidents --all # Show all incidents (active + resolved)
bash
nex-healthcheck uptime --days 30
nex-healthcheck uptime --days 7
bash
nex-healthcheck dashboard # Full dashboard view
bash
nex-healthcheck notify # Send current status to Telegram
Requires HEALTHCHECK_TELEGRAM_TOKEN and HEALTHCHECK_TELEGRAM_CHAT environment variables.
bash
nex-healthcheck config --set-token "YOUR_BOT_TOKEN"
nex-healthcheck config --set-chat "YOUR_CHAT_ID"
User: "Is everything healthy?"
Agent runs: nex-healthcheck dashboard Agent: Shows full health dashboard with all services grouped by category.
User: "When does my SSL cert expire?"
Agent runs: nex-healthcheck check --tag "ssl" Agent: Shows SSL certificate expiry dates for all monitored certificates.
User: "What went down this week?"
Agent runs: nex-healthcheck incidents --all Agent: Shows all incidents from the past week with start/end times.
User: "Check if Ollama is running on the Pi"
Agent runs: nex-healthcheck check --name "Pi Docker Ollama" Agent: Reports the container status.
User: "Show me uptime for the last month"
Agent runs: nex-healthcheck uptime --days 30 Agent: Displays uptime percentage, check success rate, and average response time.
User: "Monitor my nex-ai.be website"
Agent runs: nex-healthcheck add --name "nex-ai.be" --type http --target "https://nex-ai.be" --expected 200 --group "production" Agent: Confirms service added. Then nex-healthcheck check --service "nex-ai.be" to verify.
User: "Check disk usage on my server"
Agent runs: nex-healthcheck add --name "Server Disk" --type disk --target "/" --ssh-host "user@192.168.1.50" then nex-healthcheck check --name "Server Disk" Agent: Reports disk usage percentage and free space.
User: "Show me an incident history"
Agent runs: nex-healthcheck incidents --all Agent: Lists all past incidents with duration and status.
All CLI output is plain text, structured for easy parsing:
[Nex HealthCheck by Nex AI | nex-ai.be]When presenting output to the user, strip the footer line and present the information naturally.
~/.nex-healthcheck/. No data is sent externally.--ssh-host user@host.--interval when adding a service.HEALTHCHECK_TELEGRAM_TOKEN and HEALTHCHECK_TELEGRAM_CHAT.bind-utils (RHEL/CentOS) or dnsutils (Debian/Ubuntu) for DNS checks.--ssh-host.bash setup.sh to initialize.Built by Nex AI ( https://nex-ai.be) - Digital transformation for Belgian SMEs. Author: Kevin Blancaflor