NodeSentinel documentation
Troubleshooting
Systematically isolate and fix common connection, permission and proxy errors.
All agents are offline
- Check the agent process or container.
- Compare the agent name and key with the dashboard entry.
- Check DNS, the TLS certificate and reachability of the
wss://address. - At the reverse proxy, verify that WebSocket upgrades are allowed.
sudo systemctl status nodesentinel-agent.service
sudo journalctl -u nodesentinel-agent.service -n 100 --no-pager
curl -I https://monitor.example.comDashboard or agent logs
sudo journalctl -u nodesentinel.service -n 100 -f
sudo journalctl -u nodesentinel-agent.service -n 100 -f
# Docker Compose
docker compose logs --tail=100 -f dashboard
docker compose -f compose.agent.yaml logs --tail=100 -f agentUFW or Fail2Ban is missing
Check both the tool and permissions on the agent host:
sudo -n ufw status
sudo -n fail2ban-client statusThe appropriate enable flag and required mounts or sudo rules must be set. The hardened systemd unit intentionally prevents privilege escalation through sudo; do not remove NoNewPrivileges without a security review.
Docker containers are missing
docker ps -a
docker inspect nodesentinel-agentSet NODESENTINEL_ENABLE_DOCKER=1 and mount the Docker socket only if the root-equivalent trust boundary is acceptable. Restart the agent container after making changes.
HTTPS cannot be opened in the browser
- Test DNS resolution from the client.
- Check that the domain points to the proxy, not to the internal dashboard port.
- Test port 443 from the client and port 8888 directly from the proxy host.
- Use HTTP as the backend scheme in the proxy if the dashboard runs unencrypted internally.
- Enable WebSocket support at the proxy.
nslookup monitor.example.com
curl -v https://monitor.example.com
curl http://DASHBOARD-IP:8888/Port is already in use
sudo lsof -i :8888
# alternatively
sudo ss -ltnp | grep 8888Stop the competing process in a controlled manner or change the port mapping in the dashboard environment and proxy. Never blindly force-kill an unknown process.
History stops after disconnection
NodeSentinel does not buffer agent measurements across an offline period. After reconnection, history resumes with the current sample. Check network outages, proxy timeouts, system time and agent restarts. Event coverage is additionally limited by the source system's retention period.