The parameters supported in a Zabbix proxy configuration file:
Parameter | Mandatory | Range | Default | Description |
---|---|---|---|---|
CacheSize | no | 128K-2G | 8M | Size of configuration cache, in bytes. Shared memory size, for storing hosts and items data. The upper limit used to be 1G before version 2.0.5. |
ConfigFrequency | no | 1-604800 | 3600 | How often proxy retrieves configuration data from Zabbix server in seconds. For a proxy in the passive mode this parameter will be ignored. |
DBHost | no | localhost | Database host name. In case of MySQL localhost or empty string results in using a socket. In case of PostgreSQL only empty string results in attempt to use socket. |
|
DBName | yes | Database name. For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored. Warning: Do not attempt to use the same database Zabbix server is using. |
||
DBPassword | no | Database password. Ignored for SQLite. Comment this line if no password is used. |
||
DBSchema | no | Schema name. Used for IBM DB2. | ||
DBSocket | no | 3306 | Path to MySQL socket. Database port when not using local socket. Ignored for SQLite. |
|
DBUser | Database user. Ignored for SQLite. | |||
DataSenderFrequency | no | 1-3600 | 1 | Proxy will send collected data to the server every N seconds. |
DebugLevel | no | 0-4 | 3 | Specifies debug level: 0 - no debug 1 - critical information 2 - error information 3 - warnings 4 - for debugging (produces lots of information) |
ExternalScripts | no | /usr/local/share/zabbix/externalscripts | Location of external scripts (depends on compile-time installation variable datadir). | |
Fping6Location | no | /usr/sbin/fping6 | Location of fping6. Make sure that fping6 binary has root ownership and SUID flag set. Make empty ("Fping6Location=") if your fping utility is capable to process IPv6 addresses. |
|
FpingLocation | no | /usr/sbin/fping | Location of fping. Make sure that fping binary has root ownership and SUID flag set! |
|
HeartbeatFrequency | no | 0-3600 | 60 | Frequency of heartbeat messages in seconds. Used for monitoring availability of proxy on server side. 0 - heartbeat messages disabled. For a proxy in the passive mode this parameter will be ignored. |
HistoryCacheSize | no | 128K-2G | 8M | Size of history cache, in bytes. Shared memory size for storing history data. The upper limit used to be 1G before version 2.0.5. |
HistoryTextCacheSize | no | 128K-2G | 16M | Size of text history cache, in bytes. Shared memory size for storing character, text or log history data. The upper limit used to be 1G before version 2.0.5. |
Hostname | no | Set by HostnameItem | Unique, case sensitive Proxy name. Make sure the proxy name is known to the server! Allowed characters: alphanumeric, '.', ' ', '_' and '-'. Maximum length: 64 |
|
HostnameItem | no | system.hostname | Item used for setting Hostname if it is undefined (this will be run on the proxy similarly as on an agent). Does not support UserParameters, performance counters or aliases, but does support system.run[]. Ignored if Hostname is set. This option is supported in version 1.8.6 and higher. |
|
HousekeepingFrequency | no | 1-24 | 1 | How often Zabbix will perform housekeeping procedure (in hours). Housekeeping is removing outdated information from the database. Note: To prevent housekeeper from being overloaded (for example, when configuration parameters ProxyLocalBuffer or ProxyOfflineBuffer are greatly reduced), no more than 4 times HousekeepingFrequency hours of outdated information are deleted in one housekeeping cycle. Thus, if HousekeepingFrequency is 1, no more than 4 hours of outdated information (starting from the oldest entry) will be deleted per cycle. |
Include | no | You may include individual files or all files in a directory in the configuration file. See special notes about limitations. | ||
JavaGateway | no | IP address (or hostname) of Zabbix Java gateway. Only required if Java pollers are started. This option is supported in version 2.0.0 and higher. |
||
JavaGatewayPort | no | 1024-32767 | 10052 | Port that Zabbix Java gateway listens on. This option is supported in version 2.0.0 and higher. |
ListenIP | no | 0.0.0.0 | List of comma delimited IP addresses that the trapper should listen on. Trapper will listen on all network interfaces if this parameter is missing. Multiple IP addresses are supported in version 1.8.3 and higher. |
|
ListenPort | no | 1024-32767 | 10051 | Listen port for trapper. |
LogFileSize | no | 0-1024 | 1 | Maximum size of log file in MB. 0 - disable automatic log rotation. |
LogFile | no | Name of log file. If not set, syslog is used. |
||
LogSlowQueries | no | 0-3600000 | 0 | How long a database query may take before being logged (in milliseconds). 0 - don't log slow queries. This option becomes enabled starting with DebugLevel=3. Supported since Zabbix 1.8.2 version. |
PidFile | no | /tmp/zabbix_proxy.pid | Name of PID file. | |
ProxyLocalBuffer | no | 0-720 | 0 | Proxy will keep data locally for N hours, even if the data have already been synced with the server. This parameter may be used if local data will be used by third party applications. |
ProxyMode | no | 0-1 | 0 | Proxy operating mode. 0 - proxy in the active mode 1 - proxy in the passive mode This option is supported in version 1.8.3 and higher. |
ProxyOfflineBuffer | no | 1-720 | 1 | Proxy will keep data for N hours in case of no connectivity with Zabbix server. Older data will be lost. |
ServerPort | no | 1024-32767 | 10051 | Port of Zabbix trapper on Zabbix server. For a proxy in the passive mode this parameter will be ignored. |
Server | yes | IP address (or hostname) of Zabbix server. Active proxy will get configuration data from the server. For a proxy in the passive mode this parameter will be ignored. |
||
SNMPTrapperFile | no | /tmp/zabbix_traps.tmp | Temporary file used for passing data from SNMP trap daemon to the proxy. Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file. This option is supported in version 2.0.0 and higher. |
|
SourceIP | no | Source IP address for outgoing connections. | ||
SSHKeyLocation | no | Location of public and private keys for SSH checks and actions | ||
StartDBSyncers | no | 1-100 | 4 | Number of pre-forked instances of DB Syncers. The upper limit used to be 64 before version 1.8.5. This option is supported in version 1.8.3 and higher. |
StartDiscoverers | no | 0-250 | 1 | Number of pre-forked instances of discoverers. The upper limit used to be 255 before version 1.8.5. |
StartHTTPPollers | no | 0-1000 | 1 | Number of pre-forked instances of HTTP pollers. |
StartIPMIPollers | no | 0-1000 | 0 | Number of pre-forked instances of IPMI pollers. The upper limit used to be 255 before version 1.8.5. |
StartJavaPollers | no | 0-1000 | 0 | Number of pre-forked instances of Java pollers. This option is supported in version 2.0.0 and higher. |
StartPingers | no | 0-1000 | 1 | Number of pre-forked instances of ICMP pingers. The upper limit used to be 255 before version 1.8.5. |
StartPollersUnreachable | no | 0-1000 | 1 | Number of pre-forked instances of pollers for unreachable hosts (including IPMI). The upper limit used to be 255 before version 1.8.5. This option is missing in version 1.8.3. |
StartPollers | no | 0-1000 | 5 | Number of pre-forked instances of pollers. The upper limit used to be 255 before version 1.8.5. |
StartSNMPTrapper | no | 0-1 | 0 | If set to 1, SNMP trapper process will be started. This option is supported in version 2.0.0 and higher. |
StartTrappers | no | 0-1000 | 5 | Number of pre-forked instances of trappers. Trappers accept incoming connections from Zabbix sender and active agents. The upper limit used to be 255 before version 1.8.5. |
Timeout | no | 1-30 | 3 | Specifies how long we wait for agent, SNMP device or external check (in seconds). |
TmpDir | no | /tmp | Temporary directory. | |
TrapperTimeout | no | 1-300 | 300 | Specifies how many seconds trapper may spend processing new data. |
UnavailableDelay | no | 1-3600 | 60 | How often host is checked for availability during the unavailability period, in seconds. |
UnreachableDelay | no | 1-3600 | 15 | How often host is checked for availability during the unreachability period, in seconds. |
UnreachablePeriod | no | 1-3600 | 45 | After how many seconds of unreachability treat a host as unavailable. |
Zabbix supports configuration files only in UTF-8 encoding without BOM.