Skip to content

Data query indexes and GPU lifecycle #40

Closed

Description

@somethingwithproof

Summary

Each GPU is one index of a data query on the node's device. A GPU leaving the index must not orphan its history by accident.

Requirements

  • REQ-INDEX-001 Each GPU MUST be one index of the node's GPU data query, keyed by the identity key.
  • REQ-INDEX-002 The index listing MUST include absent GPUs, so Cacti does not mark their data sources orphaned and their history stays attached.
  • REQ-INDEX-003 Absent GPUs MUST report unknown values, not zero.
  • REQ-INDEX-004 The plugin MUST trigger a reindex after an inventory change, and MUST NOT depend on Cacti's scheduled reindex.
  • REQ-INDEX-005 Removing a GPU from the data query MUST be an explicit operator action that states the effect on graphs and RRD files.

Acceptance criteria

  • Fixture sequence remove then re-add: history continues in the same RRD.
  • Replaced-card fixture creates a new data source and leaves the old one intact.

References

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: cacti-objectsData queries, data sources, graphs, and templatesarea: identityGPU identity, inventory, and index stabilityphase: 1 nvidiaNVIDIA collection with alertingpriority: blockerStops its milestone until resolvedtype: requirementA testable behavior the plugin must have

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions