1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
|
ListenPort=10051 SourceIP= PidFile=/tmp/zabbix_server.pid SocketDir=/tmp
LogType=file LogFile=/tmp/zabbix_server.log LogFileSize=0 DebugLevel=3
DBHost=192.168.7.104 DBName=zabbix_server DBSchema= DBUser=zabbix DBPassword=123456 DBSocket= DBPort=3306
HistoryStorageURL= HistoryStorageTypes=uint,dbl,str,log,text HistoryStorageDateIndex=0
ExportDir= ExportFileSize=1G
StartPollers=16 StartIPMIPollers=0 StartPreprocessors=3 StartPollersUnreachable=1 StartTrappers=5 StartPingers=3 StartDiscoverers=1 StartHTTPPollers=1 StartTimers=1 StartEscalators=1 StartAlerters=3
JavaGateway=192.168.7.101 JavaGatewayPort=10052 StartJavaPollers=20
StartVMwareCollectors=0 VMwareFrequency=60 VMwarePerfFrequency=60 VMwareCacheSize=8M VMwareTimeout=10
SNMPTrapperFile=/tmp/zabbix_traps.tmp StartSNMPTrapper=0
ListenIP=0.0.0.0
HousekeepingFrequency=1 MaxHousekeeperDelete=5000
CacheSize=128M CacheUpdateFrequency=60 StartDBSyncers=8 HistoryCacheSize=512M HistoryIndexCacheSize=128M TrendCacheSize=4M ValueCacheSize=64M
Timeout=30 TrapperTimeout=300 UnreachablePeriod=45 UnavailableDelay=60 UnreachableDelay=15
AlertScriptsPath=${datadir}/zabbix/alertscripts ExternalScripts=${datadir}/zabbix/externalscripts
FpingLocation=/usr/bin/fping Fping6Location=/usr/bin/fping6
SSHKeyLocation=
LogSlowQueries=0
TmpDir=/tmp
StartProxyPollers=1 ProxyConfigFrequency=60 ProxyDataFrequency=60
AllowRoot=0
User=zabbix
Include=/usr/local/etc/zabbix_server.general.conf Include=/usr/local/etc/zabbix_server.conf.d/ Include=/usr/local/etc/zabbix_server.conf.d/*.conf
SSLCertLocation=${datadir}/zabbix/ssl/certs SSLKeyLocation=${datadir}/zabbix/ssl/keys SSLCALocation=
StatsAllowedIP=
LoadModulePath=${libdir}/modules LoadModule=
TLSCAFile= TLSCRLFile= TLSCertFile= TLSKeyFile=
|
以上所有参数的设置,可以先设置一个较小的保守的值,然后通过测试,一点点调整,最终优化到合适的值