首页 > 代码库 > zabbix 日志关键词监控

zabbix 日志关键词监控

{172.16.12.119:log[/www/mulan/logs/service-annual-view.log,"Thread pool is EXHAUSTED"].str("Thread pool is EXHAUSTED",60)}=1 and {172.16.12.119:log[/www/mulan/logs/service-annual-view.log,"Thread pool is EXHAUSTED"].nodata(60)}=0


匹配到"Thread pool is EXHAUSTED"字符串60且60秒之内匹配到这个字符串,则触发告警。

本文出自 “david0512” 博客,请务必保留此出处http://gjr0512.blog.51cto.com/6518687/1932244

zabbix 日志关键词监控