Rules Related To 'zabbix'

Component overview

Relevant packages:

Relevant groups:

None

Changelog:

No changes recorded.

Relevant rules:

Rule details

Ensure Zabbix Agent Is Installed

package_zabbix_agent_installed

Description

The zabbix-agent package can be installed with the following command:

$ apt-get install zabbix-agent

Rationale

The zabbix-agent package provides the Zabbix monitoring agent, which reports system status and performance metrics to a central Zabbix monitoring server.

Ensure Zabbix Agent Is Enabled

service_zabbix_agent_enabled

Description

The zabbix-agent service can be enabled with the following command:

$ sudo systemctl enable zabbix-agent.service

Rationale

If the Zabbix agent is not running, the server cannot be monitored, delaying detection of outages or performance issues.

Ensure Zabbix Agent Server Directive Is Configured

zabbix_agent_server_configured

Description

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>

Rationale

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.

Ensure Zabbix Agent ServerActive Directive Is Configured

zabbix_agent_serveractive_configured

Description

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>

Rationale

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.