good-arrow’s blog

https://good-arrow.net/

Zabbix 5.0 LTS エージェントをプロキシ経由でインストールするメモ

CentOS 7 に Zabbix 5.0 LTS エージェント をインストールする用のメモ。

yumのプロキシ

/etc/yum.conf

proxy=http://(IPアドレス):(ポート)


RPMパッケージ

rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm --httpproxy (IPアドレス) --httpport (ポート番号)


zabbix-agent のインストール

yum clean all
yum -y install zabbix-agent


Zabbixエージェントの設定

/etc/zabbix/zabbix_agentd.conf

Server=(IPアドレス)
ServerActive=(IPアドレス)
Hostname=(hostname)


zabbix_agentd の起動

systemctl start zabbix-agent.service 
systemctl enable zabbix-agent.service