Validation error in Graph Management

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Validation error in Graph Management

Post by paulgevers »

Recently I did a long overdue update of my webserver (Debian, testing). Since the update I not able to edit my non-template based Cacti graphs. When I go via "Graph Management" to a specific graph I can not add a new graph item or edit one because I get a "Validation error". I have tried to find documentation about this on this site, but with no success.

Does somebody have an idea where to look for the solution? Is there a way to get information of these issues into log files? Currently there is no error mentioned in any log file.

My server runs Debian testing with Cacti 0.8.6h
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Make sure that Cacti is patched and that your database server is not running "sql_mode=strict" or anything else for that matter.

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?
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Debian has patches installed

Post by paulgevers »

Luckily I did not need to patch myself, because Debian comes with patched package. So my cacti is patched against the latest official patch. Also my mysql does not run "sql_mode=strict":

Code: Select all

mysql> show variables like 'sql_mode';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| sql_mode      |       |
+---------------+-------+
1 row in set (0.00 sec)
and

Code: Select all

mysql> show global variables like 'sql_mode';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| sql_mode      |       |
+---------------+-------+
1 row in set (0.00 sec)
So any other ideas?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Hmm, do a screen shot of the various errors. This is definately a bug then. Also goto http://bugs.cacti.net and open a bug report. Include the screen shots in both locations.

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?
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Screenshots

Post by paulgevers »

Here are my screendumps:

Starting screen:

Image

After hitting "Localhost - Real Bytes":

Image

And then the problem arises after hitting "Item #1":

Image
Attachments
GraphManagement
GraphManagement
GraphManagement.png (111.16 KiB) Viewed 9524 times
RealBytes
RealBytes
LocalhostRealBytes.png (109.29 KiB) Viewed 9524 times
Validation error
Validation error
ValidationError.png (73.68 KiB) Viewed 9524 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

When you are hovering over item1, right click and save the shortcut to the clipboard and paste it to your next post so I can see what's wrong with the URL you are passing to the browser. There are some bad characters that Cacti is puking on.

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?
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Link

Post by paulgevers »

Right click: http://xxx.nl/cacti/graphs_items.php?ac ... raph_id=46

Just as a reminder, all my graphs have this problem, not just this item.
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

I am having the same error. I noticed it when I use the time span selector in 'graph' view. I choose a new time frame, and click the 'refresh' button, and I get:

Validation error.
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

look at bug

Post by paulgevers »

Take a look at the bug forum. http://bugs.cacti.net/view.php?id=819
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

I upgraded to j finally and that fixed my problem. Thanks though.
silverarrow
Posts: 1
Joined: Wed Oct 08, 2014 6:41 pm

Re: Validation error in Graph Management

Post by silverarrow »

I know that this is an old conversation but I have the same problem (Validation error.).

I just upgraded from 0.8.7.g to 0.8.8.a and I'm getting this now when I try to manage my tree (Graph Management).

I'm running Debian:

# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.6 (n/a)
Release: 7.6
Codename: n/a


and mysql version is: Server version: 5.5.37-0+wheezy1 (Debian).

Any help (for dummies please) will be highly appreciated.

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests