Skip to content

RRDtool can fail to update when sources in Data Template and Graph Template data sources do not match #5336

Closed
@ddb4github

Description

@ddb4github

Describe the bug

If a datasource template have many items, and its script return multiple key:value.
And a graph use sone datasource items, not all
After #4988(4dc31e4) commit:

  • Cacti will create rrd file with Graph used DS only.
  • poller.php will update rrd file with --template with a full field list from script output.

To Reproduce

Steps to reproduce the behavior:

  1. Create a DS template with items ds1-ds6

  2. Create a Graph template, use ds1-ds5 from above DS Template

  3. Create graph instance from above template

  4. Run poller.php twice at least

  5. See error in terminal: ERROR: unknown DS name 'xxxx'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourconfirmedBug is confirm by dev teamresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions