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:

Re: CereusReporting - PDF/HTML Cacti Reports - v2.00 ALPHA o

Post by phalek »

Please look at the Cacti log file for any messages regarding "NMID" or "CereusReporting". Especially when it comes to "attaching report".

Then make sure the "tmp" directory of the "/path/to/cacti/plugins/CereusReporting/tmp" is writeable by the cacti user and the web server.

Then for the CSS file. It should be the ".nmidImageGraph" part of that file.
Change the "padding-top: 10px" to e.g. "padding-top: 60px" and you should see a difference.

Look at the attached report with only this setting changed.


ANd yes, depending on the report, you probably need a custom css file for it. Look at the templates for CereusReporting for an example.

The files you want to look at are:

CereusReporting-L-A4.pdf -> Landscape A4
CereusReporting-P-A4.pdf -> Portrait A4
CereusReporting.pdf.css -> Generic CSS file for the above versions.
Attachments
QW_Test_Report (29).pdf
(222.79 KiB) Downloaded 214 times
QW_Test_Report (30).pdf
(224.13 KiB) Downloaded 271 times
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
nandozzi
Posts: 34
Joined: Sun Nov 25, 2012 6:44 am

Re: CereusReporting - PDF/HTML Cacti Reports - v2.00 ALPHA o

Post by nandozzi »

First of all i want to say "THANK YOU" for your continuos support.
I have solved my problem related to the CSS file (i have modified the name of the CSS from CereusReporting.pdf.css to nmidCreatePDF.pdf.css in order to use it), but the schedule function doesn't want to work. :(
I have checked the permission of the "tmp" directory and there is 777 so any user can read, write or execute.
I have seen in the Cacti Log but there isn't any message regarding NMID or Cereus.
I have also taken a look to the crontab log and i have found this error:

"PHP Warning: Unexpected character in input: '^O' (ASCII=15) state=1 in /usr/bin/php on line 4576"

I have launched this command:

php /usr/bin/php /var/www/html/plugins/CereusReporting/cron_pdf_scheduler.php (the path is correct)

Thanks in advance
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.00 ALPHA o

Post by phalek »

odd,

That error messages suggests that you've got an issue with your php installation. What PHP version are you using ?
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
nandozzi
Posts: 34
Joined: Sun Nov 25, 2012 6:44 am

Re: CereusReporting - PDF/HTML Cacti Reports - v2.00 ALPHA o

Post by nandozzi »

Here you are the information you asked for...

Code: Select all

PHP 5.1.6 (cli) (built: Jul 31 2008 00:08:07)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with eAccelerator v0.9.5, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.
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.00 ALPHA o

Post by phalek »

Can you post a screenshot of your "debug info" 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
nandozzi
Posts: 34
Joined: Sun Nov 25, 2012 6:44 am

Re: CereusReporting - PDF/HTML Cacti Reports - v2.00 ALPHA o

Post by nandozzi »

Here you are... :)
Attachments
Screenshot1.PNG
Screenshot1.PNG (38.4 KiB) Viewed 2791 times
Screenshot2.PNG
Screenshot2.PNG (31.79 KiB) Viewed 2791 times
Screenshot3.PNG
Screenshot3.PNG (36.58 KiB) Viewed 2791 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.00 ALPHA o

Post by phalek »

nandozzi wrote: I have launched this command:

php /usr/bin/php /var/www/html/plugins/CereusReporting/cron_pdf_scheduler.php (the path is correct)

Thanks in advance
Oh i completely missed that one. It shold be called this way:

Code: Select all

/usr/bin/php /var/www/html/plugins/CereusReporting/cron_pdf_scheduler.php
You've added an additional php in front of it, which is wrong.
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
nandozzi
Posts: 34
Joined: Sun Nov 25, 2012 6:44 am

Re: CereusReporting - PDF/HTML Cacti Reports - v2.00 ALPHA o

Post by nandozzi »

Perfect now all works greatly !!!
I have only changed the cron command to get a new report one time a day (now i have a new report each minute :lol: )
Thanks for your precious support. I hope my company wants to buy your fantastic plugin (it's not a money problem... :wink: ).
I'll do all i can to get a good feedback :)
Thanks 1000 times :)

UPDATE:

Forgot this part of my message:

"I have only changed the cron command to get a new report one time a day (now i have a new report each minute :lol: )"

I have seen that this problem was generated by my previous attempts to get the plugin working :D
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.00 ALPHA o

Post by phalek »

nandozzi wrote:I have only changed the cron command to get a new report one time a day (now i have a new report each minute :lol: )
Now how did you setup your report schedule and your cron-job ?

The cronjob should actually run every minute to check for any report to run. If it does not find any, no report will be created.
The report can be scheduled to run once, hourly, dialy ... so what's your report schedule definition here ? It should be "daily", right ?
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
nandozzi
Posts: 34
Joined: Sun Nov 25, 2012 6:44 am

Re: CereusReporting - PDF/HTML Cacti Reports - v2.00 ALPHA o

Post by nandozzi »

My Report has been scheduled to run each hour (now i want to change it in the next hours after seeing that's all is perfect) and the cronjob runs each minute, but i want to set it to run each 30 minutes or more.
At this moment i am using only the report creation function of your plugin but in the next days i want to spend more time and undestand how works the Availability module and the WinService addon.
So stay tuned cause i think i need your support again... :P
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.00 ALPHA o

Post by phalek »

nandozzi wrote: (it's not a money problem... :wink: ).
I'll keep that in mind for your additional support requests ;-)
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
nandozzi
Posts: 34
Joined: Sun Nov 25, 2012 6:44 am

Re: CereusReporting - PDF/HTML Cacti Reports - v2.00 ALPHA o

Post by nandozzi »

phalek wrote:
nandozzi wrote: (it's not a money problem... :wink: ).
I'll keep that in mind for your additional support requests ;-)

Eh eh eh... yes, it's not a problem... it's not my money... so ask more than you can :lol:
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.00 BETA ou

Post by phalek »

CereusReporting v2.00.61 BETA is out now !
  • User-based Report settings have been moved to the user settings ( "settings" tab at top right of Cacti )
  • Improved/new Icons
  • Possiblity to select Date Format
  • Duplicate Reports and Schedules
  • Updated FPDF to v1.7
  • Improved UI for Report Creation (Drop-Down for templates, preview mode for report items)
  • Fixed/Enhanced report scheduling ( Enhanced visibility to end-users for "Run now" )
  • Several minor fixes in the background.
Get it here: http://blog.network-outsourcing.de/prod ... reporting/

Please download the new license file for this version as well. It is time-limited until 28-Feb-2013. After that the functionality will fall back to that of the "Express Edition"
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.00 BETA ou

Post by phalek »

Within the next few weeks a series of new screencasts will be published showing you different tasks and features of CereusReporting.

Online Screencasts available:
  • HowTo – Create On-Demand Reports
  • HowTo – Create a pre-defined Report
They can be viewed at here:

http://blog.network-outsourcing.de/cact ... reporting/
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
ukzerosniper
Cacti User
Posts: 118
Joined: Wed Oct 03, 2012 5:51 pm

Re: CereusReporting - PDF/HTML Cacti Reports - v2.00 BETA ou

Post by ukzerosniper »

Hi Guys,

I can only generate blank PDFs.

I have added graphs to the reports.

They show that they are added when I manage reports.

When I click the Adobe ICON in the graphs section, I get a PDF generated but it only contains header and footer information. Everything else is blank.

Does anyone have any ideas?

Here is my support info

Thanks
CereusReporting Debug Page


Dir: /usr/share/cacti/plugins/nmidCreatePDF
Main Dir: /usr/share/cacti/
PHP_SELF: /cacti/plugins/nmidCreatePDF/nmidCreatePDF_debug.php
Cacti URL: /cacti/
PIA Version: 3.1
Edition: SMB Edition [14 out of 100 used ]
License Expiry: never
Licensed Server: TRUE
Operating System: Linux s16053669 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012 x86_64
Plugin Settings:
PHP Path /usr/bin/php
PHP Version PHP 5.3.3 (cli) (built: Jul 3 2012 16:53:21) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.
PDF Engine mPDF
Plugin Version 1.83.42
Licensed Modules:
Availability module licensed
Report Scheduling module licensed
Zenoss module disabled
DSStats module licensed
MultiReports module licensed
Archiving module licensed
Templating module licensed
File/Directory Settings:
tmp directory /usr/share/cacti/plugins/nmidCreatePDF/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
Required Cacti Plugins:
settings installed
Optional Cacti Plugins:
storeLastPoll missing
Optional PHP Modules:
curl enabled
ChartDirector PHP API disabled
Installed CereusReporting Extenstions:
File parallelGraphRetriever does not exists ( /usr/share/cacti/plugins/nmidCreatePDF/parallelGraphRetriever )
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
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests