hertzbeat icon indicating copy to clipboard operation
hertzbeat copied to clipboard

[BUG] The threshold rule cannot be triggered when the indicator value is "no data"

Open rty813 opened this issue 1 year ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

image As shown in the figure, when there is a value in the "Error Message" column, the "Value Exists" threshold rule can be triggered, but if the "Error Message" column is "No Data", the error threshold cannot be triggered anyway.

That is, the threshold rule I set is "contains(message, "Client")". When there is a value in the error message and it is the value in the screenshot, the threshold rule can be triggered normally. However, if the error message becomes "no data", no error will be reported and the error will not be eliminated.

Expected Behavior

When the indicator value is "no data", the alarm recovery should be triggered. Or the "!exists" threshold should be triggered.

Steps To Reproduce

No response

Environment

HertzBeat version(s):v1.6.0

Debug logs

No response

Anything else?

No response

rty813 avatar Sep 09 '24 07:09 rty813

try alarm threshold rule: no value exists image

tomsun28 avatar Sep 15 '24 02:09 tomsun28

image image

This is how I set it now. However, when the "error message" is "no data", it will not trigger an alarm.

rty813 avatar Sep 18 '24 03:09 rty813

hi the latest 1.7.0 can solved this?

tomsun28 avatar Apr 21 '25 16:04 tomsun28