# Minimal zabbix_agentd.conf
|
|
# author Grebenkin Mikhail
|
|
|
|
############ GENERAL PARAMETERS #################
|
|
PidFile=/var/run/zabbix/zabbix_agentd.pid
|
|
|
|
###LOGGING###
|
|
|
|
# LogType=file # default
|
|
LogFile=/var/log/zabbix-agent/zabbix_agentd.log
|
|
LogFileSize=0 # Maximum size of log file in MB. 0 - disable automatic log rotation.
|
|
# DebugLevel=3 # default
|
|
|
|
###NETWORK###
|
|
# SourceIP= # default
|
|
# EnableRemoteCommands=0
|
|
# LogRemoteCommands=0 # default
|
|
|
|
##### Passive checks related
|
|
Server=127.0.0.1 # server name or ip
|
|
# ListenPort=10050 #default
|
|
# ListenIP=0.0.0.0 #default
|
|
# StartAgents=3 #default
|
|
|
|
##### Active checks related
|
|
ServerActive=127.0.0.1 # server name or ip
|
|
# Hostname= #name must mach with hosntame in server options
|
|
# HostnameItem=system.hostname #name must mach with hosntame in server options
|
|
# RefreshActiveChecks=120 #default
|
|
|
|
# HostMetadata= #default
|
|
# HostMetadataItem= #default
|
|
|
|
# BufferSend=5 #default (seconds to keep data to send)
|
|
# BufferSize=100 #default (buffer to keep values)
|
|
# MaxLinesPerSecond=20 #default (max lines in the buffer)
|
|
|
|
############ ADVANCED PARAMETERS #################
|
|
|
|
# Timeout=3 #default (Timeout of system operations)
|
|
# AllowRoot=0 #default (don't permit agent to start as root)
|
|
# User=zabbix #default ( agent user start as)
|
|
|
|
Include=/etc/zabbix/zabbix_agentd.conf.d/*.conf
|
|
|
|
####### USER-DEFINED MONITORED PARAMETERS #######
|
|
# UnsafeUserParameters=0 #default
|
|
|
|
# UserParameter= # Format: UserParameter=<key>,<shell command>
|
Powered by TurnKey Linux.