2022-02-27 14:18:50 +08:00
|
|
|
LogFile=/var/log/zabbix/zabbix_server.log
|
|
|
|
|
LogFileSize=1
|
|
|
|
|
DebugLevel=1
|
|
|
|
|
PidFile=/var/run/zabbix/zabbix_server.pid
|
|
|
|
|
DBHost=localhost
|
|
|
|
|
DBName=zabbix
|
|
|
|
|
DBUser=zabbix
|
|
|
|
|
DBPassword=password
|
|
|
|
|
DBSocket=/var/run/mysqld/mysqld.sock
|
|
|
|
|
# DBPort=
|
|
|
|
|
StartPollers=32
|
|
|
|
|
# StartPreprocessors=3
|
|
|
|
|
StartPollersUnreachable=16
|
|
|
|
|
StartTrappers=15
|
|
|
|
|
StartPingers=32
|
|
|
|
|
# StartDiscoverers=1
|
|
|
|
|
StartHTTPPollers=0
|
|
|
|
|
StartEscalators=10
|
|
|
|
|
# StartAlerters=3
|
|
|
|
|
ListenIP=0.0.0.0
|
|
|
|
|
HousekeepingFrequency=0
|
|
|
|
|
# MaxHousekeeperDelete=0
|
|
|
|
|
CacheSize=1G
|
|
|
|
|
StartDBSyncers=10
|
|
|
|
|
HistoryCacheSize=512M
|
|
|
|
|
#HistoryIndexCacheSize=128M
|
|
|
|
|
TrendCacheSize=128M
|
|
|
|
|
ValueCacheSize=256M
|
|
|
|
|
Timeout=30
|
|
|
|
|
# UnreachablePeriod=45
|
|
|
|
|
# UnavailableDelay=60
|
|
|
|
|
# UnreachableDelay=15
|
|
|
|
|
AlertScriptsPath=/usr/lib/zabbix/alertscripts
|
|
|
|
|
ExternalScripts=/usr/lib/zabbix/externalscripts
|
|
|
|
|
FpingLocation=/usr/bin/fping
|
|
|
|
|
LogSlowQueries=3000
|
|
|
|
|
# TmpDir=/tmp
|
|
|
|
|
StartProxyPollers=0
|
|
|
|
|
# ProxyConfigFrequency=3600
|
|
|
|
|
# ProxyDataFrequency=1
|
|
|
|
|
AllowRoot=1
|
|
|
|
|
# User=zabbix
|
|
|
|
|
# Include=/usr/local/etc/zabbix_server.conf.d/
|
2020-05-17 12:57:04 +08:00
|
|
|
StatsAllowedIP=127.0.0.1
|