TrueNAS monitoring with Topologix

Infrastructure & Networking

One integration per TrueNAS SCALE or CORE system, read with a read-only API key: pool health and capacity with the last scrub, disks with their SMART result and temperature, datasets near their quota, NFS / SMB / iSCSI shares, failed replication and snapshot tasks, and TrueNAS’s own alerts. Every few hours the iSCSI extents, initiator groups and NFS shares are read too, so a zvol LUN is linked to the VMware datastore it backs and an NFS share to the NFS datastore that mounts it.

Requirements

  • TrueNAS 25.04 or later answers over its JSON-RPC WebSocket API (wss://<host>/api/current). An older SCALE or CORE release that refuses the socket is read over the REST API /api/v2.0 instead — REST is removed in TrueNAS 26, so update before then.
  • An API key of a user with the built-in READONLY_ADMIN role (Credentials → Users → the user → API keys). Every call is a query; nothing is ever changed on the system.
  • The key’s user name: the login is auth.login_ex with mechanism API_KEY_PLAIN. Without it the older auth.login_with_api_key is used, which TrueNAS 26 deprecates and 27 removes — a note on the source says so.
  • HTTPS reach to the system from the server or a proxy agent (proxy 1.361.0 or later); Verify TLS certificate can be turned off for the default self-signed certificate.

1 · Set up the integration

  1. Open the Integrations pageClick Integrations in the toolbar and pick TrueNAS from the catalogue.
  2. Enter the system and the keyThe Address (https://truenas.example.com or just the address), the API key user name and the API key. The key is sealed at rest.
  3. Pick the topology cadenceStorage topology read sets how often the iSCSI extents, initiator groups and NFS shares are read — every 1–6 hours (default 3 h) or off. The value in effect and where it comes from are shown next to it.
  4. Create, then verifyClick Create, reopen the integration and click Test. It logs in, reads the host name and release and counts the pools. A refused key names the read-only role it needs.
Target on a private network? Route it through a proxy agent. Proxy agents run inside your network — behind NAT, on a management VLAN, in an air-gapped segment — and reach targets the Topologix server can't. The agent polls the server every 15 seconds for its assignments, runs the checks locally, and pushes results back every 5 seconds, so no inbound firewall rules are ever needed. Set a default proxy on the integration; every metric source can override it. If a proxy goes offline, its sources are marked stale within ~90 seconds and the last known values stay visible.

2 · Add it to a flow

  1. Select the storage nodeClick the node, open Metrics, then + Add and choose the TrueNAS integration.
  2. Adjust the thresholdsPool used % (default 85), Disk temperature °C (default 50), Dataset quota % (default 90) and Datasets read per poll (default 500). Each shows the value in effect and whether it is the default or this source’s.
  3. SaveSet the interval and click Add Source. On a Datacenter rack device the source supplies the system model, its serial number and the hottest disk temperature.
Live canvas screenshots for this integration require a real TrueNAS environment, so this guide shows the configuration screens only — the flow steps above work exactly like every other integration.

3 · What raises an alert

These rules are always on; the thresholds above decide what counts.

Red

A pool that is not ONLINE or reports itself unhealthy, a disk whose newest SMART test failed, and TrueNAS alerts of level ERROR, CRITICAL, ALERT or EMERGENCY.

Amber

Scrub errors, a disk over its temperature, a pool or a dataset quota over its threshold, a failed replication or snapshot task, and TrueNAS alerts of level WARNING. Dismissed alerts are not counted; each alert’s text goes through the organisation’s log redaction rules.

The topology read gives each iSCSI extent its SCSI identifier and each NFS share its paths and the addresses it is served on.

An extent’s naa value is the device name ESXi shows; a VMFS datastore whose extent has exactly that identifier is linked. Initiator groups are the hosts; a target group that allows every initiator names no host and is not linked.

Each enabled NFS share is an export with its networks and hosts as clients. The export addresses are the NFS service’s bind addresses, or every interface address when none is set.

Good to know

  • A read is bounded: at most 40 calls and 45 seconds a poll (the topology read: 300 calls, 90 seconds). Anything cut is marked truncated with a note.
  • Disk temperatures and the CPU history (the last hour’s mean) are read over the WebSocket API only.
  • A call the release does not have, or the key may not make, becomes a note on the source. Only a refused login fails the read.
  • TrueNAS reports no power draw, so a rack device shows its temperature but no watts.

All integrations →

See it on your own infrastructure

Book a demo and we will walk you through Topologix with your systems in mind: on our cloud, or self-hosted in your own network.