zabbix_server.conf configuration file Detailed

Source: Internet
Author: User

In Ttlsa to learn Zabbix students, to see Zabbix server configuration file parameters in detail. help you get to know Zabbix better. Look straight down.

Alertscriptspath
Default value:/usr/local/share/zabbix/alertscripts
Description: Alert Script Directory

Allowroot
Default value: 0 Description: Whether to allow the use of root boot, 0: not allowed, 1: Allow, by default she will use Zabbix user to start the Zabbix process, do not recommend the use of root

CacheSize
Value range: 128k-8g
Default value: 8M
Description: Configure caching, used to store host,item,trigger data, 2.2.3 before the maximum support 2G, the current maximum support 8G, generally not much.

Cacheupdatefrequency
Value range: 1-3600
Default value: 60
Description: How many seconds to 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
Description: SQLite as DB, this option please ignore, if you use the socket link, also please ignore.

DBSchema
Description: Schema name. 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, a lot of log content, careful use
5– for debugging 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, do not understand fping people can Baidu, if the Zabbix is not a root boot, please give Fping6 SUID

Fpinglocation
Default value:/usr/sbin/fping
Description: The same as above

Historycachesize
Value range: 128k-2g
Default value: 8M
Description
History cache size, for storing historical records

Historytextcachesize
Value range: 128k-2g
Default value: 16M
Description: The cache size of text type history, storage character, text, log history.

Housekeepingfrequency
Value range: 0-24
Default value: 1
Description: Housekeep execution frequency, default every hour go back to delete some outdated data. If the server reboots, then the 30 minutes after the execution, next, every hour in the execution.

Include
Description: Include configuration file, you can use regular expressions, such as:/usr/local/zabbix-2.4.4/conf/ttlsa.com/*.conf

Javagateway
Description: Zabbix Java Gateway host name, 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 to the address, leave blank will be listening to all the addresses, you can listen to multiple IP addresses, IP separated by commas, for example: 127.0.0.1,10.10.0.2

Listenport
Value range: 1024-32767
Default value: 10051
Description: Listening port

LoadModule
Description: Loading module, Format: loadmodule=, the file must be in the specified Loadmodulepath directory, if you need to load multiple modules, then write multiple.

Loadmodulepath
Module directory, reference above

LogFile
Log files, such as:/data/logs/zabbix/zabbix-server.log

LogFileSize
Value range: 0-1024
Default value: 1
0 disables log automatic rotation, and if the log reaches a limit and rotation fails, the old log file is emptied and a new log is regenerated.

Logslowqueries
Value range: 0-3600000
Default value: 0
How slow the database query will be logged, in milliseconds, 0 indicates that the slow query is not logged. This configuration is only valid when debuglevel=3.

Maxhousekeeperdelete
Value range: 0-1000000
Default value: 5000
Housekeeping data deleted at one 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 the server synchronizes the configuration file to proxy.

Proxydatafrequency
Value range: 1-3600
Default value: 1
In passive mode, how many seconds Zabbix server interval to request historical data from proxy

Senderfrequency
Value range: 5-3600
Default value: 30
Interval How many seconds, and then try sending the alert for sending

Snmptrapperfile
Default value:/tmp/zabbix_traps.tmp
SNMP trap data that is sent to the server for temporary storage of files.

Sourceip
Export IP Address

Sshkeylocation
SSH Public Key Private path

Sslcertlocation
SSL certificate directory, for web monitoring

Sslkeylocation
SSL authentication private key path, for web monitoring

Sslcalocation
SSL authentication, CA path, if NULL, will use system default CA

Startdbsyncers
Value range: 1-100
Default value: 4
Number of pre-Foke DB syncers, 1.8.5 the previous maximum value is 64

Startdiscoverers
Value range: 0-250
Default value: 1
The number of pre-forked discoverers, 1.8.5 version before the maximum can be 255

Starthttppollers
Value range: 0-1000
Default value: 1
Number of pre-forked HTTP pollers, 1.8.5 Max 255 before

Startipmipollers
Value range: 0-1000
Default value: 0
Number of pre-forked IPMI pollers, before 1.8.5, maximum of 255

Timeout
Value range: 1-30
Default value: 3
Timeout for agent,snmp,external check, in seconds

Tmpdir
Default value:/tmp

Trappertimeout
Value range: 1-300
Default value: 300
Timeout when 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 interval to detect if the host is available again

Unreachabledelay
Value range: 1-3600
Default value: 15
Interval how many seconds again to detect whether the host is up.

Unreachableperiod
Value range: 1-3600
Default value: 45
Host is not available and how long to make it unreachable

User
Default value: Zabbix
The user who started the Zabbix server is in effect when the configuration prevents root from starting and the current shell user is root. If the current user is Ttlsa, then Zabbix server's running user is Ttlsa

Valuecachesize
Value range: 0,128k-64g
Default value: 8M
0 means disabled, history value cache size, when the cache is exceeded, will be logged every 5 minutes to the server log. Develop a good habit of reading journals.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.