Rules are functions that evaluate sensors results and assigns them severity levels: low (1), medium (2), high (3), or information that the result is valid.
3-degree alert system that assigns levels to the sensor's results as low, medium or high.
Rules are split into the following categories:
Basic rules compare sensor results to the thresholds (numerical values) configured directly by the user.
Configuration for such sensors is done by providing
mode: current_value in rule configuration.
There is also
mode: previous_redaings that enables calculating rules thresholds based on historical values.
How to configure a rule for check
Rules are configured under sensor name field. Below row_count sensor there is a configuration that sets up the rule min_count.