Skip to content

Research: SNMP extend as a transport #22

Closed

Description

@somethingwithproof

Question

Can snmpd extend carry per-GPU metrics to Cacti with a stable GPU key, bounded cost, and acceptable security? The net-snmp documentation describes extend [MIBOID] NAME PROG ARGS, a first-line and full-output table, and per-entry caching, but not the user the command runs as.

Method

  • Run a fixed extend command printing one CSV line per GPU and read nsExtendOutput2Table from Cacti's poller.
  • Record the user the command runs as on supported net-snmp versions and distributions, and the effect of agentuser.
  • Record the cache time, the effect of slow commands on snmpd responsiveness, and the maximum output size.
  • Record how a GPU's line number changes when a GPU is lost, and prove UUID can be used as the Cacti index instead.

Exit criteria

References

Dependencies

Activity

  1. added
    type: researchA question answered with evidence before design depends on it
    priority: blockerStops its milestone until resolved
    area: collectionHow GPU metrics reach the Cacti poller
    area: securityTrust boundaries, privileges, and command execution
    on Nov 14, 2026
  2. somethingwithproof commented on Nov 15, 2026

    @somethingwithproof
    OwnerAuthor

    Answered by docs/research/snmp-extend.md, added in PR #69; the collection path is recorded in PR #71.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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 resolvedtype: researchA question answered with evidence before design depends on it

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions