Zabbix Value maps: make any data human-readable

preview_player
Показать описание
Zabbix value maps have become more powerful with the support of ranges and regex. Watch the video and learn new tricks to display meaningful words instead of raw data.

Previously, value maps only supported one-to-one mapping and could only be configured on a global level for the whole Zabbix installation. This approach had many limitations.
First, only super admins could create new value maps.
Second, you had to specify the exact mapping for each potential value, so the value maps were useful only for items that return a limited number of known values (for example, 0 → Off, 1 → On).
Third, the value maps were not "portable": in older versions, they could not be exported together with the template.

Since Zabbix 5.4 release, the value maps have become "local" - they have been moved to the host/template level, and they now support more flexible scenarios.
→ Create value maps for a specific template or host
→ Set value mappings for ranges, for example, "Low battery" for any value below 20%
→ Use regex in value maps, for example, parse log messages for the word "failed" and map to "Error"
→ Set default mapping for values that don't match specified conditions, for example, "OK" - for 0, "Error" - for any other exit code
→ Export/import value maps together with a template

#Zabbixhandytips #zabbix #monitoring #open-source #English #2021 #softwaredevelopment #security #valuemaps #zabbixapi
Рекомендации по теме
Комментарии
Автор

Hello, the value mapping form in the item is greyed-out for me. What does that mean? Is it because only admins can configure assign value mappings?

sadcatto