CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

Announcements concerning Plugins for Cacti

Moderators: Moderators, Developers

Post Reply
Author
Message
Atreides
Cacti User
Posts: 151
Joined: Mon May 31, 2010 9:26 am

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

#856 Post by Atreides » Mon Sep 08, 2014 6:51 am

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 3131 times
5-1410173100-1410176700.png
5-1410173100-1410176700.png (14.85 KiB) Viewed 3131 times

User avatar
phalek
Cacti Guru User
Posts: 2739
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

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

#857 Post by phalek » Mon Sep 08, 2014 6:56 am

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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061

Atreides
Cacti User
Posts: 151
Joined: Mon May 31, 2010 9:26 am

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

#858 Post by Atreides » Mon Sep 08, 2014 7:02 am

Yes, I'm sending ID and pass on email.

Atreides
Cacti User
Posts: 151
Joined: Mon May 31, 2010 9:26 am

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

#859 Post by Atreides » Mon Sep 08, 2014 7:13 am

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 97 times

User avatar
phalek
Cacti Guru User
Posts: 2739
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

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

#860 Post by phalek » Mon Sep 08, 2014 7:16 am

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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061

Atreides
Cacti User
Posts: 151
Joined: Mon May 31, 2010 9:26 am

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

#861 Post by Atreides » Mon Sep 08, 2014 7:27 am

Yeah, didnt look closely enough :), I guess everything is working properly then. Thank you very much.

User avatar
phalek
Cacti Guru User
Posts: 2739
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

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

#862 Post by phalek » Thu Oct 02, 2014 5:19 am

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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061

User avatar
phalek
Cacti Guru User
Posts: 2739
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

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

#863 Post by phalek » Fri Oct 03, 2014 4:11 am

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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061

DwayneDibbley
Posts: 22
Joined: Tue Aug 30, 2011 12:43 pm

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

#864 Post by DwayneDibbley » Wed Oct 08, 2014 5:32 am

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
Cacti Guru User
Posts: 2739
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

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

#865 Post by phalek » Wed Oct 08, 2014 5:36 am

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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061

DwayneDibbley
Posts: 22
Joined: Tue Aug 30, 2011 12:43 pm

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

#866 Post by DwayneDibbley » Wed Oct 08, 2014 5:46 am

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
Cacti Guru User
Posts: 2739
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

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

#867 Post by phalek » Wed Oct 08, 2014 5:48 am

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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061

DwayneDibbley
Posts: 22
Joined: Tue Aug 30, 2011 12:43 pm

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

#868 Post by DwayneDibbley » Wed Oct 08, 2014 6:29 am

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
Cacti Guru User
Posts: 2739
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

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

#869 Post by phalek » Wed Oct 08, 2014 6:31 am

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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061

DwayneDibbley
Posts: 22
Joined: Tue Aug 30, 2011 12:43 pm

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

#870 Post by DwayneDibbley » Wed Oct 08, 2014 6:40 am

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