Zabbix server-side configuration file description

Source: Internet
Author: User
Tags ibm db2 ibm db2 database snmp

Simply for your own records to view later

# This was a configuration file for Zabbix Server process
# to get more information about Zabbix,
# visit http://www.zabbix.com
############ General PARAMETERS #################
# # Option:nodeid
# Unique NodeID in Distributed setup.
# 0-standalone Server
#
# Mandatory:no
# range:0-999
# Default:
#说明: The server-side node id,0 represents only one server, and is used primarily for server-side distributed deployments, depending on the user design Zabbix system architecture tuning
# nodeid=0
# # Option:listenport
# Listen port for Trapper.
#
# Mandatory:no
# range:1024-32767
# Default:
#说明: The server-side listening port is used to receive data collected by a level two agent or direct-attached agent
# listenport=10051
# # OPTION:SOURCEIP
# Source IP address for outgoing connections.
#
# Mandatory:no
# Default:
#说明: Server monitoring IP, recommended to specify
# sourceip=
# # Option:logfile
# Name of the log file.
# If not set, the syslog is used.
#
# Mandatory:no
# Default:
# logfile=
#说明: Zabbix Server log path, depending on the specific circumstances specified
Logfile=/smp/sncmon/zabbix_server.log
# # Option:logfilesize
# Maximum size of log file in MB.
# 0-disable automatic log rotation.
#
# Mandatory:no
# range:0-1024
# Default:
#说明: The log reaches the number of m in the rotation, if this parameter value is 0 o'clock, then does not rotate, the log will continue to grow, it is recommended to set the rotation
# logfilesize=1
# # Option:debuglevel
# Specifies debug level
# 0-no Debug No Logs
# 1-critical information disaster log with less log volume
# 2-error Information error level, log volume greater than critical level
# 3-warnings Alarm level, log volume greater than error level
# 4-for Debugging (produces lots of information) debug level, log volume greater than warning
#
# Mandatory:no
# range:0-4
# Default:
#说明: Log level 0~4, increasing the amount of log generated per unit time
# debuglevel=3
# # Option:pidfile
# Name of PID file.
#
# Mandatory:no
# Default:
#说明: Zabbix service-side program PID Path
# Pidfile=/tmp/zabbix_server.pid
# # Option:dbhost
# Database host name.
# If set to localhost, sockets are used for MySQL.
# If set to empty string, socket was used for PostgreSQL.
#
# Mandatory:no
# Default:
#说明: Specify the database information, for MySQL, if set to localhost, MySQL with socket to connect (need to use with parameter dbsocket), otherwise with IP connection; If the dhhost value is NULL, the default connection PostgreSQL
# Dbhost=localhost
# # Option:dbname
# Database name.
# for SQLite3 path to database file must is provided. DBUser and Dbpassword are ignored.
#
# Mandatory:yes
# Default:
# dbname=
#说明: Server-side Connection database name of the library
Dbname=smp
# # Option:dbschema
# Schema name. Used for IBM DB2.
#
# Mandatory:no
# Default:
#说明: Connection information dedicated to the IBM DB2 database
# dbschema=
# # Option:dbuser
# Database user. Ignored for SQLite.
#
# Mandatory:no
# Default:
#说明: Users connecting to a database
# dbuser=
Dbuser=root
# # Option:dbpassword
# Database password. Ignored for SQLite.
# Comment This line if no password is used.
#
# Mandatory:no
# Default:
#说明: Password to connect to the database
Dbpassword=123
# # Option:dbsocket
# Path to MySQL socket.
#
# Mandatory:no
# Default:
#说明: Specify the sock connection path for MySQL
# Dbsocket=/tmp/mysql.sock
# # Option:dbport
# when the Database port is not using the local socket. Ignored for SQLite.
#
# Mandatory:no
# range:1024-65535
# Default (for MySQL):
#说明: Specify the port to connect to the database
dbport=3306
############ Advanced PARAMETERS ################
#高级参数
# # Option:startpollers
# Number of pre-forked instances of pollers.
#
# Mandatory:no
# range:0-1000
# Default:
#说明; When initializing, the number of child processes started, the more the number, the more throughput capacity of the service side, the greater the consumption of system resources
# startpollers=5
# # Option:startipmipollers
# Number of pre-forked instances of IPMI pollers.
#
# Mandatory:no
# range:0-1000
# Default:
#
#说明: Used primarily for IPMI technology to obtain a hardware status scenario. If there are no related monitoring items, the recommended setting is 0
# startipmipollers=0
# # Option:startpollersunreachable
# Number of pre-forked instances of Pollers for unreachable hosts (including IPMI).
#
# Mandatory:no
# range:0-1000
# Default:
#说明: By default, Zabbix enables the specified process to probe some unreachable hosts (including IPMI scenarios); If the use scenario contains proxy side, it is recommended to keep the default; If the direct agent is more, the specific situation can be adjusted
# startpollersunreachable=1
# # Option:starttrappers
# Number of pre-forked instances of trappers.
# Trappers accept incoming connections from Zabbix sender, active agents, active proxies and child nodes.
# At least one trapper process must is running to display server availability in the frontend.
#
# Mandatory:no
# range:0-1000
# Default:
Description: Used to set the number of receive processes such as SNMP strapper scene submitted data, if the client SNMP trapper technology is more, it is recommended to increase this parameter value
# starttrappers=5
# # Option:startpingers
# Number of pre-forked instances of ICMP pingers.
#
# Mandatory:no
# range:0-1000
# Default:
#说明: Used to set the number of boot threads to enable ICMP protocol ping host, if a single agent manages more than 500 machines, it is recommended to increase this value
# Startpingers=1
# # Option:startdiscoverers
# Number of pre-forked instances of discoverers.
#
# Mandatory:no
# range:0-250
# Default:
Note: To set the number of threads for the Autodiscover host, consider increasing this value if the single agent manages more than 500 machines (only for direct agent scenarios)
# Startdiscoverers=1
# # Option:starthttppollers
# Number of pre-forked instances of HTTP pollers.
#
# Mandatory:no
# range:0-1000
# Default:
#说明: Used to set the number of Web dial monitoring threads, which may increase or decrease this value as specified.
# Starthttppollers=1
# # Option:starttimers
# Number of pre-forked instances of timers.
# timers Process time-based trigger functions and maintenance periods.
# only the first timer process handles the maintenance periods.
#
# Mandatory:no
# range:1-1000
# Default:
#说明: The number of individual instance timers, mainly for triggers, marked with the maintenance of the identity of the host, but only the first timer is used to calculate the maintenance of the identity host.
# Starttimers=1
# # Option:javagateway
# IP address (or hostname) of Zabbix Java Gateway.
# only required if Java pollers is started.
#
# Mandatory:no
# Default:
#说明: Use in javagateway scenes
# javagateway=
# # Option:javagatewayport
# Port that Zabbix Java Gateway listens on.
#
# Mandatory:no
# range:1024-32767
# Default:
#说明: Use in javagateway scenes
# javagatewayport=10052
# # Option:startjavapollers
# Number of pre-forked instances of Java pollers.
#
# Mandatory:no
# range:0-1000
# Default:
#说明: Use in javagateway scenes
# startjavapollers=0
# # Option:startvmwarecollectors
# Number of pre-forked VMware collector instances.
#
# Mandatory:no
# range:0-250
# Default:
#说明: used when setting up monitoring of VMware ESXi host instances, if 0 is not enabled, to monitor ESXi hosts, this value is at least 1; set corresponding values depending on the number of monitoring ESXi
# startvmwarecollectors=0
# # Option:vmwarefrequency
# How often Zabbix would connect to VMware service to obtain a new data.
#
# Mandatory:no
# range:10-86400
# Default:
#说明: Frequency of agent-side access to VMWARE service, units: seconds
# vmwarefrequency=60
# # Option:vmwarecachesize
# Size of VMware cache, in bytes.
# Shared memory size for storing VMware data.
# only used if VMware collectors is started.
#
# Mandatory:no
# range:256k-2g
# Default:
#说明: How much shared memory is used to store VMware data
# vmwarecachesize=8m
# # Option:snmptrapperfile
# Temporary file used for passing data from SNMP Trap daemon to the server.
# must is the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.
#
# Mandatory:no
# Default:
#说明: Specifies a temporary file when SNMP trapper is used to enable the SNMP Trapper feature on the proxy side
# snmptrapperfile=/tmp/zabbix_traps.tmp
# # Option:startsnmptrapper
# If 1, SNMP trapper process is started.
#
# Mandatory:no
# range:0-1
# Default:
#说明: Whether the Snmptrapper feature is enabled, = 0 is not enabled by default, =1 is enabled (used with parameter snmptrapperfile)
# startsnmptrapper=0
# # Option:listenip
# List of comma Delimited IP addresses, the trapper should listen on.
# trapper'll listen on all network interfaces if this parameter is missing.
#
# Mandatory:no
# Default:
Description: Enable Snmptrapper, receive-side listening IP, this parameter is used in conjunction with Startsnmptrapper,snmptrapperfile
# listenip=0.0.0.0
# listenip=127.0.0.1
# # Option:housekeepingfrequency
# How often Zabbix would perform housekeeping procedure (in hours).
# housekeeping is removing unnecessary information from the history, alert, and alarms tables.
#
# Mandatory:no
# range:1-24
# Default:
#说明: How many hours to clean up the history of the agent-side database, alert, and alarms to keep the proxy-side database lightweight, it is recommended to keep the default
# Housekeepingfrequency=1
# # Option:maxhousekeeperdelete
# The table "housekeeper" contains "tasks" for housekeeping procedure in the format:
# [Housekeeperid], [tablename], [field], [value].
# No more than ' maxhousekeeperdelete ' rows (corresponding to [tablename], [field], [value])
# would be deleted per one task in one housekeeping cycle.
# SQLite3 does not use this parameter, deletes all corresponding rows without a limit.
# If set to 0 then no limit was used at all. In the must know what is doing!
#
# Mandatory:no
# range:0-1000000
# Default:
# maxhousekeeperdelete=500
# # Option:senderfrequency
# How often Zabbix would try to send unsent alerts (in seconds).
#
# Mandatory:no
# range:5-3600
# Default:
#说明: How many seconds to retry sending the failed alarm message
# senderfrequency=30
# # Option:cachesize
# Size of configuration cache, in bytes.
# Shared memory size for storing host, item and trigger data.
#
# Mandatory:no
# range:128k-2g
# Default:
#说明; Zabbix how much system shared memory is used to store configuration information, Host,item,trigger data, depending on the number of monitoring hosts and monitoring items, it is recommended to adjust to 32M or greater
# cachesize=8m
# # Option:cacheupdatefrequency
# How often Zabbix would perform update of the configuration cache, in seconds.
#
# Mandatory:no
# range:1-3600
# Default:
#说明: Zabbix update operating system cache frequency, if the management page operation is not frequent, you can consider increasing the parameter value
# cacheupdatefrequency=60
# # Option:startdbsyncers
# Number of pre-forked instances of DB syncers
#
# Mandatory:no
# range:1-100
# Default:
#说明: Synchronizes the acquisition data from the cache to the number of database threads, depending on the database server I/O busy situation, and database write capability tuning. The higher the value, the stronger the writing ability. The greater the pressure on the database server I/O.
# startdbsyncers=4
# # Option:historycachesize
# Size of history cache, in bytes.
# Shared memory size for storing history data.
#
# Mandatory:no
# range:128k-2g
# Default:
#说明: Used to set how much of the system shared memory is used to store the collected historical data, the larger the value, the smaller the database read pressure
# historycachesize=8m
# # Option:trendcachesize
# Size of trend cache, in bytes.
# Shared memory size for storing trends data.
#
# Mandatory:no
# range:128k-2g
# Default:
#说明: Used to set how much of the system shared memory is used to store the calculated trend data, which can affect the database read pressure to some extent
# trendcachesize=4m
# # Option:historytextcachesize
# Size of text history cache, in bytes.
# Shared memory size for storing character, text or log history data.
#
# Mandatory:no
# range:128k-2g
# Default:
#说明: Specify how much system shared memory is used to store character, text or log history data, if the level two agent memory is sufficient, it is recommended to enlarge this value appropriately, can solve the system I/O pressure, and the database read pressure to a large extent
# historytextcachesize=16m
# # Option:valuecachesize
# Size of History value cache, in bytes.
# Shared memory size for caching item history data requests
# Setting to 0 disables value cache.
#
# Mandatory:no
# range:0,128k-64g
# Default:
#说明: Draw out the system how much shared memory for the requested storage monitoring item information, if more monitoring items, it is recommended to increase this value
# valuecachesize=8m
# # Option:nodenoevents
# If set to ' 1 ' local events won ' is sent to master node.
# This won ' t impact ability of the this node to propagate events from its child nodes.
#
# Mandatory:no
# range:0-1
# Default:
#说明: If the node is a sub-node, whether the local event (events table) is allowed to be sent to the master node, 1 is not sent, but does not affect the propagation capacity of nodes below this node, depending on the Zabbix Distributed system Architecture design is turned on or off. It is recommended to keep the default under unknown architectures
# nodenoevents=0
# # Option:nodenohistory
# If set to ' 1 ' local history won ' is sent to master node.
# This won ' t impact ability of the this node to propagate the history of the IT child nodes.
#
# Mandatory:no
# range:0-1
# Default:
Note: If the node is a sub node, whether to allow local historical data to be sent to the master node, 1 is not sent, but does not affect the propagation ability of the nodes below this node, depending on the Zabbix Distributed system architecture design on or off, in the unknown architecture premise, it is recommended to keep the default
# nodenohistory=0
# # Option:timeout
# Specifies how long we wait for the agent, SNMP device or external check (in seconds).
#
# Mandatory:no
# range:1-30
# Default:
#说明: The time-out setting for communication with AGNET\SNMP devices and other external devices, in seconds, or if the collection of data is incomplete or the network is busy, or if the status of the client is changing frequently from the Administration page, consider increasing this value. Note that if this value increases, the parameter startpollers should be considered if there is a corresponding increase in the necessary.
# timeout=3
# # Option:trappertimeout
# Specifies how many seconds trapper may spend processing new data.
#
# Mandatory:no
# range:1-300
# Default:
#说明: Enables the trapper feature for process wait timeout settings. Adjust as needed
# trappertimeout=300
# # Option:unreachableperiod
# after how many seconds of unreachability treat a host as unavailable.
#
# Mandatory:no
# range:1-3600
# Default:
#说明: When the agnet side is in an unusable state, after how many seconds, try reconnecting. It is recommended to set it according to specific circumstances. Note that if this value is too small, the right agent end of the business system is busy, it is possible to cause alarm information false positives
# unreachableperiod=45
# # Option:unavailabledelay
# How often host was checked for availability during the unavailability period, in seconds.
#
# Mandatory:no
# range:1-3600
# Default:
#说明: A status check occurs when the agent side is in a usable state, after a few seconds interval. If the data can be collected normally, but the Management page agent status is not normal, if the network, port and so on, the agent state is still not normal, you can consider increasing this value
# unavailabledelay=60
# # Option:unreachabledelay
# How often host was checked for availability during the unreachability period, in seconds.
#
# Mandatory:no
# range:1-3600
# Default:
#说明: When the agent side is in the unreachable state, the delay of a few seconds after the retry, it is recommended to leave the default, in the agent access to the debugging phase, you can consider reducing this value
# unreachabledelay=15
# # Option:alertscriptspath
# Full path to location of custom alert scripts.
# Default depends on compilation options.
#
# Mandatory:no
# Default:
#说明: Monitoring the path of the alarm script, non-developers are not recommended to modify this parameter value
# alertscriptspath=${datadir}/zabbix/alertscripts
# # Option:externalscripts
# Full path to location of external scripts.
# Default depends on compilation options.
#
# Mandatory:no
# Default:
#说明: Custom Script Storage path, non-developers are not recommended to modify this parameter value
# externalscripts=${datadir}/zabbix/externalscripts
# # Option:fpinglocation
# Location of Fping.
# Make sure this fping binary has root ownership and SUID flag set.
#
# Mandatory:no
# Default:
#说明: IPv4 fping command path, only root is available. Note When you use this command, you should confirm that the command exists
# fpinglocation=/usr/sbin/fping
# # Option:fping6location
# Location of Fping6.
# Make sure this fping6 binary has root ownership and SUID flag set.
# make empty if your fping utility are capable to process IPV6 addresses.
#
# Mandatory:no
# Default:
#说明: IPv6 fping command path, only root is available. Note When you use this command, you should confirm that the command exists
# Fping6location=/usr/sbin/fping6
# # Option:sshkeylocation
# Location of public and private keys for SSH checks and actions.
#
# Mandatory:no
# Default:
#说明: Used when the server requires SSH to the agent side and uses key authentication mode. Non-research and development personnel, not recommended to modify or set
# sshkeylocation=
# # Option:logslowqueries
# How long a database query is before being logged (in milliseconds).
# only works if DebugLevel set to 3 or 4.
# 0-don ' t log slow queries.
#
# Mandatory:no
# range:1-3600000
# Default:
#说明: For server-side database slow query function, in milliseconds, 1 milliseconds = 0.001 seconds, if there is a server-side database to monitor the requirements of slow query, you can adjust this number depending on the situation.
# logslowqueries=0
# # Option:tmpdir
# temporary directory.
#
# Mandatory:no
# Default:
#说明: Temporary directory for Zabbix server work
# tmpdir=/tmp
# # Option:startproxypollers
# Number of pre-forked instances of pollers for passive proxies.
#
# Mandatory:no
# range:0-250
# Default:
#说明: How many sub-processes are enabled to communicate with the agent side, if the agent side is more likely to consider increasing this value
# Startproxypollers=1
# # Option:proxyconfigfrequency
# How often Zabbix Server sends configuration data to a Zabbix proxies in seconds.
# This parameter are used only to proxies in the passive mode.
#
# Mandatory:no
# range:1-3600*24*7
# Default:
#说明: The frequency at which the Zabbix server synchronizes profile data to the proxy side, only when the proxy side is in passive mode
# proxyconfigfrequency=3600
# # Option:proxydatafrequency
# How often Zabbix Server requests the history data from a Zabbix proxies in seconds.
# This parameter are used only to proxies in the passive mode.
#
# Mandatory:no
# range:1-3600
# Default:
Description: Zabbix The frequency of the data collected by the service-side request agent, only applicable to the passive mode of the proxy side
# Proxydatafrequency=1
# # Option:allowroot
# allow the server to run as ' root '. If disabled and the server is started by ' root ', the server
# would try to switch to user ' Zabbix ' instead. Has no effect if started under a regular user.
# 0-do not allowed
# 1-allow Allow
#
# Mandatory:no
# Default:
#说明: Whether to allow the server to run as root
# allowroot=0
# # Option:include
# You could include individual files or all files in a directory in the configuration file.
# Installingzabbix would create include directory in/usr/local/etc, unless modified during the compile time.
#
# Mandatory:no
# Default:
#说明: In some cases, the software parameter configuration file is very long, in order to facilitate management, the configuration file is cut into n configuration files, but in order to clean the main configuration parameter file, the include parameter is enabled to facilitate the program to read all the configuration files in the specified directory
# include=
# include=/usr/local/etc/zabbix_server.general.conf
# include=/usr/local/etc/zabbix_server.conf.d/
####### LOADABLE MODULES #######
# # Option:loadmodulepath
# full path to the location of server modules.
# Default depends on compilation options.
#
# Mandatory:no
# Default:
#指定本地模块路径, non-developers are not recommended to modify
# Loadmodulepath=${libdir}/modules
# # Option:loadmodule
# Module to the load at server startup. Modules is used to extend functionality of the server.
# format:loadmodule=<module.so>
# The modules must is located in directory specified by Loadmodulepath.
# It is allowed to include multiple LoadModule parameters.
#
# Mandatory:no
# Default:
#指定本地模块路径, non-developers are not recommended to modify
# loadmodule=


This is the Zabbix-server configuration file detailed explanation, hope can help everyone.

Zabbix server-side configuration file description

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.