Skip to content

nvidia-smi collector #36

Closed
Closed

Description

@somethingwithproof

Summary

Collect per-GPU values from nvidia-smi --query-gpu in CSV form and normalize them for the cache. Field names come from #14, not from this issue.

Requirements

  • REQ-NVSMI-001 The collector MUST request an explicit list of fields with --format=csv,noheader,nounits and MUST NOT parse the default human-readable output.
  • REQ-NVSMI-002 The collector MUST read the identity fields (uuid, index, pci.bus_id) in the same query as the metrics, so one row describes one GPU at one moment.
  • REQ-NVSMI-003 A row whose field count differs from the request MUST be rejected and counted.
  • REQ-NVSMI-004 Placeholder values for unavailable fields MUST be stored as unknown.
  • REQ-NVSMI-005 The collector MUST support the clock event reason field names for every driver line in the matrix, preferring the current name and falling back to the earlier one.
  • REQ-NVSMI-006 The collector MUST record the driver version and tool version with each collection.

Acceptance criteria

  • Fixtures for each driver line in the matrix parse to the documented cache rows.
  • A GPU name containing a comma does not shift fields.

References

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: collectionHow GPU metrics reach the Cacti pollerarea: nvidianvidia-smi and NVML behaviorphase: 1 nvidiaNVIDIA collection with alertingpriority: highNeeded for its milestonetype: requirementA testable behavior the plugin must have

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions