Not able to export to CSV
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yes, if you do not use a preset, things are broken in the current 0.8.7d. We are still preparing a patch for this. Sorry for the delay.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 1
- Joined: Mon Oct 10, 2005 1:43 pm
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
I think that rrd version had a bug and returned mal-formed XML data. I alreay filed a bug for that which got solved:
http://bugs.cacti.net/view.php?id=1436
Btw. TheWitness, I like your last comments on that bug ...
http://bugs.cacti.net/view.php?id=1436
Btw. TheWitness, I like your last comments on that bug ...
Last edited by phalek on Thu Jun 25, 2009 9:06 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
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
So, you are confirming that the patched lib/xml.php did the trick?
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
argh, I just downgraded to 1.2.30-1 on Centos, which produces the following XML output:
Update:
Having used the svn xml.php lib, the code included there solves the issue more elegant than I did.
THe Bug is solved.
I can confirm with using Revision=5115 of the xml.php file from svn and 1.2.30-1 of rrdtool in CentOS.
I need to grab another coffee to get my mind sorted out ...
Code: Select all
rrdtool xport --start=1237803382 \
> --end=1237889782 \
> --maxrows=10000 \
> DEF:a="/var/www/html/cacti-0.8.7d/rra/r..._5min_cpu_40.rrd":5min_cpu:AVERAGE \
> XPORT:a:"CPU Usage" \
>
CPU Usage:86400
step: 86400
<?xml version="1.0" encoding="ISO-8859-1"?>
<xport>
<meta>
<start>1237852800</start>
<step>86400</step>
<end>1237852800</end>
<rows>1</rows>
<columns>1</columns>
<legend>
<entry>CPU Usage</entry>
</legend>
</meta>
<data>
<row><t>1237852800</t><v>1.1333333333e+00</v></row>
</data>
</xport>
Having used the svn xml.php lib, the code included there solves the issue more elegant than I did.
THe Bug is solved.
I can confirm with using Revision=5115 of the xml.php file from svn and 1.2.30-1 of rrdtool in CentOS.
I need to grab another coffee to get my mind sorted out ...
Last edited by phalek on Thu Jun 25, 2009 9:45 am, edited 2 times 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:
please ignore this
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
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You mean your ramblings right?
T
T
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
yeah ...
So the code in the new xml.php ( more professional than whatI did from svn fixes the problem.
So the code in the new xml.php ( more professional than whatI did from svn fixes the problem.
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
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
These fixes were all merged into the 0.8.7e release sent out yesterday.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 7
- Joined: Thu Jun 18, 2009 2:09 am
Please! How to solve it?BSOD2600 wrote:php_error log enabled revealed the following, which is the portion of the file which deals with spitting out the text in the csv file..
Code: Select all
[19-Jun-2009 11:50:47] PHP Notice: Undefined index: start in C:\Inetpub\wwwroot\cacti\graph_xport.php on line 101 [19-Jun-2009 11:50:47] PHP Notice: Undefined index: end in C:\Inetpub\wwwroot\cacti\graph_xport.php on line 102 [19-Jun-2009 11:50:47] PHP Notice: Undefined index: step in C:\Inetpub\wwwroot\cacti\graph_xport.php on line 103 [19-Jun-2009 11:50:47] PHP Notice: Undefined index: rows in C:\Inetpub\wwwroot\cacti\graph_xport.php on line 104 [19-Jun-2009 11:50:47] PHP Notice: Undefined index: columns in C:\Inetpub\wwwroot\cacti\graph_xport.php on line 122 [19-Jun-2009 11:50:47] PHP Notice: Undefined index: data in C:\Inetpub\wwwroot\cacti\graph_xport.php on line 128
As TheWitness already stated, upgrade to cacti 0.8.7e.trinhhoang wrote:Please! How to solve it?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 7
- Joined: Thu Jun 18, 2009 2:09 am
Who is online
Users browsing this forum: No registered users and 2 guests