Alerting on web scenarios
Let's create a trigger that warns us when any one of the steps in the scenario fails. As discovered previously, the failed step item holds 0 when all is good. Anything else is a sequential number of the step that failed. As a web scenario stops at any failure, a failed step number of 3 means that the first two steps were executed successfully, and then the third step failed. If there were any further steps, we don't know their state—they were not processed.
To create a trigger, we always need an item key. We could try to find it in the item list. Go to Configuration | Hosts and click on Items next to the OpenStreetMap host, no items. The reason is that these items are special—they are items that are internal to Zabbix ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access