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

Generated by cgit