Cacti / plugin_thold

Thold Plugin for Cacti
GNU General Public License v2.0
60 stars 60 forks source link

Applying a templated threshold to a graph via the wrench icon, creates a duplicate graph #686

Open misterjmw opened 5 days ago

misterjmw commented 5 days ago

Using a templated threshold; Create a threshold on an existing graph. When clicking save, a second copy of the graph is created.

To Reproduce Steps to reproduce the behavior:

  1. Create threshold template
  2. Go to graph where template would apply
  3. Click 'wrench' icon next to graph
  4. Click Create
  5. Observe notice at the end that says 'Operation was successful. Created graph:... Created threshold: ....'

Expected behavior A threshold is applied to the graph/data source where the wrench icon was clicked.

Screenshots image image

disk-status-dupe-graph2

Plugin (please complete the following information):

Desktop (please complete the following information):

Additional context Admittedly; I'm not an expert on thold, however it doesn't seem to do this all the time, nor do I understand why anyone would enter the 'wizard' from a graph and want duplicate graph created as a result.