Creating hosts with LLD and custom JSON
Creating hosts from LLD works the same as creating anything else from LLD rules. We will simply feed our Zabbix installation with a compatible JSON formatted dataset and use that data to create new hosts. However, starting with Zabbix 6.2, something has changed. Hosts created by LLD are now customizable after creation, so, let’s have a look at how to do it and how it works.
Getting ready
For this recipe, we are going to need two things: any Zabbix 7 installation and a compatible JSON-formatted dataset containing hosts and their data. Some good default template examples to create hosts from LLD are as follows:
- VMware host and hypervisors
- Kubernetes
- Azure and AWS
For the example, however, we will be using a custom dataset, which you can find on GitHub here: https://github.com/PacktPublishing/Zabbix-7-IT-Infrastructure-Monitoring-Cookbook/blob/main/chapter07/lldhosts.json.
It’s also important to have...