Working with SNMP monitoring
Now let's do something I enjoy most when working with Zabbix: build SNMP monitoring. My professional roots lie in network engineering, and I have worked a lot with SNMP monitoring to monitor all these different network devices.
Getting ready
To get started, we need the two Linux hosts we used in the previous recipes:
- Our Zabbix server host
- The host we used in the previous recipe to monitor via the Zabbix active agent
How to do itβ¦
Monitoring via SNMP polling is easy and very powerful. We will start by configuring SNMPv3 on our monitored Linux host:
- Let's start by issuing the following commands to install SNMP on our host.
For RHEL-based systems:
dnf install net-snmp net-snmp-utils
For Ubuntu systems:
apt install snmp snmpd libsnmp-dev
- Now, let's create the new SNMPv3 user that we will use to monitor our host. Please note that we'll be using insecure passwords, but make...