Update public and mirrored in-app Help across FAQ, ZFS monitoring, TrueNAS, Prometheus metrics, and Scheduler Health, with source-bound regression tests in scripts/tests/test_public_docs_claims.py: - Document Storage Pools staleness (#5346) in docs/FAQ.md, docs/ZFS_MONITORING.md, docs/TRUENAS.md, and their mirrored copies under frontend-modern/public/docs/: clear stale pools switch to amber Stale (leaving Status: Healthy for Status: Needs attention and Status: Warning, sorting ahead of fresh healthy pools, and grouping under stale), severe states and alert headlines stay visible with an inline Stale data cue and retained usage bars, search matches stale labels and source errors, and expanded drawers surface the stale State reason under Worth checking while deferring inline Capacity History as last known. - Document unfinished poll-planning visibility (#5348) and panic-recovery logging under the running claimed-poll stage (#5344) in docs/monitoring/PROMETHEUS_METRICS.md and docs/api/SCHEDULER_HEALTH.md so operators know to inspect pulse_scheduler_poll_planning_age_seconds when queue and claimed-poll overdue gauges stay zero while poll counters stall. - Bind both Help updates directly to the frontend Storage Pool presentation and backend poll-work progress sources in scripts/tests/test_public_docs_claims.py. Contract-Neutral: Documentation, mirrored in-app Help, and documentation consistency tests only; no runtime, API, polling, alert, telemetry, or UI code contract changes. Change-source: pulse-maintainer
42 KiB
TrueNAS Integration
Pulse v6 includes first-class monitoring for TrueNAS SCALE and TrueNAS CORE systems. TrueNAS data flows through the unified resource model, appearing alongside Proxmox, Docker, Kubernetes, and host agent data throughout the UI.
Quick Start
- Go to Settings → Infrastructure.
- Click Add infrastructure and choose TrueNAS. Existing connections are listed under Connected systems.
- Enter the TrueNAS URL (e.g.,
https://truenas.local), the API key, and the username that owns the key. - Click Test connection, then Add connection. The test reads system information on a separate connection; it does not validate inventory or metric collection.
- Leave the saved connection enabled and allow at least one configured polling interval (60 seconds by default). Check that the appliance and expected inventory appear. If they do not, follow the polling checks without repeatedly testing or restarting; an elapsed interval is not proof that a poll completed.
Creating a TrueNAS API Key
On your TrueNAS system:
- Navigate to Settings → API Keys (SCALE) or System → API Keys (CORE).
- Click Add and create a new key.
- Copy the key value and paste it into Pulse.
Tip
: Pulse uses the supported JSON-RPC WebSocket API on TrueNAS 25.04 and later. TrueNAS 26 removes the former REST API entirely. API keys inherit the linked user's roles, so enter the key owner's username and ensure that user can read the methods Pulse polls. Native app control actions require the corresponding TrueNAS app permissions. Recognized legacy SCALE and CORE releases continue to use the version-gated REST compatibility path.
What Gets Monitored
| Data | Pulse page / tab | Details |
|---|---|---|
| System info (hostname, version, uptime) | TrueNAS → Overview | CPU, memory and ARC cache, health status |
| ZFS Pools | TrueNAS → Storage | Total/used/free capacity, pool status (ONLINE/DEGRADED/FAULTED), and stale-source Stale / Stale data cues when polling is quiet or impaired |
| ZFS Datasets | TrueNAS → Storage | Used/available space, mount status, read-only flag |
| Physical Disks | TrueNAS → Storage | Model, serial, size, transport type, rotational flag, temperature, and native SMART failure/counter evidence when TrueNAS reports it |
| System services | TrueNAS → Services | Service state (SMB, NFS, SSH, SMART, etc.), boot-start warnings (should be running), and stale-source not updated notices |
| Apps | TrueNAS → Apps | Native app state, image/version, ports, volumes, networks, and runtime container details |
| Virtual machines | TrueNAS → VMs | State, CPU, memory, boot mode, devices, and security flags from the TrueNAS VM API |
| Network shares | TrueNAS → Shares | Protocol, path, access flags, allowed clients, security mapping, and share status |
| ZFS Snapshots | TrueNAS → Protection | Dataset, creation time, size, referenced data |
| Replication Tasks | TrueNAS → Protection | Source/target datasets, direction, last run status |
| TrueNAS Alerts | TrueNAS → Overview (Health Alerts) and Alerts | Native TrueNAS alert messages, severity levels, and stale-source cues when TrueNAS polling is quiet or impaired |
Unified Resource Mapping
TrueNAS resources are mapped into the unified resource model:
- TrueNAS host → appears as a resource with
source: truenasunder TrueNAS → Overview (/truenas/overview). - ZFS pools, datasets and physical disks → appear under TrueNAS → Storage (
/truenas/storage). - System services → appear under TrueNAS → Services (
/truenas/services). - TrueNAS apps → appear as canonical
app-containerworkloads under TrueNAS → Apps (/truenas/apps). - TrueNAS VMs → appear as canonical
vmworkloads under TrueNAS → VMs (/truenas/vms). - Network shares → appear as canonical
network-shareresources under TrueNAS → Shares (/truenas/shares). - ZFS snapshots and replication → appear under TrueNAS → Protection (
/truenas/protection) as recovery points. - TrueNAS alerts → surfaced in Health Alerts on TrueNAS → Overview (
/truenas/overview) and on the Alerts page alongside Proxmox and other platform alerts. When TrueNAS reporting goes stale or hits a collection error, Health Alerts rows keep their Critical, Warning, and Info severity indicators, show an amber Stale data cue beneath the affected resource name, match stale labels and collection-error text in search, and display an amber drawer notice (This alert reflects the last report received and may no longer be current.) that clears automatically when live polling recovers.
TrueNAS drive-health alerts that identify a specific disk remain disk-health evidence after they are dismissed in TrueNAS. Dismissal acknowledges the notification; Pulse continues to show the affected disk risk while TrueNAS continues to report the underlying SMART condition. Other dismissed TrueNAS alerts remain suppressed. When a supported SMART alert includes TrueNAS's typed uncorrectable-error or spare-reserve argument, Pulse also projects that value into the disk's SMART details. Pulse does not infer counters from alert text, and current TrueNAS APIs do not expose every raw SMART attribute.
The unified resource model is a backend contract, not a top-level Infrastructure, Storage or Recovery menu. TrueNAS tabs follow the inventory Pulse has collected; an absent tab is not proof of successful collection. For missing or stale data, use the polling checks before testing the connection or restarting.
Read TrueNAS protection evidence
Open TrueNAS → Protection (/truenas/protection) and clear the search and
outcome filter to All. The Healthy filter selects fresh successful
events. It does not certify that every dataset is protected. The event count is
not a complete backup inventory: collection is bounded to 500 snapshots and 200
replication tasks per collection, and retained events can outlive their source
artifact.
When an owning TrueNAS system hits a collection error, stops reporting fresh telemetry, or goes offline in Pulse, TrueNAS → Protection marks its cached snapshots and replication tasks as stale instead of leaving them green Healthy or pulsing Running:
- Owning-system matching: Pulse matches each event to its TrueNAS system by connection ID or provider scope first (keeping appliances that share a hostname isolated), then by unambiguous hostname, falling back only when host metadata is absent and every connected TrueNAS system is stale.
- Filters, ranking and search: Stale Healthy and stale Running events are excluded from the Healthy and Running filter counts, included in Attention, and selectable with the amber Stale filter chip that appears alongside Attention whenever stale events exist. Default ordering ranks stale events ahead of fresh ones (behind Failed and Warning), and search matches stale labels, detail text and system names.
- Row badges: Stale Healthy rows display an amber Stale data outcome badge (Stale on phones). Stale Failed, Warning, muted non-pulsing Running, and Unknown rows keep their primary outcome badge and add an amber Stale data cue beneath the dataset name.
- Expanded detail and live recovery: Expanding a stale row shows an amber
warning notice (
Readings from <system> may be out of date./Showing the last reported protection event. Newer snapshots, replication runs, or failures may be missing.) and replaces Outcome with Status (Stale data) and Last reported (the last reported outcome). Live WebSocket updates clear these stale indicators automatically once TrueNAS polling recovers.
| Row kind | What it records | What to check separately |
|---|---|---|
| Snapshot, target Local ZFS | A snapshot observed on the source TrueNAS system | It is not an independent copy. Confirm the snapshot still exists and can survive the failure you need to recover from. |
| Replication | A task's reported last-run state and source/target details | A configured task, Running or Unknown is not a completed copy. Confirm the intended target and its existing received snapshot in TrueNAS. |
Expand the row, including on a phone, and compare it with the same existing record in TrueNAS:
- Identify the source. Compare Host, Dataset, Full name or Snapshot. For replication also compare Task ID, Source datasets, Target dataset and Direction. Similar dataset or task names on two appliances do not identify the same copy. A target dataset name or the API's remote mode alone does not establish a separate machine or failure domain; confirm the actual destination in TrueNAS.
- Read the outcome and times together. Started, Completed and Last snapshot describe collected evidence, not a restore test. Running remains incomplete even if a timestamp is present. A successful snapshot observation does not establish successful replication. Missing snapshot creation time is Unknown: the row has no Completed timestamp. A new collection cannot make an undated snapshot newer. Earlier releases could show collection time as Completed; those undated records are corrected on upgrade without deleting snapshot history. To judge backup age or retention, confirm the native snapshot's creation time. Replication reporting success with no known last-run time is Unknown, not a newly completed copy. Failed, Warning and Running remain visible even without that time; missing dates do not clear a reported problem. Failed and warning events remain in Attention, without an invented timestamp.
- Check the destination without starting work. Use the provider's existing received-snapshot and task records. Confirm the same source snapshot, target and successful transfer result. Missing Verified, Size or timestamp fields are unavailable evidence, not a failed verification or a zero-sized backup. Snapshot Size is reported used space, not the size of a complete independent backup or replication transfer.
A green TrueNAS connection does not prove that snapshot or replication reads succeeded. If records are absent or disagree, keep the existing native evidence and follow the stale-data checks; do not assume an empty or filtered list means no backups. Do not run a new snapshot, replication, verification or restore, delete records, change retention or widen permissions just to make the views agree. Keep full dataset paths, appliance names, credentials and inventories private; report only the version, affected view, time and a consistently aliased comparison.
For actual recovery, use TrueNAS's procedure and an isolated destination, not the live dataset as a diagnostic target. See what recovery evidence establishes. Neither a successful event nor a corrected display proves application recovery or guest thaw. For an unresponsive guest or uncertain freeze/thaw, stop this comparison and use Backup safety.
Disk temperature and health
In TrueNAS → Storage, read the disk's Health reason and details, not only its colour. Heat, native SMART faults and stale or missing readings are separate evidence. A cool disk can still have a SMART fault; a retained last known temperature is not a current reading, and no temperature is not zero.
Check the saved rule in Alerts → Thresholds → TrueNAS → Disks:
- A disk's own temperature override takes precedence over the Disks default. With neither set, it inherits Disk temperature by type.
- The inherited type policy is off when the agent Disk Temp default is off; an explicit TrueNAS temperature rule can still enable it for TrueNAS disks.
- Thresholds are in °C. Finish with Save Changes; an unsaved edit is not the running rule. See Off and inheritance.
Off is not recovery. Switching off global or platform alerts silences alerts, not collection or disk-health evidence. Switching off a disk's Temperature rule disables that rule, not its native SMART faults. Acknowledging or dismissing a TrueNAS SMART alert does not repair the disk; its risk remains while TrueNAS still reports the condition.
Storage temperature judgement: temperature colouring and its heat reason
use the saved per-disk temperature override, then the TrueNAS-wide default,
then the inherited agent/by-type policy. An Off or disabled temperature policy
leaves the reading visible but unjudged; a last known reading is never current
heat. When TrueNAS polling goes stale or hits a collection error, clear physical
disks switch from Healthy to amber Stale (leaving the Healthy filter
and joining Attention and Warning), while Replace Now and Needs
Attention verdicts stay visible with an inline amber Stale data cue
beneath the disk name. Stale temperatures and SSD Life remaining values
render as muted last-known readings without triggering Running Hot, disk
search matches stale labels and source errors, and expanding the disk shows an
amber notice (Stale data. Retained last-known disk readings.) while deferring
temperature and SMART history charts as last-known values until live polling
recovers. A display mismatch is not proof that your saved rule failed. Compare the same disk, observation time and saved threshold with
its existing TrueNAS reading and SMART state; do not raise thresholds, run new
SMART tests, force a probe or restart merely to make the views agree.
If reporting a mismatch, include only the disk type, saved threshold, redacted reason, time and whether the reading is current or last known. Use consistent aliases instead of hostnames, disk serials or device identifiers; keep the full diagnostics and configuration private. For missing or stale collection, use the polling checks, not repeated connection tests.
Multiple TrueNAS Systems
Add as many TrueNAS connections as needed. Each connection is polled independently. Resources from all connected systems are merged into the unified view.
Configuration
Environment Variables
| Variable | Description | Default |
|---|---|---|
PULSE_ENABLE_TRUENAS |
Enable/disable TrueNAS integration | true |
PULSE_TRUENAS_POLL_TIMEOUT |
Maximum duration for one full TrueNAS inventory refresh (Go duration, such as 45s or 2m). Bounds the whole refresh rather than individual API requests. Invalid or non-positive values log a warning without printing the value and keep the 45s default. |
45s |
Storage
TrueNAS connection credentials are stored encrypted in truenas.enc in the Pulse data directory (/etc/pulse or /data).
API Reference
All endpoints require admin authentication.
| Method | Endpoint | Description |
|---|---|---|
GET |
/api/truenas/connections |
List all configured TrueNAS connections |
POST |
/api/truenas/connections |
Add a new TrueNAS connection |
DELETE |
/api/truenas/connections/{id} |
Remove a TrueNAS connection |
PUT |
/api/truenas/connections/{id} |
Update a saved connection; send only the fields to change, and never a masked secret |
POST |
/api/truenas/connections/test |
Test a connection before saving |
Testing and adding a connection (API)
Prefer Settings → Infrastructure (Add infrastructure) for setup. These API examples are for an authorised administrator using curl 7.76 or later, not a way to diagnose stale polling. Testing makes a live system-information request to TrueNAS; saving creates a connection and starts ordinary polling. Do not use either during a backup, freeze/thaw or an unresponsive-host incident.
First prepare a private Pulse header file using the API token file procedure, with the admin access needed for connection management. The Pulse token authenticates to Pulse; the separate TrueNAS API key belongs in the connection's JSON file. Enter credentials only in your local editor, never in arguments, URLs or a thread.
On a trusted machine, as the account running curl, prepare the connection file below. Stop if either file-preparation step fails. This preserves an existing file, restricts the directory and refuses symlinked credential paths or a non-regular connection file before opening the editor:
(
set -eu
umask 077
config_dir="$HOME/.config/pulse"
connection_file="$config_dir/truenas-connection.json"
if [ -L "$HOME/.config" ] || [ -L "$config_dir" ] || [ -L "$connection_file" ]; then
printf 'Refusing a symlinked credential path.\n' >&2
exit 1
fi
if [ -e "$connection_file" ] && [ ! -f "$connection_file" ]; then
printf 'Connection file must be a regular file.\n' >&2
exit 1
fi
mkdir -p "$config_dir"
chmod 700 "$config_dir"
touch "$connection_file"
chmod 600 "$connection_file"
vi "$connection_file"
)
In the editor, save a JSON object with name, host (the TrueNAS HTTPS URL),
username (the key owner) and apiKey. Keep both credential files private and
outside repositories and diagnostics. Do not upload them.
The following examples run on the Pulse host, using its direct loopback
address. They ignore curl configuration, do not follow redirects or retry,
and retain each response in a new private local file. Responses and errors can
contain identifying details or echoed credentials; review them locally, not in
a public terminal recording or thread. Keep --disable first so local curl
configuration cannot enable tracing or change the request.
Test once without saving:
(
set -eu
umask 077
result_file=$(mktemp "$HOME/.config/pulse/truenas-test.XXXXXX")
printf 'Private response file: %s\n' "$result_file"
status=$(curl --disable --fail-with-body --silent --show-error \
--connect-timeout 5 --max-time 20 --proto '=http' --noproxy 127.0.0.1 \
--header "@$HOME/.config/pulse/api-header" \
--header 'Content-Type: application/json' \
--data-binary "@$HOME/.config/pulse/truenas-connection.json" \
--output "$result_file" --write-out '%{http_code}' \
http://127.0.0.1:7655/api/truenas/connections/test)
printf 'HTTP %s\n' "$status"
[ "$status" = 200 ]
)
Require exit 0, HTTP 200 and success: true in that private test response.
A redirect, HTTP error or 000 is not a successful test. Test success is not
inventory, metric or guest-thaw acceptance.
Only after reviewing the test response, create the connection once:
(
set -eu
umask 077
result_file=$(mktemp "$HOME/.config/pulse/truenas-save.XXXXXX")
printf 'Private response file: %s\n' "$result_file"
status=$(curl --disable --fail-with-body --silent --show-error \
--connect-timeout 5 --max-time 20 --proto '=http' --noproxy 127.0.0.1 \
--header "@$HOME/.config/pulse/api-header" \
--header 'Content-Type: application/json' \
--data-binary "@$HOME/.config/pulse/truenas-connection.json" \
--output "$result_file" --write-out '%{http_code}' \
http://127.0.0.1:7655/api/truenas/connections)
printf 'HTTP %s\n' "$status"
[ "$status" = 201 ]
)
A successful save returns HTTP 201 and the new connection's id, not
proof of a complete poll. If saving times out or loses its response, it may
already have created the connection. Check Connected systems or
/api/truenas/connections in your existing signed-in Pulse browser before
trying again; do not blindly repeat POST and create duplicates. Continue with
the ordinary polling checks for collection acceptance.
For remote Pulse access, replace the loopback origin in the relevant command
with your trusted HTTPS origin and change --proto '=http' to
--proto '=https'. Keep certificate verification enabled. For a private CA,
add --cacert /path/to/trusted-ca.pem using a CA obtained independently from
your administrator, not from the failing connection. Do not add --insecure,
--location, verbose/trace flags or automatic retries. Share only the relevant
HTTP status and a manually redacted error, never the full response or headers.
Troubleshooting
"TrueNAS service unavailable"
This exact Pulse error (truenas_unavailable, HTTP 500 or 503) means
Pulse's connection-management handler or configuration persistence is unavailable
for that request. It does not establish that the TrueNAS appliance is down,
that its API key is invalid, or that an ordinary poll failed.
Keep the existing failed request's path, HTTP status, error code and time from your signed-in browser's Developer tools → Network panel; do not repeat a save, delete or test to collect them. Inspect a bounded Pulse startup/service log excerpt locally, using the readers below. Do not rotate the TrueNAS key, recreate the saved connection or weaken TLS verification to clear this error. Share only the Pulse version, request path, status/code and a manually redacted error, not the full response, configuration, key or session cookie.
Distinguish these other results before choosing an action:
truenas_disabled/ HTTP 404: Pulse's TrueNAS integration is explicitly disabled. Check the intendedPULSE_ENABLE_TRUENASsetting privately; this is not an appliance outage or an instruction to override an intentional opt-out.truenas_connection_failed/ HTTP 400: a live connection test failed. Use its retained error to distinguish reachability, TLS, API-key ownership or read-permission problems. Keep HTTPS and certificate verification enabled; TrueNAS 25.04 and later usejsonrpc-websocket, while recognized CORE 13 systems use legacy REST. Do not probe current TrueNAS through removed/api/v2.0endpoints or repeatedly test to diagnose ordinary collection.- Test succeeds but data is missing or stale: Test reads system information on a separate connection, not inventory or metric collection. Use the polling checks and existing observation times instead of changing credentials or treating the test time as recovered freshness.
No data appearing after adding connection
- Allow one configured polling cycle (60 seconds by default), not a fixed 30-second wait. Check that the saved connection is enabled.
- Test connection reads system information on a separate connection. Pools, datasets, disks and alerts can still fail during ordinary polling, even when the test succeeds. A successful test also does not establish live CPU, memory or History readings. The legacy REST diagnostic is expected for recognized CORE 13 systems, and it is not itself a connection error.
- Preserve the existing error before testing or restarting. Follow the polling checks to distinguish a completed failure from missing or stale observations; a connection test is not a substitute.
If a local log excerpt is needed, use the
bounded Pulse log readers.
Despite that section's notification heading, the unfiltered readers also
cover TrueNAS polling and startup errors; no request ID is required. Choose
only the reader for the deployment running Pulse, using an account
authorised to read its logs. For Proxmox LXC, run it inside the Pulse
container, not on the Proxmox host or the TrueNAS appliance. Substitute the
actual service or container name (pulse-backend on some older systemd
installs), and adjust the time window to the original incident.
Those Bash recipes read at most 200 records from the last 15 minutes and
require GNU timeout and the listed local utilities, with an eight-second
hard deadline and a 256 KiB byte limit. A record limit alone does not bound
a hung reader or a large record. If a required utility is unavailable, stop;
do not use an unbounded substitute. They do not follow logs, make API requests
or change logging. The linked reader explains its owner-only temporary file
and cleanup precautions.
Both output streams are captured because Docker can write application logs
to stderr. An excerpt is shown only after a successful read; failure or
timeout withholds partial output and reports the exit code. A nonzero reader
exit, denied read or missing service/container is a failed read, not
"no TrueNAS errors". Do not filter with grep truenas: relevant startup or
storage errors may not contain that word. Even a successful empty read is
inconclusive: check the window and selected instance, not the API key. Do not
enable Debug or repeat the failing action just to collect more logs.
Local logs are not sanitised. Share only the relevant timestamp, method, HTTP status or error category and a manually redacted error, not the whole excerpt. Remove credentials, cookies, secret URLs, private hostnames, addresses and personal information, including anything echoed in an error. Do not upload configuration or credential files.
In Settings → Support → Diagnostics & Health, an existing result's download buttons reuse it without running the checks again; nothing is uploaded. Use GitHub (review first) for an export intended for sharing, but sanitisation does not guarantee that every error is safe to share. Open the downloaded file locally and review it before sharing; keep Full (private) private. Run Diagnostics makes live API and guest-agent requests: do not run it during a backup, freeze/thaw or an unresponsive-host incident merely to obtain an export. Keep the existing observations instead. See safe diagnostics collection.
CORE 13 rejects the reporting request
For TrueNAS CORE 13, POST /reporting/get_data returning HTTP 400 with
The following attributes are not expected: query means the appliance rejected
Pulse's reporting request format. It is not an invalid API key or evidence that
the NAS is idle. A successful Test connection, fresh inventory or advancing
observed.collectedAt does not establish that CPU, memory or History was measured.
Use TrueNAS's own Reporting graphs for CPU, memory and I/O while Pulse's collection is unavailable. A displayed zero or an empty History panel alongside this rejection is not a measured idle value. Do not rotate the key, recreate the connection, install an agent, switch transport or weaken TLS verification to address this request-format error; those actions do not correct it.
Keep the existing, locally reviewed error and affected versions in your original report; the CORE request-format report tracks this failure. If versions or native graph replies are already supplied, do not collect them again. A newer release is a reason to retest only when it contains the relevant correction, not simply because its version is higher. Other missing-reading failures still need their own evidence; this specific error does not diagnose every CORE or SCALE problem.
Inventory works but CPU, memory or History is missing
Services, uptime, hardware capacity and disk temperatures can be collected without CPU or memory usage. A Host panel showing core count and total memory does not establish a live reading; check the CPU/memory usage columns and History series separately. A disk-utilisation line does not establish that CPU, memory or network History is available.
If the existing error is the CORE 13 request-format rejection, follow that guidance rather than collecting another graph response. Otherwise, check whether the corresponding graphs work in the TrueNAS web UI. If Pulse still shows missing readings, report the affected panels, running Pulse and TrueNAS versions, and the relevant sanitized evidence above. Do not replace an otherwise working key or clear stored History merely because a graph is empty.
Host totals and individual disk activity
In TrueNAS → Overview, a host Disk I/O total does not establish that every physical disk was measured. In TrueNAS → Storage, check each disk's Activity and Disk I/O separately. A temperature reading, disk inventory or correct pool/dataset capacity does not establish live disk activity: capacity measures space, not a read/write rate. A blank or dash is unavailable evidence, not proof that the disk is idle.
Use TrueNAS Reporting to check a blank host chart
or missing individual disk activity. Compare the same appliance, disk and
time window. Boot and data-pool rates are not interchangeable. Keep any
reported boot-pool name. Do not rename freenas-boot or boot-pool,
recreate the connection or install an agent just to make readings appear.
A populated chart is not proof of correct disk attribution. Similar curves can be real during shared work, such as a scrub. If TrueNAS Reporting shows different curves for those same disks while Pulse repeats one, use TrueNAS's individual-disk graphs for that comparison. Do not add the copied curves together to reconstruct a missing host total. A working disk chart does not verify the host chart or another disk's History.
When describing an existing comparison, distinguish Overview's host total from Storage's individual disk, and a current reading from History. Keep the selected appliance and disk consistent across views. Compare the read and write legend, units and time range, including the timezone if shown. If you already have screenshots, keep their chart title, selection, legend and axes visible. Use consistent aliases for private names and disk identifiers so different disks remain distinguishable. Keep serial numbers and full inventories private.
Existing observations are enough to report this mismatch. Do not start a scrub, backup or disk workload, enable Debug logging, delete History or change the connection to produce a comparison. No additional graph response or browser network capture is needed just to describe it.
Memory usage and ARC cache
In Pulse, open TrueNAS → Overview and find your appliance in Systems. Click or tap its Memory bar (Mem on a narrow screen). With a keyboard, tab to the bar labelled Memory composition for your appliance, then press Enter. Close returns you to the bar. You can also hover over the bar with a mouse to see the breakdown:
- Used excludes separately supplied reclaimable ARC cache.
- Reclaimable cache is shown when a separate cache value is available. Used with ARC cache includes that cache; do not add it again.
- Free is the remaining space after Used and the supplied cache, not an additional allocation.
If the TrueNAS API supplies this breakdown, you don't need a Pulse agent to see it. The appliance's memory reading is separate from the reading for its VM on the Proxmox page.
A percentage alone doesn't give you the breakdown. If the bar is unavailable or Reclaimable cache is missing, use Reporting in TrueNAS itself. A missing cache row does not mean ARC is zero. CORE's Active, Inactive, Wired, Laundry and Free categories are not individual ARC measurements.
Check the drawer's stored history charts (Overview → History range, or the History tab on older versions) separately from the current Overview and Storage table readings. A recovered current value does not establish that its historical series is available or that earlier missing samples were recovered. Keep existing versions, affected panels and original times in the same report; no new graph capture, Debug logging, History deletion or connection change is needed just to describe these differences.
Requested CORE graph evidence
If a maintainer requests a CORE 13 native graph response, use your existing signed-in TrueNAS browser session, not the Pulse page:
- In Firefox on macOS, open Network with ⌘⌥E, then reload with Network recording. Select WS, select the WebSocket connection and open its Response pane.
- Show All messages and clear any message search for
reporting.get_data. The incoming reply does not need to repeat the method name, so that search can hide the evidence. Open the CPU or Memory graph on TrueNAS's Reporting page while recording. - Find the outgoing
"msg":"method"request with"name":"cpu"or"name":"memory";cputempis temperature, not CPU usage. Each request has a differentid, which is normal. Find the incoming"msg":"result"reply with the sameidas that request, and expand itsresult(orerror). Thelegend, timing fields anddatabelong to the response, not the outgoing request'sparams. - Share only the requested graph name,
legend, timing fields and onedatarow, or the matching sanitized error. If no matching incoming reply is visible after the graph loads, report that instead of sending more requests.
Omit authentication messages, keys, cookies, private hostnames and addresses. Do not upload a full browser network capture or paste code into the browser console to collect this evidence.
Stale TrueNAS data
A Pending, Stale, Stale data, or Degraded badge (or not updated on a service or share row) is not an authentication diagnosis. Keep the connection and key unchanged while checking whether ordinary polling still collects data. A working connection can have missing telemetry or a stalled collection step.
- Record the existing state before testing or restarting. In your
signed-in Pulse admin browser session, open
/api/truenas/connectionson the same Pulse origin. Inspect only the affected connection. This is a read-only request using your existing session, so do not copy a token or cookie. - Note
enabled,poll.intervalSeconds,poll.lastAttemptAt,poll.lastSuccessAt,poll.consecutiveFailures,poll.lastError, andobserved.collectedAt. When present, also notetransport.mode,transport.reconnectsandtransport.lastError. If your build does not expose a field, record that rather than interpreting its absence as success. - Compare the timestamps after two configured polling cycles, without
pressing Test connection, saving changes or restarting between reads.
Slow requests can take longer than the interval.
lastAttemptAtrecords a completed attempt, not an in-flight request. A frozen value alone cannot distinguish a blocked request from polling that has not run.
| Existing evidence | What it distinguishes and what to check next |
|---|---|
lastAttemptAt advances, but lastSuccessAt and observed.collectedAt do not; failures increase |
Polling returns failures. Use the actual error category and method to distinguish TLS, authentication, permissions and collection errors; a stale badge alone does not distinguish them. |
observed.collectedAt advances, but some usage or History panels stay empty |
Inventory is refreshing, not necessarily every metric. Follow the missing-telemetry checks; do not replace a working key to populate a chart. |
| No timestamps advance, or no completed attempt is recorded | Check that the connection and integration are enabled, then preserve the bounded local error above. This is not proof of an invalid key. |
Reconnects or TrueNAS sign-ins increase while observed.collectedAt advances |
Session turnover alone does not establish failed authentication or stopped polling. Record the timing and any existing close/error message separately from the data freshness. |
Each whole inventory refresh is bounded by PULSE_TRUENAS_POLL_TIMEOUT
(45s default). If that deadline or a cancellation fires during optional
reads (services, apps, VMs, shares, snapshots or replication tasks), Pulse
stops further reads instead of publishing a truncated snapshot as healthy
and keeps the last accepted cached records and poll.lastSuccessAt until a
full refresh succeeds. When an edited TrueNAS connection fails client
initialization, Pulse closes the previous live connection and clears stale
cached records rather than continuing to poll the old endpoint. A valid edit
that builds a new client preserves the last accepted cached records until
the rebuilt connection completes an accepted refresh. When a saved TrueNAS
connection is edited, paused, or removed, Pulse retires the old poller
ownership before closing its transport and cancels in-flight RPC work
(including a socket blocked in negotiation) without waiting for an appliance
timeout or replaying interrupted operations.
When TrueNAS polling goes quiet or hits a collection error, clear ZFS pools in
TrueNAS → Storage switch to amber Stale (leaving Status: Healthy,
joining Status: Needs attention and Status: Warning, and sorting ahead
of fresh healthy pools), while Degraded, Faulted, Offline, and open
alert headlines remain visible with an inline amber Stale data cue and
retained usage bars. Expanding the pool drawer lists the stale State reason
under Worth checking, defers inline Capacity History as a last-known value
(Retained last-known storage values, not a current reading.), and shows total
pool capacity instead of a live used figure in the facts strip until live
polling recovers.
Test connection is not a complete poll. Some older builds, including Pulse
6.4.1 and 6.4.5, also let a saved-connection test update lastAttemptAt and
lastSuccessAt and reset its failure count without refreshing
observed.collectedAt. Record any manual test and its time separately, and
use the inventory observation time rather than the test time to check freshness.
A successful test is not evidence that missing data or stopped polling has
recovered.
An app.stats error such as Apps are not available concerns Apps
collection, not necessarily the key. Check the existing Apps status in
TrueNAS, but do not stop Apps or reproduce a hang to gather evidence. Preserve
the existing error before changing anything. Do not repeatedly restart Pulse,
clear History, rotate keys or disable TLS verification as a diagnostic shortcut.
For a report, include the running Pulse and TrueNAS versions, configured poll interval, affected panels, before/after timestamps and a reviewed, bounded error excerpt from the local logs above. Remove private names and addresses from errors. Do not post the full connection response, credential files, authentication messages, cookies or a full browser network capture. If safe inspection is unavailable, describe what you could observe without repeating the failure or collecting a larger dump.
Disabling TrueNAS integration
Set PULSE_ENABLE_TRUENAS=false and restart Pulse. Existing connection data is preserved but polling stops.
Pool health without capacity
In TrueNAS → Storage, an ONLINE pool can still show a dash under Usage / Size (Usage on a phone). Pulse has a health state, but no capacity reading. The dash is not 0% used. On CORE, Pulse can use the pool's own disk-group figures when its summary omits them.
Check the same data pool in TrueNAS's own Storage view. Use those figures while Pulse shows a dash. The boot pool is read separately. Dataset figures can reflect quotas, and disk sizes do not account for the pool's layout. Neither can replace the data pool's space figures.
Keep the connection and key unchanged. You do not need a manual API query, connection test, restart or wider permissions to compare these readings. If they disagree, report the running Pulse and TrueNAS versions and what both views showed for that one pool. Use an alias for its name and keep private paths and disk serials out of the report.
See Also
- TrueNAS API Reference — current JSON-RPC transport, API-key, and TLS requirements
- Configuration Guide — environment variables and setup
- ZFS Monitoring — Proxmox-native ZFS pool monitoring
- Recovery data — the snapshot and replication data shown under TrueNAS → Protection
Collection scope and snapshot polling
To stop snapshot polling for one appliance, open Settings → Infrastructure and choose Manage for that TrueNAS connection. Under Collection scope, untick Datasets and select Update connection. This stops new dataset and snapshot reads together. Leave Datasets on if you need fresh snapshot records in TrueNAS → Protection.
- Pools controls reads for data pools and the boot pool.
- Replication controls reads for replication tasks and their state.
In this version of Pulse, you can turn all three off without pausing the connection. Pulse still reads system information, disks and native alerts. The options only affect what Pulse reads. They do not delete snapshots or stop TrueNAS replication.
Older releases: v6.8.0 still polls snapshots with Datasets off. v6.9.0-beta.3 can skip them, but leave Pools or Replication on in that beta. It treats all three off as an older saved connection and turns the optional reads back on.
Use the next completed ordinary poll to check that the inventory you still collect is fresh. A connection test does not check collection scope, and older Protection entries do not show whether Pulse still reads snapshots.
When only host Disk I/O History is blank
Open the appliance from TrueNAS → Overview, stay on the drawer's Overview tab and choose the affected History range beside the charts (older versions use a separate History tab). On a phone, use the Show button that lists Disk I/O if the chart is folded.
Loading history means the read has not finished. If the chart switches to No stored history in this range, Pulse has no points to show for that chart. CPU and Network I/O can have points in the same range. The blank chart does not tell you why points are missing. It is not a reading of zero activity.
Use the same window in TrueNAS Reporting. If you already saw the message switch, there is no need to wait through the read again to report it.