Post-Installation Health Check
The Microsoft Intune admin center shows basic tunnel server status, but when I’m SSH’d into a server troubleshooting, I need answers faster.
This health check script shows everything in seconds. I run it right after installation to verify everything works, and whenever I’m troubleshooting to see what’s broken.
GitHub Repository:
What it checks:
-
Service and container status (mst-cli health + Docker/Podman container validation)
-
Configuration files and sync status from logs
-
Certificate expiration (warns if under 30 days)
-
Recent errors in logs (last 30 minutes of mstunnel-agent, mstunnel_monitor, ocserv)
-
Server configuration (routes, DNS, ports from admin-settings.json)
- Listening ports









