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

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
L0gRuS
Cacti User
Posts: 127
Joined: Thu Nov 06, 2008 7:57 am

Post by L0gRuS »

phalek wrote:Well,you just need to fill the "Report Logo" section of the settings, the picture you posted shows that this exists and it is empty.

Just upload a PNG image to the images subdir and set the path accordingly ( e.g "images/logo.png" )


i updated this field, but nothing
Attachments
nmid.JPG
nmid.JPG (131.85 KiB) Viewed 11458 times
Cacti v.087g + PAv2.9
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

hm, didn't see the 2nd screenshot ... :-)

where did you put the database config in ?

The cgi script is readin in the cact/include/config.php file, which normally contains the database settings, is this also true in your case ?
Last edited by phalek on Sat Mar 14, 2009 2:38 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
L0gRuS
Cacti User
Posts: 127
Joined: Thu Nov 06, 2008 7:57 am

Post by L0gRuS »

phalek wrote:where did you put the logo.png file in ?
/var/www/html/plugins/nmidCreatePDF/images

on last screen you see that

i use default png from your distributive
Cacti v.087g + PAv2.9
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

yeah, didn't have my 2nd coffee in yet, so I didn't see the 2nd screenshot ...

where did you put the database config in ?

The cgi script is reading in the cacti/include/config.php file, which normally contains the database settings, is this also true in your case ?
_________________
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
L0gRuS
Cacti User
Posts: 127
Joined: Thu Nov 06, 2008 7:57 am

Post by L0gRuS »

phalek wrote:yeah, didn't have my 2nd coffee in yet, so I didn't see the 2nd screenshot ...

where did you put the database config in ?

The cgi script is reading in the cacti/include/config.php file, which normally contains the database settings, is this also true in your case ?
_________________

in /var/www/html/include

i remember. now i open site only on url https://1.1.1.1
not addition /cacti or etc. maybe this?
Cacti v.087g + PAv2.9
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

hm,

can you execute the cgi script from the shell ? what does it return/print ?
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
L0gRuS
Cacti User
Posts: 127
Joined: Thu Nov 06, 2008 7:57 am

Post by L0gRuS »

phalek wrote:hm,

can you execute the cgi script from the shell ? what does it return/print ?
how?
Cacti v.087g + PAv2.9
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

open a shell,change into the plugin/nmidCreatePDF directory and do

Code: Select all

./createPDFReport.cgi
there should be some errors showing up then
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
L0gRuS
Cacti User
Posts: 127
Joined: Thu Nov 06, 2008 7:57 am

Post by L0gRuS »

phalek wrote:open a shell,change into the plugin/nmidCreatePDF directory and do

Code: Select all

./createPDFReport.cgi
there should be some errors showing up then

[root@localhost nmidCreatePDF]# ./createPDFReport.cgi
Content-Type : application/pdf

install_driver(mysql) failed: Can't load 'auto/DBD/mysql/mysql.so' for module DBD::mysql: auto/DBD/mysql/mysql.so: cannot open shared object file: No such file or directory at /</var/www/html/plugins/nmidCreatePDF/createPDFReport.cgi>DynaLoader.pm line 217.
at perlapp line 807
Perhaps a required shared library or dll isn't installed where expected
at /</var/www/html/plugins/nmidCreatePDF/createPDFReport.cgi>DB/DBSubsOO.pm line 100
[root@localhost nmidCreatePDF]#
Cacti v.087g + PAv2.9
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

ok, so a dll is missing. I need to test this plugin on cactiEZ v 0.6 then.Once I Have a solution, I'll post a new version and inform you.
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 »

one question, is this the 64bit or the 32bit version of cactiez ?
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
L0gRuS
Cacti User
Posts: 127
Joined: Thu Nov 06, 2008 7:57 am

Post by L0gRuS »

its 32 bit. On hyper-v
Cacti v.087g + PAv2.9
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Ok,

Go to http://redmine.nmid-plugins.de/projects ... dcreatepdf and download the v0.2 version files.

Make sure you enable nmidWebService also and set a password in the nmid settings.

The WebService URL ( in the settings ) should look like:
http://<your server ip>/plugins/nmidWebService/webservice.php?wsdl

tested with CatiEZ 32bit 0.6
Attachments
15.03.png
15.03.png (19.88 KiB) Viewed 11347 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
L0gRuS
Cacti User
Posts: 127
Joined: Thu Nov 06, 2008 7:57 am

Post by L0gRuS »

good work!
all work perfect. But on graph i see demo version ))) :D
Maybe you clear it?
Cacti v.087g + PAv2.9
pballs
Posts: 6
Joined: Mon Mar 16, 2009 7:43 am

not working :(

Post by pballs »

I have installed it all following the instructions. I get the little icon to create the pdf, which I click on, and it opens a new page, with nothing on it?

If i try to run the createPDFreport.cgi on the command line i get the following error:

Content-Type : application/pdf

Use of uninitialized value in concatenation (.) or string at createPDFReport.pl line 54.
DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 at /</usr/local/groundwork/cacti/plugins/nmidCreatePDF/createPDFReport.cgi>DB/DBSubsOO.pm line 133.
DBD::mysql::st fetchall_arrayref failed: fetch() without execute() at /</usr/local/groundwork/cacti/plugins/nmidCreatePDF/createPDFReport.cgi>DB/DBSubsOO.pm line 136.
Use of uninitialized value in concatenation (.) or string at createPDFReport.pl line 56.
DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 at /</usr/local/groundwork/cacti/plugins/nmidCreatePDF/createPDFReport.cgi>DB/DBSubsOO.pm line 133.


HELP!

Regards,
Me.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests