1 # This is config file for zabbix_agentd
2 # To get more information about ZABBIX, go http://www.zabbix.com
4 ############ GENERAL PARAMETERS #################
6 # List of comma delimited IP addresses (or hostnames) of ZABBIX servers.
7 # No spaces allowed. First entry is used for sending active checks.
8 # Note that hostnames must resolve hostname->IP address and
9 # IP address->hostname.
13 # Server port for sending active checks
17 # Unique hostname. Required for active checks.
21 # Listen port. Default is 10050
25 # IP address to bind agent
26 # If missing, bind to all available IPs
30 # Number of pre-forked instances of zabbix_agentd.
32 # This parameter must be between 1 and 16
36 # How often refresh list of active checks. 2 minutes by default.
38 #RefreshActiveChecks=120
40 # Disable active checks. The agent will work in passive mode listening server.
44 # Enable remote commands for ZABBIX agent. By default remote commands disabled.
46 #EnableRemoteCommands=1
48 # Specifies debug level
49 # 0 - debug is not created
50 # 1 - critical information
51 # 2 - error information
53 # 4 - information (default)
54 # 5 - for debugging (produces lots of information)
60 PidFile=/tmp/zabbix_agentd.pid
63 # If not set, syslog will be used
65 LogFile=/tmp/zabbix_agentd.log
67 # Spend no more than Timeout seconds on processing
68 # Must be between 1 and 30
72 ####### USER-DEFINED MONITORED PARAMETERS #######
73 # Format: UserParameter=<key>,<shell command>
74 # Note that shell command must not return empty string or EOL only
75 #UserParameter=system.test,who|wc -l
76 ### Set of parameter for monitoring MySQL server (v3.23.42 and later)
77 ### Change -u<username> and add -p<password> if required
78 #UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
79 #UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
80 #UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
81 #UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
82 #UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
83 #UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
84 #UserParameter=mysql.version,mysql -V