Zabbix Documentation 3.4

3.04.05.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.24.4Guidelines

User Tools

Site Tools


manual:concepts:server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:concepts:server [2016/10/21 09:25]
martins-v numbering fix
manual:concepts:server [2018/10/15 08:14]
martins-v more precise wording
Line 1: Line 1:
-==== - #1 Server ====+==== 1 Server ====
  
 === Overview === === Overview ===
Line 14: Line 14:
  
 === Server process === === Server process ===
 +
 +== If installed as package ==
  
 Zabbix server runs as a daemon process. The server can be started by executing: Zabbix server runs as a daemon process. The server can be started by executing:
  
-  shell> ​cd sbin +  shell> ​service zabbix-server start 
-  shell> ./​zabbix_server+ 
 +This will work on most of GNU/Linux systems. On other systems you may need to run: 
 + 
 +  shell> ​/etc/init.d/zabbix-server start 
 + 
 +Similarly, for stopping/​restarting/​viewing status, use the following commands: 
 + 
 +  shell> service zabbix-server stop 
 +  shell> service zabbix-server restart 
 +  shell> service zabbix-server status 
 + 
 +== Start up manually == 
 + 
 +If the above does not work you have to start it manually. Find the path to the zabbix_server binary and execute: 
 + 
 +  shell> ​zabbix_server
  
-You can use the following command line parameters with Zabbix server :+You can use the following command line parameters with Zabbix server:
  
-<​code>​-c --config <​file> ​             ​absolute ​path to the configuration file (default is /etc/zabbix/​zabbix_server.conf)+<​code>​ 
 +-c --config <​file> ​             path to the configuration file (default is /usr/local/etc/​zabbix_server.conf)
 -R --runtime-control <​option> ​  ​perform administrative functions -R --runtime-control <​option> ​  ​perform administrative functions
 -h --help ​                      give this help -h --help ​                      give this help
Line 29: Line 47:
 <​note>​Runtime control is not supported on OpenBSD and NetBSD.</​note>​ <​note>​Runtime control is not supported on OpenBSD and NetBSD.</​note>​
  
-Examples of command line parameters:+Examples of running Zabbix server with command line parameters:
  
   shell> zabbix_server -c /​usr/​local/​etc/​zabbix_server.conf   shell> zabbix_server -c /​usr/​local/​etc/​zabbix_server.conf
Line 46: Line 64:
 |log_level_decrease[=<​**target**>​]|Decrease log level, affects all processes if target is not specified.|:::​| |log_level_decrease[=<​**target**>​]|Decrease log level, affects all processes if target is not specified.|:::​|
  
-Allowed range of PIDs for changing the log level of a single ​Zabbx process is from 1 to 65535. On systems with large PIDs <process type,N> target ​option ​can be used for changing the log level of a single process.+Allowed range of PIDs for changing the log level of a single ​Zabbix ​process is from 1 to 65535. On systems with PIDs>65535, a <process type,N> target can be used as a workaround ​for changing the log level of a single process ​(e.g.%%"​%%history syncer,​6%%"​%%).
  
 Example of using runtime control to reload the server configuration cache: Example of using runtime control to reload the server configuration cache:
Line 104: Line 122:
  
 <​note>​Zabbix may work on other Unix-like operating systems as well.</​note>​ <​note>​Zabbix may work on other Unix-like operating systems as well.</​note>​
 +
 +=== Locale ===
 +
 +Note that the server requires a UTF-8 locale so that some textual items can be interpreted correctly. Most modern Unix-like systems have a UTF-8 locale as default, however, there are some systems where that may need to be set specifically.
 +