Setting up Zabbix agent network discovery
A lot of Zabbix administrators use Zabbix agent extensively and thus spend a lot of time creating Zabbix agent hosts by hand. Maybe they don’t know how to set up Zabbix agent discovery, maybe they didn’t have time to set it up yet, or maybe they just prefer it this way. If you are ready to get started with Zabbix agent discovery, in this recipe we will learn just how easy it is to set it up.
Getting ready
Besides our Zabbix server, in this chapter’s introduction, I mentioned that we will need two (empty) hosts with Zabbix agent 2 installed: one Windows host and one Linux host. If you don’t know how to install Zabbix agent 2, check out Chapter 3, Setting Up Zabbix Monitoring, or see the Zabbix documentation at https://www.zabbix.com/documentation/current/en/manual/concepts/agent2.
Let’s give the servers the following hostnames:
lar-book-disc-lnx
: For the Linux host (use Zabbix agent 2)
...