NEXItaliano

NEX › Manual pages › nex-dashd(8)

NEX-DASHD(8) NEX Administration NEX-DASHD(8)

nex-dashd - NEX web dashboard

nex-dashd [--listen IP] [--port PORT] [--cert FILE --key FILE] [--version]

Runs on every node as a systemd service (nex-dashd.service) and serves over HTTPS (default https://NODE:7443, node certificate in /etc/nex/pki) a read-only dashboard: nodes, load, memory, shared filesystem and disks, measurement history, NEXFS state, processes, detached jobs and queue, services, devices of /devnodes, logs. Any node will do: the data are those of the whole cluster.

Users log in with the name and password of a cluster user (or of root). Each user sees what they would see with nex ps, nex jobs, nex logs: their own processes and jobs; root sees everything. The data are requested from the local agent on behalf of the user; the NEXFS state comes from nexfsctl health and nexfsctl node list with the node's NEXFS configuration and certificate (cached for 15 seconds).

Without --listen it listens on all interfaces, IPv4 and IPv6. With --listen a single address is chosen, IPv4 or IPv6.

Under /api/v1/ there is the HTTP/JSON API for scripts and programs (complete guide in /usr/share/doc/nex-cluster/api.md). Clients authenticate with a token created by nex token create (nex(1)), sent as Authorization: Bearer. Reads with GET (me, nodes, ps, jobs, queue, services, alarms, cron, locks, devices, ports, tokens, snapshots, logs, storage, acct, audit, metrics, kv, mq/len); actions with POST and DELETE (detached jobs, queue, services, manual snapshots, acknowledgement of alarms, kv, pub, mq/push, mq/pop), only with a token that is not read-only. Every action is performed by the agent on behalf of the token's user, with that user's permissions and no more. The browser session is valid for reads only.

After 5 failed login attempts (or API tokens) within 5 minutes from an address, that address waits 5 minutes. Every login response takes at least 300 ms, right or wrong, whether the user exists or not: the timing does not reveal which names exist. The session uses a random 256-bit token in an HttpOnly, Secure, SameSite=Strict cookie; it expires after 30 minutes of inactivity and in any case after 12 hours. The login accepts JSON only. Content Security Policy with no scripts in the page, no caching of responses. The service runs as root (it reads the shadow file and the node's private key, which never leaves the node) with the rest of the system read-only.

The browser must trust the cluster CA (/etc/nex/pki/ca.crt, to be imported once) and reach the node by its name (https://node-a:7443): the certificate carries the node name, not the IP address.

nex(1), nexagentd(8), nex-devnodes(8), nexfsctl(8)

October 2026 nex-dashd 1.8.0