Zabbix Documentation 2.4

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

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
manual:concepts:server [2017/03/13 12:13]
martins-v fixing default path to config file
manual:concepts:server [2017/03/15 08:57] (current)
martins-v more server startup info
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+
  
-You can use the following command line parameters with Zabbix server ​:+This will work on most of GNU/Linux systems. On other systems you may need to run:
  
-<​code>​-c --config <​file> ​             absolute path to the configuration file (default is /​usr/​local/​etc/​zabbix_server.conf)+  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: 
 + 
 +<​code>​-c --config <​file> ​       absolute 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 46:
 <​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
   shell> zabbix_server --help   shell> zabbix_server --help
   shell> zabbix_server -V   shell> zabbix_server -V
- 
  
 == Runtime control == == Runtime control ==