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.
19 Hostname=ZABBIX Server
21 # Listen port. Default is 10050
25 # IP address to bind agent
26 # If missing, bind to all available IPs
30 # Source IP address for outgouing connections
33 # Number of pre-forked instances of zabbix_agentd.
35 # This parameter must be between 1 and 16
39 # How often refresh list of active checks. 2 minutes by default.
41 #RefreshActiveChecks=120
43 # Disable active checks. The agent will work in passive mode listening server.
47 # Enable remote commands for ZABBIX agent. By default remote commands disabled.
49 #EnableRemoteCommands=1
51 # Specifies debug level
52 # 0 - debug is not created
53 # 1 - critical information
54 # 2 - error information
55 # 3 - warnings (default)
56 # 4 - for debugging (produces lots of information)
62 PidFile=/var/run/zabbix/zabbix_agentd.pid
65 # If not set, syslog will be used
67 LogFile=/var/log/zabbix/zabbix_agentd.log
69 # Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
72 # Spend no more than Timeout seconds on processing
73 # Must be between 1 and 30
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