Book Image

Zabbix 4 Network Monitoring - Third Edition

By : Patrik Uytterhoeven, Rihards Olups
Book Image

Zabbix 4 Network Monitoring - Third Edition

By: Patrik Uytterhoeven, Rihards Olups

Overview of this book

Zabbix 4 Network Monitoring is the perfect starting point for monitoring the performance of your network devices and applications with Zabbix. Even if you’ve never used a monitoring solution before, this book will get you up and running quickly. You’ll learn to monitor more sophisticated operations with ease and soon feel in complete control of your network, ready to meet any challenges you might face. Starting with the installation, you will discover the new features in Zabbix 4.0. You will then get to grips with native Zabbix agents and Simple Network Management Protocol (SNMP) devices. You will also explore Zabbix's integrated functionality for monitoring Java application servers and VMware. This book also covers notifications, permission management, system maintenance, and troubleshooting, so you can be confident that every potential challenge and task is under your control. If you're working with larger environments, you'll also be able to find out more about distributed data collection using Zabbix proxies. Once you're confident and ready to put these concepts into practice, you will understand how to optimize and improve performance. Troubleshooting network issues is vital for anyone working with Zabbix, so the book also helps you work through any technical snags and glitches you might face. By the end of this book, you will have learned more advanced techniques to fine-tune your system and make sure it is in a healthy state.
Table of Contents (25 chapters)

Value preprocessing and dependent items

A new powerful tool added in Zabbix is preprocessing items and dependent items. We touched briefly on preprocessing when we had to add a network card and calculate the Change per second. But there's much more that we can do now out of the box without the need for knowledge of scripting. As value mapping is something we have together in an item, we'll combine it with dependent items as it makes more sense here.

Let's start by creating a new item on our A test host:

  • Name: Zabbix master item
  • Type: Zabbix agent(active)
  • Key: mysql.dependent
  • Type of information: Text
  • New applications: MySQL-Master

If all goes well, when we look at the latest data, we now see text value in our history as shown in the following screenshot:

When we click on History, it should show us all of the values from our MySQL:

Now, this looks nice but...