Source
xxxxxxxxxx
1
+
All images for Zabbix map use are stored as SVG in the SVN.
2
+
3
+
To generate SQL for import, first they are converted to PNG using svg_to_png.sh, then png_to_sql.sh generates proper SQL from all PNG files.
4
+
For rackmountable devices and rack images only a few larger sizes are generated, as they don't make much sense at smaller size.
5
+
6
+
--- svg_to_png.sh dependencies
7
+
8
+
Inkscape
9
+
pngcrush
10
+
11
+
--- png_to_sql.sh dependencies
12
+
13
+
hexdump
14
+
15
+
--- png_to_xml.sh dependencies
16
+
17
+
base64