Zabbix 4.2 comes with the long awaited support of multiple macros for map element labels and URLs. In this blog post we will discuss what new features Zabbix provides and how to use them to make Zabbix network maps more awesome. For starters though, let me remind you what is a macro in Zabbix and how it’s typically used.
Zabbix 3.4 impressed with its graphical, easy-to comprehend and improved way to access all the gathered data resulting in more interactive, dynamic and visually pleasing network monitoring.
For sure it’s an obvious sign the product moves ahead in terms of more advanced interface, and the use of SVG (Scalable Vector Graphics) instead of a meanwhile outdated raster file format is a good example of the positive changes.
Let’s have a look at all the map improvements in detail with some practical examples:
- SVG image is a candy for the eyes comparing to a raster one. What catches attention first are smooth and softened edges of the background shape. Text legibility is also affected positively by way of using a modern and stylish font;
- Zooming doesn’t affect the quality of this type of images, letters remain readable, and no fuzzy edges experienced;
- The use of SVG images gives a possibility to copy-paste required data for further data analysis, so no more unnecessary memorizing required:
Creating complex maps is a time-consuming job. Actually, even designing a rather small map of 25 elements can take you an hour. That’s time you rather want to spend on something useful or fun, unless you’ve got a fetish for repetitive work. All we need to automate this task, is a network/graph library like Networkx and the Zabbix API.