Setting up SNMP monitoring the new way
SNMP monitoring has had an entire overhaul starting with Zabbix 6.4, introducing a new way to build SNMP monitoring. The old way is still available and works, but all out-of-the-box monitoring will be overhauled to work with the new way.
The new way will utilize SNMP bulk queries, making it a lot more efficient. As such, in this recipe, we will look at how to build SNMP monitoring the new way.
Getting ready
To get started, we need the two Linux hosts:
- Our Zabbix server environment
- Any Linux host running the SNMP server
How to do it…
Let’s be efficient and start building some bulk SNMP queries. First things first, get your hosts ready:
- First, log in to your Zabbix server CLI. We will start by installing some additional tools to make building SNMP monitoring easier.
For RHEL-based systems:
dnf install net-snmp-utils
For Ubuntu systems:
apt install libsnmp-dev
- Then, on the Linux host we would like...