Cacti / plugin_thold

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

Thresholds should breach at or above, or at or below a value not below or above #666

Closed TheWitness closed 3 months ago

TheWitness commented 3 months ago

Describe the bug

Currently, a threshold only breaches when a value is above or below the high and low values. This behavior is actually incorrect. It should be at or above, or at or below the threshold value.

Expected behavior

This is a fundamental change to thold. However, when we create a threshold, we expect the Hi and Low values to be the values where you breach, not the value that a threshold have to be above or below.