Zabbix Documentation 4.2

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 [2014/09/25 15:14]
sasha Links adapted because of a move operation
manual:concepts:server [2018/10/15 08:15]
Line 1: Line 1:
-==== - #2 Server ==== 
- 
-=== Overview === 
- 
-Zabbix server is the central process of Zabbix software. 
- 
-The server performs the polling and trapping of data, it calculates triggers, sends notifications to users. It is the central component to which Zabbix agents and proxies report data on availability and integrity of systems. The server can itself remotely check networked services (such as web servers and mail servers) using simple service checks. ​ 
- 
-The server is the central repository in which all configuration,​ statistical and operational data is stored, and it is the entity in Zabbix that will actively alert administrators when problems arise in any of the monitored systems. 
- 
-The functioning of a basic Zabbix server is broken into three distinct components; they are: Zabbix server, web frontend and database storage. 
- 
-All of the configuration information for Zabbix is stored in the database, which both the server and the web frontend interact with. For example, when you create a new item using the web frontend (or API) it is added to the items table in the database. Then, about once a minute Zabbix server will query the items table for a list of the items which are active that is then stored in a cache within the Zabbix server. This is why it can take up to two minutes for any changes made in Zabbix frontend to show up in the latest data section. 
- 
-=== Server process === 
- 
-Zabbix server runs as a daemon process. The server can be started by executing: 
- 
-  shell> cd sbin 
-  shell> ./​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) 
--R --runtime-control <​option> ​  ​perform administrative functions 
--h --help ​                      give this help 
--V --version ​                   display version number</​code>​ 
- 
-<​note>​Runtime control is not supported on OpenBSD and NetBSD.</​note>​ 
- 
-Examples of command line parameters: 
- 
-  shell> zabbix_server -c /​usr/​local/​etc/​zabbix_server.conf 
-  shell> zabbix_server --help 
-  shell> zabbix_server -V 
- 
- 
-== Runtime control == 
- 
-Runtime control options: 
- 
-^Option^Description^Target^ 
-|config_cache_reload|Reload configuration cache. Ignored if cache is being currently loaded.| | 
-|log_level_increase[=<​**target**>​]|Increase log level, affects all processes if target is not specified.|**pid** - Process identifier (1 to 65535) \\ **process type** - All processes of specified type (e.g., poller) \\ **process type,N** - Process type and number (e.g., poller,3)| 
-|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. 
- 
-Example of using runtime control to reload the server configuration cache: 
- 
-  shell> zabbix_server -c /​usr/​local/​etc/​zabbix_server.conf -R config_cache_reload 
- 
-Examples of using runtime control to change log level: 
- 
-  Increase log level of all processes: 
-  shell> zabbix_server -c /​usr/​local/​etc/​zabbix_server.conf -R log_level_increase 
-  ​ 
-  Increase log level of second poller process: 
-  shell> zabbix_server -c /​usr/​local/​etc/​zabbix_server.conf -R log_level_increase=poller,​2 
-  ​ 
-  Increase log level of process with PID 1234: 
-  shell> zabbix_server -c /​usr/​local/​etc/​zabbix_server.conf -R log_level_increase=1234 
-  ​ 
-  Decrease log level of all http poller processes: 
-  shell> zabbix_server -c /​usr/​local/​etc/​zabbix_server.conf -R log_level_decrease="​http poller"​ 
-== Process user == 
- 
-Zabbix server is designed to run as a non-root user. It will run as whatever non-root user it is started as. So you can run server as any non-root user without any issues. 
- 
-If you will try to run it as '​root',​ it will switch to a hardcoded '​zabbix'​ user, which must be [[manual:​installation:​install|present]] on your system. You can only run server as '​root'​ if you modify the '​AllowRoot'​ parameter in the server configuration file accordingly. 
- 
-If Zabbix server and [[agent|agent]] are run on the same machine it is recommended to use a different user for running the server than for running the agent. Otherwise, if both are run as the same user, the agent can access the server configuration file and any Admin level user in Zabbix can quite easily retrieve, for example, the database password. 
- 
-== Configuration file == 
- 
-See the [[manual:​appendix:​config:​zabbix_server|configuration file]] options for details on configuring zabbix_server. 
- 
-== Start-up scripts == 
- 
-The scripts are used to automatically start/stop Zabbix processes during system'​s start-up/​shutdown. The scripts are located under directory misc/​init.d. 
- 
-=== Supported platforms === 
- 
-Due to the security requirements and mission-critical nature of server operation, UNIX is the only operating system that can consistently deliver the necessary performance,​ fault tolerance and resilience. Zabbix operates on market leading versions. 
- 
-Zabbix server is tested on the following platforms: 
- 
-  * Linux 
-  * Solaris 
-  * AIX 
-  * HP-UX 
-  * Mac OS X 
-  * FreeBSD 
-  * OpenBSD 
-  * NetBSD 
-  * SCO Open Server ​ 
-  * Tru64/OSF1 
- 
-<​note>​Zabbix may work on other Unix-like operating systems as well.</​note>​ 
- 
-(linking to other sections, like zabbix maintenance etc)