1. sudo rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/7/x86_64/zabbix-agent-6.0.3-1.el17.x86_64.rpm
* Check for latest version in https://repo.zabbix.com/zabbix.
2. sudo yum update
3. sudo yum install zabbix-agent -y
4. sudo nano /etc/zabbix/zabbix-agentd.conf
--> Server = [Zabbix Server IP Address]
--> Hostname = [CentOS hostname]
5. sudo iptables -A INPUT -p tcp -s [Zabbix server IP address] --dport 10050 -m state --state NEW,ESTABLISEHD -j ACCEPT
* If "firewalld" was install, add port 10050 into exception list.
6. sudo systemctl restart zabbix-agent
7. sudo systemctl enable zabbix-agent
8. sudo systemctl status zabbix-agent
9. Continue to add client host into Zabbix server via browser, select --> CentOS with Zabbix Agent
No comments:
Post a Comment