CereusReporting - PDF Reports - 4.00 for Cacti 1.x out soon!

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
copycatampn
Posts: 8
Joined: Thu Feb 13, 2014 5:18 am

Re: CereusReporting - PDF/HTML Cacti Reports - v2.20 FINAL o

Post by copycatampn »

Hello everybody:

First of all, I apologize because my English level is not very good.

I have installed CereusReporting_Express_v2.80.81 (linux 64) for my cacti 0.8.8b without any problems following the steps in the Quick Installation Guide (Express Edition). I have chosen the mpdf engine report.

The problem is the next:

When I generate a preview report from a configure one, i can´t see the graphics. Instead it appears a image showing preview (attached file). I have noticed that each time I click on preview report, a new directory is created at /CereusReporting/tmp:

drwxr-xr-x 2 wwwrun www 4.0K Jul 3 13:27 1404385899-3-10398114278-124003141478
drwxr-xr-x 2 wwwrun www 4.0K Jul 3 13:27 1404386863-3-40819035878-154424063078
drwxr-xr-x 2 wwwrun www 4.0K Jul 3 13:32 1404385780-3-6642911078-120247938278

Inside any of these directories there is a file called workerfile that contains something like this (for a single report):

pagebreak@@<pagebreak />@1@@
graph@/usr/bin/php create_image.php 190 0 97148293485 210753320685 120 500 > tmp/1404458649-4-97148293485-210753320685/190-97148293485-210753320685.png@COPAL_trafico_LIG_01@1@tmp/1404458649-4-97148293485-210753320685/190-97148293485-210753320685.png@190
graph@/usr/bin/php create_image.php 190 0 97148293485 210753320685 120 500 > tmp/1404458649-4-97148293485-210753320685/190-97148293485-210753320685.png@COPAL_trafico_LIG_01@1@tmp/1404458649-4-97148293485-210753320685/190-97148293485-210753320685.png@190

If I execute create_image.php manually (create_image.php 190 0 97148293485 210753320685 120 500 > test.png),
the image is generated correctly, so I suppose that there is a problem when mpdf tries to create the image with
tmp/1404458649-4-97148293485-210753320685/190-97148293485 210753320685.png@COPAL_trafico_LIG_01@1@tmp/1404458649-4-97148293485-210753320685/190-97148293485-210753320685.png@190.

I have changed the permissions to the tmp directory(777), but no luck.
Any ideas??

Thanks.
Attachments
Report_image.png
Report_image.png (19.65 KiB) Viewed 6587 times
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF/HTML Cacti Reports - v2.20 FINAL o

Post by phalek »

Hi

It's a "preview report" which doesn't create the graphs. It's for checking the layout only. If you want to generate the report itself, go to:

Console -> Utilities -> User Management

Edit your user and remove the following Realm Permissions from it: "NMID - View Archived Reports"

Then click on the "Cereus" tab at the top. This will get you to a page where you generate the actual report.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
copycatampn
Posts: 8
Joined: Thu Feb 13, 2014 5:18 am

Re: CereusReporting - PDF/HTML Cacti Reports - v2.20 FINAL o

Post by copycatampn »

Thanks a lot phalek. Congratulations for your work.

Regards.
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: CereusReporting - PDF/HTML Cacti Reports - v2.80 FINAL o

Post by Atreides »

Hello,
I installed CereusReporting Express version(i only need to create PDF), but something is not working, maybe you can help.
I'm getting an error in php when I try to create PDF.

[Sat Sep 06 16:38:06 2014] [error] [client 192.168.0.1] PHP Fatal error: Call to undefined method PDF::setNmidHeaderTxt() in /var/www/html/v3/plugins/CereusReporting/createPDFReport.php on line 190, referer: http://localhost/v3/graph_view.php?acti ... =53&page=2

[Sat Sep 06 16:44:30 2014] [error] [client 192.168.0.1] PHP Fatal error: Call to undefined method PDF::setNmidHeaderTxt() in /var/www/html/v3/plugins/CereusReporting/createPDFReport_defined.php on line 244, referer: http://localhost/v3/plugins/CereusRepor ... reportId=1


Here is the debug page :

Dir: /var/www/html/v3/plugins/CereusReporting
Main Dir: /var/www/html/v3/
PHP_SELF: /v3/plugins/CereusReporting/CereusReporting_debug.php
Cacti URL: /v3/
PIA Version: 3.1
Edition: Express Edition . Requirements for SMB Edition not met: [ 2202 out of 200 used ]
License Expiry: never
Licensed Server: TRUE
Operating System: Linux localhost 2.6.32-042stab079.6 #1 SMP Mon Aug 26 19:36:12 MSK 2013 i686
Maintenance Tasks:
Index Maintenance Start ( Max database id = , Entries = )
Plugin Settings:
PHP Path /usr/bin/php
PHP Version PHP 5.3.3 (cli) (built: Jul 12 2013 20:21:47) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with the ionCube PHP Loader v4.4.4, Copyright (c) 2002-2013, by ionCube Ltd.
PDF Engine FPDF
Plugin Version 2.80.81
Licensed Modules:
Availability module disabled
Report Scheduling module disabled
Zenoss module disabled
DSStats module disabled
MultiReports module disabled
Archiving module disabled
Templatingmodule disabled
File/Directory Settings:
tmp directory /var/www/html/v3/plugins/CereusReporting/tmp
tmp directory exists yes
tmp directory writeable yes
tmp directory - can create dirs yes
Loaded PHP Modules:
mbstring enabled
gd enabled
SourceGuardian disabled
IonCube Loader enabled
zip enabled
soap disabled
gettext enabled
Required Cacti Plugins:
settings installed
Optional Cacti Plugins:
storeLastPoll missing
nmidskin missing
Optional PHP Modules:
curl enabled
ChartDirector PHP API disabled
Installed CereusReporting Extenstions:
File parallelGraphRetriever exists ( /var/www/html/v3/plugins/CereusReporting/parallelGraphRetriever )
File parallelGraphRetriever is executable
Plugin Tables
Table Name Status
plugin_nmidCreatePDF_Reports_scheduler exists
plugin_nmidCreatePDF_Reports exists
plugin_nmidCreatePDF_Archives exists
plugin_nmidCreatePDF_UserGroups exists
plugin_nmidCreatePDF_UserGroupList exists
plugin_nmidCreatePDF_UserReportList exists
plugin_nmidCreatePDF_UserGroupReports exists
plugin_nmidCreatePDF_GraphReports exists
plugin_nmidCreatePDF_MultiGraphReports exists
plugin_nmidCreatePDF_DSStatsReports exists
plugin_nmidCreatePDF_ZenossReports exists
plugin_nmidCreatePDF_Reports_Types exists
plugin_nmidCreatePDF_Availability_Table exists
plugin_nmidCreatePDF_Availability_Change_Table exists
plugin_nmidCreatePDF_Availability_SLATimeFrame_Table exists
plugin_nmidCreatePDF_Availability_SLATimeFrameItems_Table exists
plugin_nmidCreatePDF_Availability_Change_Type exists
Plugin Hooks
Hook Name Status
api_device_save registered
tree_after registered
draw_navigation_text registered
poller_bottom registered
top_header_tabs registered
top_graph_header_tabs registered
console_after registered
page_buttons registered


EDIT : Got it :), I think it was about some permissions, the graphs were filled with "error opening http:..../tmp/xxxx.png
EDI2 : Or not :)....still got some permissions problem. If I go to "Cereus" tab and generate the report from there, its working properly , but if I go to Manage Reports--> click on report create then "preview report", it will save a pdf file with the following error : "Error opening the file : tmp/...../xxxx.png.
I have this permission on the tmp folder :

drwxrwxr-x 2 cactii cactii 4096 Jan 10 2013 tmp
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF/HTML Cacti Reports - v2.80 FINAL o

Post by phalek »

Did you try the install guides from the bottom of this page ?

http://blog.network-outsourcing.de/prod ... downloads/
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: CereusReporting - PDF/HTML Cacti Reports - v2.80 FINAL o

Post by Atreides »

Yes, that's the one.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF/HTML Cacti Reports - v2.80 FINAL o

Post by phalek »

Switch over to the MPDF engine, the FPDF one has a small issue which actually may cause this.

Then, enable debug mode ( Console -> Settings -> NMID ) and look at the log file within that tmp directory. It should contain quite some status information.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: CereusReporting - PDF/HTML Cacti Reports - v2.80 FINAL o

Post by Atreides »

Ummm...this is killing me :), now I'm getting tons of errors in /var/log/httpd/error.log. It has to do something with permissions, but I tried like everything I can think of. Tried chown -R cacti.cacti , cacti.apache, even chmod 777 on CereusReporting/tmp and ReportEngine/tmp/.


[Mon Sep 08 13:10:19 2014] [error] [client 192.168.0.1] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted in /var/www/html/cacti/plugins/CereusReporting/modules/logger/logger.php on line 24, referer: http://localhost/cacti/plugins/CereusRe ... reportId=2
[Mon Sep 08 13:10:19 2014] [error] [client 192.168.0.17] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted in /var/www/html/cacti/plugins/CereusReporting/modules/logger/logger.php on line 24, referer: http://localhost/cacti/plugins/CereusRe ... reportId=2
[Mon Sep 08 13:10:19 2014] [error] [client 192.168.0.1] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted in /var/www/html/cacti/plugins/CereusReporting/modules/logger/logger.php on line 24, referer: http://localhost/cacti/plugins/CereusRe ... reportId=2
[Mon Sep 08 13:10:20 2014] [error] [client 192.168.0.1] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted in /var/www/html/cacti/plugins/CereusReporting/modules/logger/logger.php on line 24, referer: http://localhosto/cacti/plugins/CereusR ... reportId=2
[Mon Sep 08 13:10:20 2014] [error] [client 192.168.0.1] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted in /var/www/html/cacti/plugins/CereusReporting/modules/logger/logger.php on line 24, referer: http://localhost/cacti/plugins/CereusRe ... reportId=2
[Mon Sep 08 13:10:20 2014] [error] [client 192.168.0.1] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted in /var/www/html/cacti/plugins/CereusReporting/modules/logger/logger.php on line 24, referer: http://localhost/cacti/plugins/CereusRe ... reportId=2
[Mon Sep 08 13:10:20 2014] [error] [client 192.168.0.1] PHP Warning: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/default_logo.png' for writing in /var/www/html/cacti/plugins/CereusReporting/functions.php on line 2721, referer: http://msq.dntar.ro/cacti/plugins/Cereu ... reportId=2
[Mon Sep 08 13:10:21 2014] [error] [client 192.168.0.1] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted in /var/www/html/cacti/plugins/CereusReporting/modules/logger/logger.php on line 24, referer: http://localhost/cacti/plugins/CereusRe ... reportId=2
[Mon Sep 08 13:10:21 2014] [error] [client 192.168.0.1] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted in /var/www/html/cacti/plugins/CereusReporting/modules/logger/logger.php on line 24, referer: http://localhost/cacti/plugins/CereusRe ... reportId=2
[Mon Sep 08 13:10:21 2014] [error] [client 192.168.0.1] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted in /var/www/html/cacti/plugins/CereusReporting/modules/logger/logger.php on line 24, referer: http://localhost/cacti/plugins/CereusRe ... reportId=2
Failed loading /usr/lib/php/modules/ioncube_loader_lin_5.3.so: /usr/lib/php/modules/ioncube_loader_lin_5.3.so: undefined symbol: zend_alter_ini_entry_ex
PHP Warning: PHP Startup: ChartDirector PHP API: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
Failed loading /usr/lib/php/modules/ioncube_loader_lin_5.3.so: /usr/lib/php/modules/ioncube_loader_lin_5.3.so: undefined symbol: zend_alter_ini_entry_ex
PHP Warning: PHP Startup: ChartDirector PHP API: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[Mon Sep 08 13:10:23 2014] [error] [client 192.168.0.1] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted in /var/www/html/cacti/plugins/CereusReporting/modules/logger/logger.php on line 24, referer: http://localhost/cacti/plugins/CereusRe ... reportId=2
[Mon Sep 08 13:10:23 2014] [error] [client 192.168.0.1] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted in /var/www/html/cacti/plugins/CereusReporting/modules/logger/logger.php on line 24, referer: http://localhost/cacti/plugins/CereusRe ... reportId=2


Sep 08 13:10:04 [Notice] [CereusReporting] [scheduler] Starting Scheduled Report Check
Sep 08 13:10:04 [Notice] [CereusReporting] [scheduler] Scheduled Report Check Finished
Sep 08 13:10:19 [Notice] [CereusReporting] [PDFCreation] Creating Report [aaa]
Sep 08 13:10:19 [Debug] [CereusReporting] [PDFCreation] PDF Cover Page: [/var/www/html/cacti/plugins/CereusReporting/templates/coverpages/Urban-Software_CoverPage.pdf]
Sep 08 13:10:19 [Debug] [CereusReporting] [PDFCreation] PDF Append Page: []
Sep 08 11:10:20 [Debug] [CereusReporting] [PDFCreation] Print Header : [1]
Sep 08 11:10:20 [Debug] [CereusReporting] [PDFCreation] Print Footer: [1]
Sep 08 11:10:20 [Debug] [CereusReporting] [PDFCreation] Skipping Cover Page: []
Sep 08 11:10:21 [Debug] [CereusReporting] [system] Adding Graph 5 -> /usr/bin/php create_image.php 5 0 1410167400 1410171000 120 500 > tmp/1410171021-2-1410167400-1410171000/5-1410167400-1410171000.png
Sep 08 11:10:21 [Debug] [CereusReporting] [system] Adding Graph 6 -> /usr/bin/php create_image.php 6 0 1410167400 1410171000 120 500 > tmp/1410171021-2-1410167400-1410171000/6-1410167400-1410171000.png
Sep 08 11:10:21 [Debug] [CereusReporting] [PDFCreation] Starting System Command
Sep 08 11:10:23 [Debug] [CereusReporting] [PDFCreation] System Command: ./parallelGraphRetriever tmp/1410171021-2-1410167400-1410171000/workerfile 1
Sep 08 11:10:23 [Debug] [CereusReporting] [PDFCreation] Return:
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF/HTML Cacti Reports - v2.80 FINAL o

Post by phalek »

These can cause issues. Are you sure you have the correct Ioncube loader loaded for PHP 5.3 ?

Code: Select all

Failed loading /usr/lib/php/modules/ioncube_loader_lin_5.3.so: /usr/lib/php/modules/ioncube_loader_lin_5.3.so: undefined symbol: zend_alter_ini_entry_ex
PHP Warning: PHP Startup: ChartDirector PHP API: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0

The tmp dir needs to be writeable by the cacti poller user AND the webserver. The later one creates files in there when clicking on the PDF icon of the graph view page.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: CereusReporting - PDF/HTML Cacti Reports - v2.80 FINAL o

Post by Atreides »

That error is on a different server, tried installing 2 times on 2 different server. I had one working(partially), and now it isnt at all, cause I played with permissions. Think is I dont know what permissions to set.

[Mon Sep 08 13:43:28 2014] [error] [client 192.168.0.1] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted in /var/www/html/cacti/plugins/CereusReporting/modules/logger/logger.php on line 24, referer: http://localhost/cacti/plugins/CereusRe ... reportId=2
[Mon Sep 08 13:43:28 2014] [error] [client 192.168.0.1] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted in /var/www/html/cacti/plugins/CereusReporting/modules/logger/logger.php on line 24, referer: http://localhost/cacti/plugins/CereusRe ... reportId=2

I tried even creating a group(www-data), added both users to the group(cacti, apache) and set permission to chown -R cacti.www-data on CereusReporting.

id cacti
uid=103(cacti) gid=104(cacti) groups=104(cacti),529(www-data)
[root@msq CereusReporting]# id apache
uid=48(apache) gid=48(apache) groups=48(apache),103(nagios),524(nagiocmd),525(nagcmd),529(www-data)

ls -la CereusReporting/tmp/
total 28
drwxrwxrwx 4 cacti www-data 4096 Sep 8 13:43 .
drwxr-xr-x 13 cacti www-data 4096 Sep 8 13:08 ..
drwxr-xr-x 2 cacti www-data 4096 Sep 8 13:10 1410171021-2-1410167400-1410171000
drwxr-xr-x 2 apache apache 4096 Sep 8 13:43 1410173006-2-1410169380-1410172980
-rwxrwxrwx 1 cacti www-data 4588 Sep 8 13:45 CereusReporting_messages.log
-rw-r--r-- 1 cacti www-data 2033 Feb 26 2014 index.php


When I hit the "Create" under Cereus tab, nothing happens(it should pop-up a pdf saving file).
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF/HTML Cacti Reports - v2.80 FINAL o

Post by phalek »

Did you check on the ioncube issue ? Ignore the issues being caused by the logger.php file, it's harmless and doesn't interfere with the PDF creation.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: CereusReporting - PDF/HTML Cacti Reports - v2.80 FINAL o

Post by Atreides »

Yes, I got rid of those errors, now I got only one :

[Mon Sep 08 14:09:35 2014] [error] [client 192.168.0.1] PHP Warning: imagepng(): Unable to open 'images/default_logo.png' for writing: Permission denied in /var/www/html/v3/plugins/CereusReporting/functions.php on line 2721, referer: http://localhost/v3/plugins/CereusRepor ... reportId=3

I tried changing to another .png, tried chown that file to cacti user, web user, web group.


EDIT : Solved that also, but the PDF isnt created no matter what. I'm having some errors :

[Mon Sep 08 14:16:48 2014] [error] [client 192.168.0.1] PHP Notice: Undefined index: index.php: in /var/www/html/v3/lib/functions.php on line 1853, referer: http://localhost/v3/plugins/CereusRepor ... eports.php
[Mon Sep 08 14:17:39 2014] [error] [client 192.168.0.1] PHP Notice: Undefined index: index.php: in /var/www/html/v3/lib/functions.php on line 1832, referer: http://localhost/v3/settings.php
[Mon Sep 08 14:17:39 2014] [error] [client 192.168.0.1] PHP Notice: Undefined index: index.php: in /var/www/html/v3/lib/functions.php on line 1852, referer: http://localhost/v3/settings.php


But I dont think those are the problem.
Last edited by Atreides on Mon Sep 08, 2014 6:20 am, edited 1 time in total.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF/HTML Cacti Reports - v2.80 FINAL o

Post by phalek »

Seems like some statements are missing in the install guide:

Code: Select all

chown -R cacti.apache tmp archive backup images
chmod -R 775 tmp archive backup images
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: CereusReporting - PDF/HTML Cacti Reports - v2.80 FINAL o

Post by Atreides »

No errors except :
[Mon Sep 08 14:29:22 2014] [error] [client 217.156.98.27] PHP Warning: chmod(): Operation not permitted in /var/www/html/v3/plugins/CereusReporting/modules/logger/logger.php on line 24, referer: http://aurora.upcnet.ro/v3/plugins/Cere ... ReportId=1

Also no errors on debug file :

Sep 08 14:29:22 [Notice] [CereusReporting] [PDFCreation] Creating Report [ffs]
Sep 08 14:29:22 [Debug] [CereusReporting] [PDFCreation] PDF Cover Page: [/var/www/html/v3/plugins/CereusReporting/templates/coverpages/]
Sep 08 14:29:22 [Debug] [CereusReporting] [PDFCreation] PDF Append Page: []
Sep 08 14:29:22 [Debug] [CereusReporting] [PDFCreation] Print Header : [1]
Sep 08 14:29:22 [Debug] [CereusReporting] [PDFCreation] Print Footer: [1]
Sep 08 14:29:22 [Debug] [CereusReporting] [PDFCreation] Skipping Cover Page: []
Sep 08 14:29:22 [Debug] [CereusReporting] [PDFCreation] Starting System Command
Sep 08 14:29:22 [Debug] [CereusReporting] [PDFCreation] System Command: ./parallelGraphRetriever tmp/1410175762-1--/workerfile 4
Sep 08 14:29:22 [Debug] [CereusReporting] [PDFCreation] Return:


But...no pdf file created :(. Whats annoying is that yesterday it worked(only the "preview report" was saving a pdf file with error opening .../tmp...) and the only thing I changed was permissions on folders
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF/HTML Cacti Reports - v2.80 FINAL o

Post by phalek »

one thing at a time ...

Next, become the cacti user (under which the poller runs) and execute the following:

Code: Select all

cd /var/www/html/v3/plugins/CereusReporting
./parallelGraphRetriever tmp/1410175762-1--/workerfile 4
Then send me that workerfile ( support@urban-software.de ). Also check the images in that directory ( open with notepad if they are NOT images ). They may contain an error message.


Also check your php.ini file. Is the memory limit set to >128M and execution time >=120 ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests