[SOLVED] Validation Error.
Moderators: Developers, Moderators
[SOLVED] Validation Error.
Hello Again I have a new problem when I am making a zoom of a graph and I what to make a csv export I can´t make it because and Validation error appears.
What can I do?
Thanks for your help.
What can I do?
Thanks for your help.
Thanks for your Help
:D :roll: :oops:
:D :roll: :oops:
Post the error text and/or screenshot (NOT as a word document!) of the problem.
| 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 |
First I make the zoom I what to preview then when I have the wanted zoom (screenshot picture) I try to click on csv export and this appears(screenshot-next).
- Attachments
-
- screenshot.JPG (133.62 KiB) Viewed 8921 times
-
- screenshot-next.JPG (31.47 KiB) Viewed 8923 times
Thanks for your Help
:D :roll: :oops:
:D :roll: :oops:
Weird.
Looking at the address in the second screenshot, it's obviously wrong. Not sure if it's a cacti or webserver problem. CSV export works fine on my standard 0.8.7b install, so not an inherent bug.
On that same graph, click the wrench icon and paste the contents of it here.
Does csv export work for any graph?
Looking at the address in the second screenshot, it's obviously wrong. Not sure if it's a cacti or webserver problem. CSV export works fine on my standard 0.8.7b install, so not an inherent bug.
On that same graph, click the wrench icon and paste the contents of it here.
Does csv export work for any graph?
| 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 |
The csv export works in the preview but not when you try to make a zoom.
I click on the wrench and I got this:
I click on the wrench and I got this:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=1206652177 \
--end=1206738277 \
--title="MPBN SGSN - TGUSR03 - Traffic - ge-0/3/0" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2008/03/27 16\:09\:37 To 2008/03/28 16\:04\:37\c" \
COMMENT:" \n" \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/prueba_traffic_in_110.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/prueba_traffic_in_110.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
- Attachments
-
- wrenchclick.JPG (163.51 KiB) Viewed 8905 times
Thanks for your Help
:D :roll: :oops:
:D :roll: :oops:
ahh, now I too can replicate the error. You're correct, it IS a bug with cacti.
Report created: http://bugs.cacti.net/view.php?id=1216
Report created: http://bugs.cacti.net/view.php?id=1216
| 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 |
Nope, the cacti devs must fix 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 |
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Here is the root of the issue. I will look into it in the next few minutes.
Regards,
TheWitness
Regards,
TheWitness
- Attachments
-
- ZoomError.jpg (19.98 KiB) Viewed 8760 times
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?
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Change line 130 to the following and try again. Post your results:
TheWitness
Code: Select all
$rra = db_fetch_row("select id,timespan,steps,name from rra where id=" . $_GET["rra_id"]);
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
I cannot use CSV Export. Please help me solving it.
When I click CSV Export. Brower redirect to "http://localhost/cacti/graph_xport.php? ... view_type=" page, and show code as followings.
Line 130 in Graph.php of me is:
When I click CSV Export. Brower redirect to "http://localhost/cacti/graph_xport.php? ... view_type=" page, and show code as followings.
Code: Select all
PHP Notice: Undefined index: start in C:\inetpub\wwwroot\cacti\graph_xport.php on line 101 PHP Notice: Undefined index: end in C:\inetpub\wwwroot\cacti\graph_xport.php on line 102 PHP Notice: Undefined index: step in C:\inetpub\wwwroot\cacti\graph_xport.php on line 103 PHP Notice: Undefined index: rows in C:\inetpub\wwwroot\cacti\graph_xport.php on line 104 PHP Notice: Undefined index: columns in C:\inetpub\wwwroot\cacti\graph_xport.php on line 122 PHP Notice: Undefined index: data in C:\inetpub\wwwroot\cacti\graph_xport.php on line 128
Code: Select all
$rra = db_fetch_row("select id,timespan,steps,name from rra where id=" . $_GET["rra_id"]);
Who is online
Users browsing this forum: No registered users and 1 guest