Giter Site home page Giter Site logo

davidegiacometti / mabbix Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 2.0 599 KB

A small web application written in PHP and AngularJS that interact with Zabbix in order to export graphs as PNG or PDF

License: GNU General Public License v3.0

PHP 29.48% JavaScript 51.16% HTML 16.68% CSS 2.68%
zabbix zabbix-pdf zabbix-report zabbix-png zabbix-graph

mabbix's Introduction

Discontinued

As of November 29, 2018, this project is no longer maintained. If you're interested in developing or maintaining feel free to fork it.
Not working in Zabbix 4 due to changes in chart2.php (refer to issue #2).
Still working with Zabbix 3 but I pesonally don't recommend a production usage.

Welcome to Mabbix

A small web application written in PHP and AngularJS that interact with Zabbix in order to export graphs as PNG or PDF. It's fully developed on Zabbix chart2.php.

Screenshots

Screenshots taken from Mabbix 0.1.0 (beta1)

Requirements

The web application has been developed and tested on Debian 8.7 x64, Zabbix 3.0.7, MySQL 5.5 and PHP 5.6. It should also work with other versions of Zabbix.

Since it's based on PHP PDO you should be able to use a database different than MySQL.
The schema for MySQL is provided.

Installation

apt-get install php5-curl
wget https://github.com/davidegiacometti/mabbix/releases/download/beta1/mabbix-0.1.0.tar.gz
tar zxpf mabbix-0.1.0.tar.gz
mv mabbix /opt
mysql -u[USER] -h[HOST] -p -e "CREATE DATABASE mabbix CHARACTER SET utf8"
mysql -u[USER] -h[HOST] -p -e "CREATE USER 'mabbix'@'localhost' IDENTIFIED BY '[PASSWORD]'"
mysql -u[USER] -h[HOST] -p -e "GRANT SELECT, INSERT, UPDATE, DELETE ON mabbix.* TO 'mabbix'@'localhost'"
mysql -u[USER] -h[HOST] -p mabbix < /opt/mabbix/database/schema.sql
cp /opt/mabbix/public/back-end/core/configuration.php.example /opt/mabbix/public/back-end/core/configuration.php
# Edit the configuration.php with the settings of your environment
cp /opt/mabbix/public/config.sample.json /opt/mabbix/public/config.json
# Edit the config.json with the settings of your environment
ln -s /opt/mabbix/public /var/www/html/mabbix
# Have fun! :-)

Advanced users

Developing with gulp, split Back-end and Front-end... Coming soon!

Known issues

  • Download of reports in Internet Explorer and Edge isn't supported since for security reasons Microsoft doesn't allow href with base64 encoded contents.
  • If you specify width and/or height of a graphs this isn't sized properly but unfortunately this is a Zabbix behavior.

Upcoming features

  • Reports edit
  • Check if graphs and hosts still exists in Zabbix
  • Send scheduled mail reports

Credits

Back-end:

Front-end:

Releases

  • 2017/07/12 0.1.0 (beta1)

License

Released under the GNU General Public License v3.0

mabbix's People

Contributors

davidegiacometti avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mabbix's Issues

With ssl dont work

Hi i install mabbix and its work fine, but with ssl he dont work, can u help me pls
thx

Time period not working

Hi,
Time period not working, i change period 604800sec but he always give me 1h period on graph
image

thx.

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.