Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

mgs_zbxicons

Zabbix maps icon generator.

Tool for generating icon pack to use with Zabbix maps. It simply combines all png's from icons directory with all png files from status directory (default statuses are: DISABLED, ERROR, MAINTENANCE, OK) and saves them in output directory. Can be installed by-hand or using generated SQL scripts on sql directory.

This repository includes some Tango-styled icons.

Example map

Installation

  1. mgs_zbxicons requires python3 with pillow libraries (PIL), install it with pip or your package manager
pip3 install -r requirements.txt
  1. Put your icons to "icons" directory. Filename (without png extensions) will preserve as Drop-down names of icon.
  2. Put your statuses to "statuses" directory.
  3. To generate icons and sql scripts run:
python3 ./mgs_zbxicons.py
  1. Transfer mgs_zbxicons-mysql.sql or mgs_zbxicons-psql.sql to you zabbix mysql/postgresql server.
  2. Execute:

a) For mysql/mariadb backend:

mysql -u zabbix_user -h zabbix_dbhost -p zabbix_db < ./mgs_zbxicons-mysql.sql

b) For postgresql backend:

psql -h zabbix_dbhost -U zabbix_user zabbix_db -f mgs_zbxicons-psql.sql

Updating

Procedure is the same as instalation procedure.