Comments (9)
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.
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.
from zabbix-pdf-report.
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.
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.
Hello Martin, do you have any comment for this ? thank you.
from zabbix-pdf-report.
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.
from zabbix-pdf-report.
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.
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)
- clarification about renaming HOT 3
- API call to http://andrewfarley.com/zabbix_php_api
- PHP Warning - Unable to establish API call HOT 2
- Empty report HOT 15
- Hide hosts with no graphs HOT 2
- generated on doc or docx HOT 3
- Report without graps HOT 4
- Empty line HOT 1
- Error in php and curl exits in zabbix-pdf-report index HOT 2
- project working on 5.2? HOT 6
- how to install plugin on zabbix 4+ and nginx? HOT 2
- Zabbix-pdf-report/inc/ZabbixAPI.class.php on line 324 HOT 3
- Does zabbix-pdf-report work zabbix 6 ? HOT 1
- Hosts Groups is empty HOT 2
- unable to create pdf report on zabbix 6.2 HOT 3
- Operation in Zabbix 6.4 HOT 24
- Hello, after consulting the generation of pdf, there are blank pages at the end, is there a solution? HOT 1
- Chinese garbled code HOT 2
- Empty groups list HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zabbix-pdf-report.