一:重启zabbix-server 结合定时任务
service zabbix-server restart
crontab -e 新加一个定时任务:
@daily service zabbix-server restart > /dev/null 2>&1
二:编辑Zabbix Server的配置文件/etc/zabbix/zabbix_server.conf,找到配置StartPollers的段落:
### Option: StartPollers
# Number of pre-forked instances of pollers.
#
# Mandatory: no
# Range: 0-1000
# Default:
# StartPollers=5
直接在这增加一行: StartPollers=10
Proxy的在这里:
### Option: StartProxyPollers
# Number of pre-forked instances of pollers for passive proxies.
#
# Mandatory: no
# Range: 0-250
# Default:
# StartProxyPollers=1
StartProxyPollers=5
将参数配置改成多少取决于服务器的性能和监控的数量。内存足够的话可以设置高些
原文地址:https://www.cnblogs.com/mingetty/p/10316046.html
时间: 2024-10-15 11:56:52