Skip to content

OliverKarger/mgs_zbxicons

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 or use already provided. Filename (without png extensions) will preserve as Drop-down names of icon.
  2. Put your statuses to "statuses" directory.
  3. Check usage and all available options:
python3 ./mgs_zbxicons -h
  1. To generate icons and sql scripts run:

a) For mysql/mariadb backend:

python3 ./mgs_zbxicons.py -e mysql

b) For posgresql backend:

python3 ./mgs_zbxicons.py -e psql
  1. Transfer mgs_zbxicons-mysql.sql or mgs_zbxicons-psql.sql to you zabbix mysql/postgresql server.
  2. Import generated sql files to database engine:

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.

About

Zabbix maps icon generator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%