Skip to content

Templates, cluster device, and data query #41

Closed

Description

@somethingwithproof

Summary

Ship templates as XML and create one plugin-marked device per cluster, with partitions and reason families as data query indexes.

Requirements

  • REQ-OBJ-001 Device, data, graph, and data query templates MUST ship as Cacti template XML and be imported with import_xml_data(), matched by hash so re-import updates rather than duplicates.
  • REQ-OBJ-002 A cluster device MUST be created through api_device_save() from a "HPC Scheduler Cluster" device template, on administrator confirmation, assigned to the poller that runs its reader.
  • REQ-OBJ-003 The cluster device MUST use availability method None.
  • REQ-OBJ-004 Partitions MUST be indexes of one data query, and removing a partition MUST remove its series through Cacti's reindex path.
  • REQ-OBJ-005 Script server inputs MUST read only the plugin snapshot tables.
  • REQ-OBJ-006 The setup screen MUST show the number of data sources and RRD files an import will create before it runs.

Acceptance criteria

  • Install on a clean Cacti creates templates once; reinstall creates none.
  • A fixture partition added and removed changes the device's indexes.
  • Poller run makes zero scheduler calls (call counter).

References

Dependencies

Activity

  1. somethingwithproof commented on Nov 15, 2026

    @somethingwithproof
    OwnerAuthor

    Closed by #72, which listed this issue in its closing keywords; GitHub did not auto-close it.

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: graphsTemplates and graphs for queues, nodes, and partitionsphase: 1 cluster graphsCluster graphs and pending reasonspriority: highNeeded for its milestonetype: requirementA testable behavior the plugin must have

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions