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

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
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 »

I've checked the .png's , everything seems ok, I can open them, I'm seeing the graphs, everything looks ok. Only problem is that the pdf isnt created. I've uploaded all the files, sent email also.
Attachments
6-1410173100-1410176700.png
6-1410173100-1410176700.png (17.46 KiB) Viewed 3699 times
5-1410173100-1410176700.png
5-1410173100-1410176700.png (14.85 KiB) Viewed 3699 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.80 FINAL o

Post by phalek »

Hm, so the basics are working fine also the files you've send do not show any issues.

Is there any way to get remote access to that system e.g using Teamviewer ?
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'm sending ID and pass on email.
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 »

Ok, this is fscking weird :). Now its working again, the only problem is from "Manage Reports --> preview report". Its saving a file with tmp errors. I changed "Report Graph format" from default to "2 Graphs, 2 Columns". But it doesnt make any sense, since I've changed it back to "default" and PDF's are created.


PS : This CereusReporting - Add Report ( Preview Report ) problem, how can I fix it?. 'tho, its not a big issue, since I can run reports from Cereus Tab. Thank you for support phalek.
Attachments
finally.pdf
(65.07 KiB) Downloaded 129 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.80 FINAL o

Post by phalek »

Guess why the images contain "preview" in them ? It's because it's a preview ...

It's only showing you how the report looks like without putting the actual graphs/images in it in order speed up the preview generation process.

Errors are marked as images stating "Cannot open tmp/123123-123-123/file.png".
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 »

Yeah, didnt look closely enough :), I guess everything is working properly then. Thank you very much.
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 »

Hi

I'm currently working on a dynamic license model based on the number of hosts.

An initial 19 hosts will be free ( currently this is set to 200 data sources ).

Prices will start quite low.

You can check your current active host numbers with the following SQL Statement:

Code: Select all

SELECT count(id) FROM host WHERE disabled!='on';
UPDATE: Changed Datasource to hosts
Last edited by phalek on Thu Oct 09, 2014 5:33 am, edited 1 time in total.
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
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 »

Look here for some pricing details of the Dynamics Version:
https://www.urban-software.de/secure/shop_sel.php
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
DwayneDibbley
Posts: 22
Joined: Tue Aug 30, 2011 12:43 pm

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

Post by DwayneDibbley »

i have 2.80.81 running on centos, all seems OK except when generating a report, the pdf is generated but adobe reports the pdf is either not a supported file type or because the file has been damaged.

Any pointers to where to start troubleshooting currently set to mPDF engine but have tried the other one and still same result?

Thanks
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 »

Sure,

open the file in notepad and look at the error in there. A text error is in there in about 99% of the issues with the actual PDF not being ok.

Next, increase the loggin mode to debug (Console->Settings->NMID ) and look at the log file in /path/to/cacti/plugins/CereusReporting/tmp.

It should provide some further information.

Also look at the "Debug Info" page for any obvious issues.
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
DwayneDibbley
Posts: 22
Joined: Tue Aug 30, 2011 12:43 pm

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

Post by DwayneDibbley »

This is reported at the top of the pdf when viewed with a text editor :

Code: Select all

Warning: chmod(): Operation not permitted in /var/www/html/plugins/CereusReporting/modules/logger/logger.php on line 24
log file from a run:
ct 08 11:40:01 [Notice] [CereusReporting] [system] CEREUSREPORTING STATS: Time:0.0657
Oct 08 11:41:01 [Notice] [CereusReporting] [system] CEREUSREPORTING STATS: Time:0.0670
Oct 08 11:41:19 [Notice] [CereusReporting] [PDFCreation] Creating Report [Portal]
Oct 08 11:41:19 [Debug] [CereusReporting] [PDFCreation] PDF Cover Page: [/var/www/html/plugins/CereusReporting/templates/coverpages/]
Oct 08 11:41:19 [Debug] [CereusReporting] [PDFCreation] PDF Append Page: []
Oct 08 11:41:19 [Debug] [CereusReporting] [PDFCreation] Print Header : [0]
Oct 08 11:41:19 [Debug] [CereusReporting] [PDFCreation] Print Footer: [0]
Oct 08 11:41:19 [Debug] [CereusReporting] [PDFCreation] Skipping Cover Page: [0]
Oct 08 11:41:19 [Debug] [CereusReporting] [system] Adding Graph 804 -> /usr/bin/php create_image.php 804 0 1409526000 1412118000 120 600 > tmp/1412764879-1-1409526000-1412118000/804-1409526000-1412118000.png
Oct 08 11:41:19 [Debug] [CereusReporting] [system] Adding Graph 156 -> /usr/bin/php create_image.php 156 0 1409526000 1412118000 120 600 > tmp/1412764879-1-1409526000-1412118000/156-1409526000-1412118000.png
Oct 08 11:41:19 [Debug] [CereusReporting] [PDFCreation] Starting System Command
Oct 08 11:41:19 [Debug] [CereusReporting] [PDFCreation] System Command: ./parallelGraphRetriever tmp/1412764879-1-1409526000-1412118000/workerfile 2
Oct 08 11:41:19 [Debug] [CereusReporting] [PDFCreation] Return:
Oct 08 11:42:01 [Notice] [CereusReporting] [system] CEREUSREPORTING STATS: Time:0.0654
debug only shows soap php module not installed?

Thanks again
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 »

ok, the next step is to enable php error logging. Look for the "errro_log = syslog" entry in your php.ini file and uncomment that. Then restart apache and retry creating the report.

Your syslog should contain some php error messages.
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
DwayneDibbley
Posts: 22
Joined: Tue Aug 30, 2011 12:43 pm

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

Post by DwayneDibbley »

unfortunately the syslog reports the same error:

Code: Select all

Oct  8 11:58:05 hh-spt-cac01 snmpd[1167]: Connection from UDP: [127.0.0.1]:56259->[127.0.0.1]
Oct  8 11:58:05 hh-spt-cac01 snmpd[1167]: Connection from UDP: [127.0.0.1]:56259->[127.0.0.1]
Oct  8 11:58:05 hh-spt-cac01 snmpd[1167]: Connection from UDP: [127.0.0.1]:46063->[127.0.0.1]
Oct  8 11:58:38 hh-spt-cac01 httpd: PHP Warning:  chmod(): Operation not permitted in /var/www/html/plugins/CereusReporting/modules/logger/logger.php on line 24
Oct  8 11:58:38 hh-spt-cac01 httpd: PHP Warning:  chmod(): Operation not permitted in /var/www/html/plugins/CereusReporting/modules/logger/logger.php on line 24
Oct  8 11:58:38 hh-spt-cac01 httpd: PHP Warning:  chmod(): Operation not permitted in /var/www/html/plugins/CereusReporting/modules/logger/logger.php on line 24
Oct  8 11:58:38 hh-spt-cac01 httpd: PHP Warning:  chmod(): Operation not permitted in /var/www/html/plugins/CereusReporting/modules/logger/logger.php on line 24
Oct  8 11:58:38 hh-spt-cac01 httpd: PHP Warning:  chmod(): Operation not permitted in /var/www/html/plugins/CereusReporting/modules/logger/logger.php on line 24
Oct  8 11:58:38 hh-spt-cac01 httpd: PHP Warning:  chmod(): Operation not permitted in /var/www/html/plugins/CereusReporting/modules/logger/logger.php on line 24
Oct  8 11:58:38 hh-spt-cac01 httpd: PHP Warning:  chmod(): Operation not permitted in /var/www/html/plugins/CereusReporting/modules/logger/logger.php on line 24
Oct  8 11:58:38 hh-spt-cac01 httpd: PHP Warning:  chmod(): Operation not permitted in /var/www/html/plugins/CereusReporting/modules/logger/logger.php on line 24
Oct  8 11:58:38 hh-spt-cac01 httpd: PHP Warning:  chmod(): Operation not permitted in /var/www/html/plugins/CereusReporting/modules/logger/logger.php on line 24
Oct  8 11:58:39 hh-spt-cac01 httpd: PHP Warning:  chmod(): Operation not permitted in /var/www/html/plugins/CereusReporting/modules/logger/logger.php on line 24
Oct  8 11:58:39 hh-spt-cac01 httpd: PHP Warning:  chmod(): Operation not permitted in /var/www/html/plugins/CereusReporting/modules/logger/logger.php on line 24
Oct  8 11:59:05 hh-spt-cac01 snmpd[1167]: Connection from UDP: [127.0.0.1]:34374->[127.0.0.1]
Oct  8 11:59:05 hh-spt-cac01 snmpd[1167]: Connection from UDP: [127.0.0.1]:34374->[127.0.0.1]
Thanks
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 »

do you have this enabled in your php.ini file ?

display_errors = On
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
DwayneDibbley
Posts: 22
Joined: Tue Aug 30, 2011 12:43 pm

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

Post by DwayneDibbley »

Yes

display_errors = On :(

Thanks

The report scheduler is set to cron if that is any help and not the poller ( the cron job outputs to NULL i believe? )
Last edited by DwayneDibbley on Wed Oct 08, 2014 6:49 am, edited 1 time in total.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests