Skip to content

Collectors

nomad collect (usually nomad collect --once from cron, every 5 minutes) runs the collectors this host's nomad.toml turns on. Each writes its own tables; nomad sync copies every site's tables to the hub.

Which run

Each collector is turned on or off in its own table:

[collectors.nfs]
enabled = false
Collector Default Where it belongs Needs Writes
disk on every host df filesystems
slurm on Slurm head node squeue, sacct queue_state, jobs
job_metrics on Slurm head node sacct jobs, job_summary
slurm_usage where slurm runs Slurm head node sreport cluster_usage
iostat on every host iostat (sysstat) iostat_device, iostat_cpu
mpstat on every host mpstat (sysstat) mpstat_summary, mpstat_core
vmstat on every host vmstat vmstat
pressure on every Linux host the kernel's pressure stall information (/proc/pressure; RHEL and Rocky need psi=1 on the kernel's command line) pressure, pressure_status
node_state on Slurm head node scontrol node_state, partition_settings, partition_changes
gpu on hosts with NVIDIA GPUs, or a head node reaching GPU nodes over SSH nvidia-smi (DCGM if present) gpu_stats, gpu_health
nfs on hosts that mount NFS (client side) nfsiostat (nfs-utils, in /usr/sbin) nfs_stats
groups on every site getent; sacct for job accounting group_membership, job_accounting
interactive off hosts running RStudio or Jupyter — interactive_sessions, interactive_summary, interactive_daily, interactive_env_daily
workstation off a hub reaching workstations over SSH ssh workstation_state, workstation_user_snapshot, ...
per_user off login nodes, shared interactive hosts Python psutil per_user_sample, per_user_alert, per_user_daily
oom off shared hosts without per-user memory limits (login nodes, interactive servers) journalctl, and reading the kernel's messages oom_kills
storage off a host reaching ZFS/NFS servers over SSH ssh storage_state
storage_use off a site or the hub reading the files nomad-storage.sh writes on storage servers ssh, or the files on this machine storage_owners, storage_paths, storage_tops, storage_folders, ...
network_perf off any host; tests paths that start there ping; iperf3 for throughput network_perf
cloud.aws off sites with AWS resources Python boto3 cloud_metrics

An enabled = [...] list under [collectors], which older example configs carried, is not read.

groups reads membership with getent group: on the head node of each [clusters] entry (over SSH when it has a host), on the first reachable workstation of a type = "workstations" cluster with an ssh_user, and on this host otherwise. Job accounting needs sacct and is skipped without it. On the same host it looks up each member with getent passwd and records whether they still have an account (has_account): a hand-kept /etc/group goes on listing people whose accounts were deleted long ago. "No account" needs every run for two days to find none (getent says the same for an unreachable directory), and a run where the lookup fails keeps the last known answer. Every run stamps what it saw with one time (collected_at), so a membership no longer listed stops being stamped. first_seen says when a membership was first seen (since 1.11; earlier ones are empty, not known): a course's students this term can be told from earlier terms' in a group nobody prunes. A membership missing from the runs for a week and listed again starts over (a student back for another course); one the collector simply did not run for keeps its date. A lab's members are the people listed in their cluster's latest run (give or take two days, for a failed run; a cluster not collected for 30 days while its site goes on is retired) who have an account; nomad console roles NETID says how many are not counted, and why.

node_state also reads each partition's settings (scontrol --all --oneliner show partition, hidden partitions and ones this account may not use included: limits, default and maximum time, default memory, who may use it, priority tier, preemption) and stores them only when something changes: partition_settings holds each partition as it is now, partition_changes when one appeared, changed (old and new values) or went. nomad partitions shows them; nomad partitions --changes, what changed. A cluster whose scontrol won't show partitions still has its nodes stored.

slurm records, from squeue, the last reason Slurm gave while a job waited (pending_reason: Resources, Priority, QOSMaxJobsPerUserLimit, Dependency...), since when it has waited for the cluster without a break (ready_since: Resources or Priority; cleared by a reading that shows it held by its own limits, and by a requeue) and how many nodes it asked for (req_nodes), from 1.18 on: whether, and from when, a job waited for the cluster rather than for its own limits. The first sync after upgrading sends each site's jobs table whole once (it gained columns).

pressure (1.25.3) reads /proc/pressure/cpu, memory and io: the share of time some work on the host ("some"), or all of it ("full"), waited for that resource, over 10 seconds, 1 minute and 5 minutes, and the total time waited. Where the kernel was built with it off by default (CONFIG_PSI_DEFAULT_DISABLED, as RHEL 8 and 9 and Rocky are), the files aren't there until the host boots with psi=1: the collector then records only that (pressure_status, with the reason), so a page can say why there is nothing yet, and starts recording by itself after that boot.

nomad collect -C disk,nfs (or -C disk -C nfs) runs only those, if enabled. An unknown name is warned about and skipped; if no name is known, nothing runs and the command says so.

Is it working?

nomad collectors

On a site, lists every collector: on or off and why, what it needs that this host lacks, and how its runs went over the last 7 days (from collection_log):

  nfs           on   on by default
                     needs: nfsiostat
                     2,016 runs, never any data, last 2026-10-01T07:20
                     nfsiostat not installed (nfs-utils)

On the hub, nomad collectors --db ~/.local/share/nomad/combined.db shows each site's collectors and marks those that run but collect nothing.

A collector that runs but has nothing to collect logs why — nfsiostat not installed, no NFS mounts on this host, no NVIDIA GPU here, psutil not installed: nothing collected, no network_tests configured — in collection_log.error_message of a successful run. Before 1.7.13 these logged "success, 0 records" (or, for groups and per_user, "1 records" whatever they held), which looked like a working collector. A command that isn't installed fails the run at once with the reason, without retrying.

Commands are looked for on the PATH and in /usr/sbin, /sbin, /usr/local/sbin and /usr/local/bin: cron's PATH is only /usr/bin:/bin, and nfs-utils installs nfsiostat in /usr/sbin.

Jobs

The slurm collector reads running and pending jobs from squeue and every user's jobs of the last job_history_days (7) from sacct --allusers (without it, sacct run by anyone but root shows only that account's own jobs). squeue is run with -a, so hidden partitions and partitions the collector's account can't submit to are seen too. Jobs are recorded from every partition. partitions limits the queue snapshot (queue_state, pending and running counts per partition) to the partitions listed, and the old dashboard (nomad dashboard) shows those partitions' nodes; empty means all. Before 1.7.43 it limited the jobs too, and the setup wizard lists the partitions sinfo shows, which leaves out hidden ones: jobs in the partitions left out reached jobs only through job_metrics (finished, at least 10 seconds, a few states) and so every count about jobs was short. Partitions that share nodes don't count a job twice: a job runs in one partition, and questions about hardware go by the nodes in its node list. A job submitted to several partitions is stored with the list Slurm shows (a,b) while it waits, again after a requeue, and with the one it runs in once it starts; an ended job reported with its list keeps the partition it ran in. Jobs older than job_history_days from partitions that were left out before 1.7.43 stay as job_metrics recorded them.

A job that ended between two runs leaves squeue; if that run's sacct pull did not report it, it is looked up in sacct by number, and the answer is taken only if its submit time matches (Slurm reuses job numbers after its counter restarts). When sacct cannot account for the job yet, it is marked UNKNOWN: it has ended, its outcome is not known, it has no exit code or failure reason, and no success or failure count includes it. The next sacct pull corrects it. A pending array range (123_[5-10]) that left the queue is dropped, since each of its tasks has a row of its own. Nothing is concluded about any job in a run where squeue did not answer.

Before 1.7.19 such jobs were marked COMPLETED, with an end time in UTC where every other job time is local, so a failed job could count as a success. Those rows (COMPLETED, an end time without a T) are looked up in sacct too, 200 a run, and become UNKNOWN (end time moved to local) if sacct no longer has them.

From sacct (1.7.42) each job also gets account, alloc_tres (what Slurm allocated, e.g. cpu=6,gres/gpu:a40=1,gres/gpu=1,mem=32G,node=1), alloc_gpus (the GPUs in it: gres/gpu and gres/gpu:TYPE, never gres/gpumem or gres/gpuutil), and two parts of its working directory: work_root, the first (/home, /scratch), and work_tail, the last two (proj/run1). The whole path is not kept. squeue doesn't report these; what sacct stored stays.

A job's memory request (req_mem_mb) is its memory per node as sacct records it (1.14.1): what Slurm allocated (the mem= of its AllocTRES, the job's total, divided by its node=), else what was asked (ReqTRES, the same way), else ReqMem (4000Mc, a Slurm before 21.08's mark for per CPU, counts every CPU). squeue's %m, stored while a job waits, is the figure per CPU for a job submitted with --mem-per-cpu, with nothing to say so; until 1.14.1 it was never replaced, so such a job was stored as asking for one CPU's worth and its memory looked used several times over. Now sacct's figure replaces it once sacct reports the job. Stored jobs with an AllocTRES mem= were corrected on upgrading (migration 22); at a site whose AllocTRES has none, nomad import sacct --from DATE --apply reads them again.

A job's GPU count (req_gpus) is what sacct records when it records GPUs (1.14.4), and otherwise what squeue showed while the job waited or ran. Slurm records GPUs only where AccountingStorageTRES lists gres/gpu; before that, sacct gives a GPU job neither a GPU request nor GPUs in its AllocTRES, and nomad's reading of the queue is the only record of its GPUs. Until 1.14.4 the first count stored was never replaced, and the job-metrics collector built the job's summary from sacct alone: such jobs had used_gpu = 0 and so no DCGM utilization (avg_gpu_util). Now a reading with GPUs replaces the count, one without keeps it, and a job whose stored request has GPUs is a GPU job in its summary. Stored jobs were marked on upgrading, with a utilization where DCGM has samples on their nodes while they ran (migration 24). Jobs nomad never saw in the queue before GPU accounting began (short ones, or from before nomad ran) have no GPU record anywhere: the usage report counts them as a minimum and gives them no GPU-hours. To see when a site began: sacct -a -X -n -P -S DATE -o End,AllocTRES | grep gres/gpu | sort | head -1.

A Slurm that schedules cores only (SelectTypeParameters without Memory, e.g. CR_Core) puts no mem= in AllocTRES: it doesn't hold a job's --mem for it, jobs can use more than they ask for, and the impact report and nomad facts say so beside the memory share.

node_list is kept as Slurm writes it, in range form (n[01-04,07]). Code that needs the nodes themselves reads it with nomad.hostlist.expand_hostlist (or node_in); splitting on commas or matching with LIKE misses ranges.

Job numbers that come back

Slurm reuses job numbers: after its counter restarts (an outage that loses its state) or wraps at MaxJobId, number 4711 is a new job. Before 1.7.42 the new job's state, nodes and times were written onto the stored row, under the earlier job's user, partition, name and submit time. Now, when a job arrives whose number is stored with another submit time, and the stored job is another job (another user or job name, or it ended more than 30 days before, or it is still marked active but was submitted more than its time limit plus 30 days before -- a year without a limit -- as rows left RUNNING by an outage that lost Slurm's state are), the earlier job moves aside to NUMBER@SUBMIT-TIME (4711@2026-03-01T10:00:00; ~2 and so on if that is taken) in every table with a job id (jobs, job_summary, job_metrics, job_similarity, ...), and the number is the new job's. Rows in those tables dated (submit_time or timestamp) from the new job's submission on stay: they were written for the new job. A job moved aside while still marked active becomes UNKNOWN. A requeued job (same user and name) stays one job, and its submit time follows Slurm's (a requeue gets a new one). See nomad.db.jobkeys.place.

Start times

squeue reports a pending job's start as Slurm's estimate. It is never stored (before 16 Sep 2026 it was, and when the job's outcome then came from job_metrics, which did not update the start, the estimate stayed, with a wait to match). job_metrics now takes sacct's real start. Once per database, finished jobs whose start disagrees with end − runtime by more than two minutes are looked up in sacct and, when sacct's job is the same job, stored as sacct has it (no start for a job cancelled before it ran); those sacct no longer has are corrected to end − runtime only when their start is impossible (after the end, or before submission). At most 1,000 are looked up a run, so a backlog takes several runs; how far it got is kept in config (repair.job_start_times.after), and when done, what was done is recorded under repair.job_start_times. Rows from before 1.7.19 with an assumed end time are left to the outcome lookups above.

Jobs from before nomad: nomad import sacct

nomad's job history starts when it was installed, and Slurm deletes its own job records after PurgeJobAfter. An export taken in time, or sacct itself for the months it still holds, fills that in, on the head node, into that site's database:

nomad import sacct /var/tmp/sacct_all.psv.gz          # what would change
nomad import sacct /var/tmp/sacct_all.psv.gz --apply
nomad import sacct --from 2025-10-01 --apply          # ask sacct, a month at a time

An export is any sacct -P output with its header line (sacct -a -X -P -o ALL -S DATE; not -n), plain or gzipped; fields are read by name. A record spread over lines (a field with newlines) is put back together: a line that reads as a record, or starts with one far enough to show a job id, starts a record, any other line goes on the one before. A | inside free-text fields (submit line, job name, working directory, comments) is put back where the other fields read as they should. Job steps and pending array ranges are skipped.

A job already stored only gets what it lacks (account, allocation, working directory, a partition instead of a list, a failure reason job_metrics left at 0), and its memory request as sacct records it (1.14.1, see Jobs). Its outcome changes only when nomad had none -- stored as running, pending or UNKNOWN, or an outcome assumed before 1.7.19 -- and the records show it ended; a stored outcome is never mixed with another. A job the records show running or pending, and nomad doesn't have, goes in as UNKNOWN with no end (an export is a snapshot). Numbers Slurm gave out again are kept apart (an older job as NUMBER@SUBMIT-TIME). Importing the same export twice changes nothing. The import commits every half second and gives way a moment after each commit, so the collectors writing the same database get in; with --from, each month is committed before sacct is asked about the next, and if sacct fails part way the months before stay written and the command says where it stopped. The database must exist (nomad collect makes it). Without --apply it is opened read-only and the counts say what would change, by month submitted (not counting what the import itself would change, such as a number used twice in the export).

Usage history (sreport)

slurm_usage keeps Slurm's monthly usage totals in cluster_usage, one row per cluster, month and TRES (cpu, and gres/gpu where GPUs are accounted): hours allocated, down, planned down, idle, planned (held for waiting jobs; "Reserved" in older Slurm) and reported. Slurm usually keeps these for good (PurgeUsageAfter=NONE) after the job records are gone, so they are the long view of load. It runs where the slurm collector does, unless [collectors.slurm_usage] enabled says otherwise.

Each run asks sreport -P -t hours -T cpu,gres/gpu cluster utilization for at most months_per_run (24) months, newest first: this month and last month again every refresh_hours (6) until a month has been over two days (settled), and further back to the cluster's start or since = "YYYY-MM". The start is where Slurm has had nothing for three months in a row and nothing at all before them (one question about everything earlier, so a long outage isn't taken for it); it is kept in config as slurm_usage.nothing_before. Which months were asked, with which TRES and when, is in cluster_usage_asked; cluster_usage holds only what Slurm reported. A Slurm that says it doesn't account GPUs is asked for cpu alone from then on (slurm_usage.cpu_only); any other sreport error fails the run and the next tries again. A timeout ends the run without retries. A setting that doesn't read is warned about and its default used. Where two hosts report the same cluster, read one of them (the rows are the same).

Allocated, idle and planned are shares of the time nodes were up (reported − down); down is a share of all reported time. Never add cpu and gres/gpu rows together.

Disks

disk reads each of filesystems with df every run. Each reading also fits the readings of the last forecast_window_hours (default 6) with a straight line and stores the fill rate and when the filesystem will be full (fill_rate_bytes_per_day, days_until_full); a disk that will be full soon raises a disk_forecast alert (see docs/alerts.md).

Compute nodes' local disks (node_disks)

Slurm knows a node's local disk only as configured (TmpDisk, often 0), and never how full it is. On the head node, node_disks asks every node that sinfo -a lists and that isn't down for df of each path in paths (default /localscratch), over ssh with BatchMode to the node's NodeHostname (the collector's account needs key or host-based access to the nodes, as it usually has inside a cluster), parallel nodes at a time, for at most max_seconds (120) in all, every interval_minutes (30; collect --once runs in between note when it last asked). The interval runs from when a sweep started, whatever came of it: one where no node answered (logins hanging on a dead home directory, say) is neither retried nor repeated at the next cron run. Off until enabled:

[collectors.node_disks]
enabled = true
paths = ["/localscratch"]

Each reading (node_disks: node, path, mount, device, size, used, free, percent) says which filesystem holds the path: mount = "/" means the path is a folder on the node's system disk, where a job that fills it can take the node down. Alerts (node_disk) at the disk thresholds of [alerts.thresholds.disk] (80 and 95% by default), one per node and path, raised and reminded of like the other disks; one ends when its disk hasn't been seen full for two and a half intervals (75 minutes), or episode_gap_minutes in [alerts] if longer, so a reading missed now and then doesn't raise it anew. A run says which nodes didn't answer, and fails only when none did. On the hub the readings are synced with the rest; the Console shows each node's latest.

Who has the data

Since 1.14.3 a full disk comes with whom to ask. After a sweep's df readings, a few nodes chosen from them total each path by owner, on the node itself: find -xdev with its own block counts, as du (a file with several hard links counts once), summed there, so only one line per owner comes back over ssh. A path that is a link is counted where it leads. The count stays on that filesystem, runs at the lowest CPU and disk priority, ignores files that vanish while it runs, and stops after owners_seconds per path.

Which nodes, at most owners_per_sweep (and no more than parallel) per sweep:

  1. a disk at owners_above percent or more that wasn't when last counted: counted in the sweep that sees it full, so its alert names who has the data;
  2. counts due: never counted, or not for owners_every_hours;
  3. full disks, counted again at every sweep, the one counted longest ago first.

A node that didn't answer, or doesn't have the path, isn't counted. The counts run after the readings, so a sweep that counts takes up to owners_seconds per path (plus a few seconds) longer than the readings alone.

[collectors.node_disks]
# owners = true                # false: no counts
# owners_every_hours = 6
# owners_above = 80
# owners_seconds = 60          # per path
# owners_top = 5               # owners kept per node and path
# owners_per_sweep = 8         # default and most: parallel
# owners_in_alerts = true      # false: no names in alerts

node_disk_owner_counts has each count (node, path, how many owners, bytes counted, complete, and stopped: time limit, unreadable folders, no such folder, no access, count failed, no answer); node_disk_owners its largest owners and anyone with folders the count couldn't read (username as the head node names the uid, uid, bytes, files, unreadable folders). The collector's account reads what it counts: a folder it can't read is not counted, and its owner is named instead ("folders of X could not be read"), so an incomplete count never passes for the full picture.

What each node's memory holds

Since 1.47.1 the same login also reads the node's /proc/meminfo. Slurm's FreeMem is the kernel's MemFree, which counts the file cache as used: a node left idle after a long job reads as nearly full (n001: 82% "in use", 0 GB allocated, load 0.2), though the kernel gives that memory back as soon as a job asks. MemAvailable leaves it out, so total less available is what programs hold. Each sweep adds one node_memory row per node that answered: total, available, free (MemFree), cache (buffers, page cache and reclaimable kernel memory, less shared memory), and used (total less available; empty on a kernel too old to have MemAvailable). The Console's Nodes page and a node's timeline show "in use" from it where there is one; elsewhere they say the figure counts the file cache.

[collectors.node_disks]
# memory = true                # false: disks only

A disk's alert names its three largest owners and their sizes. Alerts also go to Slack and webhooks when those are set up: owners_in_alerts = false keeps names out of every alert (the counts are still kept). The NØMAÐ Console shows the owners in a node's details, to staff.

To see whether the account reaches a node:

ssh -o BatchMode=yes NODE 'df -P /localscratch | tail -1'

NFS

On a host that mounts NFS, each run reads nfsiostat 5 2 and keeps the second report: what each mount did in those 5 seconds (sample_seconds in [collectors.nfs]). The first report averages everything since the share was mounted. Per mount: operations, read and write rates, and round-trip and execution times and retransmissions weighted over reads and writes — empty (NULL) for a mount with no reads or writes in the sample, rather than 0 ms. A host that mounts nothing says "no NFS mounts on this host"; turn nfs off there.

Network

Latency and packet loss from this host to the hosts you list, every run (ten pings, about two seconds per path):

[collectors.network_perf]
enabled = true

[[collectors.network_perf.network_tests]]
dest = "nas1"
path_type = "switch"
  • Each path starts on the host that runs it. A source naming another host (by name or address) is skipped, and the run says so; list that path in the other host's config.
  • A path with no reply at all is stored as unreachable.
  • Throughput is off unless throughput = true. It then runs at most once per throughput_interval (3600 s) per path — checked against the table, so it holds under cron — for iperf_duration seconds with iperf3, which needs iperf3 -s running on the destination. Without iperf3, or when no iperf3 -s answers, it times an SSH copy of 50 MB, which encryption may limit below what the network carries; if that fails too, no throughput is stored (never a 0).

Heavy use of login nodes (per_user)

On a login node or another host people share, per_user says who used it heavily, with what, and for how long. Turn it on there:

[collectors.per_user]
enabled = true

Each run (every 5 minutes from cron) reads every process and averages its CPU and I/O over the 5 minutes since the previous run, from counters that run left in per_user_state. A process seen for the first time gets its average since it started; if that is above a rule's threshold, the next reading confirms it is still busy, and the flag is dated from the process's start — a process that has run flat out for two days is flagged as such five minutes after per_user is turned on. Where systemd puts each user's logins in a slice (user-<uid>.slice, cgroup v2 or v1 with CPU accounting), it also reads each user's CPU there, which counts processes that started and ended between two readings — a parallel make, a loop starting short programs. Work of another account inside a user's slice (sudo, su), and nomad's own when its cron session runs in its account's slice, is not counted as that user's.

What it keeps:

  • A sample (per_user_sample, with the command line) only for a process above a floor: floor_cpu_percent (10), floor_memory_gb (2) or floor_io_mb_per_s (10). Idle shells and daemons leave no row. Raw samples are deleted after sample_retention_days (30; 0 keeps them), a batch of 100,000 per run.
  • Flags (per_user_alert), kept. One row per episode — a process (or a user's processes together) above a rule's threshold without a break — and rule, written once the condition has held for the rule's duration and updated every run while it goes on: last_seen, sustained_for_seconds, occurrences (readings), and the episode's peaks.
  • Daily totals (per_user_daily), kept: for each user, host and day (local date), CPU seconds used, time busy (the user's processes together above the CPU floor), peaks of CPU and memory, and I/O where readable. An interval is added to the day it ends; one longer than two hours (the collector was stopped) is left out.

The rules (a duration is a minimum: readings come every 5 minutes, so a 2-minute CPU rule fires on the first 5-minute average above it):

Rule Over Condition Severity
cpu_10pct_5min one process CPU ≥ 10% of a core for 5 min informational
cpu_50pct_2min one process CPU ≥ 50% for 2 min actionable
memory_4gb_10min one process resident memory ≥ 4 GB for 10 min informational
memory_16gb_2min one process ≥ 16 GB for 2 min actionable
user_cpu_200pct_10min a user's processes together ≥ 2 cores for 10 min actionable
user_memory_32gb_10min a user's processes together ≥ 32 GB for 10 min actionable
io_50mbs_10min one process reads + writes ≥ 50 MB/s for 10 min informational

A user's memory is the resident memory of their processes added up, so memory that forked workers share counts once for each.

[[collectors.per_user.rules]] tables replace them (see nomad.toml.example). System accounts (uid below min_uid), users, user_commands and processes started from parent_paths are never flagged; they are stored, marked, when above the floor.

I/O is what a process read and wrote through system calls — files on any filesystem, NFS included, pipes and sockets — so a large copy to NFS or a transfer through the host shows. Reading another user's I/O counters, and the executable path that parent_paths matches, needs root: run as another account, only that account's own processes have them. For a script run by an interpreter (python3 /usr/local/sw/backup/backup.py), parent_paths and user_commands also match the script, read from the command line, which needs no root: user_commands = [["backupuser", "backup.py"]].

If /proc is mounted with hidepid, an account other than root sees only its own processes; the run says so (nomad collectors).

nomad per-user                       # this host's database
nomad per-user --db ~/.local/share/nomad/combined.db --days 30   # every site, on the hub
nomad per-user --mask                # user and command names replaced, for sharing

Each host is named with its role, as its role setting says (from its latest sample or flag): login1 (login node), rstudio1 (interactive server), node01 (compute node). Each flagged line is a process (or a user's processes together) and a stretch of time: from when the condition began to when it was last seen, the rules it broke (! actionable, i informational), and its peaks.

Told to the person (1.38.0)

What a login node's flags say about someone is shown to them: on the Console's My activity page and Home, and in nomad edu me. Each entry says what ran (the program and its command line, which only they and staff see), on which cluster, when, for how long and how much it used; why it matters on a machine everyone logs in to; and the better way: the Console's Submit a job, or a session on a compute node (srun --pty -c 4 --mem=16G --time=4:00:00 bash), a build or an archive inside a job. Nothing in it blames: the point is that next time they can do it another way. Staff see the same through View as.

Not every flag is told. By default ([notices.login_node]):

  • one program holding half a core or more for 15 minutes or more (min_cores, min_minutes): cpu_50pct_2min when it held that long. cpu_10pct_5min is never told: a pip install or a short compile reaches it;
  • someone's programs together keeping two cores busy, or holding 32 GB, for 10 minutes (user_cpu_*, user_memory_*): told as theirs, named after the busiest program;
  • one program holding 16 GB or more (min_memory_gb; memory_4gb_10min is not told);
  • a large transfer (io_50mbs_10min), unless the program moves data in or out of the cluster: skip_programs (scp, sftp-server, rsync, sshd, and newer OpenSSH's sshd-session and sshd-auth) are what a login node is for, and are never told, whatever they used.

One entry per program run: of the rules one program tripped, the strongest names it; a program inside a time when the person's programs together were flagged is part of that entry. The last days (30), newest first, in the reader's local time (the collector writes UTC). Only hosts with a login-node role (headnode, login): an interactive server's flags (role interactive) are not told this way.

[notices.login_node]
show = true            # false: told to no one
days = 30
min_minutes = 15
min_cores = 0.5
min_memory_gb = 16
skip_programs = ["scp", "sftp-server", "rsync", "sshd", "sshd-session", "sshd-auth"]

On the hub the entries come from the combined database (every site's flags); at a site, nomad edu me reads that site's own. Each person is also emailed what is new, once a week at most (notices, 1.39.0). The Console notes, once a day, which entries it showed someone (as it does for its other advice), so whether people changed what they do can be told later.

Interactive servers (RStudio, JupyterHub)

On a server people use through RStudio Server or JupyterHub, interactive records each session every run (interactive_sessions: who, which kind, its memory) and keeps each person's day in small totals, kept for good (interactive_daily, one row per day, server, person and kind):

  • sessions open that day (one running across midnight counts on both days), and session_seconds, the time they were open (two notebooks for an hour are two session-hours);
  • busy_seconds of that time, when a session used CPU (at least 2% of one core between two runs), out of cpu_measured_seconds, and cpu_seconds used;
  • mem_mb_seconds, memory held over time (/ 3.6e6 is GB-hours), and peak_mem_mb, the most one session held.

A session is a process tree: an RStudio session (rsession), a Jupyter kernel (ipykernel, IRkernel), or a person's Jupyter server (jupyterhub-singleuser, jupyter-lab, ...), with the workers it forked that kept its command line (R's mclapply, Python's multiprocessing with fork) folded in: their memory and CPU are the session's. A kernel is a session of its own, apart from the server that started it, so a person with JupyterLab open and two notebooks has three. Programs are told by what runs (for Python, the module or script after any interpreter options: python -Xfrozen_modules=off -m ipykernel_launcher), not by a word anywhere in the command line: pip install ipykernel is not a session. So that a person's time is not counted once per session, each person also has a row of kind (any): session_seconds there is the time they had at least one session open, busy_seconds the time at least one was busy, memory and CPU their sessions' together, peak_mem_mb the most they held at once, and sessions all their sessions that day, of every kind (JupyterLab and two notebooks: 3). Counts of people and hours come from (any); the other rows say which kinds.

Environments (since 1.12.5): each session also says which software environment it runs from (environment in interactive_sessions): the name of a conda environment whose program it runs (.../envs/demo101/bin/python, or R's .../envs/demo101/lib/R/bin/exec/R: demo101), or nothing for the base installation. Only the program counts (the command line's first word, or what /proc says a bare python is), not a path anywhere in its arguments. An environment the session's own account owns, or keeps in its home, is marked as its own (own): anyone can name one like a course, so the hub counts such sessions only for faculty members. A Jupyter server records none: it runs from the hub's installation whatever its kernels use. A class often has an environment of its own, a Jupyter kernel named for its course, so who used which says who is in which class (courses). Each person's day per environment is kept for good in interactive_env_daily (day, server, person, environment, own: sessions, session_seconds, busy_seconds, cpu_seconds), counted once whatever the kind of session. On the hub a person is one of an environment's users after sessions in it on two days of a term. A site whose environments live elsewhere says where with environment_patterns: regular expressions matched against the program, the name in a group called env (else the first group); one that isn't a regular expression is skipped, with a warning.

By the hour (since 1.11.1, also kept for good), for peaks and for when a class works:

  • interactive_hourly, one row per hour and server: runs (readings in the hour; measured_runs of them with a known interval), the most people on at once (people_max) and their sum over readings (people_sum / runs is the hour's average), the same for people with a busy session (busy_people_max, busy_people_sum, over measured readings, out of measured_people_sum: their ratio is the share busy), sessions_max, person-seconds open and busy (open_seconds, busy_seconds), cpu_seconds, and mem_mb_max, the most memory everyone held at once. A reading with nobody on counts as zero people, so averages cover the whole hour; an hour the collector did not run has no row. Busy means computing (at least 2% of a core between readings): someone reading or typing in a notebook is on, not busy.
  • interactive_person_hourly, one row per hour, server and person with a session: open_seconds, busy_seconds (out of measured_seconds), cpu_seconds, mem_mb_max and runs — when a class or a lab works, for the views that sum them by course or lab.

Hours are local time (2026-10-13T14); as for days, the time between two readings goes to the later one's hour. The hour repeated when daylight time ends holds both (twice the readings, averages unaffected) and the skipped hour has no row. Peaks at once are as seen at the readings, five minutes apart. Like the daily totals, these rows are kept for good, whatever sample_retention_days does to the raw snapshots, and they start at the upgrade (earlier hours can be rebuilt only roughly, from the raw snapshots: who was on, not who was busy).

CPU is read from each process's own counter at every run (interactive_state, this host's working state, not synced): ps's %CPU is an average over a process's whole life, so it calls a notebook idle that is busy now after a day of nothing. A session's counter includes the workers it has finished with; workers started another way (multiprocessing with spawn, subprocess) are not part of the session while they run, and their CPU is counted when they end and the session collects them. Not for a Jupyter server: the children it collects are kernels, whose CPU was counted as theirs. Memory is resident memory added up over a session's processes, so pages forked workers share count once per worker. The time between two runs is measured on the system clock, not local time (the change to or from daylight time adds or loses no hour) and goes to the day of the later run; a gap over two hours (the collector was stopped) adds no time, and a run that could not list processes is not taken for nobody being on. Accounts are named from their uid (ps aux shortens names over 8 characters, which then match no group).

The weeks before 1.11: nomad interactive backfill, on the server, rebuilds the daily and hourly totals for the days before nomad kept them from the raw snapshots: who was on at each reading and for how long, and the memory they held (a reading with nobody on still counts: the collector's run log says when it ran). Not what was computing: the old snapshots kept ps's lifetime average. Rebuilt rows are marked (rebuilt = 1), carry no CPU and no session count (the old snapshots counted processes), and say so wherever they are read. Names ps aux cut to 8 characters ("abcdefg+") are matched to the one known name they can be. It runs on the server (a hub's combined database is refused: the hub copies the server's at its next sync). It shows what it would rebuild; --apply writes it, a day at a time; --redo replaces an earlier rebuild. The day nomad 1.11 was installed is not rebuilt: its totals begin at the upgrade.

[interactive]
enabled = true
server_id = "web1"
sample_retention_days = 0   # raw snapshots kept this many days (0: all); the daily totals are always kept
# environment_patterns = ['/envs/(?P<env>[^/]+)/']   # the default: conda's layout

On such a server, per_user with role = "interactive" keeps its daily per-person totals (CPU and memory for everyone, terminal users included) without the login-node rules, which would flag every busy notebook. Its rules there flag one person holding a large share of the machine for long:

[collectors.per_user]
enabled = true
role = "interactive"
Rule Over Condition Severity
interactive_user_cpu_800pct_30min a user's processes together ≥ 8 cores for 30 min informational
interactive_user_memory_64gb_30min a user's processes together ≥ 64 GB for 30 min informational

Out-of-memory kills (oom)

Without per-user memory limits, one person's work can use up a shared host's memory; the kernel then kills a process to free some -- often someone else's notebook in the middle of a lab, who sees only a dead kernel. oom records each kill from the kernel's messages in the journal (journalctl _TRANSPORT=kernel, every boot the journal keeps: kills just before a restart are the ones that matter most, and journalctl -k reads only the current boot): when, the program and its pid, whose (uid and account), the control group it ran in, and the memory it held (oom_kills). Each run reads on from where the previous one stopped; the first looks back lookback_days (30; 0 starts from now). The account needs to read the kernel's messages (usually the systemd-journal or adm group); when it cannot, the run says so (a first look back that finds no kernel message at all says so once, and the look then starts from that run: to look back again after giving the account access, delete the rows of oom_state). A journal kept only in memory (Storage=volatile, or auto without /var/log/journal) loses what came before a restart.

[collectors.oom]
enabled = true

Workstations over SSH

workstation runs its commands and probes on each machine over SSH (BatchMode: a key, no password prompt), as the user ~/.ssh/config gives for that host, and runs them directly on a machine listed under the collecting host's own name. Some lab machines print a banner on every login, interactive or not, from a shell startup file. Since 1.7.27 nomad prints a marker before each command and reads only what follows it, so such a banner is never read as the machine's figures. To keep the banner off non-interactive logins anyway, wrap it in if [[ $- == *i* ]]; then ... fi.

Temperatures (temps, 1.25.6)

What the kernel's own sensors read (/sys/class/hwmon): the CPU (k10temp's Tctl and each CCD's, coretemp's packages and cores), NVMe drives, an integrated GPU, the board. temps reads them on this host, or over ssh (one ssh call each, a line of POSIX sh: any login shell runs it; no root, nothing installed there), 8 hosts at once, for at most 50 s in all: the hosts listed, the workstations the workstation collector reads here (workstations = true), and on a Slurm head node every node Slurm lists that isn't down, off or not responding (slurm_nodes = true, by its NodeHostname). NVIDIA GPUs' own temperatures and power are the gpu collector's (its gpu_nodes, over ssh too).

[collectors.temps]
enabled = true
hosts = ["localhost"]              # this host; others over ssh
workstations = true                # a hub, or a lab's head node
# slurm_nodes = true               # a cluster's head node
# ssh_user = "..."                 # default: as ssh logs in (its config)
# parallel = 8
# max_seconds = 50
# timeout = 15
# keep_days = 30                   # each reading; each hour's for good

A chip's cores are one reading, their hottest (cores, "Cores (hottest)", 1.25.7). Each reading is kept keep_days; each hour's lowest, mean and highest (hw_temps_hourly) for good, so day and night can be told apart over months. A run within 45 s of the last reads nothing (two timers asking at once). For alerts that mean minutes, run it every minute on its own timer (nomad collect -C temps --once); alerts: Alerts, "CPU temperatures".

nomad temps                              each host's sensors now, and the CPU's last 24 hours
nomad temps --host H --hours 168         a week, hour by hour, day and night
nomad temps --check --warning 70 --send  test the alert: what it would raise, sent

A fan's speed is read only where the board's sensor chip has a driver (an MSI board's Nuvoton NCT6687 has none in EL9's kernel): temperature is what there always is.

Power supplies, voltages and fans (power, 1.25.8)

What a server's own board controller (its BMC) knows about power: each supply's state ("Presence detected", "Power Supply AC lost", "Failure detected", redundancy), the power each gives, the board's voltages, the fans, and the board's event log. hpc3's gpu09 ran on one of its two supplies from February to November 2026, the other with no input power, and nothing said so: its board knew.

Reading the board takes root (ipmitool opens /dev/ipmi0), and nomad never runs as root. A small helper does, by root's cron, and only reads: scripts/power_root_probe.py (standard library, Python 3.6 or later; it runs ipmitool sdr type, sensor get, sel info and sel elist, nothing that sets or powers anything). It writes one JSON file, world-readable, that the power collector reads as nomad's own account. On a cluster's head node it reads itself and every node Slurm lists, over root's ssh, 8 at once:

install -d -m 755 -o root -g root /usr/local/libexec/nomad /var/lib/nomad-power
install -m 755 -o root -g root power_root_probe.py /usr/local/libexec/nomad/
/usr/bin/python3 -I /usr/local/libexec/nomad/power_root_probe.py --out /var/lib/nomad-power/power.json --nodes slurm --self

and in root's crontab:

*/5 * * * * /usr/bin/python3 -I /usr/local/libexec/nomad/power_root_probe.py --out /var/lib/nomad-power/power.json --nodes slurm --self

(--nodes a,b,c for named hosts; without --nodes, only the host it runs on; --sinfo PATH where Slurm's sinfo isn't in /usr/bin or /usr/local/bin. Each ipmitool command has 30 s; a board that doesn't answer is noted, and what was known of it is kept.) Its folder must be root's and not writable by others: the file is replaced there as root. A state file beside it (root's only) keeps which log entries were seen, so each run sends only new ones; a host's first read sends what its log holds, kept as history (not alerted). A run still going makes the next one stop at once.

[collectors.power]
enabled = true
files = ["/var/lib/nomad-power/power.json"]   # the helper's --out (shell patterns too)
# max_age_minutes = 20                         # an older file is said: is the helper's cron running?

The collector judges what is wrong, not the helper: a supply with no input power, failed, predicted to fail or misconfigured; redundancy lost; a voltage past its board's thresholds; a fan stopped (a supply's own fan counts as the supply's); one supply giving 0 W while another carries the node. A threshold of 0 is no threshold: a supply that doesn't report its power to the board reads 0 W "below" it whenever the board starts reading (all of hpc3's CPU nodes: node03's log holds 33 such entries since 2017), and that is shown, not alerted. A fan nomad has never seen turning is a header with no fan on it (hpc3's CPU nodes have four, at 0 RPM on every board): said in the host's notes, not alerted; a fan that turned and stops is (1.26.0). Tables: power_hosts (each host's last read), power_sensors (each sensor now: rewritten when its state changes, its reading at most hourly), power_events (each board log entry, once). Alerts: Alerts, "Power".

nomad power                       each host: what is wrong, its supplies, its log
nomad power --host gpu09 --all    every sensor of one host
nomad power --check --send        what would be alerted now, sent as a test
nomad power --hub --site hpc3    a site's, on the hub

Environment modules (modules, 1.26.0)

The modules a cluster has, as module -t avail lists them, read once a day, so the job scripts nomad makes (the Console's "No script yet? Make one", nomad templates: Submit, "Making a script") offer the versions the cluster really has. It runs in a login shell of the account collecting (bash -lc: Lmod and Environment Modules set module up at login), after module use for each of module_paths, the folders of modules a login doesn't add on its own (hpc1's /usr/local/sw/modulefiles). On the cluster's own nomad.toml:

[collectors.modules]
enabled = true
module_paths = ["/usr/local/sw/modulefiles"]
# min_hours = 20               # read at most this often

A read that fails (a folder of module_paths not there just then, module use or module -t avail failing, a folder that gave no modules) is said and the list read before is kept: never taken for "those modules are gone". What a login prints is not taken for modules. Tables: modules_available (each module, whether the cluster marks it its default, when nomad first saw it; rewritten only when the list changes) and modules_status (when it was last read, how many). Synced to the hub as any table. nomad templates --site hpc1 shows them, with the versions each template offers there.

CPU clocks (clock, 1.27.0)

How fast each CPU really runs when busy. hpc2's node01-03 lost one power supply's input on 4 October 2026 and kept running on the other; their boards answered by braking the CPUs (PROCHOT) to their lowest clock, about 400 MHz instead of 3,700. Nothing failed, no job crashed and Slurm saw healthy nodes: every job there ran ten times slower for a month. The clock the OS reports (/proc/cpuinfo, scaling_cur_freq, cpupower) is the one it asked for and can say 3,100 MHz meanwhile; the CPU's own cycle counter says what it gets.

Each read, every host runs a short busy loop in its own python3 (3.6 or later, standard library; EL8's platform-python where there is no python3), over the same kind of ssh call as the temperatures, no root: the CPU's cycles in user mode, counted for that process only (perf_event_open, allowed at the kernel's default perf_event_paranoid of 2), over 0.5 s of CPU time, is the clock it runs at. An idle node is measured busy too: a braked one looks like any other until it works. Where the counter can't be read (a virtual machine, a paranoid setting of 3), its sha256 rate per CPU-second is judged instead, against its own past and hosts like it.

Every socket is measured (a brake is per package: one socket braked slows every job that spans it) and the lowest counts. A reading is low below min_fraction (0.5) of the most the host should give, the highest of: its usual clock (the 90th percentile of its last 30 days' readings that weren't low: a month braked isn't its usual), the most a host alike gives now (the same CPU, both real machines; braked ones among them don't lower it: node02 against node51-53), and its CPU's top clock (cpufreq's maximum, or an Intel model's rated clock). A low clock counts only when its sha256 rate agrees, where it has one to compare with (a brake lowers both; a count another tool disturbed lowers only one); judged by the sha256 rate alone, low is below sha_min_fraction (0.25). A busy host (load per CPU 0.5 or more) is judged against what it gives busy, below busy_min_fraction (0.4): the median of its own busy readings and of the busy hosts alike now, else its CPU's rated clock (or 60% of its top clock), never the top clock it reaches idle (1.49.0). With every core at work a CPU runs far below its top clock, lower on heavy vector code. After sustain (2) low readings in a row it is throttled: alerted (Alerts, "CPU clock"), critical when the power collector shows a supply problem on it. Measured on hpc2, 5 Nov 2026: node02 396 MHz (11% of 3,764; sha256 115 MB/s), node51 3,730 MHz (sha256 1,826 MB/s).

[collectors.clock]
enabled = true
hosts = ["localhost"]
slurm_nodes = true             # a head node: every node Slurm lists that answers (drained ones too)
# workstations = true          # a lab's head node: the workstation collector's
# every_minutes = 15           # with the collectors every 5 minutes: every third run
# seconds = 0.5                # CPU time of each busy loop (one core)
# parallel = 8
# max_seconds = 60
# timeout = 20
# keep_days = 90

Submit a job's "Where would it start soonest?" knows them too: a partition whose nodes are all throttled isn't suggested, one with some says which, and nomad's pick is one without any where there is one (Submit). Tables: cpu_clock (each reading), cpu_clock_hosts (each host now).

nomad clock                         each host: its clock busy, what it should give, low since
nomad clock --host node02 --history 10
nomad clock --check --send          what would be alerted now, sent as a test
nomad clock --hub --site hpc2    a site's, on the hub

A host whose board can't be read in-band (no /dev/ipmi0: hpc2's node01 and node03) is shown by nomad power as NOT WATCHED, not as healthy: its supplies aren't seen, and this check is what still finds a CPU braked for lack of power.

Preempted jobs (preemptions, 1.28.0)

The job instances Slurm preempted in the last hours (2): a guest's job on a condo, stopped because the owners needed their nodes. A requeued job keeps its number, so each of its runs is its own record (sacct -a -D -X -s PR); each is kept once in job_preemptions, with whether the job came back (an instance of it that started later, or is pending: requeued) or not (cancelled); one that ended in the last 15 minutes with no other yet is "not known yet", and read again at the next run. The hub tells the person (Submit, "Guests on condos"). On a Slurm head node whose account sees every user's jobs:

[collectors.preemptions]
enabled = true
# hours = 2

The node_state collector also reads Slurm's own preemption settings with the partitions (scontrol show config: PreemptType, PreemptMode, JobRequeue, PreemptExemptTime; slurm_settings), so nomad knows whether Slurm preempts at all.

What running jobs use now (job_live, 1.32.0)

An ended job's analysis says how much of what it asked for it used (the cores it kept busy, the most memory it held, from Slurm's accounting once it ends). job_live says it while the job runs, from Slurm's accounting of running jobs (sstat). Each run lists the running jobs (squeue -t RUNNING), asks sstat for their steps (a hundred jobs per call), and keeps one row per running job in job_live. A job that has ended loses its row. Per job:

  • cores busy now (busy_now): the CPU time its steps added since the last run, over the time between. It is given only when the same steps ran then, and it isn't held to the cores asked for: on a cluster that doesn't keep jobs to them (cgroup.conf without ConstrainCores=yes), a job using more shows it.
  • cores busy on average (busy_avg): its steps' CPU time over its time running. It reads low for a job whose steps came and went (each srun step is counted only while it runs).
  • memory at its peak so far (peak_rss_mb): the most one of its tasks has held (MaxRSS), measured as an ended job's peak is.
  • memory held now (rss_now_mb): every task's, added up (AveRSS times tasks). Since 1.32.2 its extern step's too: processes started by ssh into the job's node land there (pam_slurm_adopt: a notebook or an editor reached by ssh) and count against its memory.
  • the most held together (held_most_mb, 1.32.2): the most all its tasks held at any of nomad's readings since this run of it started (a peak between readings isn't seen; a requeued job starts again).
  • their peaks added up (peaks_sum_mb, 1.32.2): the most its running steps' tasks' own peaks came to at a reading (MaxRSS times tasks). While no step has gone unseen, it can't be less than what they held at once, wherever Slurm placed them.
  • a step gone unseen (steps_unseen, 1.32.2): 1 once a step of this run has ended, or come and gone, between nomad's readings. What it held after nomad last read it isn't known, so the peaks added up no longer bound the job's; the Console then doesn't suggest asking for less. srun numbers a job's steps in order, so a number skipped is a step never read.

MaxRSS is the peak of a job's largest task. For a job of one task at a time (one program with many threads, like most) that is the job's peak. For a job of many tasks at once (MPI, or srun -n1 ... & side by side) it is one task's: a 40-task job whose tasks each held 2 GB of the 100 GB it asked reads 2 GB, while it holds 80. Slurm doesn't keep what they held together, so nomad reads it at each run, and adds their own peaks up for a figure the job's peak can't be over. Both are the whole job's: a job's request is per node, and how Slurm spread its tasks over its nodes isn't known. Memory a job's processes share (shared memory between MPI ranks) is counted once per process, so it can read more than the job holds.

An ended job's max_tasks (job_metrics) is the most tasks that ran at once (1.32.2): its steps' times overlapped and added up (a step ending within 5 seconds of another's start doesn't overlap it: Slurm may record an end just after the next start). The batch step (or salloc's interactive one) is left out while steps it started run, unless it held more than 1 GB (a program of its own beside them). A step whose tasks Slurm didn't say counts as more than one. A job of more than one isn't scored on memory: its peak is one task's.

The node's own figures can't say this. Slurm's "free memory" (and free's "free") leaves out the file cache, which on hpc1's n010 was 697 of its 754 GB while the one job there held 31 GB.

sstat shows someone else's job only to root and Slurm's own account, so on a Slurm head node it runs as Slurm's account through sudo: sstat_as, by default [actions] slurm_as (the account that drains nodes, 1.31). Set it to "self" for an account that is root or SlurmUser. It runs by its full path, without a terminal, and not at all when someone else could change the nomad running here (the check nomad node drain makes). An account whose sudo covers only drain and resume needs sstat too: root adds ACCOUNT ALL=(slurm) NOPASSWD: /usr/bin/sstat (it only reads).

[collectors.job_live]
enabled = true
# interval = 300
# sstat_as = "slurm"        # default: [actions] slurm_as
# early_minutes = 30        # a job's first readings kept (0: none) (1.51.0)
# early_keep_days = 90

A job's first minutes (1.51.0): job_live keeps only each running job's latest reading, and drops it when the job ends. While a job has run early_minutes (30) or less, each reading of it is also kept in job_early, one row a reading (cores kept busy, memory held, its peak), for early_keep_days (90), with no person's name (the job's ID joins it to its job). It is there to learn whether what a job does in its first minutes tells which jobs will run out of memory or time, before trying to warn anyone.

The Console shows it beside what each running job asked for (staff, every job; a person, their own).

nomad's own databases (databases, 1.61.0)

Each of nomad's databases every 6 hours: size, free space inside and on its disk, rows each table writes a day; an alert when one grows unusually in a day; a weekly incremental vacuum where a database is set for it. See nomad's own databases.

(1.63.0) Once a day it also goes through the keep rules on the database nomad collects into, once nomad db keep --apply has run there: older readings rolled up to hours and days, and (1.64.0) the tables reports read over terms and years thinned to one reading every 15 minutes after 13 months (keep rules).

Workstation mounts

Each workstation run also checks every mount on each machine (NFS, and local filesystems other than the system's own). A small probe goes over the same SSH connection to the machine's own python3 (3.6 or later), so nothing is installed on the workstations. It checks all mounts at once, each in its own thread with a 3-second limit, and records whether stat() answered (workstation_mount_state: is_responsive, response_ms). A call on a dead NFS server cannot be interrupted, so a thread still waiting at the limit is abandoned, the mount recorded as not responding, and the probe ends anyway: a dead NAS costs one limit, and the other mounts are still reported.

Since 1.7.24 it also records the size of the filesystem behind each mount, as df shows it: total_bytes, used_bytes and avail_bytes (what users can still write). These are empty for a mount that did not answer, and in rows from before 1.7.24. For an NFS mount they are the server's figures for that export, so the lab machines report their NAS's space without nomad reaching the NAS. "Used" is the whole export's, whoever wrote it.

Exports that are datasets of one ZFS pool each report their own used space but share the pool's free space, and each one's total is its own used space plus that shared free space. So their totals overlap and must not be added up. When two exports of one server are read with the same free space (within 0.1%, at most 1 GiB) in one run, whether by the same lab machine or by two (an export mounted on a single machine is read by no other), nomad console roles says "free space shared with ...", leaves out each one's total, and adds a line with their space together: their used space summed, the free space counted once. Exports on different server addresses are never put together, even if the same NAS answers on both.

Only the collecting host needs 1.7.24 for the sizes; the hub's combined database gains the columns at its next sync.

A machine's own disks among them (not NFS or other network filesystems, not fuse mounts, not drives plugged in under /media) raise workstation_disk alerts at the disk thresholds, one per machine and disk (1.14.2; see docs/alerts.md), and are the Console's Local disks.

Storage servers

[collectors.storage]
enabled = true

[[collectors.storage.storage_devices]]
hostname = "nas1"
type = "zfs"

[[collectors.storage.storage_devices]]
hostname = "nfs-home"
type = "nfs"
paths = ["/export/home"]

Reached over SSH with BatchMode (a key, no password prompt) unless hostname is this host. type = "zfs" reads pool health and capacity: the space users have, from each pool's root dataset (zfs list), so RAIDZ parity isn't counted as it is in zpool list, and a boot pool (boot-pool, freenas-boot, bpool) isn't counted at all. It works on TrueNAS CORE (FreeBSD) as on Linux. Any type reads NFS exports and connected clients. A login banner is skipped, as for workstations. nomad lab add-nas adds a NAS (see docs/config.md). Without ZFS, capacity comes only from the paths listed (df) — never from the server's root disk. An unreachable server is stored as offline with its capacity unknown (NULL), not as an empty server.

Who holds a server's space (each owner's use, quotas, and how old their folders are) is the storage_use collector's: see Storage use.

[[storage_devices]] and [[network_tests]] at the top level of nomad.toml, where older examples put them, are still read, with a warning to move them.