Linux command
zabbix_server 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start server
zabbix_server
With config file
zabbix_server -c [/etc/zabbix/zabbix_server.conf]
Foreground mode
zabbix_server -f
Runtime control
zabbix_server -R [config_cache_reload]
说明
zabbix_server is the central daemon of the Zabbix monitoring system. It receives monitoring data from agents and proxies, evaluates trigger conditions, processes alerts, and stores historical data in its backend database. The server coordinates all monitoring activity: it schedules checks, processes incoming data, detects threshold violations, and sends notifications through configured media types (email, SMS, scripts, webhooks). It requires a database backend (MySQL, PostgreSQL, or Oracle) for storing configuration and collected metrics. The web frontend is a separate component that connects to the same database, providing the graphical interface for configuration and visualization. Runtime control commands via -R allow reloading configuration caches and adjusting log levels without restarting the service.
参数
- -c _FILE_
- Config file.
- -f
- Foreground.
- -R _CMD_
- Send a runtime command to a running server (e.g. _config_cache_reload_, _housekeeper_execute_, _log_level_increase_, _log_level_decrease_, _diaginfo_, _snmp_cache_reload_, _ha_status_).
- -T, --test-config
- Validate the configuration file and exit.
- -h, --help
- Show help and exit.
- -V, --version
- Show version information and exit.
FAQ
What is the zabbix_server command used for?
zabbix_server is the central daemon of the Zabbix monitoring system. It receives monitoring data from agents and proxies, evaluates trigger conditions, processes alerts, and stores historical data in its backend database. The server coordinates all monitoring activity: it schedules checks, processes incoming data, detects threshold violations, and sends notifications through configured media types (email, SMS, scripts, webhooks). It requires a database backend (MySQL, PostgreSQL, or Oracle) for storing configuration and collected metrics. The web frontend is a separate component that connects to the same database, providing the graphical interface for configuration and visualization. Runtime control commands via -R allow reloading configuration caches and adjusting log levels without restarting the service.
How do I run a basic zabbix_server example?
Run `zabbix_server` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c _FILE_ do in zabbix_server?
Config file.