Hi, using 4.4 (docker) here.
I setup web check scenarios and have triggers to send emails when one step goes in error and basically works as expected.
I have a question: I have several dozen hosts, each with its own scenario.
I want to create a template to attach to all those hosts that triggers an error when any of the steps generates errors.
My triggers are currently like
{Prod server:web.test.fail[Home].last()}<>0
Having "Home" as the scenario name. Of course this is not ok for several servers, but it is a required parameter (BTW where can I found the doc for that function? Google is not able to find anything nor the search on zabbix web site)
I need something like * to put in the scenario name, to fit any scenario where the template/trigger is attached. In a post I found $URL but this does not work.
Also I'm checking for required words in the response body, and this works ok. But I need to check when a word is NOT present in the response. I have a deep check page that returns like:
Database: ok
Redis: ok
Queues: ok
and so on.
I need an alert when i find a "ko" in the page. Any online checking tool has the switch to decide if the word/regex you insert must be present or must NOT be present.
Also, is there a way to get the step that failed in the alert?
Thanks
I setup web check scenarios and have triggers to send emails when one step goes in error and basically works as expected.
I have a question: I have several dozen hosts, each with its own scenario.
I want to create a template to attach to all those hosts that triggers an error when any of the steps generates errors.
My triggers are currently like
{Prod server:web.test.fail[Home].last()}<>0
Having "Home" as the scenario name. Of course this is not ok for several servers, but it is a required parameter (BTW where can I found the doc for that function? Google is not able to find anything nor the search on zabbix web site)
I need something like * to put in the scenario name, to fit any scenario where the template/trigger is attached. In a post I found $URL but this does not work.
Also I'm checking for required words in the response body, and this works ok. But I need to check when a word is NOT present in the response. I have a deep check page that returns like:
Database: ok
Redis: ok
Queues: ok
and so on.
I need an alert when i find a "ko" in the page. Any online checking tool has the switch to decide if the word/regex you insert must be present or must NOT be present.
Also, is there a way to get the step that failed in the alert?
Thanks
Comment