Giter VIP home page Giter VIP logo

Comments (9)

martinm76 avatar martinm76 commented on July 3, 2024

That sounds weird. How many groups do you have?
Can you show me a screenshot of your groups in Zabbix and what you see in the report generator?
If need be, type them in here.

Any errors in your apache error_log?

from zabbix-pdf-report.

mbuyukkarakas avatar mbuyukkarakas commented on July 3, 2024

Hello, first screen capture shows the zabbix groups list. And the second capture is all I can list from pdf reporter. As you can detect quickly, "physical servers" group is missing in the pdf report screen like many others.

h1
h2

from zabbix-pdf-report.

martinm76 avatar martinm76 commented on July 3, 2024

And does 'zabbix-ldap' have access to all these groups? You are only shown groups that match your rights in Zabbix.
Is zabbbix-ldap a Zabbix Super Admin? If not, what happens if you log on as a Super Admin in the report interface?

This seems to be the most likely cause, but there may be something else to it, of course.

from zabbix-pdf-report.

mbuyukkarakas avatar mbuyukkarakas commented on July 3, 2024

Hello, the zabbix-ldap is super-admin. I tried with other account which have super-admin permissions. The result is the same.

from zabbix-pdf-report.

mbuyukkarakas avatar mbuyukkarakas commented on July 3, 2024

Hello Martin, do you have any comment for this ? thank you.

from zabbix-pdf-report.

martinm76 avatar martinm76 commented on July 3, 2024

I'll see if I can reproduce it, but my Production is still 4.4 and my test server has very few groups, so not sure I can.
If the issue is a general issue, it should show up on 4.4, though.

from zabbix-pdf-report.

mbuyukkarakas avatar mbuyukkarakas commented on July 3, 2024

from zabbix-pdf-report.

martinm76 avatar martinm76 commented on July 3, 2024

I have had a look while I was adjusting other things. I believe the issue lies here:
chooser.php:

$host_groups = ZabbixAPI::fetch_array('hostgroup','get', array('output'=>array('groupid','name'),'real_hosts'=>'1','with_graphs'=>'1','sortfield'=>'name') )
        or die('Unable to get hosts: '.print_r(ZabbixAPI::getLastError(),true));

This automatically removed host groups with no actual hosts (just templates, empty, etc.) AND where no hosts in the group have graphs. Could one or both of these fit your case?

I can try to make it configurable in an upcoming version in config.inc.php.dist, but I would like you to try setting these to 0 and see if you get all the groups you expect.

from zabbix-pdf-report.

mbuyukkarakas avatar mbuyukkarakas commented on July 3, 2024

I figured out the problem.

If there is no graph item created on host or any graph does not comes from the template, the pdf reporting doesnt show the host ,nor the group in the listing.

After creating at least one graph for the host, or graph prototype in the template, everything is ok.

Fyi.

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.