Documentationv2.4.2

NodeSentinel documentation

Configuration

Manage agents, understand metrics, check availability and control data retention.

Add or remove agents

The dashboard configuration contains named agents. In push mode, every agent needs its own name and key.

nodesentinel.config.json
{
  "agents": {
    "HomeLab1": {
      "mode": "push",
      "key": "random-key-for-homelab1"
    },
    "Legacy-NAS": {
      "url": "https://nas.example.com:9100",
      "key": "stored-legacy-key",
      "ca_cert": "/opt/nodesentinel/certs/nas.crt"
    }
  }
}

Restart the dashboard after changes. If you remove an entry, that agent can no longer authenticate.

bash
sudo systemctl restart nodesentinel.service
# or with Compose:
docker compose restart dashboard

System metrics and history

Resources are stored once per minute and retained for 30 days. The browser refreshes the view every 15 seconds. Alongside CPU, memory and filesystems, NodeSentinel shows available data from these areas:

  • Temperatures, swap and drive I/O
  • Traffic rates for each network interface
  • NVIDIA GPU data through nvidia-smi
  • ZFS pools through zpool
  • Battery state and S.M.A.R.T. health when available

Loopback and typical virtual Docker interfaces are excluded from network rates. For containerised agents, network values describe the container namespace by default.

Docker metrics

After Docker access is explicitly enabled, NodeSentinel reads status, start times, restarts, CPU, memory and network usage per container. Network values are based on Docker counters and are approximate at very low traffic levels.

Availability checks

Checks run once per minute directly in the dashboard worker. A target is considered unavailable after two failed runs.

TypeTargetSuccess criterion
HTTPURLStatus below 400; certificates are verified
TCPHost and portA TCP connection is established
PingHost or IPICMP reply
DNSHostnameName can be resolved

Outages are not stored as long-term history. Alerts and recoveries are sent to the selected channels.

Data and backups

Settings, login credentials and SQLite databases are stored in the dashboard state directory. Protect and back up that directory or the corresponding Docker volume. Run exactly one dashboard worker so writes do not compete.

  • Resource history: 30 days
  • Temperature and event data for reports: approximately 25 hours
  • Offline periods: Missing agent measurements are not recreated after reconnection.