Zabbix provides web monitoring to enable monitoring of web pages, including response speed, status code access status, and more. This attempt to use web monitoring to check the homepage, and try status code 200, to measure the situation of the Web page
Adding web scenes to the host
On the monitoring host server that already implements the agent, add the web scene
Go to configuration options, click Web Scene
Configure the scenario as follows
Description
1. No proxy configuration
2. Client I use chome browser mode, compatibility is good
3. Adjust the update implementation to 5m, reduce the impact
Add the steps as follows
Description
1.url fill in the address of the Web homepage
2. Required status Code 200, representative access to normal
After you click Save, complete all configurations
Triggers and charts
After web monitoring is complete, you can monitor the general situation as follows:
We need to add a trigger to alarm when the status code is not 200
The monitor items and expressions for the trigger are selected in the following way
This completes the simple web monitoring
Simple Web monitoring function test on zabbix3.4