Strange (incorrect?) behavior of template expression in event log
Posted: Sat Sep 16, 2017 4:57 am
I have created an alarm condition like this to raise: fabs([th0temp-age:999]-[thb0temp-age:999]) >= 100 (don't ask why), and the corresponding condition for clearing the alarm is: fabs([th0temp-age:999]-[thb0temp-age:999]) <= 3
When I go to the "Services" tab and hover over the orange "i" box I see that most recent evaluations. An example is attached.
Now during the interval covered by this log, the raise condition never is/becomes true, and the clear condition always is true. Yet, sometimes, there is a log line with the raise condition in it, evaluating to false. So the alarm is not actually raised, but the line should not appear, I think, and it surely does not appear every single time. So when is it supposed to appear. I would expect either every evaluation, or only when it evaluates to true.
That, I suspect, is a bug. It does not affect the functioning of the alarms, but makes looking at the log a little harder than strictly necessary.
When I go to the "Services" tab and hover over the orange "i" box I see that most recent evaluations. An example is attached.
Now during the interval covered by this log, the raise condition never is/becomes true, and the clear condition always is true. Yet, sometimes, there is a log line with the raise condition in it, evaluating to false. So the alarm is not actually raised, but the line should not appear, I think, and it surely does not appear every single time. So when is it supposed to appear. I would expect either every evaluation, or only when it evaluates to true.
That, I suspect, is a bug. It does not affect the functioning of the alarms, but makes looking at the log a little harder than strictly necessary.