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 2, 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, reboot using the following command:
shutdown -r now
- Now, navigate to Configuration | Discovery and click on Create discovery rule in the top-right corner.
- We are going to create a new SNMP discovery rule, with an SNMP...