Skip to content

Decision: how GPU metrics reach the Cacti poller #7

Closed

Description

@somethingwithproof

Context

GPU metrics come from tools that run on the GPU node: nvidia-smi, DCGM, or amd-smi. Cacti polls from a poller that is usually a different host. The plugin needs one primary path, chosen before collector code exists, because each path puts the trust boundary in a different place. See the plan's collection paths section.

Options

  • A. Cacti poller on the GPU node. The node runs a Cacti remote data collector, or is the main server, and the plugin runs the vendor tool locally. No network credential, but every GPU node needs PHP, a web server, and a database.
  • B. SNMP extend on the node (hypothesis). snmpd runs a fixed command and Cacti reads the output tables. Nothing new to install on the node beyond snmpd configuration, and Cacti already polls SNMP. The output tables are indexed by line, so the UUID must be a field of the output, and the user the command runs as is not documented (see Research: SNMP extend as a transport #22).
  • C. Scrape dcgm-exporter over HTTP. NVIDIA-only; needs DCGM deployed on the node; the plugin makes an outbound request to an operator-configured URL, which is a server-side request boundary.
  • D. SSH from the poller. Rejected in the plan: it needs a credential store and a remote command path.

Decision criteria and owner

Decided by the measurements in #22, #23, #21, and #25: privilege needs, index and identity handling, per-poll cost, and failure behavior. Needed before M2 designs the collector interface. Owner: plugin maintainer.

Outcome

Not decided. The outcome will be recorded here and under docs/decisions/.

References

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: collectionHow GPU metrics reach the Cacti pollerarea: securityTrust boundaries, privileges, and command executionphase: 0 researchMilestone 1 researchpriority: blockerStops its milestone until resolvedstatus: needs-evidenceDepends on a milestone 1 research resulttype: decisionA choice between options that needs a recorded outcome

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions