Cacti / plugin_thold

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

Enable thold doesn't work correctly #625

Closed xmacan closed 9 months ago

xmacan commented 10 months ago

I cannot enable some threshold. I can disable any thold without issue. Problem is enable it again. Not all, only some.

In edit "Enabled at Threshold Level" is still enabled, cannot change

I have to disable "Template propagation enable". Then it is possible to enable. I don't know where the information "No [template] comes from.

xmacan commented 10 months ago

hmm, I can't figure out where information No[Template] comes from. For windows disk and memory is used the same template. Template isn't disabled. I disabled "virtual memory" before version 1.8 but I see No[Template] on all virtual memory thresholds. Maybe any issue with upgrade?

Workaround - disable template propagation enabled, and enable it again. Than it is possible to enable/disable thold directly in thold.php. Disable in edit via Enabled at Threshold Level is not possible

TheWitness commented 9 months ago

Note, you may need to save each one of your templates to fix this.

xmacan commented 9 months ago

Great, working well now