Giter VIP home page Giter VIP logo

Comments (6)

martinm76 avatar martinm76 commented on July 22, 2024

Hey Mark.
From what I have gathers with another user, this is related to the way Zabbix 4.x generates graphs and it would seem they have changed the parameters I need to send. I'll look into this when I have Zabbix 4.0.1 installed on my test system.

from zabbix-pdf-report.

martinm76 avatar martinm76 commented on July 22, 2024

Hey Mark.

I have now managed to debug the issue in my test environment om Zabbix 4.0. The graphing has changed a lot (although the output is basically the same for our purposes).

I have attached a patch that should work on 4.0. I have yet to test that is doesn't break something in Zabbix 3.4 so not committed yet. Can you confirm it works for you?

Not only have they changed from stime and period to from and to, I also have to include ProfileIdx=web.graphs.filter for it to event respect the from and to values. Not sure why that is, but this seems to work here.

zabbix-40-graphs.patch.txt

from zabbix-pdf-report.

amarodefarias avatar amarodefarias commented on July 22, 2024

from zabbix-pdf-report.

martinm76 avatar martinm76 commented on July 22, 2024

Hi Mark.

Copy zabbix-40-graphs.patch.txt to the 'inc' dir of your installation. cd to the 'inc' dir of your installation.
Run this command:
patch <zabbix-40-graphs.patch.txt

That should update createpdf.functions.php at your end to be the same as mine, given you havent't manually changed the file. After that, the graphs ought to work.

from zabbix-pdf-report.

amarodefarias avatar amarodefarias commented on July 22, 2024

from zabbix-pdf-report.

martinm76 avatar martinm76 commented on July 22, 2024

The fix has been mainlined and also tested on 3.4 - it still works (with the old syntax also given). Closing the issue.

from zabbix-pdf-report.

Related Issues (20)

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.