Zabbox server及Zabbix agent配置文件详解(小节3)

125 阅读1分钟

101

zabbix_server.conf配置信息

grep "^[a-Z]" /apps/zabbix_server/etc/zabbix_server.conf
ListenPort=10051
LogFile=/tmp/zabbix_server.log
LogFileSize=1024
DebugLevel=3
DBHost=192.168.37.104
DBName=zabbix_server
DBUser=zabbix
DBPassword=123456
DBPort=3306
StartPollers=20
StartPreprocessors=5
StartPollersUnreachable=3
StartTrappers=10
StartPingers=3
StartHTTPPollers=5
StartTimers=2
StartEscalators=2
StartAlerters=2
JavaGateway=192.168.37.101
JavaGatewayPort=10052
StartJavaPollers=20
StartSNMPTrapper=1
HistoryCacheSize=16M
HistoryIndexCacheSize=8M
TrendCacheSize=4M
ValueCacheSize=8M
Timeout=30
TrapperTimeout=300
FpingLocation=/usr/bin/fping
LogSlowQueries=3000
ProxyConfigFrequency=60
ProxyDataFrequency=60
User=zabbix

重启服务

systemctl restart zabbix-server
#查看是否有10051
ss -tnl

#如果报错
tail -f /var/log/syslog
apt install fping

whereis fping
fping: /usr/bin/fping /usr/share/man/man8/fping.8.gz

fping 192.168.37.101

61-2-28