zabbix-agent yum install

zabbix-agent yum install

Step 1 – Add Required Repository

1
2
3
4
5
CentOS/RHEL 7:
rpm -Uvh http://repo.zabbix.com/zabbix/4.4/rhel/7/x86_64/zabbix-release-4.4-1.el7.noarch.rpm

CentOS/RHEL 6:
rpm -Uvh http://repo.zabbix.com/zabbix/4.4/rhel/6/x86_64/zabbix-release-4.4-1.el6.noarch.rpm

Step 2 – Install Zabbix Agent

1
yum install zabbix-agent

Step 3 – Edit Zabbix Agent Configuration

1
2
3
4
5
6
7
8

# vim /etc/zabbix/zabbix_agentd.conf

#Server=[zabbix server ip]
#Hostname=[ Hostname of client system ]

Server=192.168.1.11
Hostname=Server1

Step 4 – Restarting Zabbix Agent

1
2
# systemctl restart zabbix-agent
# systemctl enable zabbix-agent

Step 5 – open the firewall port

1
2
3
firewall-cmd --permanent --zone=public --add-port=10050/tcp
firewall-cmd --reload
firewall-cmd --list-all