Documentationv2.4.2

NodeSentinel documentation

Troubleshooting

Systematically isolate and fix common connection, permission and proxy errors.

All agents are offline

  1. Check the agent process or container.
  2. Compare the agent name and key with the dashboard entry.
  3. Check DNS, the TLS certificate and reachability of the wss:// address.
  4. At the reverse proxy, verify that WebSocket upgrades are allowed.
bash
sudo systemctl status nodesentinel-agent.service
sudo journalctl -u nodesentinel-agent.service -n 100 --no-pager
curl -I https://monitor.example.com

Dashboard or agent logs

bash
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 agent

UFW or Fail2Ban is missing

Check both the tool and permissions on the agent host:

bash
sudo -n ufw status
sudo -n fail2ban-client status

The 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

bash
docker ps -a
docker inspect nodesentinel-agent

Set 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

  1. Test DNS resolution from the client.
  2. Check that the domain points to the proxy, not to the internal dashboard port.
  3. Test port 443 from the client and port 8888 directly from the proxy host.
  4. Use HTTP as the backend scheme in the proxy if the dashboard runs unencrypted internally.
  5. Enable WebSocket support at the proxy.
bash
nslookup monitor.example.com
curl -v https://monitor.example.com
curl http://DASHBOARD-IP:8888/

Port is already in use

bash
sudo lsof -i :8888
# alternatively
sudo ss -ltnp | grep 8888

Stop 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.