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:
Update: guest user account enablement is not needed any more in the new versions
Last edited by phalek on Mon Mar 23, 2009 5: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
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:
There's a line in the doCreatePDF.php file for that:
There are 3 or 4 of those lines in that file, you'll need to change all of them.
the date command parameters can be looked up here: http://de.php.net/date
Make sure to adjust the coordinates of that Text thing. youl probably have to use something like 160,30 or so
Code: Select all
// print a line using Cell()
$pdf->Text(180,30,date("d M Y"));
the date command parameters can be looked up here: http://de.php.net/date
Make sure to adjust the coordinates of that Text thing. youl probably have to use something like 160,30 or so
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:
of course ..
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
Currently I'm getting this error when creating a PDF.
Warning: getimagesize(plugins/nmidCreatePDF/tmp/image-7.png) [function.getimagesize]: failed to open stream: No such file or directory in C:\Inetpub\wwwroot\cacti\plugins\nmidCreatePDF\doPDFReport.php on line 92
Warning: getimagesize(plugins/nmidCreatePDF/tmp/image-7.png) [function.getimagesize]: failed to open stream: No such file or directory in C:\Inetpub\wwwroot\cacti\plugins\nmidCreatePDF\tcpdf.php on line 3738
Warning: fopen(plugins/nmidCreatePDF/tmp/image-7.png) [function.fopen]: failed to open stream: No such file or directory in C:\Inetpub\wwwroot\cacti\plugins\nmidCreatePDF\tcpdf.php on line 3946
TCPDF error: Can't open image file: plugins/nmidCreatePDF/tmp/image-7.png
My current tree structure is
Tree
-Device Type
--Host:Device Name
If I create from the device type leaf I don't get the error, but since I don't have any graphs there, it does not do me alot of good. However I get the error when I try to create from the Host leaf. I have the gd2 and curl extensions installed for php and the guest account is enabled. Thanks!
Warning: getimagesize(plugins/nmidCreatePDF/tmp/image-7.png) [function.getimagesize]: failed to open stream: No such file or directory in C:\Inetpub\wwwroot\cacti\plugins\nmidCreatePDF\doPDFReport.php on line 92
Warning: getimagesize(plugins/nmidCreatePDF/tmp/image-7.png) [function.getimagesize]: failed to open stream: No such file or directory in C:\Inetpub\wwwroot\cacti\plugins\nmidCreatePDF\tcpdf.php on line 3738
Warning: fopen(plugins/nmidCreatePDF/tmp/image-7.png) [function.fopen]: failed to open stream: No such file or directory in C:\Inetpub\wwwroot\cacti\plugins\nmidCreatePDF\tcpdf.php on line 3946
TCPDF error: Can't open image file: plugins/nmidCreatePDF/tmp/image-7.png
My current tree structure is
Tree
-Device Type
--Host:Device Name
If I create from the device type leaf I don't get the error, but since I don't have any graphs there, it does not do me alot of good. However I get the error when I try to create from the Host leaf. I have the gd2 and curl extensions installed for php and the guest account is enabled. Thanks!
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
did you create the tmp directory ?
In you case that should be:
it needs to be writeable by the webserver.
In you case that should be:
Code: Select all
C:\Inetpub\wwwroot\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:
Hi 123ralle, The site will be up again soon. I had to re-install the server and re-building it takes some time having a pregnant wife around
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.
do you tested plugin on 0.87C with PA 2.2?
i try install on it but when i change html_tree i see error
do you tested plugin on 0.87C with PA 2.2?
i try install on it but when i change html_tree i see error
Code: Select all
Warning: include(./include/html/inc_timespan_selector.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/lib/html_tree.php on line 645
Warning: include() [function.include]: Failed opening './include/html/inc_timespan_selector.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/lib/html_tree.php on line 645
Cacti Version - 0.8.7c
Plugin Architecture - 2.2
Poller Type - Cactid v
Server Info - Linux 2.6.9-78.0.13.ELvm
Web Server - Apache/2.0.63 (CentOS)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, gd, ldap, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp, eAccelerator
MySQL - 5.0.68
RRDTool - 1.2.23
SNMP - 5.1.2
Plugins
- Global Plugin Settings (settings - v0.5)
Large Site Performane Booster for Cacti (boost - v2.2)
Device Monitoring (monitor - v0.8.2)
Network Discovery (discovery - v0.8.5)
Network Tools (tools - v0.3)
Syslog Monitoring (syslog - v0.5.2)
Device Tracking (mactrack - v1.1)
Login Page Mod (loginmod - v1.0)
Update Checker (update - v0.4)
FlowView (flowview - v0.6)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
PHP Network Weathermap (weathermap - v0.95b)
docs
Cacti-ReportIt (reportit - v0.6.1)
Router Configs (routerconfigs - v0.1)
WMI Query (wmi - v0.1)
Realtime for Cacti (realtime - v0.35)
Uptime (uptime - v0.3)
Cacti v.087g + PAv2.9
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
No, I didn't test it with 0.8.7c or 0.8.7d, my currently not available project page statet that
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
I managed to re-build my redmine server. I removed registration requirement ( all users have been deleted ).
Going to add the missing information there and publishing the original plugin for download.
http://redmine.nmid-plugins.de/projects ... dcreatepdf
I managed to re-build my redmine server. I removed registration requirement ( all users have been deleted ).
Going to add the missing information there and publishing the original plugin for download.
http://redmine.nmid-plugins.de/projects ... dcreatepdf
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:
There will be a new version comming arround removing the curl and guest user requirements.
This is going to be a complete re-write of the original alpha release.
Look at the attached report on the first entry for a sample report from a cacti 0.8.7d installation.
This is going to be a complete re-write of the original alpha release.
Look at the attached report on the first entry for a sample report from a cacti 0.8.7d installation.
Last edited by phalek on Fri Mar 13, 2009 3:06 pm, 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
Who is online
Users browsing this forum: No registered users and 3 guests