====== Zabbix agent ====== # pkg search zabbix | grep agent zabbix4-agent-4.0.49 Enterprise-class open source distributed monitoring (agent) LTS zabbix5-agent-5.0.38 Enterprise-class open source distributed monitoring (agent) LTS zabbix6-agent-6.0.22 Enterprise-class open source distributed monitoring (agent) zabbix64-agent-6.4.7 Enterprise-class open source distributed monitoring (agent) Встановлення zabbix6-agent: pkg install zabbix6-agent Копіюємо каталог конфігурацій: cp -a /usr/local/etc/zabbix6/ /usr/local/etc/zabbix6.orig Перейдемо до каталогу cd /usr/local/etc/zabbix6/ у конфізі додамо параметри: tee -a ./zabbix_agentd.conf << EOF Include=/usr/local/etc/zabbix6/zabbix_agentd.conf.d/*.conf Include=/usr/local/etc/zabbix6/zabbix_agentd.conf.d/*.local EOF tee ./zabbix_agentd.conf.d/agent.local << EOF Server=172.16.0.21 ServerActive=172.16.0.21 Hostname=example.com EOF nano ./zabbix_agentd.conf.d/agent.local Додамо в автозавантаження: sysrc zabbix_agentd_enable=YES service zabbix_agentd start