1. Custom Key
[mysql1 the root @ ~] # Vim /etc/zabbix/zabbix_agentd.d/zabbix-nginx.conf
UserParameter = WebCheck, curl---connect -sl timeout. 3 -w "HTTP_CODE {%} \ n-" http://oa.test.com:88 -o / dev / null
WebCheck is the name of the key
4.重启agentd
[root@mysql1 ~]# systemctl restart zabbix-agent
5. Create a monitored item
6. View the latest data
7. Establish a host trigger settings