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

Low-level discovery


In Zabbix, another way to automate is to make use of low-level discovery. This way Zabbix can automatically create items, triggers, and graphs. At the moment, there are four types in Zabbix that can be discovered out of the box. Zabbix is able to discover filesystems, network interfaces, CPUs, cores, and SNMP OIDs.

Getting ready

For this recipe, we will need our Zabbix server and a Zabbix linux host. The Zabbix host just needs to be properly installed and added to the Zabbix server, but without any templates linked to the hst. On the Zabbix server we need administrator rights.

How to do it ...

  1. The first thing to do is to go to Configuration | Hosts or Templates | Discovery rules.

  2. Click on the Create discovery rule button on the upper right.

  3. Add a Name for our rule: Mounted File System Discovery.

  4. Select the Type Zabbix agent (active).

  5. Add the Key; in this case, the key is vfs.fs.discovery.

  6. Select an Update interval 60 (in production, this could be once a day or an hour).

  7. In the...