官网地址:https://www.zabbix.com/documentation/3.2/manual/web_monitoring
1、Configuration——Hosts——Web
2、右上角Create Web scenario
3、设置Scenario
4、设置Steps
5、 Name(自定义名称)。URL(需要监控的url),Timeout为超时不相应则触发。
6、添加
7.Status为Enabled则成功
8、设置触发器
9、右上角Creare Triggers
9、设置触发器,Epression为表达式点击右边Add
10、Item选择有图所示,Fuction为最近一个值为不N,N为状态码,Insert
11、Monitoring——Web查看,已经监控到URL状态。
12、测试关闭tomcat进程
13、再次查看zabbix,已经触发报警
原文:http://blog.51cto.com/hzcto/2325242