[email protected] ~ / grep '^ a Z ' /etc/zabbix/zabbix server.conf Liste...">

当前位置:网站首页>zabbix_ Server configuration file details

zabbix_ Server configuration file details

2022-06-25 22:59:00 A rookie who has been studying hard

zabbix_server Configuration file details

#zabbix_server Configure the instance 

[[email protected] ~]#grep "^[a-Z]" /etc/zabbix/zabbix_server.conf
ListenPort=10051  #zabbix_server Listening port , Port range :1024-32767, The default is 10051
LogType=file  # Log type ,system- system log ,file- Use LogFile The file specified by the parameter ,console- standard output , The default is file
LogFile=/var/log/zabbix/zabbix_server.log  # Log path 
LogFileSize=500  # Specify log scroll write size , When the specified size is reached , The old log will be deleted and the new log will be written from the beginning 
DebugLevel=3  # Specify log debug level ,0- About start and stop Zabbix Basic information about the process ,1- The key information ,2- error message ,3- Warning ,4- For debugging ( Generate a lot of information ),5- Extended debugging ( Generate more information )
PidFile=/var/run/zabbix/zabbix_server.pid  #PID File path 
SocketDir=/var/run/zabbix  #Socket File path 
DBHost=10.0.0.17  # Database address 
DBName=zabbix  # Database name 
DBUser=zabbix  # Database user name 
DBPassword=zabbix  # Database user password 
DBPort=3306  # Database port 
StartPollers=2  # How many instances are pre started , Generally speaking, it is related to CPU Consistency of nuclear numbers 
StartPreprocessors=3  # How many processes are pre started to process zabbix_agent data 
StartPollersUnreachable=2  # The number of initial instance starts of polling processes for unreachable hosts 
StartTrappers=5  # Pre started Trappers Process data 
StartPingers=5  #ICMP ping The initial number of instances of the process 
StartHTTPPollers=3  #http  Number of processes 
StartTimers=3  # Number of timer instances , The timer is used to calculate the occurrence time and step synchronization of the problem 
StartEscalators=1  #escalators The initial number of instances of the process , The number of processes used to process automatic steps in an action 
StartAlerters=3  # Number of alert processes 
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log  #SNMP Trigger temporary file path 
StartSNMPTrapper=1  #SNMP Number of pre start triggers 
HousekeepingFrequency=4  # How many hours to clean up the agent side database  history data 
MaxHousekeeperDelete=1000000  # The maximum number of rows of historical data deleted at a time 
CacheSize=128M  # Configure information cache size 
CacheUpdateFrequency=60  #zabbix Frequency of updating cached data , The unit is in seconds , The scope is 1-3600
StartDBSyncers=6  #zabbix Number of processes synchronizing data with the database 
HistoryCacheSize=128M  # Cache size of historical data 
HistoryIndexCacheSize=32M  # The size of the historical data index cache 
TrendCacheSize=16M  # It is used to set how much system shared memory is divided to store the calculated trend data , This parameter can affect the reading pressure of database to some extent , The scope is 128K-2G
ValueCacheSize=16M  # The size of the history value cache , Shared memory size for caching historical data requests 
Timeout=30  # Data acquisition wait timeout 
UnavailableDelay=60  # When the host is unavailable , How often do you check the availability of this host , The unit is in seconds , The scope is 1-3600
AlertScriptsPath=/usr/lib/zabbix/alertscripts  # Monitor alarm script path , Depends on the compilation time datadir Parameters 
ExternalScripts=/usr/lib/zabbix/externalscripts  # Custom script storage path 
FpingLocation=/usr/sbin/fping  #fping Command location 
LogSlowQueries=3000  # Slow log time ( In Milliseconds ), Only when the DebugLevel Set to 3, 4 or 5 when , Only available ,0- Do not record slow queries , The scope is 1-3600000
TmpDir=/var/run/zabbix/  # Temporary directory 
StartProxyPollers=3  # How many subprocesses are enabled to communicate with the agent side , If there are many agents, you can consider increasing this value , The scope is 0-250
ProxyConfigFrequency=60  #Proxy In passive mode ,Server How many seconds to synchronize the configuration file to Proxy, This parameter is only used for agents in passive mode , The scope is 1-3600*24*7
ProxyDataFrequency=60  # In passive mode ,zabbix_server How many seconds to Proxy Request historical data 
AllowRoot=1  # Whether to allow root start-up zabbix
User=root  # Set up zabbix Start the user 

原网站

版权声明
本文为[A rookie who has been studying hard]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/176/202206251921402102.html