How to install Zabbix Agent 6 in Centos7?
$ yum update
$ yum install wget -y
$ wget https://repo.zabbix.com/zabbix/6.0/rhel/7/x86_64/zabbix-agent-6.0.0-1.el7.x86_64.rpm --no-check-certificate
$ rpm -ivh zabbix-agent-6.0.0-1.el7.x86_64.rpm
$ yum install pcre2-devel.x86_64
$ yum update
$ yum install zabbix-agent
# Modify zabbix_agentd.conf with zabbix server hostname or IP
$ vi /etc/zabbix/zabbix_agentd.conf
$ service zabbix-agent start
$ systemctl enable zabbix-agent
$ service zabbix-agent restart
Zabbix Agent LogFile - /var/log/zabbix/zabbix_agentd.log
Agent Config file - /etc/zabbix/zabbix_agentd.conf



How to install Zabbix Agent 6 in Ubuntu 20?
$ wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-1+ubuntu20.04_all.deb
dpkg -i zabbix-release_6.0-1+ubuntu20.04_all.deb
$ apt update && sudo apt upgrade
$ apt install zabbix-agent
$ vi /etc/zabbix/zabbix_agentd.conf
$ systemctl restart zabbix-agent
$ systemctl enable zabbix-agent
Zabbix Agent LogFile - /var/log/zabbix/zabbix_agentd.log
Agent Config file - /etc/zabbix/zabbix_agentd.conf

How to install Zabbix Agent 6 in Windows 2019?
Step 1 – Disable “IE enahanced Security Configuration” in Local server so you can download file easily

Step 2 – Download a MSI file from https://www.zabbix.com/download_agents
URL for Zabbix Agent Version 6 – https://cdn.zabbix.com/zabbix/binaries/stable/6.0/6.0.1/zabbix_agent-6.0.1-windows-amd64-openssl.msi
Step 3 – Install zabbix_agent-6.0.1-windows-amd64-openssl.msi with below configuration

Step 4 – Check a Zabbix Agent Services is running or not

Zabbix Agent 2 Installation in Windows
Version - Zabbix agent 2 v6.0.1
Download - https://cdn.zabbix.com/zabbix/binaries/stable/6.0/6.0.1/zabbix_agent2-6.0.1-windows-amd64-openssl.msi
Zabbix Agent 2 Installation in Ubuntu Linux
Version - Zabbix agent 2 v6.0.1
$ apt install zabbix-agent2
# # Modify zabbix_agent2.conf with zabbix server hostname or IP
$ vi /etc/zabbix/zabbix_agent2.conf
$ systemctl restart zabbix-agent2
Zabbix Agent 2 Installation in Centos/RHEL Linux
$ yum update
$ yum install pcre2-devel.x86_64
$ yum install pcre.x86_64
$ rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/7/x86_64/zabbix-agent2-6.0.2-1.el7.x86_64.rpm
& yum update
$ yum install install zabbix-agent2
# Modify zabbix_agent2.conf with zabbix server hostname or IP
$ vi /etc/zabbix/zabbix_agent2.conf
$ service zabbix-agent start
$ systemctl enable zabbix-agent2
$ service zabbix-agent2 restart
How to add new host (zabbix agent) at Zabbix Server
Step 1 – Configuration ==> Hosts ==> Create Host

Step 2 – Enter Follwing
- Host name -
- Templates - Linux by Zabbix Agent OR Windows by Zabbix agent
- Groups - Virtual Machine
- Interfaces - Agent
Note - Use Public IP address of Agent

Step 3 – Wait for 60 seconds and verify as below;

The Availability column contains indicators of host availability per each interface. We have defined a Zabbix agent interface, so we can use the agent availability icon (with ‘ZBX’ on it) to understand host availability:
– host status has not been established; no metric check has happened yet
– host is available, a metric check has been successful
– host is unavailable, a metric check has failed (move your mouse cursor over the icon to see the error message). There might be some error with communication, possibly caused by incorrect interface credentials. Check that Zabbix server is running, and try refreshing the page later as well.
How to configure and deploy Zabbix passive and active agents:
- Install the Zabbix repository and the Zabbix Agent on your host
- Open the zabbix_agentd.conf configuration file
- Specify your Zabbix Server address in the Server and ServerActive parameters
- Define the name of your host in the Hostname parameter
- Restart the Zabbix Agent
- Navigate to Configuration → Hosts
- Create two hosts in Zabbix frontend – one for passive and one for active checks
- For passive Agent host – define an Agent interface containing the address of your Zabbix Server
- The active agent Host name should match the Hostname parameter value in the Agent configuration file
- Apply the corresponding Linux by Zabbix Agent/Linux by Zabbix Agent active template
- Navigate to Monitoring → Latest data and check if you have received metrics from the hosts














I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND