Documentation / ZABBIX Manual v1.0 (old) / Configuration /   
Configuration
* Initial
* Advanced
* Items
* Triggers
* Upgrading
* Tuning
* Configuration files
* Windows (W32) agent
* Utilities
Configuration files

Configuration files

All ZABBIX processes can be configured by changing appropriate configuration files. After a change was made, a restart of the process required.

All ZABBIX configuration files are stored in the directory /etc/zabbix/.

Configuration files must have read permissions.

/etc/zabbix/zabbix_suckerd.conf

The file contains configuration parameters for zabbix_suckerd. The file must exist and it should have read permissions for user zabbix. Supported parameters:

ParameterMandatoryDefault valueDescription
AlertScriptsPathNo/home/zabbix/binLocation of scripts for user-defined media types.
DBHostNolocalhostDB host name.
DBNameYes-Database name. Usually “zabbix”.
DBSocketNo-DB socket name. Used for non-TCP connection to MySQL database. Example: /tmp/mysql.sock
DBPasswordNoNULLUser’s password. If password is not used, then this parameter must be commented.
DBUserNoNULLUser name for connecting to the database
DebugLevelNo3Debug level ( 0 - none, 1 - critical, 2 - error, 3 - warnings, 4 - debug)
DisableHousekeepingNo0If set to 1, housekeeping procedure will be disabled
DisablePingerNo0If set to 1, pinging will be disabled
HousekeepingFrequencyNo1The parameter defines how often the daemon must perform housekeeping procedure (in hours). If PostgreSQL is used set the value to 24 as it will perform command VACUUM.
FpingLocationNo/usr/sbin/fpingLocation of ICMP pinger. It must have setuid flag set.
LogFileNo-Name of log file. If not set, syslog is used.
NoTimeWaitNo-Experimental parameter. If set, no sockets in TIME_WAIT state will exist. Works on Free BSD.
PidFileNo/tmp/zabbix_suckerd.pidName of file to store PID.
PingerFrequencyNo30zabbix_suckerd pings servers once per PingerFrequency seconds.
SenderFrequencyNo30The parameter defines how often the daemon must try to send alerts (in seconds)
StartSuckersNo5Number of zabbix_suckerd to start (4-255)
TimeoutNo5Do not spend more than Timeout seconds on retrieving requested value (1-255) Note: Example of the configuration file can be found at misc/conf/zabbix_suckerd.conf

/etc/zabbix/zabbix_agentd.conf

The file contains configuration parameters for zabbix_agentd. The file must exist and it should have read permissions for user zabbix. Supported parameters:

ParameterMandatoryDefault valueDescription
DBHostNolocalhostDB host name.
DBUserNoNULLUser name for connecting to the database
DebugLevelNo3Debug level ( 0 - none, 1 - critical, 2 - error, 3 - warnings, 4 - debug)
EnableProxyNo00 – request forwarding is prohibited 1 – agent will be able to forward requests
ListenIPNo-IP address to bind agent to. Useful if the host has multiple interfaces.
ListenPortNo10000Port number to listen
LogFileNo-Name of log file. If not set, syslog is used.
NoTimeWaitNo-Experimental parameter. If set, no sockets in TIME_WAIT state will exist. Works on FreeBSD.
PidFileNo/tmp/zabbix_suckerd.pidName of file to store PID.
ServerYes-Comma-delimited list of IP addresses of ZABBIX servers. Connections from other IP addresses will be rejected.
StartAgentsNo5Number of agents to start
UserParameterNo-User-defined parameter to monitor. There can be several user-defined parameters. Value has form , Example:UserParameter=users,who|wc -l Note: Example of the configuration file can be found at misc/conf/zabbix_agentd.conf
TimeoutNo3Do not spend more that Timeout seconds on getting requested value (1-255). The agent does not kill timeouted User Parameters processes!

/etc/zabbix/zabbix_agent.conf

The file contains configuration parameters for zabbix_agent. The file must exist and it should have read permissions for user zabbix. Supported parameters:

ParameterMandatoryDefault valueDescription
Enable ProxyNo00 – request forwarding is prohibited 1 – agent will be able to forward requests
ServerYes-Comma-delimited list of IP addresses of ZABBIX servers. Connections from other IP addresses will be rejected.
TimeoutNo3Do not spend more that Timeout seconds on getting requested value (1-255). The agent does not kill timeouted User Parameters processes!
UserParameterNo-User-defined parameter to monitor. There can be several user-defined parameters. Value has form , Example:UserParameter=users,who|wc -l

Note:Example of the configuration file can be found at misc/conf/zabbix_agent.conf

/etc/zabbix/zabbix_trapper.conf

The file contains configuration parameters for zabbix_trapper. The file must exist and it should have read permissions for user zabbix.

Supported parameters:

ParameterMandatoryDefault valueDescription
DBHostNolocalhostDB host name.
DBNameYes-Database name. Usually “zabbix”.
DBPasswordNoNULLUser’s password. If password is not used, then this parameter must be commented.
DBSocketNo-DB socket name. Used for non-TCP connection to MySQL database. Example: /tmp/mysql.sock
DBUserNoNULLUser name for connecting to the database
DebugLevelNo3Debug level ( 0 - none, 1 - critical, 2 - error, 3 - warnings, 4 - debug)
LogFileNo-Name of log file. If not set, syslog is used.
NoTimeWaitNo-Experimental parameter. If set, no sockets in TIME_WAIT state will exist. Works on FreeBSD.
PidFileNo/tmp/zabbix_suckerd.pidName of file to store PID.
TimeoutNo5Do not spend more than Timeout seconds on retrieving requested value (1-255)

Note:Example of the configuration file can be found at misc/conf/zabbix_trapper.conf

/etc/zabbix/zabbix_trapperd.conf

The file contains configuration parameters for zabbix_trapperd. The file must exist and it should have read permissions for user zabbix.

Supported parameters:

ParameterMandatoryDefault valueDescription
DBConnectOnEachNo0If 1, zabbix_trapperd will connect to the database on each value received.
DBHostNolocalhostDB host name.
DBNameYes-Database name. Usually “zabbix”.
DBPasswordNoNULLUser’s password. If password is not used, then this parameter must be commented.
DBSocketNo-DB socket name. Used for non-TCP connection to MySQL database. Example: /tmp/mysql.sock
DBUserNoNULLUser name for connecting to the database
DebugLevelNo3Debug level ( 0 - none, 1 - critical, 2 - error, 3 - warnings, 4 - debug)
ListenPortNo10001-
LogFileNo-Name of log file. If not set, syslog is used.
NoTimeWaitNo-Experimental parameter. If set, no sockets in TIME_WAIT state will exist. Works on FreeBSD.
PidFileNo/tmp/zabbix_suckerd.pidName of file to store PID.
StartTrappersNo5-
TimeoutNo5Do not spend more than Timeout seconds on retrieving requested value (1-255) Note: Example of the configuration file can be found at misc/conf/zabbix_trapperd.conf