I have been reading documentation and forums posts for that a lot - still no working simple and understandable solution. Zabbix often makes complicated tasks easy but some really basic and simple tasks are really complicated to implement (as it was ping host status monitoring with earlier releases) - this seems also apply to this one.
Currently we have found the following expression for avoiding host status false positives - requiring multiple host unavailible reports in a row before triggering host unavailible trigger event:
{Template_linagent_base:status.count( #3,0 ) } <1
As I understand documentation and forum posts this expression should say that:
IF within last 3 values 'host status OK' value (which is 0) appears less than 1 time - then we have a problem (as host unavailible = 2) and therefor we trigger an event and possible action.
But testing this one out shows that this expression works not as intended (when host unavailible status change arrives it activates trigger right away - but with OK response - not as PROBLEM) - could anybody explain what Im doing wrong here? Im kind a stuck here and Im starting thinking that it might be a bug in the software.
What I want to achieve is an trigger expression where status value has to fail repeatedly in a row (say 3 times in a row) before it triggers event - how to make such a solid expression?
Currently we have found the following expression for avoiding host status false positives - requiring multiple host unavailible reports in a row before triggering host unavailible trigger event:
{Template_linagent_base:status.count( #3,0 ) } <1
As I understand documentation and forum posts this expression should say that:
IF within last 3 values 'host status OK' value (which is 0) appears less than 1 time - then we have a problem (as host unavailible = 2) and therefor we trigger an event and possible action.
But testing this one out shows that this expression works not as intended (when host unavailible status change arrives it activates trigger right away - but with OK response - not as PROBLEM) - could anybody explain what Im doing wrong here? Im kind a stuck here and Im starting thinking that it might be a bug in the software.
What I want to achieve is an trigger expression where status value has to fail repeatedly in a row (say 3 times in a row) before it triggers event - how to make such a solid expression?
Comment