Zabbix Server configuration file parameters

Source: Internet
Author: User
Tags ibm db2 snmp

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

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

CacheSize
Value range: 128k-8g
Default value: 8M
Description: Configure the cache for storing Host,item,trigger data, 2.2.3 before the maximum support 2G, currently the largest 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, please also ignore.

DBSchema
Description: The 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-General Information
1-critical Information
2-error Information
3-warnings Information
4-debug Log, log content a lot, use cautiously
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 a bit, if Zabbix non-root start, 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 the text type history, stored character, text, and log history.

Housekeepingfrequency
Value range: 0-24
Default value: 1
Description: Housekeep execution frequency, the default is to go back every hour to delete some outdated data. If the server restarts, it is executed 30 minutes later, and then every hour.

Include
Description: An include configuration file that can use regular expressions, for example:/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: The listening address, blank will be at all the address listening, 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: Load module, Format: loadmodule=, file must be in the specified Loadmodulepath directory, if you need to load multiple modules, then write multiple.

Loadmodulepath
Module catalog, reference above

LogFile
Log files, for example:/data/logs/zabbix/zabbix-server.log

LogFileSize
Value range: 0-1024
Default value: 1
0 means that log auto rotation is disabled, and if the log reaches a limit and rotation fails, the old log file will be emptied and a new log can be regenerated.

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

Maxhousekeeperdelete
Value range: 0-1000000
Default value: 5000
Housekeeping data deleted 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
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 requests historical data to proxy

Senderfrequency
Value range: 5-3600
Default value: 30
How many seconds interval, and then try to send the alarm to send

Snmptrapperfile
Default value:/tmp/zabbix_traps.tmp
The SNMP trap sends data to the server in a temporary storage file.

SourceIP
Export IP Address

Sshkeylocation
SSH public key Private key path

Sslcertlocation
SSL certificate directory for Web monitoring

Sslkeylocation
SSL authentication private key path, 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
Number of pre-Foke DB syncers, 1.8.5 previous maximum value 64

Startdiscoverers
Value range: 0-250
Default value: 1
Number of pre-forked discoverers, 1.8. Before 5 version can be up to 255

Starthttppollers
Value range: 0-1000
Default value: 1
pre-forked number of HTTP pollers, 1.8.5 previous maximum 255

Startipmipollers
Value range: 0-1000
Default value: 0
pre-forked IPMI Pollers, 1.8.5 before, Max 255

Timeout
Value range: 1-30
Default value: 3
Agent,snmp,external check time-out, in seconds

TmpDir
Default value:/tmp

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

Unreachabledelay
Value range: 1-3600
Default value: 15
How many seconds interval to detect if the host is up to.

Unreachableperiod
Value range: 1-3600
Default value: 45
The host is not available and how long it is set to unreachable

User
Default value: Zabbix
The user who starts the Zabbix server, is configured to disable root startup, and the current shell user is rooted in the case. If the current user is Ttlsa, then the running user of Zabbix server is Ttlsa

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

Zabbix Server configuration file parameters

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.