How to install Zabbix Agent on Linux

Published: 17 June 2021
on channel: Dignesh Patel
5,672
27

This video is about the installation and configuration process of the Zabbix agent on Linux OS.

Step 1: Install the Zabbix repository as per the OS distribution and version. Clean Metadata and headers

Step 2: Install the Zabbix agent using "yum install zabbix-agent".

Step 3: start the zabbix-agent processes and make it start at system boot using systemctl command.

systemctl start zabbix-agent
systemctl enable zabbix-agent

Step 5: Allow agnet port in OS.

firewall-cmd --add-port=10050/tcp --zaone=public --permanent
firewall-cmd --relaod
firewall-cmd --list-all


Step 4 : Edit Zabbix configuration file /etc/zabbix/zabbix_agentd.conf. Before firing the below command, you need to change 192.168.1.85 to your Zabbix server IP and localhost to your system hostname.

sed -i 's/Server=127.0.0.1/Server=192.168.1.85/g' /etc/zabbix/zabbix_agentd.conf
sed -i 's/ServerActive=127.0.0.1/ServerActive=192.168.1.85/g' /etc/zabbix/zabbix_agentd.conf
sed -i 's/Hostname=Zabbix server/Hostname=localhost/g' /etc/zabbix/zabbix_agentd.conf

Step 6: Restart zabbix agent service.

systemctl restart zabbix-agent


Watch video How to install Zabbix Agent on Linux online without registration, duration hours minute second in high quality. This video was added by user Dignesh Patel 17 June 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,672 once and liked it 27 people.