PDF Report Generator??
Moderators: Developers, Moderators
PDF Report Generator??
Hi,
I'm wondering if anyone has done any work on a plug-in that could take a selection of graphs and export them as a single PDF report that could be used as a capacity/performance report for clients.
I've got some preliminary work done to generate PDF files with cacti graphs using PDFlib (see attached), but thought I'd check before I went too far.
Thanks,
Chad
I'm wondering if anyone has done any work on a plug-in that could take a selection of graphs and export them as a single PDF report that could be used as a capacity/performance report for clients.
I've got some preliminary work done to generate PDF files with cacti graphs using PDFlib (see attached), but thought I'd check before I went too far.
Thanks,
Chad
- Attachments
-
- reporting_4.zip
- Sample PDF Report
- (16.99 KiB) Downloaded 1204113 times
In rrdtool 1.2 you can change the image format to PDF
from http://people.ee.ethz.ch/~oetiker/webto ... ph.en.html
[-a|--imgformat PNG|SVG|EPS|PDF]
what I think about is adding another button near the zoom and properties that will open a new window with the graph in PDF format
Nitzan
from http://people.ee.ethz.ch/~oetiker/webto ... ph.en.html
[-a|--imgformat PNG|SVG|EPS|PDF]
what I think about is adding another button near the zoom and properties that will open a new window with the graph in PDF format
Nitzan
chadw,
perhaps http://www.fpdf.org/ will be also a solution ?
Found someone has done a solution for the ZABBIX application:
http://www.zabbix.com/forum/showthread.php?t=1049
perhaps http://www.fpdf.org/ will be also a solution ?
Found someone has done a solution for the ZABBIX application:
http://www.zabbix.com/forum/showthread.php?t=1049
Re: PDF Report Generator??
I have just created a plugin (last Thursday) that could be modified to do this. Currently it allows you to create "reports" to be sent out at a certain time to the email addresses you specify. You select which graphs you want from which hosts (through a simple wizard). The report is actually an HTML email with the graphs attached and embedded into the HTML. All fairly simple to do really.chadw wrote:Hi,
I'm wondering if anyone has done any work on a plug-in that could take a selection of graphs and export them as a single PDF report that could be used as a capacity/performance report for clients.
I've got some preliminary work done to generate PDF files with cacti graphs using PDFlib (see attached), but thought I'd check before I went too far.
Thanks,
Chad
But I can easily see the ability to send PDF reports instead. I will take a look at what you have done and see about implementing it. I haven't released the plugin yet as there are a few minor reworking I need to do with it after our internal testing, but I will release the reworked version this week (probably without the PDF stuff) if you want to take a gander at it.
If you would like some help with testing this, we'd be glad to help. Eagerly awaiting release of this plugin!
Can you have multiple reports running simultaneously ? Ie, if you have 3 tree headers, each with multiple graphs under them, could you have a different report generated for each header (each with their own list of email addresses)?
Can you have multiple reports running simultaneously ? Ie, if you have 3 tree headers, each with multiple graphs under them, could you have a different report generated for each header (each with their own list of email addresses)?
You can actually create as many reports as you want. Reports can even have the the same graphs as other reports.aijii wrote:If you would like some help with testing this, we'd be glad to help. Eagerly awaiting release of this plugin!
Can you have multiple reports running simultaneously ? Ie, if you have 3 tree headers, each with multiple graphs under them, could you have a different report generated for each header (each with their own list of email addresses)?
I have went ahead and released a beta of the plugin just to let you test it. It currently works fine, just lacks a lot of polish and lots of options that we will eventually want in it.
You can grab it on my site here. You will need the Plugin Architecture installed for it to work.
I am actually working on a more robust scheduler, so you can send reports daily, weekly, monthly, ect... at specific times, only on certain days etc...africanw wrote:Ah ok...looks good.
Some suggestions for furture releases.
1. Have the option to send the different reports to different email address's.
2. Be able to send different reports at different times.
As for you suggestions, I am not sure if I am understanding them correctly.
1. You can send reports to as many people as you want, just comma seperated the names (I need to fix the 255 max char thing though). If you create 2 different reports, you can send them to different addresses.
2. Different reports don't have to be send at the same time. Are you wanting the same report to be send at 2 different times? That would be possible in the new scheduler.
Who is online
Users browsing this forum: No registered users and 7 guests