NodeSentinel documentation
Quick start
Connect the dashboard and your first agent in a few steps using the recommended Docker Compose installation.
Download the repository
The repository files include both Compose definitions and all sample configurations.
git clone https://github.com/TheArchitect998/NodeSentinel.git cd NodeSentinelRegister the agent in the dashboard
Copy the sample configuration and replace its name and key. Use a unique strong key of at least 16 characters.
{ "agents": { "HomeLab1": { "mode": "push", "key": "ENTER_A_RANDOM_KEY_HERE" } } }cp nodesentinel.config.example.json nodesentinel.config.json chmod 600 nodesentinel.config.json openssl rand -base64 32Initialise the password and start the dashboard
docker compose pull docker compose run --rm dashboard /usr/local/bin/nodesentinel dashboard setup docker compose up -d docker compose psThen open
http://localhost:8888. Use an HTTPS reverse proxy for access from the network.Start the agent on a monitored host
Create a protected
.envin the agent directory. The name and key must exactly match the dashboard entry.NODESENTINEL_AGENT_NAME=HomeLab1 NODESENTINEL_AGENT_KEY=THE_SAME_RANDOM_KEY NODESENTINEL_HUB_URL=wss://dashboard.example.comchmod 600 .env docker compose -f compose.agent.yaml pull docker compose -f compose.agent.yaml up -d
Secure it before enabling network access
The Compose default binds the dashboard only to localhost. For remote access, use HTTPS and WebSocket support at the reverse proxy. Never transmit agent keys unencrypted across a network.
Verify the installation
- The agent appears as online in the dashboard.
- CPU and memory metrics update.
- A test alert reaches the desired channel.
- Dashboard and agent configuration files cannot be read by other users.