In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Detailed explanation of zabbix_server.conf configuration file
AlertScriptsPath
Default value: / usr/local/share/zabbix/alertscripts
Description: alarm script directory
AllowRoot
Default value: 0 indicates whether root startup is allowed, 0: not allowed, 1: allowed. By default, she will use the zabbix user to start the zabbix process, and root is not recommended.
CacheSize
Value range: 128K-8G
Default value: 8m
Description: configure cache to store host,item,trigger data. Before version 2.2.3, the maximum support is 2G. At present, it supports a maximum of 8G, which generally does not need much.
CacheUpdateFrequency
Value range: 1-3600
Default value: 60
Description: how many seconds do you update the configuration cache
DBHost
Default value: localhost
Description: database host address
DBName
Default value: none
Required: yes
DBPassword:
Default value: hole
Description: database password
DBPort
Value range: 1024-65535
Default value: 3306
Note: SQLite as DB, this option should be ignored, and if you use socket links, please ignore it.
DBSchema
Description: Schema name. Used for IBM DB2, PostgreSQL.
DBSocket
Default value: / tmp/mysql.sock
Description: mysql sock file path
DebugLevel
Value range: 0-5
Default value: 3
Description: specify the debug level
0-basic information
1-critical information
2-error information
3-warnings information
4-Debug log, which contains a lot of content, so use it cautiously.
5-used to debug web and vmware monitoring
ExternalScripts
Default value: / usr/local/share/zabbix/externalscripts
Description: external script directory
Fping6Location
Default value: / usr/sbin/fping6
Description: fping6 path, people who do not understand fping can have a look at Baidu, if the zabbix is not root start, please give fping6 SUID
FpingLocation
Default value: / usr/sbin/fping
Description: same as above
HistoryCacheSize
Value range: 128K-2G
Default value: 8m
Description:
History cache size, used to store history
HistoryTextCacheSize
Value range: 128K-2G
Default value: 16m
Description: text type history cache size, storage character, text, log history.
HousekeepingFrequency
Value range: 0-24
Default value: 1
Description: housekeep execution frequency, default every hour to go back to delete some expired data. If server restarts, it will be executed after 30 minutes, and then every other hour.
Include
Description: include configuration file, you can use regular expressions, for example: / usr/local/zabbix-2.4.4/conf/ttlsa.com/*.conf
JavaGateway
Description: the hostname of Zabbix Java gateway. You need to start Java pollers.
JavaGatewayPort
Value range: 1024-32767
Default value: 10052
Zabbix Java gateway listening port
ListenIP
Default value: 0.0.0.0
Note: listen on addresses. Leave blank to listen on all addresses. You can listen on multiple IP addresses, separated by commas between ip, for example: 127.0.0.1 ip 10.10.0.2
ListenPort
Value range: 1024-32767
Default value: 10051
Description: listening port
LoadModule
Description: load module, format: LoadModule=, file must be in the specified LoadModulePath directory, if you need to load multiple modules, then write more than one.
LoadModulePath
Module catalog, refer to above
LogFile
Log file, for example: / data/logs/zabbix/zabbix-server.log
LogFileSize
Value range: 0-1024
Default value: 1
0 means that automatic log rotation is disabled. If the log reaches the limit and rotation fails, the old log file will be emptied and a new log will be generated.
LogSlowQueries
Value range: 0-3600000
Default value: 0
How slow the database query will be recorded, in milliseconds, 0 means no slow query will be recorded. This configuration is valid only on DebugLevel=3.
MaxHousekeeperDelete
Value range: 0-1000000
Default value: 5000
The data deleted by housekeeping at a time cannot be greater than MaxHousekeeperDelete
PidFile
Default value: / tmp/zabbix_server.pid
PID file
ProxyConfigFrequency
Value range: 1-604800
Default value: 3600
In proxy passive mode, how many seconds does server synchronize the configuration file to proxy.
ProxyDataFrequency
Value range: 1-3600
Default value: 1
In passive mode, how many seconds does zabbix server request historical data from proxy
SenderFrequency
Value range: 5-3600
Default value: 30
How many seconds between, and then try to send an alarm for sending
SNMPTrapperFile
Default value: / tmp/zabbix_traps.tmp
Data sent by SNMP trap to server temporarily stores files.
SourceIP
Egress IP address
SSHKeyLocation
SSH public key and private key path
SSLCertLocation
SSL certificate directory for web monitorin
SSLKeyLocation
SSL authenticated private key path, used for web monitoring
SSLCALocation
SSL authentication, CA path. If empty, the system default CA will be used.
StartDBSyncers
Value range: 1-100
Default value: 4
The number of advance foke DB Syncers, the maximum before 1.8.5 is 64
StartDiscoverers
Value range: 0-250
Default value: 1
The number of pre-forked discoverers can be up to 255before version 1.8.5
StartHTTPPollers
Value range: 0-1000
Default value: 1
Number of pre-forked HTTP pollers, up to 255before 1.8.5
StartIPMIPollers
Value range: 0-1000
Default value: 0
The number of pre-forked IPMI pollers, before 1.8.5, the maximum is 255,
Timeout
Value range: 1-30
Default value: 3
Timeout of agent,snmp,external check (in seconds)
TmpDir
Default value: / tmp
TrapperTimeout
Value range: 1-300
Default value: 300
Timeout for processing trapper data
TrendCacheSize
Value range: 128K-2G
Default value: 4m
Historical data cache size
UnavailableDelay
Value range: 1-3600
Default value: 60
How many seconds does it take to check if the host is available again?
UnreachableDelay
Value range: 1-3600
Default value: 15
How many seconds does it take to check if the host is reachable?
UnreachablePeriod
Value range: 1-3600
Default value: 45
The host has been detected to be unavailable. How long will it be made unreachable?
User
Default value: zabbix
The user who starts zabbix server is valid if the configuration prevents root from starting and the current shell user is root. If the current user is ttlsa, then the running user of zabbix server is ttlsa
ValueCacheSize
Value range: 0128K-64G
Default value: 8m
0 means disabled, history value cache size. When the cache exceeds the limit, it will be recorded in the server log every 5 minutes. Form the good habit of reading journals.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.