1) Introduction to web application monitoring
Using the web scene that comes with zabbix can monitor the status code of the url, the response time, and the download speed of the url, which is a great
idea: define a template --> create an application set --> define a web scene --> define a trigger- -->Define Graph --->Host Association Template
2) Create a web scene
3) Define the browser used for detection
4) Define the detected url and status code
5) Define triggers
It is more reliable to define multiple triggers with reference to the official documentation: https://www.zabbix.com/documentation/3.4/zh/manual/config/triggers/expression
Here I use the or relationship between the status code and the response timeout
6) Define the graph
7) Verify
8) Modify the nginx home page
mv /usr/share/nginx/html/{index.html,1.html}WeChat
alarm has been sent