Section: Maintenance Commands (8)
Updated: 2020-09-04
Index Return to Main Contents
zabbix_server - Zabbix server daemon
zabbix_server [-c config-file]
zabbix_server [-c config-file] -R runtime-option
zabbix_server [-c config-file] -T
zabbix_server -h
zabbix_server -V
zabbix_server is the core daemon of Zabbix software.
-c, --config config-file
Use the alternate config-file instead of the default one.
-f, --foreground
Run Zabbix server in foreground.
-R, --runtime-control runtime-option
Perform administrative functions according to runtime-option.
-T, --test-config
Validate configuration file and exit.
-h, --help
Display this help and exit.
-V, --version
Output version information and exit.
Examples of running Zabbix server with command line parameters:
Runtime control options:
config_cache_reload
Reload configuration cache. Ignored if cache is being currently loaded. Default configuration file (unless -c option is specified) will be used to find PID file and signal will be sent to process, listed in PID file.
snmp_cache_reload
Reload SNMP cache, clear the SNMP properties (engine time, engine boots, engine id, credentials) for all hosts.
housekeeper_execute
Execute the housekeeper. Ignored if housekeeper is being currently executed.
trigger_housekeeper_execute
Execute the trigger housekeeper (remove problems for deleted triggers). Ignored if trigger housekeeper for services is being currently executed.
diaginfo[=section]
Log internal diagnostic information of the specified section. Section can be historycache, preprocessing, alerting, lld, valuecache, locks. By default diagnostic information of all sections is logged.
ha_status
Log high availability (HA) cluster status.
ha_remove_node[=target]
Remove the high availability (HA) node specified by its name or ID. Note that active/standby nodes cannot be removed.
ha_set_failover_delay[=delay]
Set high availability (HA) failover delay. Time suffixes are supported, e.g. 10s, 1m.
proxy_config_cache_reload[=target] Reload proxy configuration cache.
secrets_reload
Reload secrets from Vault.
service_cache_reload
Reload the service manager cache.
prof_enable[=target]
Enable profiling. Affects all processes if target is not specified. Enabled profiling provides details of all rwlocks/mutexes by function name.
prof_disable[=target]
Disable profiling. Affects all processes if target is not specified.
log_level_increase[=target]
Increase 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
Log level control targets
process-type
All processes of specified type (alerter, alert manager, availability manager, browser poller, configuration syncer, configuration syncer worker, connector manager, connector worker, discovery manager, escalator, ha manager, history poller, history syncer, housekeeper, http poller, icmp pinger, internal poller, ipmi manager, ipmi poller, java poller, odbc poller, poller, agent poller, http agent poller, snmp poller, preprocessing manager, proxy group manager, proxy poller, self-monitoring, service manager, snmp trapper, task manager, timer, trapper, unreachable poller, vmware collector)
process-type,N
Process type and number (e.g., poller,3)
pid
Process identifier, up to 65535. For larger values specify target as "process-type,N"
Profiling control targets
process-type
All processes of specified type (alerter, alert manager, availability manager, browser poller, configuration syncer, configuration syncer worker, connector manager, connector worker, discovery manager, escalator, ha manager, history poller, history syncer, housekeeper, http poller, icmp pinger, internal poller, ipmi manager, ipmi poller, java poller, odbc poller, poller, agent poller, http agent poller, snmp poller, preprocessing manager, proxy group manager, proxy poller, self-monitoring, service manager, snmp trapper, task manager, timer, trapper, unreachable poller, vmware collector)
process-type,N
Process type and number (e.g., history syncer,1)
pid
Process identifier, up to 65535. For larger values specify target as "process-type,N"
scope
Profiling scope (rwlock, mutex, processing) can be used with process type (e.g., history syncer,1,processing)
/usr/local/etc/zabbix_server.conf
Default location of Zabbix server configuration file (if not modified during compile time).
Documentation https://www.zabbix.com/manuals
zabbix_agentd(8), zabbix_get(1), zabbix_proxy(8), zabbix_sender(1), zabbix_js(1), zabbix_agent2(8)
This document was created on: 16:12:14 GMT, September 04, 2020