Setting up Zabbix agent 2 monitoring
Starting from the release of Zabbix 5, Zabbix also officially started support for the new Zabbix agent 2. Zabbix agent 2 brings some major improvements and is even written in another coding language, which is Golang instead of C. In this recipe, we will be exploring how to work with Zabbix agent 2 and explore some of the new features introduced by it.
Getting ready
To get started with Zabbix agent 2, all we need to do is install it on a host that we want to monitor. Make sure you have an empty Red Hat Enterprise Linux (RHEL)-based or Ubuntu Linux host ready to monitor.
How to do it…
Let's see how to install Zabbix agent 2 and then move on to actually working with it.
Installing Zabbix agent 2
Let's start by installing Zabbix agent 2 on the Linux host we want to monitor. I'll be showing you how to do the steps on both RHEL and Ubuntu systems:
- Issue the following command to add the repository: