如多主机超过300+和队列内容过多,就采用主动模式.
[root@web03 zabbix]# egrep -v "^#|^$" zabbix_agentd.conf
PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix/zabbix_agentd.log
LogFileSize=0
StartAgents=0
ServerActive=172.16.1.8
Hostname=web03
Include=/etc/zabbix/zabbix_agentd.d/