Cacti / plugin_thold

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

Adding Threshold Template to new Device template Targets to itself (template is added.. possibly a Thold plugin issue?) #643

Closed sgvfr closed 7 months ago

sgvfr commented 7 months ago

Describe the bug

When adding a Threshold Template to a new Device Template, the template is added, but targets to itself again.

Same behaviour as: https://github.com/Cacti/plugin_thold/issues/641 https://github.com/Cacti/plugin_thold/issues/638

To Reproduce

Steps to reproduce the behavior:

  1. Go to Console/Template/Device
  2. Create a new Device template
  3. Associated Threshold Templates - Add any (i picked Advanced Ping [loss]
  4. click add
  5. targeted to itself again.

Screenshots

image

TheWitness commented 7 months ago

Yea, still deep impact from that design change.

TheWitness commented 7 months ago

Fixed now. We are going to see more of them. There is one function that fixes this that is available in both 1.3 and 1.2.x. Going to keep using it.