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.
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.
- A web application by doubleD
- Developed with Davide Zoccarato
Screenshots taken from Mabbix 0.1.0 (beta1)
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.
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! :-)
Developing with gulp, split Back-end and Front-end... Coming soon!
- 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.
- Reports edit
- Check if graphs and hosts still exists in Zabbix
- Send scheduled mail reports
Back-end:
Front-end:
- 2017/07/12 0.1.0 (beta1)
Released under the GNU General Public License v3.0