The zabbix-agent package can be installed with the following command:
$ sudo dnf install zabbix-agent
The zabbix-agent package provides the Zabbix monitoring agent, which reports system status and performance metrics to a central Zabbix monitoring server.
The zabbix-agent service can be enabled with the following command:
$ sudo systemctl enable zabbix-agent.service
If the Zabbix agent is not running, the server cannot be monitored, delaying detection of outages or performance issues.
The Zabbix agent must be configured to accept passive checks only from the Zabbix server corresponding to the network segment the host is on, by editing Server in /etc/zabbix/zabbix_agentd.conf:
Server=<zabbix_server_address>
Leaving Server at its packaged default (127.0.0.1) means the agent will reject passive checks from the real Zabbix server, defeating the purpose of having it installed.
The Zabbix agent must be configured to actively report to the Zabbix server corresponding to the network segment the host is on, by editing ServerActive in /etc/zabbix/zabbix_agentd.conf:
ServerActive=<zabbix_server_address>
Leaving ServerActive at its packaged default (127.0.0.1) means the agent does not actively report to any real monitoring server, so active checks and trapper data never reach it.