Skip to content

Add hooks for plugins to show customize graph source and customize template url #3513

Closed

Description

@YongBoLiu

Feature Request

Is your feature request related to a problem? Please describe

Yes, after auto created huge number of graphs without graph template in my plugin, it shows 'Not Templated' in both 'Source Type' and 'Source name' fields. In Console->Management->Graphs.

We need to provide hooks to customize the 'Source Type' and 'Source name' fields for plugins. Because these graphs without graph template can have some special property for plugin.

A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...]
If no hooks for this, plugin develop have to update the graphs.php again and again after cacti core upgraded.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've
considered.

Additional context

Add any other context or screenshots about the feature request here.

Activity

  1. YongBoLiu commented on Apr 28, 2020

    @YongBoLiu
    ContributorAuthor

    Plugin develop may have its own special templates, can have some special property for plugin. ELIM template. So we need add hooks to make more flexible.

  2. added this to the v1.3.0 milestone on Apr 29, 2020
  3. added a commit that references this issue on May 1, 2020
  4. added a commit that references this issue on May 29, 2020
  5. locked and limited conversation to collaborators on Aug 1, 2020
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

    enhancementGeneral tag for an enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions