Code Monkey home page Code Monkey logo

mgs_zbxicons's Introduction

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 ./mysql_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.

mgs_zbxicons's People

Contributors

michalsternadel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.