How To Install Zabbix Agent On Centos 73 min read
In this tutorial, How To Install Zabbix Agent On Centos 7. This is Zabbix agent and collect all data from using agent config file. So let’s start this guide for step by step.
★ How To Install Zabbix 5.0 On Ubuntu 20.04 Server
★ How To Install Laravel On Ubuntu 16.04 With Phpmyadmin and Mysql
Step #01: Add rpm repo for zabbix agent install on centos 7.
[root@Centos-7 ~]# rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-agent-5.0.0-1.el7.x86_64.rpm
Then run install command.
[root@Centos-7 ~]# yum -y install zabbix zabbix-agent
Then open configuration file from below.
[root@Centos-7 ~]# vi /etc/zabbix/zabbix_agentd.conf
Then edit two option like below.
Server=10.66.11.6 Hostname=Centos-7
Then Save Press Esc, Type :wq then press Enter.
Now Start zabix agent service using below command.
[root@Centos-7 ~]# systemctl start zabbix-agent
Step #02: Must be allow two port from firewall.
[root@Centos-7 ~]# firewall-cmd --zone=public --add-port=10050/tcp --permanent Success [root@Centos-7 ~]# firewall-cmd --zone=public --add-port=10051/tcp --permanent Success [root@Centos-7 ~]# firewall-cmd --reload Success [root@Centos-7 ~]# firewall-cmd --list-all [root@Centos-7 ~]# tail -f /var/log/zabbix/zabbix_agentd.log
Step #03: Add host from web gui.
After login your Zabbix server then goto Configuration / Hosts. Then Click Create host on the top right corner.
Step #04: Goto Templates type Template OS Linux.
Then see status is green.
If any error so please see YouTube video for more details.
- How To Install Zabbix 6.0 on Debian 12 - September 22, 2023
- How To Upgrade Zabbix 5.0 To 5.4 on Ubuntu 20.04 - June 15, 2023
- How To Install osTicket 1.17 On Debian 10 Server - June 9, 2023
We really appreciate for your support for buying me a coffee.
It takes us a while to compose and upload new content, as they have to be checked to see if Properly works. We appreciate you if you help me for one cup of coffee to keep us awake and always deliver good quality content.
No contribution is small of an amount. We are grateful for any amount you support us with. Thank you!