All,
I am trying to make use of the count function in my trigger definitions.
My understanding of this function is, that it will take last N values (depending whether the count is defined as a number of retrieved values or a time frame) and compare all of these values against the condition defined in the trigger.
So I have defined the following trigger expression:
My understanding of the trigger is as follows:
- If *all* of the last 48 retrieved values are greater or equal to 90, the trigger will fire
Accordingly I have defined the following recovery expression for that trigger:
Again, my understanding:
- If all of the last 6 retrieved values are less than 90, the trigger will recover
Is this assumption correct or am I totally missing the point?
The trigger fires already after a few (e.g. 2 or 3) values are greater or equal than 90 and will take a very long time (e.g. half a day) to recover, while I provide new values every 5 minutes.
Could somebody provide any hints what I might do wrong here?
For reference, I use the latest Zabbix 6.0 release.
Thanks, and all the best,
Steffen
I am trying to make use of the count function in my trigger definitions.
My understanding of this function is, that it will take last N values (depending whether the count is defined as a number of retrieved values or a time frame) and compare all of these values against the condition defined in the trigger.
So I have defined the following trigger expression:
Code:
count(/Template App Netatmo Weather/netatmo.weather.namodule4.rf_status[{#STATION_NAME},{#MODULE_NAME}],#48,"ge",90)
- If *all* of the last 48 retrieved values are greater or equal to 90, the trigger will fire
Accordingly I have defined the following recovery expression for that trigger:
Code:
count(/Template App Netatmo Weather/netatmo.weather.namodule4.rf_status[{#STATION_NAME},{#MODULE_NAME}],#6,"lt",90)
- If all of the last 6 retrieved values are less than 90, the trigger will recover
Is this assumption correct or am I totally missing the point?
The trigger fires already after a few (e.g. 2 or 3) values are greater or equal than 90 and will take a very long time (e.g. half a day) to recover, while I provide new values every 5 minutes.
Could somebody provide any hints what I might do wrong here?
For reference, I use the latest Zabbix 6.0 release.
Thanks, and all the best,
Steffen
Comment