一、钉钉收到告警
主机名称:Zabbix服务端-172.28.18.75
IP地址 :127.0.0.1
告警时间:2019.10.22 13:34:39
告警信息:Zabbix http poller processes more than 75% busy
告警级别:Average
检查项 :zabbix[process,http poller,avg,busy]
当前状态:PROBLEM
值=100 %
故障已持续8m
Zabbix的http轮询实例告警
二、修改配置文件
http poller processes跟配置文件中的StartHTTPPollers参数相关
打开配置文件搜索:StartHTTPPollers
[root@zabbix_server etc]# vim zabbix_server.conf
241 242 ### Option: StartHTTPPollers 243 # Number of pre-forked instances of HTTP pollers. 244 # 245 # Mandatory: no 246 # Range: 0-1000 247 # Default: 248 # StartHTTPPollers=1
系统还是默认配置,初始实例数为1,修改为10
242 ### Option: StartHTTPPollers 243 # Number of pre-forked instances of HTTP pollers. 244 # 245 # Mandatory: no 246 # Range: 0-1000 247 # Default: 248 # StartHTTPPollers=1 249 StartHTTPPollers=10
三、重启Zabbix_server服务
[root@zabbix_server etc]# service zabbix_server restart
Shutting down zabbix_server: [确定]
Starting zabbix_server: [确定]
[root@zabbix_server etc]#
四、再次查看最新监控数据
http poller 这一项最新数据已经降到17.18%了,告警解决。
五、Zabbix性能告警项对应的配置文件参数
当某个进程负载过高时调整相应的值:
Zabbix busy trapper processes, in % StartTrappers=5
Zabbix busy poller processes, in % StartPollers=5
Zabbix busy ipmi poller processes, in % StartIPMIPollers=0
Zabbix busy discoverer processes, in % StartDiscoverers=1
Zabbix busy icmp pinger processes, in % StartPingers=1
Zabbix busy http poller processes, in % StartHTTPPollers=1
Zabbix busy proxy poller processes, in % StartProxyPollers=1
Zabbix busy unreachable poller processes, in % StartPollersUnreachable=1
Zabbix busy java poller processes, in % StartJavaPollers=0
Zabbix busy snmp trapper processes, in % StartSNMPTrapper=0
Zabbix busy vmware collector processes, in % StartVMwareCollectors=0
当某项buffer不够时增大容量到合适的值:
Zabbix-server: Zabbix trend write cache, % free TrendCacheSize=4M
Zabbix-server: Zabbix configuration cache, % free CacheSize=8M
Zabbix-server: Zabbix text write cache, % free HistoryTextCacheSize=16M
Zabbix-server: Zabbix history write cache, % free HistoryCacheSize=8M
Zabbix-server: Zabbix value cache, % free ValueCacheSize=8M
Zabbix-server: Zabbix vmware cache, % free VMwareCacheSize=8M