Book Image

Zabbix Cookbook

By : Patrik Uytterhoeven, patrik uytterhoeven
Book Image

Zabbix Cookbook

By: Patrik Uytterhoeven, patrik uytterhoeven

Overview of this book

Table of Contents (18 chapters)
Zabbix Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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...

  1. Go to Configuration | Actions and select Discovery from the Event source dropdown on the top right.

  2. Create a new action by pressing the Create action button on the top right corner.

  3. Now we have to configure our Action. First, we just give our action a Name in the Action tab.

  4. 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.

  5. In our Operations tab, we have...