zabbix_agentd.conf の編集

同一ディレクトリに zabbix_agent.conf と zabbix_agentd.conf があるけど、編集するのは zabbix_agentd.conf だけで大丈夫。
zabbix_agentd.confの編集。

vi /usr/local/etc/zabbix_agentd.conf

最低限2箇所かなぁ?

#Server=127.0.0.1
Server=192.168.1.11

#ServerActive=127.0.0.1
ServerActive=192.168.1.11

で、現行したら保存して終了。

zabbix用のユーザとグループを作成しておく。
作成しておかないとAgentdが起動できないので。

groupadd zabbix
useradd -g zabbix zabbix

Agent起動します。

/usr/local/sbin/zabbix_agentd

で、起動。