Status: in development, plan revision 2 (2026-11-15), after the milestone 1 documentation and source research in docs/research. Revision 1 was 2026-11-14. Milestone 2 (foundation) is merged on main: the plugin lifecycle and PHP guard, realms and pages, the filesystem, node, and network registry, the Lustre backend and forced-command node reader, the observation cache and measurement state model, the health page, and the test harness. Milestone 3 (Lustre observation) is merged too: a Cacti device per filesystem, OST and MDT data queries, the templates, five overview graphs, and per-target graphs on demand, with the differences from this plan listed in the milestone 3 implementation notes. Milestone 4 (alerting and phase 1 release preparation) is code complete on its branch: Thold and Maint run end to end on the summary gauges, with the differences listed in the milestone 4 implementation notes; pilots, the external security review, and live scale measurements remain, and there is no release. Sections below describe the design; where they differ from what is merged, the milestone table shows which milestone delivers it. Statements about Lustre, GPFS, BeeGFS, RRDtool, Cacti core, Thold, and Maint describe upstream behavior and cite the source that was checked, at a pinned tag or commit where one exists. Anything that could not be verified is listed under Assumptions to confirm and tracked as a research issue; the design does not treat it as fact. Items that need a real Lustre, Storage Scale, or BeeGFS system, a Cacti remote collector, or accounts are marked live; none of those checks has run. Owner is not assigned; size estimates are in estimates.
plugin_pfs brings parallel filesystem health and load into Cacti 1.2 as ordinary Cacti devices, data sources, and graphs: capacity and fill imbalance across targets, per-target throughput, and metadata operation rates. Lustre is the phase 1 backend. GPFS (IBM Storage Scale) and BeeGFS follow behind a backend interface.
When a shared filesystem is slow, the evidence is scattered. Lustre counters live on the node that serves each target, so no single node can tell an operator that one object storage target (OST) is nearly full while its neighbors are empty, or that one metadata target (MDT) is handling most of a metadata-heavy workload. Three gaps follow:
- No filesystem view in Cacti. Cacti graphs hosts and thresholds values with Thold, but nothing in the Cacti GitHub organization understands targets, fill imbalance, or per-target counters (searched 2026-11-14 for Lustre, GPFS, BeeGFS, and "parallel filesystem").
- Per-node data. The same filesystem's numbers sit on dozens or hundreds of servers, so comparing targets means collecting from all of them.
- No path into Cacti alerting. Thold and Maint act on Cacti data sources and devices. Filesystem alerts today are configured and suppressed elsewhere.
The plugin reads allowlisted, read-only values from the storage nodes and represents each filesystem as a Cacti device whose targets are the indexes of a data query. It reuses Cacti's graphing, permissions, remote data collectors, Thold, and Maint. It does not change the filesystem, and it is not a replacement for vendor management tools.
Goals
- Capacity, fill, and imbalance per target and per filesystem, reconciled with
lfs dffor Lustre. - Per-target throughput and per-MDT operation rates that distinguish a reset from a lull and a missing target from zero.
- Cacti device and graph permissions on everything, with no plugin-specific permission layer for graphs.
- Alerting and maintenance through Thold and Maint, so one notification path covers SNMP and filesystem data.
- Read-only operation against existing filesystems, with the least privilege each read needs.
- Remote collection through Cacti remote data collectors, not a new network service.
- No required Cacti core patches.
Non-goals
- Any write, clear, reset, or tuning operation on a node or filesystem.
- A plugin-owned incident, escalation, or notification engine.
- A custom network protocol, daemon, or credential store.
- Per-job or per-client data sources at scale. Job and client views are bounded tables (phase 2).
- Replacing vendor tools for filesystem administration.
Each phase ships to users. Later phases are re-estimated after the phase before them.
| Phase | Label | Scope | Depends on |
|---|---|---|---|
| 0 | Research | Release matrix, node access decision, upstream behavior confirmation, counter and failover behavior, scale measurements (milestone 1) | Nothing |
| 1 | Planned | Lustre observation: inventory, devices, capacity and fill, OST throughput, MDT operation rates, graphs, summary data sources for Thold, Maint suppression, health page | Phase 0 |
| 2 | Planned | Cacti remote data collectors, job-level and client-level views within a bounded object count | Phase 1, security review |
| 3 | Planned | GPFS (IBM Storage Scale) and BeeGFS backends | Phase 1, privilege decision |
| - | Research | Quota usage, LNet metrics, a slow-filesystem triage view | Demand after phase 1 |
Cacti. Minimum Cacti release is 1.2.31, with no core patches (ADR 0007). The plugin uses only APIs present in that release. These symbols exist in the stated files at tag release/1.2.31 (checked 2026-11-14). Milestone 1 research (cacti-core, commits 1e8eaca26b and e2d5c25893 of 1.2.x) confirmed the signatures are identical at both refs and recorded the behavior differences below:
- Plugin lifecycle and hooks:
api_plugin_register_hook(),api_plugin_register_realm(),api_plugin_db_table_create(),api_plugin_db_changes_remove()(lib/plugins.php). Registration is refused unless the calling function's name containsinstall,upgrade, orsetup, so call these directly fromplugin_pfs_install()andplugin_pfs_upgrade(), not from a class method.api_plugin_db_table_create()skips an existing table on 1.2.31 but refreshes its schema on1.2.x; migrations depend on neither. - Devices:
api_device_save()(lib/api_device.php). - Templates:
import_xml_data()(lib/import.php). - Background work:
exec_background()andregister_process_start()(lib/poller.php).exec_background()takes one executable path and an argument list (1.2.x shell-quotes the path);exec_background_process()exists only on 1.2.x and is not used. - Remote collectors:
call_remote_data_collector()(lib/functions.php) and theremote_agenthook (remote_agent.php).
PHP. The plugin requires PHP 8.2 or later (ADR 0006). The 1.2.x branch declares "php": ">=8.2" and pins Composer resolution to platform.php: 8.2.0 (branch composer.json, Cacti/cacti#8569, merged). Tag release/1.2.31 still declares >=8.0 (release composer.json). Because Cacti includes plugin files on every request, a parse error breaks the whole UI, so:
setup.php,INFO, and every file Cacti includes before the version check use only PHP 8.0 syntax.plugin_pfs_check_config()andplugin_pfs_install()refuse to proceed whenversion_compare(PHP_VERSION, '8.2.0', '<'), with a message naming the required version.- Hook shims return early under the same condition, before the autoloader is registered.
- CI lints
setup.phpand the shim files under PHP 8.0.
Code loaded after the check may use PHP features through 8.2, and nothing from 8.3 or later. Properties are always declared, because PHP 8.2 deprecates dynamic properties. PHPStan runs at phpVersion 8.2. No upper PHP bound is declared; the CI matrix defines the tested ceiling.
Lustre. The Lustre GitHub mirror has release tags v2_15_8, v2_16_1, and v2_17_0 (checked 2026-11-14; the mirror may lag releases). Source was compared at v2_15_8, v2_16_1, and v2_17_0 (lustre-parameters); the man pages exist at lustre/doc/ in the 2.15.8 and 2.16.1 tags and under Documentation/ from 2.17.0. The community survey in the LUG 2026 community release update (read in full) shows 2.15.x as the clear leader and the long-term support line, 2.16.x and 2.17.x on newer server distributions, ldiskfs 64 percent and ZFS 30 percent. The plugin supports 2.15.x, 2.16.x, and 2.17.x; see lustre-matrix for the drop rule, distributions, and the open test filesystem recipes (live). Combined MGS/MDS nodes and multiple MDTs are untested (live).
Plugin metadata. INFO declares compat = 1.2.31 and capabilities = online_view:1, online_mgmt:1, offline_view:0, offline_mgmt:0, remote_collect:1, remote_poller:1. At release/1.2.31 and on 1.2.x, api_plugin_run_plugin_hook() on a remote collector requires remote_collect for poller_output and poller_top but remote_poller for poller_bottom (lib/plugins.php), while servcheck's INFO at main declares only remote_collect:1. Running Cacti's own gating functions with stubs (tests/capability-gating) showed poller_bottom skipped with remote_collect:1 alone and run with both capabilities, at both refs. The INFO file needs an [info] section; without a capabilities key Cacti treats the plugin as remote_collect:0. A run on a real collector is live.
Each row was a milestone 1 test, because a change in any of them changes the design. "Checked" means the cited source was read on 2026-11-14, and where a row says so it was re-read on 2026-11-15 at the other refs named in the research documents. Rows about running systems were not observed.
Lustre, tag v2_17_0 (commit 4b0407a48e9e5b7f17877e8868080e9f40c238c6). Rows were re-read at v2_15_8 (ee228420b7) and v2_16_1 (718a3fd9c7) in lustre-parameters; the notes say where they differ. No row was observed on a running node.
| Fact | Consequence | Source |
|---|---|---|
lctl get_param returns values "on the local node". Names are dot-separated components with glob wildcards, usually obd_name.obd_instance.parameter_name. Many parameters are readable by a regular user, "some of them are accessible only by the root user". |
Each OSS and MDS holds only its own targets' counters, so collection is per node. Privilege is per parameter, and needs a per-parameter table. | lctl-get_param.8 |
A stats file prints snapshot_time, then per counter <name> <count> samples [<unit>] followed, for min/max/sum counters, by min, max, sum, and sometimes sum of squares. A counter with zero samples prints no line (all three tags). start_time and elapsed_time always print at 2.15.8, and from 2.16.1 only while the sysfs switch enable_stats_header (default on) is non-zero. |
Absent lines mean zero samples only if the read succeeded. Header availability varies, so reset detection cannot depend on it. | lprocfs_status.c (lprocfs_stats_seq_show, lprocfs_stats_header) |
Any write to a stats file calls lprocfs_stats_clear(), which zeros counts, sums, and minimums and resets the start time. |
Counters can reset outside the plugin's control. The plugin never writes to a stats file. | lprocfs_status.c (lprocfs_stats_seq_write, lprocfs_stats_clear) |
OST (OFD) stats include read_bytes and write_bytes (byte counters with min, max, and sum) and latency counters read, write, getattr, setattr, punch, sync, destroy, create, statfs, get_info, set_info, quotactl, prealloc (same set at 2.15.8, 2.16.1, 2.17.0). |
Per-OST byte and operation counters exist as named counters. The latency counters have unit usecs. On 2.15.8 and 2.16.1 the file is in procfs; on 2.17.0 it is created in debugfs, which is root-only by default, so an unprivileged read of OST counters on 2.17 is doubtful (live). |
lproc_ofd.c (ofd_stats_counter_init) |
The MDT default operation names include open, close, mknod, link, unlink, mkdir, rmdir, rename, getattr, setattr, getxattr, setxattr, statfs, sync, samedir_rename, and crossdir_rename; more counters are added after the defaults (2.16.1 adds parallel_rename_file and parallel_rename_dir; 2.17.0 adds rename_trylocks). |
A fixed per-release allowlist of operations is feasible and must be keyed by release. | mdt_lproc.c (mdt_stats names) |
Generic read-only (mode 0444) sysfs attributes blocksize, filestotal, filesfree, kbytestotal, kbytesfree, kbytesavail exist on the OFD device (obdfilter.<ost>) and on the backing device (osd-*.<target>) for OSTs and MDTs at all three tags; the mdt.<mdt> device has only uuid. maxbytes and statfs_state are not present at every tag (statfs_state only at 2.17.0). kbytes* are statfs values scaled to KiB, from a statfs cache of 1 second. |
Capacity gauges exist per target on any node type that serves it. MDT capacity must be read from osd-*. A read can fail with an error instead of a value. |
lprocfs_status.c (obd_def_attrs) |
Job stats are disabled by default (obd_jobid_var starts as the disable value). The job ID is read from an environment variable named by jobid_var, or set per session. The output is YAML-like: job_stats: then - job_id:, snapshot_time, start_time, elapsed_time, and counters. A job_cleanup_interval parameter removes idle jobs. Every counter is printed for every job, including zero samples, job IDs are escaped as \xHH and quoted, and 2.17.0 adds hist: fields. |
Job IDs are strings chosen by user jobs: untrusted and unbounded. Job views must be bounded and escaped, and the parser must accept quoted IDs and counters with zero samples. | jobid.c, lprocfs_jobstats.c, mdt_lproc.c |
lfs df reports each MDT and OST of each Lustre filesystem mounted on that node, with a filesystem_summary line, and optional status flags D (degraded), N (no-create), R (read-only), S (out of space), I (out of inodes). Options include --lazy (do not contact targets not currently connected), --verbose (show deactivated targets), -i, --pool, --ost, --mdt, --only-summary, --no-header, and --output. The man page documents no JSON option. Use% is used / (used + avail) * 100 rounded up, with used = blocks - bfree and avail = bavail (used-percentage). Options at 2.15.8 are -h -H -i -l -p -v only; 2.16.1 adds -m -o; -N, -s, and --output appear in 2.17.0. Flag N is no-precreate before 2.17 and no-create from 2.17.0. |
Capacity can come from a client mount, and --lazy bounds blocking on an offline target. Text parsing is required. Server-side kbytes* parameters give the same percentage by the same formula (formula check only; live for real targets). |
lfs-df.1 |
An OFD parameter recovery_status exists (procfs at 2.15.8 and 2.16.1, debugfs at 2.17.0) and prints status: INACTIVE, COMPLETE, WAITING, WAITING_FOR_CLIENTS, or RECOVERING with details. |
Recovery state may be observable per target during failover (failover). Condition parameters differ by release: no_create from 2.16.1, readonly and statfs_state only on 2.17.0. |
lproc_ofd.c |
lustre_exporter (GSI-HPC/lustre_exporter, tag v2.1.9, commit 871b35d12efd1479f1f36c542dc67bf44b1ef871; files below read on master, commit 8991c864d1, 2026-08-05; details in lustre-exporter)
| Fact | Consequence | Source |
|---|---|---|
It is a Prometheus exporter. The default listener is :9169 and the default path /metrics, served with plain http.ListenAndServe; no TLS or authentication flag exists. Collectors ost, mdt, mgs, mds, client, generic, lnet, and health each take disabled, core, or extended. |
A scrape-based node source needs one HTTP GET per server and an open port with no transport security of its own. | lustre_exporter.go, README |
Its source tables read capacity (kbytes*) from osd-*/*-OST* and osd-*/*-MDT*, stats and job_stats from the obdfilter and MDT directories, and expose names such as read_bytes_total, write_bytes_total, capacity_kibibytes, free_kibibytes, and job_stats_total, in the lustre namespace. |
The values the plan needs exist in this exporter; labels are component and target, plus operation, size, or jobid where applicable. It reads OST stats from procfs, so 2.17 coverage is doubtful, and it exposes no start_time, recovery_status, no_create, readonly, or statfs_state. |
sources/procfs.go, sources/sysfs.go |
LNET metrics read DebugFS and need root or a DebugFS mount other users can access; the service unit runs as prometheus by default. |
LNET data conflicts with the least-privilege rule. It is research. | README |
The README's version table lists only Lustre 2.12 with tag v2.1.6, while releases through v2.1.9 (2026-03-31) exist and the VERSION file reads 2.1.10_dirty. License GPL-3.0. |
Release coverage is unclear and is a research item. | README, GitHub releases |
RRDtool
| Fact | Consequence | Source |
|---|---|---|
| COUNTER "assumes that the counter never decreases, except when a counter overflows" and corrects 32-bit and 64-bit overflows. DERIVE "works exactly like COUNTER but without overflow checks"; for counters that do not reset at 32 or 64 bits, use DERIVE with a minimum of 0. Values outside the min and max range become unknown. | A reset in a DERIVE data source with minimum 0 yields an unknown interval instead of a false spike. | rrdcreate |
Cacti core 1.2.31 (files at release/1.2.31)
| Fact | Consequence | Source |
|---|---|---|
process_poller_output() feeds completed values to RRDs and then calls api_plugin_hook_function('poller_output', ...). Thold registers thold_poller_output on that hook. |
Only polled data sources reach Thold. Thold receives the raw polled value and computes its own rate; it does not use the data source minimum (thold-counters). | lib/poller.php; plugin_thold setup.php (line 78, develop at dc76952) |
poller.php runs api_plugin_hook('poller_bottom') at the end of each cycle. |
The reader can start from poller_bottom. |
poller.php |
On a remote collector (poller_id > 1), hooks run only when INFO capabilities match: remote_collect for poller_output and poller_top, remote_poller for poller_bottom. Same at 1.2.31 and 1.2.x. |
See Compatibility; the declaration is remote_collect:1, remote_poller:1, run against Cacti's gating code, and live on a real collector. |
lib/plugins.php (api_plugin_run_plugin_hook, api_plugin_status_run) |
The script server includes the requested PHP file and calls the function. It refuses PHP internal functions and functions whose source file is outside the Cacti base path, and answers U when the function does not exist. |
The input function must be a plugin function inside the Cacti tree, and failures degrade to unknown. | script_server.php |
A script server data query XML in resource/script_server/ declares script_server, arg_index, arg_query, arg_get, arg_num_indexes, index_order, and input and output fields. The index and query steps run the script as a separate PHP CLI process; only polling uses the script server. A script server query makes one script call per output field per index. Reindex "Verify All" does nothing for script server queries; a removed index sets data_local.orphan. |
Targets can be the indexes of a data query. The script needs a CLI entry point as well as a script server function, and the reindex method is None or Index Count. Call counts are in scale. | resource/script_server/host_disk.xml |
Data source types are GAUGE, COUNTER, DERIVE, and others in $data_source_types. Data source names (data_source_name, rrd_name) are varchar(19). A device template (host_template) has no availability setting; availability is a host column and AVAIL_NONE is 0. |
Templates can use DERIVE. Per-target counter names must fit 19 characters, and the plugin sets availability_method 0 per device through api_device_save(). |
include/global_arrays.php |
remote_agent.php authorizes a caller by matching its address (or resolved name) to an enabled poller's hostname, then dispatches unknown actions to plugins through the remote_agent hook; the callback must return a truthy value or core prints Unknown Agent Request. At 1.2.31 it uses get_client_addr(); on 1.2.x the TCP peer address, so a proxy's address must be registered. |
The main server can call plugin actions on a collector. The authorization is address-based, not cryptographic. | remote_agent.php |
thold and servcheck INFO declare remote_collect:1; maint declares remote_collect:0. Maint registers an is_device_in_maintenance hook that no caller uses; Thold and Cacti core call plugin_maint_check_cacti_host() directly, guarded by api_plugin_is_enabled('maint') && function_exists(...), after loading Maint's functions.php. |
Maint suppresses Thold notifications for a device; values are still collected. The plugin checks maintenance with the same guarded call, and whether maintenance is honored on a remote collector (Maint's hooks do not run there, but Thold loads Maint's functions file itself) is unverified (live). | INFO files at each plugin's default branch (dc76952, 10ab7ac, 9422c7a) |
GPFS (IBM Storage Scale 5.2.3 documentation)
| Fact | Consequence | Source |
|---|---|---|
mmpmon "must be run by a user with root authority, on the node for which you want statistics." Options include -p (machine-parseable output), -r (repeat count), -d (delay, milliseconds), -t (daemon timeout), -i (input file). Requests include fs_io_s ("I/O statistics per mounted file system"), io_s ("for the entire node"), and reset ("Resets statistics to zero"). |
Statistics are per node and need root there. The plugin must never call reset, which would disturb other consumers. IBM's 5.1.0 guide adds that fs_io_s and io_s values are cumulative since mount or the last reset, are for the node running mmpmon (not the whole file system), and are one counter set per node (mmpmon). |
mmpmon command |
BeeGFS (official release notes)
| Fact | Consequence | Source |
|---|---|---|
BeeGFS 8.0.0 "Replaces the beegfs-ctl command-line interface with a new beegfs tool"; mon is listed among the server services. |
A BeeGFS backend needs a per-release read path. | 8.0 release notes |
BeeGFS 8.4 mentions exporting metrics and structured logs through the OpenTelemetry Protocol to backends including Prometheus and Telegraf/InfluxDB, listed under Remote Storage Targets, and a beegfs stats client command. The documented server statistics path is beegfs-mon into InfluxDB; most of its fields are gauges or per-interval values (beegfs). |
The OTLP item concerns remote storage targets, not server statistics. beegfs-ctl --serverstats flags are not documented on an official page. |
8.4 release notes |
Milestone 1 research (index) checked each assumption from documentation and source. "Live" means the check needs a real filesystem, cluster, or Cacti collector and has not run. Nothing below was observed on a running Lustre, Storage Scale, or BeeGFS system.
| Assumption | Research issue | Outcome (2026-11-15) |
|---|---|---|
| The paths, stats format, clear semantics, and header fields above hold on Lustre 2.15.x and 2.16.x. | #16 | Hold in source at 2.15.8, 2.16.1, 2.17.0 with differences (header switch, OST counter set, 2.17 debugfs move, per-release condition parameters). Fixtures and unprivileged reads are live. lustre-parameters |
Used percentage can be defined to agree with lfs df, and lfs df options exist on older releases. |
#17 | Formula ceil(used / (used + avail) * 100) matches by source; options per release listed. Measured agreement is live. used-percentage |
| lustre_exporter covers the supported releases and exposes the needed labels, with acceptable privileges and authentication. | #18 | Needed values and labels exist; no transport security; 2.17 OST counters doubtful; no reset or condition evidence. Release matrix is live. lustre-exporter |
| A fixed, argument-free read script can enforce least privilege per node type. | #20 | Prototype passes fixture tests; per-parameter privileges derived from source. Real nodes and forced SSH are live. node-privileges |
| DERIVE with minimum 0 is enough for counter resets, or the reader needs its own rule. | #21 | Not enough alone (a reset hidden by a later, larger value is undetectable and its rate is a lower bound); a generous per-counter maximum and a reader rule are proposed. Lustre event values are live. counter-reset |
| Thold can alert on rates from counter data sources. | #22 | Yes for DERIVE, with a negative sample on reset; Thold ignores the data source minimum. Run end to end is live. thold-counters |
| Poller cost and Cacti row counts are acceptable at 500 and 2,000 targets. | #23 | Row and call counts derived; nothing measured. Live. scale |
| A target reports consistently across failover, and an authoritative node can be chosen. | #24 | Rule proposed from source; no failover observed. Live. failover |
| The INFO capabilities that make the reader and the script server input run on a collector. | #25 | remote_collect:1, remote_poller:1, run against Cacti's gating code at both refs. Real collector is live. cacti-core |
mmpmon output keywords and cumulative semantics; a read path that avoids root. |
#27 | Keywords and semantics sourced from the 5.1.0 guide; root required; non-root path unverified (live). mmpmon |
| BeeGFS server statistics commands, flags, and counter semantics per release. | #28 | Not documented officially for beegfs-ctl/beegfs; Mon database documented, mostly gauges and per-interval. Live. beegfs |
| Which Lustre releases and distributions to support. | #19 | 2.15.x, 2.16.x, 2.17.x; recipes live. lustre-matrix |
flowchart TB
subgraph Main["Cacti main server"]
UI[Plugin pages] --> PERM[Cacti realms and device permissions]
GR[Cacti graphs] --> PERM
DB[(Cacti database: devices, data sources, plugin tables)]
THOLD[Thold and Maint]
end
subgraph Poller["Cacti poller that reaches the nodes: main server or remote collector"]
PB[poller_bottom] --> RJ[Reader]
RJ --> NS[Node source]
RJ --> CACHE[(Observation cache)]
SS[Script server input] --> CACHE
RA[remote_agent actions]
end
subgraph Nodes["Storage nodes"]
OSS[OSS and MDS nodes]
end
NS -->|fixed allowlisted read| OSS
SS -->|poller_output| THOLD
SS --> RRD[(Cacti RRDs)]
GR --> RRD
UI -->|remote pollers| RA
A Cacti poller that can reach a filesystem's nodes does all node work. The main server never contacts a node (ADR 0004).
| Component | Responsibility | Interfaces | Failure behavior |
|---|---|---|---|
| Plugin pages | Filesystems, nodes, targets, health, settings | Cacti page framework, csrf-magic, realms | Show cached data with its age; never block on a node |
| Reader | Read every registered node once per cycle, parse, update cache and health | poller_bottom, exec_background(), register_process_start(), filtered by poller_id |
One instance per poller; time budget and concurrency limit; failed nodes keep their previous observation times |
| Node source | Carry one allowlisted read from a node to the reader | Product-neutral interface; access method decided in milestone 1 | Timeout, size limit, or error means a failed read, never zeros |
| Backend | Know a product: declared values, parsing, targets | Backend interface (ADR 0003) | Unparsable value is unknown |
| Script server input | Return summary and per-target values from the cache | Cacti script server | U when stale or missing; age always numeric |
| Cacti graphs | Capacity, imbalance, throughput, and operation graphs | Graph templates shipped as template XML | Standard Cacti behavior for gaps |
remote_agent actions (phase 2) |
Inventory and health from a collector | remote_agent hook, call_remote_data_collector() |
Collector unreachable means data shows as stale, never healthy |
| Value | Where it is available | Collected by |
|---|---|---|
| OST capacity, OST byte and operation counters | The OSS that serves the OST (lctl get_param is local) |
Reader, from each OSS |
| MDT capacity and operation counters, MDS job stats | The MDS that serves the MDT | Reader, from each MDS |
Filesystem-wide lfs df view |
Any node that mounts the filesystem (client) | Reader, from a registered client or from servers' own values |
| Client-side throughput | The client (llite and related parameters) |
Phase 2, selected clients only |
| GPFS counters | The node whose statistics are wanted, as root | Phase 3, through a fixed wrapper |
| BeeGFS server statistics | Management or admin tooling per release | Phase 3, per research |
- Cacti poller with a route to all nodes (phase 1). One reader on the main poller.
- Segmented storage network (phase 2). A Cacti remote data collector sits on the storage management network and runs the reader. Summary values reach the main server through the normal poller output path.
- Several filesystems, several pollers (phase 2). Each filesystem records its poller; each reader handles only its own.
Two boundaries (ADR 0003):
- Backend. For a product, it declares each value it produces (kind: gauge or cumulative counter; unit; which node roles report it), the fixed allowlist of reads it needs, and how to turn node output into observations. It has no write operation. Lustre is first; a stub second backend passes the same contract suite from the start.
- Node source. It carries one allowlisted read and returns bytes. It enforces connect and total timeouts and a maximum response size, and knows nothing about Lustre.
Access method (decided, ADR 0009). How a node source reaches a server is the largest trust decision. The options below were weighed in issue #7, each constrained by ADR 0008. The restricted SSH forced command was chosen: node/pfs-read.sh is the fixed, argument-free script, and SshNodeSource runs ssh with a fixed argument list, host key checking required, and no remote command. An exporter source can be added later behind the same node source interface.
| Option | Strength | Cost |
|---|---|---|
| Scrape a Prometheus-format exporter on each server | Cacti makes only an HTTP GET; no shell access to the server. An unauthenticated listener exposes metrics to anyone on the network | A third-party component on every server; release coverage unconfirmed; an open port |
| Restricted SSH forced command running a fixed script | No extra daemon | Cacti holds a key; the script is a privileged-adjacent component to maintain |
Capacity only, from a client mount (lfs df --lazy) |
No access to servers | No server counters |
| Site-written file drop on shared storage | No network credential | Freshness and ownership become the site's problem |
| Object | Created from | Notes |
|---|---|---|
| Device | "Parallel Filesystem" device template, assigned to the poller that reads the nodes | One device per filesystem is proposed; existing devices can be mapped. Created only on administrator confirmation. A device template has no availability field, so the provisioner sets availability_method 0 through api_device_save() |
| Target data sources | Script server data query over targets | Targets (OST, MDT) are the data query indexes; Cacti's own workflow creates data sources and graphs. The query script runs as a CLI process for index and query steps and through the script server for polling; one call per field per index (scale) |
| Summary data source | "Parallel Filesystem Summary" data template using a script server input | Polled; reaches Thold through poller_output |
| Graphs | Graph templates for capacity and fill, imbalance, per-target capacity, per-OST throughput, per-MDT operation rates | Placed in graph trees and protected by graph permissions |
Templates ship as Cacti template XML, imported with import_xml_data() at install and upgrade and matched by hash so re-import updates rather than duplicates. The XML is Cacti's own export of templates built in a disposable Cacti (tests/bin/build-templates.php), never edited by hand.
Milestone 3 implementation notes, where the build differs from or adds to the text above:
- Query files are copied into Cacti. Cacti 1.2.31 and 1.2.x read a data query XML only from inside
<path_cacti>/resourceand resolve symlinks before checking, so the plugin copiespfs_osts.xmlandpfs_mdts.xmlto<path_cacti>/resource/script_server/at install and records the SHA-256 of each file it wrote. It never replaces or removes a file it did not write or that was changed since, and uninstall removes only unchanged files. If the web server user cannot write that directory, the install records the failure, the health page shows it with the manual copy, and the plugin's own pages and reader keep working. A remote data collector needs the same files (phase 2). - Two data queries. OSTs and MDTs carry different values, so each type is its own data query ("Parallel Filesystem OSTs", "Parallel Filesystem MDTs") on the one filesystem device.
- One data template per per-target graph. Cacti stores in an RRD file only the values some graph draws when the file is created, and 1.2 never adds a data source to an existing file. A data source shared by graphs created at different times would leave the later graph empty, so each per-target graph template has a data template holding exactly the values it draws. Script server calls stay one per value per target.
- One summary data source per overview graph. Cacti gives each graph that is not from a data query its own data source. Each summary data source is one script server call per cycle returning every summary value, and every summary value is drawn on one of the five overview graphs, so each can carry a Thold threshold.
- The summary is computed by the reader, in the same transaction as the observations it uses, and stored in
plugin_pfs_summary(schema version 2, which also addsplugin_pfs_filesystem.host_id). Partial sums are unknown, and an aggregate counter whose member set changed reads unknown for that run. - Deleting a device unmaps its filesystem (the
device_removehook); deleting a filesystem keeps its device, data sources, and graphs. A mapped device moved to another poller is reported on the health page, not changed back. One device per filesystem was decided in ADR 0010: a target that fails over keeps its index on the same device, so its history never moves between devices.
Lustre stats counters are cumulative since initialization or the last clear (see the upstream table). The design follows from that (ADR 0005):
- Cumulative counters (byte sums, sample counts, operation counts) are stored raw as DERIVE with minimum 0 and a generous per-counter maximum. RRDtool computes the rate, and a decrease becomes an unknown interval; the maximum also makes an implausibly large interval unknown, which drops real traffic above it, so it is a plausibility bound and not a reset filter (measured offline in counter-reset). Thold computes its own rate and sees a negative value on a reset (thold-counters).
- The reader also detects a decrease and publishes unknown for that interval. A reset followed by a value larger than the last pre-reset value (a long outage, then heavy traffic) cannot be seen by a minimum of 0 alone.
- Capacity and inode counts are GAUGE.
- A counter line that is absent from a stats file that was read successfully means zero samples on
v2_17_0. The source shows the same rule atv2_15_8,v2_16_1, andv2_17_0. Decided in ADR 0013: the OST sums count such a line as 0 only for an OST that is present, in service, current, and reported other values in the same read, and not on the read that cleared a counter which had counted;md_opsleaves an absent operation out of its member set, since an MDT has no condition flags; the target's own value stays unknown, and a missing, stale, or failed target keeps the sum unknown. Fixtures from real nodes still have to confirm the rule for each matrix release (live). A failed read is unknown. - A filesystem aggregate across targets is unknown for any interval in which a contributing target is missing or reset. A partial sum would draw an outage as a throughput drop. The number of contributors is published beside the aggregate.
- The plugin never clears a counter. GPFS
resetand Lustre stats writes affect every other consumer on that node.
| Dimension | States | Evidence |
|---|---|---|
| Freshness | Current, delayed, stale, never observed | Observation time against the expected interval |
| Collection | Completed, partial, failed, unknown | Reader result per node |
| Target condition | In service, degraded, read-only, no-create, out of space, inactive, unknown | Status flags the source exposes (for Lustre, lfs df flags or server parameters, as confirmed). No flag means unknown, never healthy |
| Counter continuity | Continuous, reset detected | Counter decrease or new start time |
| Administrative | Enabled, disabled, archived | Plugin records |
| Maintenance | In maintenance, not in maintenance | Maint, on the device |
Each cached observation carries observation time, ingestion time, source node, and expected interval. A page refresh never counts as a measurement. When two nodes report the same target (failover), the reader applies the authoritative-node rule from the failover research and records which node supplied each value.
- Filesystem overview. Used percentage (maximum, mean, minimum) and spread across OSTs, with a count of missing targets.
- Per-target capacity. Used and available per OST and MDT, plus inodes.
- Throughput. Per-OST read and write bytes per second; the aggregate follows the unknown rule above.
- Metadata. Per-MDT operations per second by allowlisted operation.
Gaps show as gaps. The default set is decided in ADR 0011: the overview graphs are created with the device, and per-target graphs only through the data query on demand, because hundreds of OSTs would multiply graph rows and an overview graph with hundreds of series is unreadable. A graph_buttons link joins a device's other graphs to its filesystem graphs.
The "Parallel Filesystem Summary" data source returns, from the reader's cache:
| Value | Meaning | Missing or stale data |
|---|---|---|
fill_max_pct |
Maximum OST used percentage | U |
fill_spread_pct |
Maximum minus minimum OST used percentage | U |
targets_missing |
Targets in inventory with no recent observation | U |
targets_unhealthy |
Targets with a non-healthy condition flag | U |
age |
Seconds since the oldest contributing observation | Always numeric once observed |
read_bytes_rate, write_bytes_rate, md_ops_rate |
Per-second rates of the aggregate counters, computed by the reader (GAUGE) | U, and U across a reset or member change |
Thold thresholds and Maint device schedules apply with no change to either plugin (ADR 0002).
Stated limits:
- Sampling alignment. Cacti polls on its own interval and the reader reads nodes on its own. Thold durations should be at least one poll interval.
- Rates. Amended in ADR 0012 after the milestone 4 run: rate alerts use the summary's rate gauges, and thresholds on DERIVE data sources are unsupported with Thold 1.8.2, because a threshold on a DERIVE data source that reads
Uonce crashes Thold's poller output hook. The original reasoning follows. Thold can compute a rate from a DERIVE data source, with one negative sample on a reset, and an endpoint-difference rate (a lower bound) if a reset is hidden by a larger later value (thold-counters). Decided in ADR 0012 (#8): rate alerts on DERIVE data sources are supported for high thresholds with a duration of at least two polls; low-threshold rate alerts are unsupported in phase 1, because a reset can reach Thold as a negative rate. - Resets. A counter reset yields one unknown interval, which does not trigger a threshold.
- Summary only. Alerts see the summary and per-target gauges, not distributions.
Alternatives considered:
| Option | Why not chosen |
|---|---|
| Plugin-owned incident engine | Duplicates Thold and Maint and adds a third notification path |
| Thold reading the cache directly | Would be a Thold redesign |
| Writing values into Cacti RRDs outside the poller | Bypasses the poller and conflicts with boost |
Maintenance. Device maintenance works through Maint with no change to Maint or Thold: Thold calls plugin_maint_check_cacti_host() directly, and the plugin uses the same guarded call. Measurements continue during maintenance; only notifications are suppressed. Maint declares remote_collect:0, so its hooks do not run on a remote collector; whether Thold on a collector can still load Maint's functions and apply maintenance there was not checked and is an integration check (live).
Milestone 4 implementation notes, where the build differs from or adds to the text above:
- Counter thresholds are not supported with Thold 1.8.2; rate gauges replace them. Thold stores a
Ufrom a DERIVE data source as its previous raw value and on the next numeric value throws a PHPTypeErrorin thepoller_outputhook; Cacti then disables Thold. The plugin servesUfor every reset and contributor change by design. The summary therefore carriesread_bytes_rate,write_bytes_rate, andmd_ops_rate: GAUGE values the reader computes from consecutive sums with the same unknown rules, printed on the Throughput and Metadata Operations graphs so Cacti stores them. The end-to-end run thresholdswrite_bytes_ratethrough a counter reset with Thold still enabled (ADR 0012 amendment, alerting, thold-counters). The rate's time base is the read time all summed values share, so a sum whose values were read in different runs has no rate; per-target rate gauges are not provided. - Absent counter lines in sums count as zero only for a present, in-service OST whose other values are current in the same read (ADR 0013). The per-target series stays unknown. A read without
snapshot_timeis not complete, so nothing in it counts as absent. - A missing target serves
Uat once. Milestone 3 served a missing or conflicting target's last gauge until it went stale (up to two intervals), which drew an outage as a flat line. The data query now servesUfor any target that is not present; its index and data source stay. ageis drawn on the Fill graph. Cacti creates in an RRD file only the values some graph item uses;agewas not drawn, so it had no RRD value and no threshold could be made on it. The Fill graph now prints it.targets_missingandageare the outage alerts. Sums go unknown on a missing target, and in Thold 1.8.2 an unknown value is never a breach, so outages are alerted on through these two gauges.- Release archive.
.gitattributesleaves tests and CI files out ofgit archive; the archive prefix must bepfs/(release).
When nodes are reachable only from a Cacti remote data collector, that collector runs the reader and the script server input (ADR 0004):
- Plugin configuration tables replicate to collectors through the
replicate_outhook. - The reader on each poller handles only filesystems whose
poller_idmatches. - The reader writes the observation cache to the collector's local database. Summary values reach the main server through the normal poller output path.
- The main server fetches inventory and health on demand through read-only
remote_agentactions. - Credentials for node access replicate only to the collector that needs them, and the review checks that no collector receives another's.
remote_agent authorizes callers by address. Documentation requires https for collector communication and a restricted network path between pollers. Job and client views (phase 2) are bounded tables, not data sources: the number of retained jobs and registered clients is capped and documented, job IDs are length-limited and escaped, and the plugin reads job stats only where the site has enabled them.
GPFS (IBM Storage Scale). The backend reads fs_io_s and io_s from mmpmon -p on each node. IBM documents root authority on the node, so the read path is a fixed wrapper on the node, never root on the Cacti host. The plugin never issues reset. Output keywords have no definition on the cited page; meanings come from further research, not from the keyword names. Counter semantics (cumulative since last reset or daemon start) are assumed until confirmed.
BeeGFS. The read path depends on the release: beegfs-ctl before 8.0, the beegfs tool from 8.0, and an OpenTelemetry export mentioned for 8.4. Flags and fields of the server statistics commands are not in the official pages checked and are research. Counter semantics are confirmed per release before any value is treated as cumulative.
Both backends pass the shared contract suite and need no change to the Lustre backend.
Plugin code is object-oriented wherever Cacti's plugin contract allows it. No maintained Cacti plugin ships a class layout to copy yet, so milestone 2 defines the layout.
Where procedural code remains. Cacti calls plugins by function name, so these entry points stay procedural. Each is a thin shim, parseable on PHP 8.0, that checks the PHP version, validates input, and hands off to a class:
setup.phplifecycle functions:plugin_pfs_install(),plugin_pfs_uninstall(),plugin_pfs_version(),plugin_pfs_check_config(),plugin_pfs_upgrade().- Hook callbacks:
config_arrays,config_settings,draw_navigation_text,poller_bottom,replicate_out,remote_agent,graph_buttons,api_device_save,device_remove,device_action_array,device_action_prepare,device_action_execute. - Page scripts such as
pfs.php, which include Cacti's authentication, read request variables through the validated request helpers, and call a page class. - The script server input function and the reader CLI entry point.
Layout.
- Classes live under the
Somethingwithproof\Pfsnamespace (provisional: issue #33 namesCacti\Pfs; milestone 2 matches plugin_cloud until the owner decides), one class per file, loaded by a smallspl_autoload_register()loader registered only after the PHP version check. No Composer runtime dependency. - Settings use the
config_settingshook. Logging usescacti_log()with aPFStag. Forms rely on Cacti's csrf-magic. - Strings use the
pfstext domain, with alocales/directory and POT file. - Realms: three, "Parallel Filesystem View", "Parallel Filesystem Operator" and "Parallel Filesystem Admin".
Planned classes. Names are illustrative; milestone 2 settles the final set.
| Kind | Examples | Notes |
|---|---|---|
| Value objects | Filesystem, Target, Node, Observation |
readonly classes built by named constructors such as Target::fromRow() |
| Enums | TargetType, Freshness, Condition, ValueKind |
String-backed; stored as varchar values, never as list positions |
| Backend | Backend interface, LustreBackend, BackendRegistry |
No write operation |
| Node sources | NodeSource interface and implementations chosen by the access decision |
Enforce timeouts and size limits; never build commands from operator input |
| Repositories | FilesystemRepository, TargetRepository, ObservationRepository |
The only classes that issue SQL, always through prepared helpers; take an explicit connection so remote collector code chooses local or main |
| Cacti object services | DeviceProvisioner, TemplateInstaller |
Call Cacti APIs; never write Cacti tables directly |
| Services | FreshnessEvaluator, ResetDetector, ImbalanceCalculator, InventoryReconciler |
Return decisions as objects; a separate runner applies side effects |
| Infrastructure | Clock with system and fixed implementations |
Injected wherever time matters, so tests are deterministic |
Rules.
- Dependencies come in through constructors. No service locators and no static state, apart from Cacti's globals, which only shims touch.
- Interfaces exist only at real boundaries: node source, backend, database, clock, filesystem, and remote collectors.
fromRow()is the only place loose database values are normalized, with tests on empty strings,NULL, and malformed values, because Cacti stores many values as loose strings.- PHPStan runs on the class tree with Cacti core on its scan path.
Plugin tables hold filesystems, nodes, targets, mappings, observation cache, and health. They are created and upgraded with Cacti's tracked plugin table API, and the stored plugin version changes only after a migration succeeds. The plugin is never a writer to a node or filesystem.
The reader runs from poller_bottom through exec_background() as one register_process_start() process per poller, with a time budget and a concurrency limit. Runs are idempotent: an interrupted run leaves the cache consistent and the next run continues. A failed node keeps its previous observation time, so staleness is visible.
Disabling the plugin stops jobs and leaves nodes untouched. Uninstalling offers an export, asks whether to drop plugin tables, and asks whether to delete plugin-created devices; it never contacts a node. Backup documentation covers the Cacti database, node access configuration, and the RRD directory. A restore test is part of release qualification.
Capacity is stated in targets. The arithmetic below is illustrative and unmeasured; the row and call counts follow from Cacti source (scale), and the measurement at 500 and 2,000 targets on documented hardware is still live.
At 2,000 OST-like targets, with nine values per target (five capacity and inode gauges, plus read and write byte sums and sample counts) and a 300-second poll interval:
- 18,000 values per poll, about 60 per second on average, in 2,000 RRD files.
- About 18,000
data_template_rrdrows. Per-OST graphs of about three items each would add about 2,000 graphs and 6,000 graph item rows, which is why the default graph set is small. - With 16 targets per server (an assumption, not a measurement), about 125 node reads per cycle. At two seconds per read and a concurrency of eight, a cycle takes about 30 seconds of reader time, well inside 300 seconds if the assumptions hold.
- One script server call per field is 18,000 calls per cycle for a data query (confirmed in source); a non-query script server data input can return several
name:valuefields in one call, at the cost of Cacti's data query workflow.
Engineering targets, to be measured, not yet demonstrated:
- Overview page under two seconds at 2,000 targets.
- Cacti's device, data source, and graph pages stay within normal response time at that row count.
- No page request contacts a node or reads more than a bounded number of RRD files.
- The reader stays within its time budget at 2,000 targets.
- The summary input answers in under 50 ms per call against a 2,000-target cache.
The setup screen shows the object count a bulk import would add before it runs.
| Boundary | Control |
|---|---|
| Browser to Cacti | Cacti session, csrf-magic, plugin realms, device and graph permissions, prepared queries, contextual escaping |
| Cacti to nodes | Read-only, fixed allowlisted requests, no operator or request value in a command or path, connect and total timeouts, response size limit, least privilege per parameter, no root on the Cacti host (ADR 0008) |
| Node output to Cacti | Untrusted input: strict parser with limits; target names validated against the expected pattern; job IDs, which users control through environment variables, length-limited and escaped; no node string in an RRD path or SQL text |
| Credentials | Not stored in plain text, not logged, not passed as process arguments; the storage method is reviewed in the phase 1 security review |
| Main server to remote collector (phase 2) | Cacti's remote_agent authorization and the configured https scheme; actions are read-only and validate every parameter |
| Privileged nodes (phase 3) | A fixed wrapper that prints one allowlisted output; the plugin never holds root on a storage node |
A compromised node can return hostile data, so parsing and escaping are the controls, not trust in the node. Phase 1, phase 2, and phase 3 each need a security review before release.
- Fixtures. Captured outputs per Lustre release and backend for normal operation, a full OST, an empty OST, a missing target, a degraded target, a cleared stats file, a module reload, a failover pair, truncated and oversized output, and hostile strings.
- Matrix. Fixture parsing for each Lustre release; Cacti 1.2.31 and current
1.2.xon every PHP minor in the CI matrix; entry points linted under PHP 8.0. - Reconciliation. Capacity values agree with
lfs dfon a live test filesystem. - Counters. Sequences through DERIVE data sources with minimum 0, including a reset followed by a larger value.
- Contract. A stub second backend passes the backend contract suite.
- Permissions. Every page, graph, and data source as an administrator, a scoped user, a user whose access was just revoked, and a user with no access.
- Remote. Collector offline, recovery mode, replication after reconnect.
- Failure scenarios before each phase release: node down, node slow, truncated output, target failover, stats cleared, module reload, clock skew between hosts, full disk on the Cacti host, interrupted reader, duplicate reader start, interrupted upgrade.
- Harness. Use the harness maintained Cacti plugins use, and confirm the choice with maintainers before adding test or CI infrastructure.
| Milestone | Phase | Deliverables | Exit evidence |
|---|---|---|---|
| 1. Compatibility and evidence | 0 | Release matrix, access decision, confirmation of every fact table row, counter and failover behavior, scale measurements, estimates | Every row confirmed or corrected; access method decided with evidence. Documentation and source research is done (research index); the live checks, fixtures, scale measurements, and the access and Thold decisions remain, and estimates are first-pass (about 9,300 to 14,300 production lines for milestones 2, 3, 5, and 6; milestone 4 is mostly tests and docs) |
| 2. Foundation | 1 | PHP guard, install and upgrade, realms, settings, class layout, backend and node source interfaces, inventory, reader, state model, health page, test harness | Fresh install and upgrade at 1.2.31; install refused cleanly on PHP 8.1; unauthorized access rejected |
| 3. Lustre observation | 1 | Template XML, devices, data query, capacity and fill, OST throughput, MDT operation rates, graphs, input handling, permission suite | Resets and missing targets produce unknown values; hostile strings neutralized; permission suite passes |
| 4. Alerting and phase 1 release | 1 | Summary data sources, Thold and Maint validation, scale measurements, documentation, packaging, restore test, failure qualification, security review, pilots | Thold fires and recovers; Maint suppresses; security review complete; pilots reported |
| 5. Remote collectors and Lustre depth | 2 | replicate_out, remote_agent actions, job and client views, security review |
Offline, recovery, and failover scenarios correct; views stay within the bound |
| 6. Other backends | 3 | GPFS and BeeGFS backends, privilege review | Contract tests pass on fixtures; privilege models reviewed |
| Decision | Options | Needed before | Decided by |
|---|---|---|---|
| How Cacti reaches Lustre server nodes | Exporter scrape; restricted SSH command; client mount for capacity only; file drop | Milestone 2 node source | Decided 2026-11-15 (#7): restricted SSH forced command running a fixed script, exporter optional later (ADR 0009) |
| Thold on counters | DERIVE data sources directly; plugin-computed rate gauges; no rate alerts in phase 1 | Milestone 3 summary data source | Decided 2026-11-15 (#8): DERIVE with the reader publishing unknown for a reset interval; Thold rate alerts for high thresholds only with a duration of two polls; low-threshold rate alerts unsupported in phase 1 (ADR 0012) |
| Repository and name | Cacti/plugin_pfs, Cacti/plugin_lustre, or community plugin |
Before any code is published | Cacti maintainers |
| Test harness | Whatever maintained plugins use | Milestone 2 | Cacti maintainers |
| Filesystem device model | One device per filesystem; per server host; per target | Milestone 3 | Decided 2026-11-15 (#11): one device per filesystem, targets as data query indexes (ADR 0010) |
| Default graph set | Overview plus on-demand per-target; per-target for all; plugin view | Milestone 3 | Decided 2026-11-15 (#12): five overview graphs per filesystem, each with its own summary data source as Cacti creates them, per-target graphs on demand (ADR 0011) |
| Job views | Bounded top-N table; prefix aggregation; external store | Phase 2 | Research and pilots |
| Observed clients | Named and sampled clients; server-side per-export statistics; all clients | Phase 2 | Access decision |
| Privilege model for GPFS and BeeGFS | Fixed node wrapper; product-native export; direct shell | Phase 3 | Security review |
| Risk | Effect | Mitigation |
|---|---|---|
| The needed parameters require root on servers | Sites refuse to grant access, or the plugin widens privilege | Per-parameter privilege table; fixed wrapper; exclude parameters that need more |
| A third-party exporter is unmaintained or lacks a release | Node source breaks on newer Lustre | Access decision weighs it; the node source interface allows a replacement |
| Counter resets distort rates | False spikes or false drops | DERIVE with minimum 0, reader reset detection, unknown aggregates |
| Row counts slow Cacti at 2,000 targets | Poor experience for all Cacti users | Small default graph set; measure at milestone 1; document a supported target count |
| Failover duplicates or splits a target's history | Wrong capacity or rates | Device per filesystem; authoritative-node rule; failover fixtures |
| Hostile or oversized node output | Injection, resource use | Strict parsing, limits, escaping, security review |
Address-based remote_agent authorization |
A host sharing a poller's address can call actions | https, restricted poller network, read-only actions |
| Capability declaration does not run the reader on a collector | Phase 2 fails late | Gating code run at both refs with remote_collect:1, remote_poller:1; a real collector check is live |
| Volunteer capacity | Later phases stall | Each phase ships on its own |
Not scheduled; revisited after phase 1:
- Quota usage per user, group, and project, with bounded cardinality.
- LNet and network metrics, given that the exporter's LNET collector needs DebugFS access.
- A slow-filesystem triage view that combines per-target rate, imbalance, metadata rate, and per-job activity.
- Other filesystems behind the backend interface.
This repository holds the plan and tracks its requirements as GitHub issues and milestones. Before code is proposed for the Cacti organization, open an issue there describing the problem, the phase plan, and the open decisions, and ask maintainers about the repository, name, device model, and test harness. No Thold or Maint change is needed.