Web monitoring through the Zabbi can not only monitor the corresponding time to the site, but also according to the status code returned by the site, or the corresponding time to do the alarm
1, the need to monitor the host to add Web monitoring
Open the host list in configuration-hosts and select the Web to which you want to add a monitoring host
Then click the Create scenario in the upper right corner
Enter the name of the monitor in name, the agent is the browser type to select the test site
To add a test step on the Staps tab
The name is the test step names, the URL monitors the site's real url,required status colder is the monitoring Request page returns the status code, usually set 200
After the addition is complete you can see the monitoring just added in Monitor-web
2, Alarm settings
After adding web monitoring, open the Configuration-hosts host list again and select triggers
Click on the top right corner of the create triggers
Enter the name of the triggers in name
Click Add
Click the Select on item
Automatically create the appropriate keys after web monitoring is added
Select the expression in function to trigger the alarm when the returned status code is not equal to variable n, and the value of n is set to 200 below