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

Some advanced monitoring tricks


There are some more tricks that can be used when creating items and we have already made use of them in the book. So, maybe you have noticed it already and found out how it works. If not, we will show you now and explain you how it works.

Getting ready

For this recipe, we just need our Zabbix server up and running and access rights as super administrator. We also need to have our agent installed on our Zabbix server and properly configured.

How to do it …

  1. Let's take next recipe as example and change the Name in Mac Address on $1.

  2. Now let's modify the Key and specify that we want the MAC address from eth0 only system.hw.macaddr[eth0,].

  3. Now click the Update button.

  4. Now go to the list with all items and take a look at your item. You will see that the name now is Mac Address on eth0.

How it works...

When we make use of the $ symbol in our item name, $1 will be linked with the first value from our key. When our key has more than one value, let's say three values then we...