Integrations

Glances

Expose the Glances API, configure Basic Auth, and connect NasDash.

NasDash automatically attempts the Glances APIs /api/5/all, then /api/4/all, /api/3/all, and /api/2/all. The port suggested by the interface is 61208.

Start Glances in Web Mode

Depending on your Glances installation:

glances -w

Verify from the NasDash container, using a reachable hostname. Avoid publishing the response body or credentials in bug reports:

docker compose exec nasdash node -e "fetch('http://glances.example.com:61208/api/4/all').then(r => console.log(r.status, r.headers.get('content-type'))).catch(console.error)"

The exact API version depends on the installed version; NasDash tries several generations. Refer to the official Glances API documentation.

In NasDash

  • Save a Glances connection in Settings → Integrations.
  • Enter a base URL reachable from the container, normally on 61208, or the full working API endpoint.
  • Add username/password only for Basic authentication.
  • Add a machine using this shared connection.

NasDash can display CPU, RAM, file systems, temperatures, and GPU depending on the data actually returned. If the API returns an HTML page, check the URL and reverse proxy; NasDash expects JSON.

Diagnose endpoint and process failures

NasDash caches the first working endpoint. A JSON 200 is usable; 404 suggests the wrong API version, while 401/403 require checking authentication. HTML usually indicates a dashboard, login or proxy error page. Timeouts, ECONNREFUSED and ENETUNREACH are retryable reachability failures. If Glances logs OSError: [Errno 24] No file descriptors available, restart/update Glances and inspect its resource limits: rebuilding NasDash will not repair that remote process.

CPU temperatures on Synology DSM

Glances may expose an unnamed CPU sensor as k10temp 0 on Synology DSM. NasDash recognizes this label alongside package, core, Tctl, Tdie and cpu_thermal readings. Temperature display still requires a numeric Celsius reading in the Glances API response; fan speeds, battery percentages and invalid values are excluded. A machine without a GPU does not report GPU readings. If temperature remains absent, inspect the sensors section of the working /api/<version>/all endpoint and the Glances version; share only sanitized sensor entries, never the full response or credentials.