CereusReporting - PDF Reports - 4.00 for Cacti 1.x out soon!
Moderators: Developers, Moderators
Unable to create pdf, pls help
1. Error occurred when i click the pdf icon. Refer to attachment.
2. Phalek, could you provide a proper documentation for nmidcreatepdf plugin?
Appreciate a lot. Thanks.
2. Phalek, could you provide a proper documentation for nmidcreatepdf plugin?
Appreciate a lot. Thanks.
- Attachments
-
- error.JPG (58.88 KiB) Viewed 3537 times
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Hi megatron,
1. Did you set the logo correctly and made sure it exists ?
You can download that PDF file and open it in notepad/wordpad to actually see a text error message telling you more
2. sure I can and I will once I have a bit more time. I hope I can do some during this weekend.
1. Did you set the logo correctly and made sure it exists ?
You can download that PDF file and open it in notepad/wordpad to actually see a text error message telling you more
2. sure I can and I will once I have a bit more time. I hope I can do some during this weekend.
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
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
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
ok, that might be a permission error, can you make sure that your wbserver has the right to write into that tmp dir ?
it should be in the plugin dir:
it should be in the plugin dir:
Code: Select all
/path/to/cacti/plugins/nmidCreatePDF/tmp
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
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
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
ok, can you check if there is that 1.png file in that tmp ? and if yes delete it.
If not, then check if the gaphs can be created. In your case the following command should create a PNG file and prints it to stdout:
you can "redirect" the output into a file which you can then view:
If there is no error, then can you check your http error logs for anything unusal ?
If not, then check if the gaphs can be created. In your case the following command should create a PNG file and prints it to stdout:
Code: Select all
php create_image.php 1 0 1245646661 1245650258 800 100
Code: Select all
php create_image.php 1 0 1245646661 1245650258 800 100 > 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
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
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
the tmp dir is not the one in /tmp
It is directly under the plugin directory:
/path/to/cacti/plugins/nmidCreatePDF/tmp
i my case (Centos 5.x) it is
and the permissions should be:
The image creation works, otherwise you wouldn't see these cryptic output ( binary ), you can see the graph by using my 2nd posted statement to redirect the output into a file, transfering it to you client PC and open it with an image viewer (IE would do)
It is directly under the plugin directory:
/path/to/cacti/plugins/nmidCreatePDF/tmp
i my case (Centos 5.x) it is
Code: Select all
/var/www/html/cacti/plugins/nmidCreatePDF/tmp
Code: Select all
drwxr-xr-x 2 apache apache 4096 Jun 16 14:16 tmp
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
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
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
this seems to be an issue with your php installation. If you want, we can have a web session to look into this issue, but i`m only available in the mornings german time.
nevertheless check your php.ini and extensions dir for duplicate entries for the gd lib
nevertheless check your php.ini and extensions dir for duplicate entries for the gd lib
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
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
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Hi Megatron, I'm available from 06:00 - 07:30 GMT +2 and around 18:00 - 23:00 GMT +2.
Send your contact details to support@nmid-plugins.de
Send your contact details to support@nmid-plugins.de
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
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
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Update 5 has just been released.
It now contains an option to select the path of the php binary.
Please make sure you set it. Default can be "php" to use the binary from the system path
I'm working on a FAQ setting, see here for further information
Important for the Pro version:
The Update 4 Pro version will expire end of June. Update 5 will expire on 17 Jul 2009 so make sure to upgrade.
As usual grap your copy from the project page
It now contains an option to select the path of the php binary.
Please make sure you set it. Default can be "php" to use the binary from the system path
I'm working on a FAQ setting, see here for further information
Important for the Pro version:
The Update 4 Pro version will expire end of June. Update 5 will expire on 17 Jul 2009 so make sure to upgrade.
As usual grap your copy from the project 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
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
Who is online
Users browsing this forum: No registered users and 0 guests