1 Web monitoring items
Overview
Some new items are automatically added for monitoring when web scenarios are created.
Scenario items
As soon as a scenario is created, Zabbix automatically adds the following items for monitoring, linking them to the selected application.
Item | Description |
---|---|
Download speed for scenario <Scenario> | This item will collect information about the download speed (bytes per second) of the whole scenario, i.e. average for all steps. Item key: web.test.in[Scenario,,bps] Type: Numeric(float) |
Failed step of scenario <Scenario> | This item will display the number of the step that failed on the scenario. If all steps are executed successfully, 0 is returned. Item key: web.test.fail[Scenario] Type: Numeric(unsigned) |
Last error message of scenario <Scenario> | This item returns the last error message text of the scenario. Item key: web.test.error[Scenario] |
The actual scenario name will be used instead of “Scenario”.
These items can be used to create triggers and define notification conditions.
Example 1
To create a “Web scenario failed” trigger, you can define a trigger expression:
{host:web.test.fail[Scenario].last(0)}#0
Make sure to replace 'Scenario' with the real name of your scenario.
Example 2
To create a “Web application is slow” trigger, you can define a trigger expression:
{host:web.test.in[Scenario,,bps].last(0)}<10000
Make sure to replace 'Scenario' with the real name of your scenario.
Scenario step items
As soon as a step is created, Zabbix automatically adds the following items for monitoring, linking them to the selected application.
Item | Description |
---|---|
Download speed for step <Step> of scenario <Scenario> | This item will collect information about the download speed (bytes per second) of the step. Item key: web.test.in[Scenario,Step,bps] Type: Numeric(float) |
Response time for step <Step> of scenario <Scenario> | This item will collect information about the response time of the step in seconds. Response time is counted from the beginning of the request until all information has been transferred. Item key: web.test.time[Scenario,Step] Type: Numeric(float) |
Response code for step <Step> of scenario <Scenario> | This item will collect response codes of the step. Item key: web.test.rspcode[Scenario,Step] Type: Numeric(unsigned) |
Actual scenario and step names will be used instead of “Scenario” and “Step” respectively.
These items can be used to create triggers and define notification conditions. For example, to create a “Zabbix GUI login is too slow” trigger, you can define a trigger expression:
{zabbix:web.test.time[ZABBIX GUI,Login].last(0)}>3
Data source: Zabbix