Setting up Zabbix agent 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 – Golang instead of C. In this recipe, we will explore 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 learn how to install Zabbix Agent 2 and then move on to 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 show you how to do this on both RHEL and Ubuntu systems:
- Issue the following command to add the repository.
For RHEL-based systems, this...