Giter Site home page Giter Site logo

gleitoncampos / zabbix-pdf-report Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aigarskadikis/zabbix-pdf-report

0.0 1.0 0.0 1.33 MB

Reporting tool in PHP for the Zabbix Monitoring Platform. Rather versatile reporting on hosts and host groups.

Home Page: https://www.zabbix.com/forum/zabbix-cookbook/25368-zabbix-dynamic-pdf-report-generation?filter_time=time_lastmonth

License: GNU General Public License v3.0

PHP 35.43% CSS 16.55% Shell 0.04% JavaScript 42.17% Smarty 4.69% HTML 1.13%

zabbix-pdf-report's Introduction

Zabbix PDF Report

Name all graph titles or item names you would like to generate a graph for. Define the scope of a host or host group. Select time period like last hour, last day, last week. Generate PDF. Events also can be included in the report.

I'm not the author of code. Just providing a nice instruction how to install the feature.

Installation

This instruction assumes you are using default zabbix installation which points on http://192.168.56.100/zabbix/

The following solution uses zabbix API which are located at http://192.168.56.100/zabbix/api_jsonrpc.php

After you complete the installation steps you we be able to access reporting tool on http://192.168.56.100/zbxreport/

Prepare git utility on RHEL/CentOS family

yum -y install git

Prepare git utility on Debian/Ubuntu family

apt -y install git

Install project

cd /usr/share
git clone https://github.com/catonrug/zabbix-pdf-report.git

Prepare access

cd /usr/share/zabbix-pdf-report
cp config.inc.php.dist config.inc.php

Create working dir

cd /usr/share/zabbix-pdf-report
./fixrights.sh

Install httpd directive

cp /usr/share/zabbix-pdf-report/zabbix-pdf-report.conf /etc/httpd/conf.d

Restart httpd

systemctl restart httpd

Make sure SELinux is off

setenforce 0

To create link without authorization

Do not ask for user to log in

sed -i "s|\$user_login=1;|\$user_login=0;|" /usr/share/zabbix-pdf-report/config.inc.php

If you are using different credentials than user: Admin, password: zabbix, then set the right credentials

vi /usr/share/zabbix-pdf-report/config.inc.php

Use url http://192.168.56.100/zbxreport/chooser.php

Related

https://www.zabbix.com/forum/showthread.php?t=24998

zabbix-pdf-report's People

Contributors

aigarskadikis avatar martinm76 avatar

Watchers

 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.