zabbix_server.conf 详解
Posted st666
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zabbix_server.conf 详解相关的知识,希望对你有一定的参考价值。
# This is a configuration file for Zabbix server daemon
# To get more information about Zabbix, visit http://www.zabbix.com
############ GENERAL PARAMETERS #################
### Option: ListenPort
# Listen port for trapper.
#
# Mandatory: no
# Range: 1024-32767
# Default:
#说明:服务端监听端口用于接收二级代理或直连AGENT的采集数据
# ListenPort=10051
### Option: SourceIP
# Source IP address for outgoing connections.
#
# Mandatory: no
# Default:
#说明:服务端监听IP,建议指定
# SourceIP=
### Option: LogType
# Specifies where log messages are written to:
# system - syslog
# file - file specified with LogFile parameter
# console - standard output
#
# Mandatory: no
# Default:
# LogType=file
### Option: LogFile
# Log file name for LogType ‘file‘ parameter.
#
# Mandatory: no
# Default:
# LogFile=
#说明:zabbix服务端日志路径,视具体情况指定
LogFile=/tmp/zabbix_server.log
### Option: LogFileSize
# Maximum size of log file in MB.
# 0 - disable automatic log rotation.
#
# Mandatory: no
# Range: 0-1024
# Default:
#说明:日志达到多少M里就轮转;若此参数值为0时,则不轮转,日志将不断变大,建议设置成轮转
LogFileSize=50
### Option: DebugLevel
# Specifies debug level:
# 0 - basic information about starting and stopping of Zabbix processes
# 1 - critical information 灾难日志,日志量较少
# 2 - error information 错误级别,日志量大于CRITICAL级别
# 3 - warnings 告警级别,日志量大于ERROR级别
# 4 - for debugging (produces lots of information)调试级别,日志量大于WARNING
# 5 - extended debugging (produces even more information)
#
# Mandatory: no