zabbix-config

zabbix_server-config

LogFile=/data/wwwlogs/zabbix/zabbix_server.log
PidFile=/data/wwwlogs/zabbix/zabbix_server.pid
#ListenIP=127.0.0.1
DBHost=127.0.0.1
DBName=zabbix
DBUser=zabbix
DBPassword=zabbix
DBSocket=/var/lib/mysql/mysql.sock
Timeout=30
AlertScriptsPath=/usr/local/zabbixserver/shell
FpingLocation=/usr/local/sbin/fping
LogSlowQueries=3000
StartPollers=30
StartPollersUnreachable=3
StartTrappers=5
StartPingers=5
StartDiscoverers=5
MaxHousekeeperDelete=20000
CacheSize=64M
StartDBSyncers=4
HistoryCacheSize=128M
ValueCacheSize=128M
TrendCacheSize=4M
#HistoryTextCacheSize=16M

zabbix_client-config

LogFile=/data/wwwlogs/zabbix/zabbix_agentd.log
PidFile=/data/wwwlogs/zabbix/zabbix_agentd.pid
Server=127.0.0.1,x.x.x.x
ServerActive=x.x.x.x:10051
Hostname=x.x.x.x
UnsafeUserParameters=1
AllowRoot=1
Timeout=30
Include=/usr/local/zabbixagentd/etc/zabbix_agentd.conf.d/*.conf

-------------本文结束感谢您的阅读-------------