Setting up Zabbix SNMP discovery
If you work with a lot of SNMP devices but don't always want to set up monitoring manually, network discovery is the way to go. Zabbix network discovery uses the same functionality as Zabbix agent discovery, but with a different configuration approach.
Getting ready
To get started with network discovery, we are going to need a host that we can monitor with SNMP. If you don't know how to set up a host such as this, check out the Working with SNMP monitoring recipe in Chapter 3, Setting Up Zabbix Monitoring. We'll also need our Zabbix server.
How to do it…
- First, log in to your new SNMP-monitored host and change the hostname to the following:
hostnamectl set-hostname lar-book-disc-snmp
- Then, restart the SNMP daemon using the following command:
exec bash systemctl restart snmpd
- Now, navigate to Configuration | Discovery and click on Create discovery rule in the top-right corner.
- We are going to create a...