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

Get Zabbix 4 Network Monitoring - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.