LoginSignup
6
5

More than 5 years have passed since last update.

Centos zabbix-agent のインストール(Centos6)

Last updated at Posted at 2015-12-02

1.zabbixのyumリポジトリを登録
rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm

2.zabbix-agent のインストール
yum -y install zabbix-agent

3.zabbixのyumリポジトリを無効化
vi /etc/yum.repos.d/zabbix.repo

[zabbix]
name=Zabbix Official Repository - $basearch
baseurl=http://repo.zabbix.com/zabbix/2.4/rhel/6/$basearch/
enabled=0
●0に変更

[zabbix-non-supported]
name=Zabbix Official Repository non-supported - $basearch
baseurl=http://repo.zabbix.com/non-supported/rhel/6/$basearch/
enabled=0
●0に変更

4.ZabbixサーバのIPアドレスを設定
vi /etc/zabbix/zabbix_agentd.conf

Server=127.0.0.1
●zabbixサーバーのIPアドレスを指定

5.zabbix-agentを起動
service zabbix-agent start

6.zabbix-agentを自動起動に設定
chkconfig zabbix-agent on

7.Selinux無効化
vi /etc/selinux/config

SELINUX=disabled
●disabledを指定

8.iptables無効化
chkconfig iptables off

9.再起動
reboot

6
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
5