Product / Documentation / ZABBIX Processes /   
ZABBIX Processes
* ZABBIX Server
* ZABBIX Agent (UNIX)
* ZABBIX Agent (Windows)
* ZABBIX Sender (UNIX)
* ZABBIX Get (UNIX)
ZABBIX Server

ZABBIX Server is a central process of ZABBIX software. ZABBIX Server can be started by executing:

shell> cd bin
shell> ./zabbix_server

ZABBIX Server accepts the following command line parameters:

  • -c --config <file> Specify configuration file
  • -h --help give this help
  • -v --version display version number

In order to get this help run:

shell> zabbix_server -h

The configuration file contains parameters for zabbix_server. 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_server.pidName of file to store PID.
PingerFrequencyNo30zabbix_server pings servers once per PingerFrequency seconds (1-3600)
SenderFrequencyNo30The parameter defines how often the daemon must try to send alerts (in seconds)
StartPollersNo5Number of pollers (processes which retrieve data from agents) to start (4-255)
StartTrappersNo5Number of trappers to start (4-255)
TrapperTimeoutNo5Do not spend more than Timeout seconds on processing of traps (1-255)
ListenIPNo-Interface to listen by trapper processes. Trapper will listen to all interfaces if missing.
ListenPortNo10051Port number to listen by trapper processes
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_server.conf
UnavailableDelayNo60How ofter try to connect to unavailable host
UnreachableDelayNo15How ofter try to connect to unreachable host
UnreachablePeriodNo45If a host was unreachable for more than UnreachablePeriod second, change host status to Unavailable