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

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Just download the 0.83 version and request a trial license for the Pro at the following URL:

http://www.network-outsourcing.de/profe ... quest.html


with 0.7 there are no different files for Free, Pro and Corporate. Depending on the license key used you will have either just the "Free", Pro or the Corporate functionality enabled.

By default, the file is bundled with the Free license key.


And thanks for pointing out that I need to update the main site.
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:

Post by phalek »

I have updated the documentation to reflect the new features/requirements of v0.83. The updated documentation can be downloaded from here:

http://www.network-outsourcing.de/corpo ... ation.html
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:

Post by phalek »

Version 0.84 is out. The following new functions have been added:

* Fixed a bug preventing the Multi-Report working for the Professional Edition
* Added a debug mode, which leaves the tmp files in tact for the Multi and Graph reports ( can be enabled via the settings page )
* Added a debug page displaying all relevant information: http://cactiserver/cacti/plugins/nmidCr ... /debug.php
* nmidWebService has been updated to be compatible with the nmidMobileClient for Windows Mobile

As usual, download the new files here:

http://redmine.nmid-plugins.de/projects ... dcreatepdf
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:

Post by phalek »

Different Support/Development Options are now available for all Editions:
  • * Standard Support ( included in the Corporate Edition )
    * Gold Support
    * Feature Development
for more information and details about these look here: Support Options ( PDF )
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
zorrosam
Cacti User
Posts: 244
Joined: Thu May 03, 2007 3:17 pm
Location: Italy

Post by zorrosam »

phalek wrote:Hi lasylve and zorrosam,

Can you download the debug.php file attached in one of the earlier posts and point your browser to that file ? It gives some valuable data for debugging purposes.

Also, check the tmp dir for any directories with some numbers in the name, there should be a file called "workerfile" in there. If there is, please open it and look at the 2nd line, there's a command in there which you can execute from the nmidCreatePDF directory and that command creates the graphs needed ( for the lines starting with "graph" or "smokeping" )

These directories may not be there, as they get deleted once the PDF is created.

Also check the webserver logs for any hints/error messages.

lasylve, the tmp dir is indeed /path/to/cacti/plugins/nmidCreatePDF/tmp

I'm going to add a debug mode into 0.84 for better troubleshooting these errors ...
phalek

same problem with the 0.84 version ...

any idea?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

did you enable the new debug mode in 0.84 ? zip the tmp dir after trying to create a report and send it to support@nmid-plugins.de

Also do the same with the output from the debug.php url. ( http://yourserver/cacti/plugins/nmidCreatePDF/debug.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
User avatar
jhariti
Posts: 19
Joined: Fri Dec 04, 2009 1:10 pm
Location: Brussels; BELGIUM

Post by jhariti »

Phalek,

After installing today my trial license I print now an empty pdf "graphical report" (the header & footer are present).

What's wrong ? Thanks

Output from debug.php:

nmidCreatePDF Debug Page

Dir: /var/www/html/cacti/plugins/nmidCreatePDF
Main Dir: /var/www/html/cacti/
PHP_SELF: /cacti/plugins/nmidCreatePDF/debug.php
Cacti URL: /cacti/
Edition: PROFESSIONAL
License Expiry: Fri Mar 5 0:00:00 CET 2010
File/Directory Settings:
tmp directory /var/www/html/cacti/plugins/nmidCreatePDF/tmp
tmp directory exists exists
tmp directory writeable exists
Loaded PHP Modules:
mbstring enabled
gd enabled
SourceGuardian enabled
zip disabled
soap disabled
Installed nmidCreatePDF Extenstions:
File parallelGraphRetriever does not exists
File getSmokePingPath does not exists
Man is born for action, not being occupied and does not exist is the same for Man.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Hi,

Based on the debug output ( last 2 lines ) you are missing the "parallelGraphRetriever" extension. That one is responsible for generating the graphs and needs to be installed.

The file can be downloaded from the project page here: http://redmine.nmid-plugins.de/projects ... dcreatepdf
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
zorrosam
Cacti User
Posts: 244
Joined: Thu May 03, 2007 3:17 pm
Location: Italy

2 differents situations now...

Post by zorrosam »

phalek wrote:did you enable the new debug mode in 0.84 ? zip the tmp dir after trying to create a report and send it to support@nmid-plugins.de

Also do the same with the output from the debug.php url. ( http://yourserver/cacti/plugins/nmidCreatePDF/debug.php )
Phalek ... now the problem is different.

we are able to generate the pdf populated with the graphs only when i have choosen 'a single type' of graph.

What is the maning of this?

In the main page when i generate a pdf the should include all the graphs of the menu ... the pdf is blank and empty (the logo and the footer are ok).

If i click on a single graph i visualize the history of this.hourly graph ... daily graph ... monthly graph and yearly. In this cas I'M ABLE to generate a pdf populated with all these graphs.

Why?

Which is the differences?

let me know

bye

zorro
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

So,

Can you enable the debug mode in the settings page, zip the tmp dir and sent it to me ? ( support @ nmid-plugins.de )

And, what is the output of the debug.php 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
User avatar
jhariti
Posts: 19
Joined: Fri Dec 04, 2009 1:10 pm
Location: Brussels; BELGIUM

Post by jhariti »

Phalek,

How can I use this reports for top 10 (or top talkers) (DSSTATS_REPORTS)?
How to insert specific logo for each graph tree ?
How to custom cover page per tree ?
Do you have a manual for Professional edition (commercial SW) to use correctly all the features of this edition. Thanks in advance.

[root@rptsrv nmidCreatePDF]# cd dss*
[root@rptsrv dsstats_reports]# ls -l
total 40
-rw-r--r-- 1 root root 4336 Feb 21 21:24 top10_hourly_harddisk_usage.php
-rw-r--r-- 1 root root 4381 Feb 21 21:24 top10_hourly_traffic_stats.php
-rw-r--r-- 1 root root 4346 Feb 21 21:24 top10_hourly_unicast_stats.php
-rw-r--r-- 1 root root 4383 Feb 21 21:24 top10_monthly_traffic_stats.php
-rw-r--r-- 1 root root 5569 Feb 21 21:24 top10_monthly_traffic_stats_pie.php
[root@rptsrv dsstats_reports]#
Man is born for action, not being occupied and does not exist is the same for Man.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

DSSTATS reporting is only supported in the Corporate Edition.

For the Graphs to generate you will also need the ChartDirector module from http://www.advsofteng.com/

For the Logo/CoverPage settings to show up and saved correctly, you will need the tree.php replacement (e.g. v03_tree_087e.tgz)from here: http://redmine.nmid-plugins.de/projects ... dcreatepdf

Unfortunately since 0.7 i temporarly disabled the CoverPage feature due to incompatibility with the mpdf report engine. This will be fixed befire version 1.0 comes out.

Other than that, you can setup the logo and coverpage at the Tree settings page:

Code: Select all

Console Menu: Managment -> Graph Trees -> Click on a tree
[code]
you should see two additional fields where you can enter the path to the logo and the coverpage.

I'll post some additional info for the coverpage once the functionality is included again.

For Manual: THere will definately be one when version 1.0 comes out, but as for now I can only offer having a web meeting and going through this.
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
lasylve
Posts: 22
Joined: Fri Oct 02, 2009 1:34 am

Post by lasylve »

Hi Phalek, version 0.84 is working perfectly!!! Congratulations for this great plugin ;)

I have just two questions :

- Where are the automatically reported graphs registered ?
- When I look the debug.php output, I see that I'm missing zip extension, why is this extension used for ?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Hi,

Thanks :-)

Just one question, what do you mean with "automatically reported graphs registered" ?

The zip extension is only needed if you want to create HTML reports instead of PDF reports.

The graphs, logo and html files are all ziped in one archive. PHP does not come with the ZIP extension, so it needs to be loaded externally.
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
lasylve
Posts: 22
Joined: Fri Oct 02, 2009 1:34 am

Post by lasylve »

Sorry for my english, I meant, when I schedule a report to be created every hour (for exemple : see attached file), where will it be saved ?
Attachments
createpdf.jpg
createpdf.jpg (29.16 KiB) Viewed 3210 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests