If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
Thanks for the answer. I have a problem using that method as my zabbix was set to refresh its page in every 5 seconds. As my Report generation really take time to generate a report, it will not have enough time to generate the report if i am generating it from inside Zabbix. I had to generate it directly from the browser.
Error: No permission for the referenced goal or it does not exist you!
Hello guys,
I would like your help to solve this problem I'm having.
I get the following error in the report: Error: No permission for the referenced goal or it does not exist
you.
If I own the zabbix can view images of the reports, the user has permission, but still receive this error.
By logs, logged user configured in config.inc.php check the links, to seek a direct image link can view the report (eg http://192.168.1.2/zabbix/chart2.php...dth=750&height = 150 & period = 3600), only via the report that I can not.
Below is the information from config.inc.php
<?php
//CONFIGURABLE
# zabbix server info(user must have API access)
$z_server = 'http://100.100.1.42/zabbix/';
$z_user = 'user';
$z_pass = 'user';
# tmp_images directory path
$z_img_path = '/var/www/zabbix/custom_pages/tmp_images/';
# should be the tail of the URL
$pdf_location = $z_server ."custom_pages/pdf.php";
# paper settings
$paper_format = 'LETTER'; // formats supported: 4A0, 2A0, A0 -> A10, B0 -> B10, C0 -> C10, RA0 -> RA4, SRA0 -> SRA4, LETTER, LEGAL, EXECUTIVE, FOLIO
$paper_oreintation = 'portrait'; // formats supported: portrait / landscape
# time zone
$timezone = 'BRST';
I would like your help to solve this problem I'm having.
I get the following error in the report: Error: No permission for the referenced goal or it does not exist
you.
If I own the zabbix can view images of the reports, the user has permission, but still receive this error.
By logs, logged user configured in config.inc.php check the links, to seek a direct image link can view the report (eg http://192.168.1.2/zabbix/chart2.php...dth=750&height = 150 & period = 3600), only via the report that I can not.
Below is the information from config.inc.php
<?php
//CONFIGURABLE
# zabbix server info(user must have API access)
$z_server = 'http://100.100.1.42/zabbix/';
$z_user = 'user';
$z_pass = 'user';
# tmp_images directory path
$z_img_path = '/var/www/zabbix/custom_pages/tmp_images/';
# should be the tail of the URL
$pdf_location = $z_server ."custom_pages/pdf.php";
# paper settings
$paper_format = 'LETTER'; // formats supported: 4A0, 2A0, A0 -> A10, B0 -> B10, C0 -> C10, RA0 -> RA4, SRA0 -> SRA4, LETTER, LEGAL, EXECUTIVE, FOLIO
$paper_oreintation = 'portrait'; // formats supported: portrait / landscape
# time zone
$timezone = 'BRST';
If anyone can help me on hold. Sorry, my English'm beginner :/
Dear cleciooliveira,
I saw that your IP address in your config.inc.php is 100.100.1.42, but the IP for direct page that you use to view the graph is 192.168.1.2. The IP address should be the same. I hope I answer you correctly
is why it was only a mistake to mask the inner band just took the example of another server test to verify that I'm doing the same error, which persists.
In both it is logged with the mentioned user works with the direct link, but no reports on the right.
Originally posted by Ferrol
Dear cleciooliveira,
I saw that your IP address in your config.inc.php is 100.100.1.42, but the IP for direct page that you use to view the graph is 192.168.1.2. The IP address should be the same. I hope I answer you correctly
is why it was only a mistake to mask the inner band just took the example of another server test to verify that I'm doing the same error, which persists.
In both it is logged with the mentioned user works with the direct link, but no reports on the right.
Hi Cleciooliveira,
Actually I dont really understand what your are trying to say, but you may check your username use in your config.inc.php, was it already created in your zabbix system?>
$z_user = 'user';
$z_pass = 'user';
If you are using the old version of zabbix(below version 2.0), you have to make sure the user is already set under API user.
I'm using version 2.2.1.
The user User was created in zabbix and has the proper permissions.
Like, when you run the report will generate in the apache logs the url access, checking those logs appear on the link that informed (http://192.168.1.2/zabbix/chart2.php...dth=750&height = 150 & period = 3600 ), if I log in with the User zabbix entered in config.inc.php and enter this link the image of the report appears normal as shown in the previous post, but the error appears on the report:
Error: No permission for the referenced goal or it does not exist you!
Became more clear now?
Sorry again for my english
Originally posted by Ferrol
Hi Cleciooliveira,
Actually I dont really understand what your are trying to say, but you may check your username use in your config.inc.php, was it already created in your zabbix system?>
$z_user = 'user';
$z_pass = 'user';
If you are using the old version of zabbix(below version 2.0), you have to make sure the user is already set under API user.
I'm using version 2.2.1.
The user User was created in zabbix and has the proper permissions.
Like, when you run the report will generate in the apache logs the url access, checking those logs appear on the link that informed (http://192.168.1.2/zabbix/chart2.php...dth=750&height = 150 & period = 3600 ), if I log in with the User zabbix entered in config.inc.php and enter this link the image of the report appears normal as shown in the previous post, but the error appears on the report:
Error: No permission for the referenced goal or it does not exist you!
Became more clear now?
Sorry again for my english
Try to check your directory and file permission. set it all as 755.
What a great tool, it works very great!!! Is there also a possibility to generate a report for the uptime/downtime of a website. At this moment I can only find information in zabbix and copy/paste it to excel, but I will be ore beautiful when I get and PDF report.
I'm new here and, i'm trying to learn about this module. I put it working but something is missing yet, i believe, because the graph aren't showing. I saw another post at the same topic who has the same problem, but no one answer clearly how fixed this.
Comment