Automation after discovery
After we have done some discovery of our devices on the network, it's time to do something with our discovered items. In this recipe, we will show you how to create some devices in Zabbix after we have discovered them.
Getting ready
For this recipe to work, we need our Zabbix server with already configured network discovery such as in the previous recipe, Configuring network discovery. And of course, we also need a device that can be discovered on our network. For this recipe, it's ok if we can ping our device.
How to do it...
Go to Configuration | Actions and select Discovery from the Event source dropdown on the top right.
Create a new action by pressing the Create action button on the top right corner.
Now we have to configure our Action. First, we just give our action a Name in the Action tab.
Then we have to add a condition for our action in the Conditions tab. Here we will add a simple condition that says
Discovery status = Discovered
.In our Operations tab, we have...