关于zabbix出现slow query问题
我的zabbix需要监控设备有200多台,都是通过snmpv2进行监控。之前已经对discovery里面的items的项目进行优化,比如提高客户端采集数据的时间,把不需要的item去掉,不太重要的item周期延长等。不过slow query的问题还是存在。语句如下:
slow query: 4.223545 sec, "select distinct t.triggerid,t.description,t.expression,t.error,t.priority,t.type,t.value,t.state,t.lastchange,t.status
from hosts h,items i,functions f,triggers t
where h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=t.triggerid and h.status in (0,1) and t.flags<>2
对于这个问题,有什么优化的思路和建议么?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论