PageRenderTime 102ms CodeModel.GetById 70ms app.highlight 1ms RepoModel.GetById 19ms app.codeStats 0ms

/zabbix/zabbix_agentd.conf

http://github.com/brinkman83/bashrc
Config | 90 lines | 60 code | 30 blank | 0 comment | 0 complexity | 7ebdfa19d8b45aeba85e8d87bd8d21c8 MD5 | raw file
 1# This is config file for zabbix_agentd
 2# in case the agent is started standalone from init.d (not via inetd).
 3#
 4# To get more information about ZABBIX, go http://www.zabbix.com
 5
 6############ GENERAL PARAMETERS #################
 7
 8# List of comma delimited IP addresses (or hostnames) of ZABBIX servers. 
 9# No spaces allowed. First entry is used for sending active checks.
10# Note that hostnames must resolve hostname->IP address and
11# IP address->hostname.
12
13Server=192.168.1.2
14
15# Server port for sending active checks
16
17#ServerPort=10051
18
19# Unique hostname. Required for active checks.
20
21Hostname=localhost
22
23# Listen port. Default is 10050
24
25#ListenPort=10050
26
27# IP address to bind agent
28# If missing, bind to all available IPs
29
30#ListenIP=127.0.0.1
31
32# Number of pre-forked instances of zabbix_agentd.
33# Default value is 5
34# This parameter must be between 1 and 16
35
36StartAgents=5
37
38# How often refresh list of active checks. 2 minutes by default.
39
40#RefreshActiveChecks=120
41
42# Disable active checks. The agent will work in passive mode listening server.
43
44#DisableActive=1
45
46# Enable remote commands for ZABBIX agent. By default remote commands disabled.
47
48#EnableRemoteCommands=1
49
50# Specifies debug level
51# 0 - debug is not created
52# 1 - critical information
53# 2 - error information
54# 3 - warnings
55# 4 - information (default)
56# 5 - for debugging (produces lots of information)
57
58DebugLevel=3
59
60# Name of PID file
61
62PidFile=/var/run/zabbix-agent/zabbix_agentd.pid
63
64# Name of log file.
65# If not set, syslog will be used
66
67LogFile=/var/log/zabbix-agent/zabbix_agentd.log
68
69# Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
70#LogFileSize=1
71
72# Spend no more than Timeout seconds on processing
73# Must be between 1 and 30
74
75Timeout=3
76
77####### USER-DEFINED MONITORED PARAMETERS #######
78# Format: UserParameter=<key>,<shell command>
79# Note that shell command must not return empty string or EOL only
80#UserParameter=system.test,who|wc -l
81### Set of parameter for monitoring MySQL server (v3.23.42 and later)
82### Change -u<username> and add -p<password> if required
83#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
84#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
85#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
86#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
87#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
88#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
89#UserParameter=mysql.version,mysql -V
90