CereusReporting - PDF Reports - 4.00 for Cacti 1.x out soon!
Moderators: Developers, Moderators
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
I just uploaded the windows version for v0.3. As usual you can get it here
Please also use the project forum to discuss feature requests and post support questions.
Also make sure to read the wiki page for some information.
Please also use the project forum to discuss feature requests and post support questions.
Also make sure to read the wiki page for some information.
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:
v0.3a has been release with some bug fixes and more features:
Please make sure to read the README.
- OS Independant. IXED loader need. See README for more info
- Bug #19: graphs from different trees are included in the report
- Feature #15: Add option to have graph images link back to cacti
- Feature #24: Option to display hostname as report title when only a host is selected
Please make sure to read the README.
Last edited by phalek on Fri Aug 28, 2009 1:57 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
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:
Release v0.3a Update 2 fixes a problem with the link back into cacti. It was not working for all reports except the 2x2 columnar report format.
It also contains a cosmetic change for the foorter, where it displayed a "-" when no extra footer text was entered in the settings
It also contains a cosmetic change for the foorter, where it displayed a "-" when no extra footer text was entered in the settings
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
-
- Posts: 5
- Joined: Mon Mar 30, 2009 7:59 pm
opening the file: tmp/791.png
I installed the new version(nmidCreatePDF_v0.3a2.tgz) today, my Cacti version is 0.87b, I have two question:
1.I got a PDF file but have no graph show there, it's "error opening the file: tmp/791.png", I try to use "create_image.php 791 0 1237298394 1237384794 100 800 > tmp/791.png " to create a graph by manual, it's succeed, and it can be show in IE, Could you please help me to check it?
2.I can used "submit" button in the first page(graph_view.php), but if I click my graph going to second page(graph.php), I can see that check box only, and the submit button missed. Is it by design?
Thanks
Miller
1.I got a PDF file but have no graph show there, it's "error opening the file: tmp/791.png", I try to use "create_image.php 791 0 1237298394 1237384794 100 800 > tmp/791.png " to create a graph by manual, it's succeed, and it can be show in IE, Could you please help me to check it?
2.I can used "submit" button in the first page(graph_view.php), but if I click my graph going to second page(graph.php), I can see that check box only, and the submit button missed. Is it by design?
Thanks
Miller
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
is the tmp dir writeable by apache ? trymilleryuan wrote: 1.I got a PDF file but have no graph show there, it's "error opening the file: tmp/791.png", I try to use "create_image.php 791 0 1237298394 1237384794 100 800 > tmp/791.png " to create a graph by manual, it's succeed, and it can be show in IE, Could you please help me to check it?
Code: Select all
cd /path/to/cacti/plugins/nmidCreatePDF
chown root.apache tmp/
chmod 665 tmp/
If you extract the plugin with
Code: Select all
tar -xzvpf nmidCreatePDF_v0.3a2.tgz
It is by design. If you look at the roadmap for v0.4 you will see that it will be included there ( Feature #26 )milleryuan wrote: 2.I can used "submit" button in the first page(graph_view.php), but if I click my graph going to second page(graph.php), I can see that check box only, and the submit button missed. Is it by design?
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:
What are your settings for "Page Orientation" in the NMID settings tab ? and what settings did you use for "Page Size" and "Graph Format" ?
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
-
- Posts: 5
- Joined: Mon Mar 30, 2009 7:59 pm
[quote="phalek"][quote="milleryuan"]
1.I got a PDF file but have no graph show there, it's "error opening the file: tmp/791.png", I try to use "create_image.php 791 0 1237298394 1237384794 100 800 > tmp/791.png " to create a graph by manual, it's succeed, and it can be show in IE, Could you please help me to check it?
[/quote]
is the tmp dir writeable by apache ? try
[code]
cd /path/to/cacti/plugins/nmidCreatePDF
chown root.apache tmp/
chmod 665 tmp/
[/code]
it may be that it is wwwrun in your case instead of apache ...
If you extract the plugin with
[code]
tar -xzvpf nmidCreatePDF_v0.3a2.tgz
[/code]
it should set the permissions correctly ( -p does that ...)
[quote="milleryuan"]
2.I can used "submit" button in the first page(graph_view.php), but if I click my graph going to second page(graph.php), I can see that check box only, and the submit button missed. Is it by design?
[/quote]
It is by design. If you look at the [url=http://redmine.nmid-plugins.de/versions/show/7]roadmap for v0.4[/url] you will see that it will be included there ( Feature #26 )[/quote]
Thanks phalek.
I try to run your code as:
cd /path/to/cacti/plugins/nmidCreatePDF
chown root.apache tmp/
chmod 665 tmp/
but I got php error this time, pleae see my screenshot
I used root.root and set the folder tmp to 777 before, I got "error opening the file" in the PDF , but have no any error log.
Miller
1.I got a PDF file but have no graph show there, it's "error opening the file: tmp/791.png", I try to use "create_image.php 791 0 1237298394 1237384794 100 800 > tmp/791.png " to create a graph by manual, it's succeed, and it can be show in IE, Could you please help me to check it?
[/quote]
is the tmp dir writeable by apache ? try
[code]
cd /path/to/cacti/plugins/nmidCreatePDF
chown root.apache tmp/
chmod 665 tmp/
[/code]
it may be that it is wwwrun in your case instead of apache ...
If you extract the plugin with
[code]
tar -xzvpf nmidCreatePDF_v0.3a2.tgz
[/code]
it should set the permissions correctly ( -p does that ...)
[quote="milleryuan"]
2.I can used "submit" button in the first page(graph_view.php), but if I click my graph going to second page(graph.php), I can see that check box only, and the submit button missed. Is it by design?
[/quote]
It is by design. If you look at the [url=http://redmine.nmid-plugins.de/versions/show/7]roadmap for v0.4[/url] you will see that it will be included there ( Feature #26 )[/quote]
Thanks phalek.
I try to run your code as:
cd /path/to/cacti/plugins/nmidCreatePDF
chown root.apache tmp/
chmod 665 tmp/
but I got php error this time, pleae see my screenshot
I used root.root and set the folder tmp to 777 before, I got "error opening the file" in the PDF , but have no any error log.
Miller
- Attachments
-
- chown root.root tmp/ chmod 777 tmp/
- 1.jpg (115.65 KiB) Viewed 4060 times
-
- chmod 665 tmp/
- 2.jpg (164.89 KiB) Viewed 4060 times
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Hi Miller,
Delete all files in the tmp dir and retry it. the file mentioned might be a "left-over" with wrong permissions set...
Delete all files in the tmp dir and retry it. the file mentioned might be a "left-over" with wrong permissions set...
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
-
- Posts: 5
- Joined: Mon Mar 30, 2009 7:59 pm
Hi, Phalek
I have two or more php version in my system, default is 4.2, looks like nmidCreatePDF will use system default one, so I got a invalid png file in tmp folder, I changed system php version to 5.2, it work well now.
I set php5.2 bin path in cacti, and run phpinfo in the apache, php version is right, why nmidCreatePDF used old version? is possible to custom this path?
Thanks for your help.
Miller
I have two or more php version in my system, default is 4.2, looks like nmidCreatePDF will use system default one, so I got a invalid png file in tmp folder, I changed system php version to 5.2, it work well now.
I set php5.2 bin path in cacti, and run phpinfo in the apache, php version is right, why nmidCreatePDF used old version? is possible to custom this path?
Thanks for your help.
Miller
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
hm, there's actually a system call to the createimage php file, but that just says "php createimage.php" (or something like that). So it actually uses the php that's in the PATH variable, which might be 4.x in your case.
I'll add an option to add the complete path to the php binary in the next update
I'll add an option to add the complete path to the php binary in the next update
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
Hi Phalek.
i need trouble with nmid WebService . when i try install with PA 2.4 it plugin i see error
This trouble is result upgrade 0.87c to 0.87d.
But plugin CreatePdf is work but no better perfomance.
How i can reinstall full nmidwebservice?
i need trouble with nmid WebService . when i try install with PA 2.4 it plugin i see error
Code: Select all
Fatal error: Call to undefined function nmid_check_upgrade() in /var/www/html/plugins/nmidWebService/setup.php on line 33
But plugin CreatePdf is work but no better perfomance.
How i can reinstall full nmidwebservice?
NMID CreatePDF Plugin Free Version
Directory: nmidCreatePDF
Version: 0.3
Author: Thomas Urban
Home Page: http://www.urban-software.de
Status: Active
Install | Uninstall | Enable | Disable | Check
NMID WebService Plugin
Directory: nmidWebService
Version: 0.3.9a
Author: Thomas Urban
Home Page: http://www.urban-software.de
Status: Not Installed
Install | Uninstall | Enable | Disable | Check
Cacti v.087g + PAv2.9
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
oh yeah, i managed to have the wrong line of code in there (copy&paste error . I'll update that with v0.3b
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 4 guests