Validation error on cacti

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
chamilaw5
Posts: 1
Joined: Thu Jul 24, 2014 4:24 am

Validation error on cacti

Post by chamilaw5 »

Hi

I installed and configure cacti on centos 6.5 its successfully installed. After installed it i added a SNMP enable device and create graph for it. my problem is when i trying to place that graph to default tree error message coming "Validation error". i created another tree and trying to place graph to new tree but the problem is same. can some one help me about this issue.
davidlmansfield
Posts: 2
Joined: Tue Jul 29, 2014 9:01 am

Re: Validation error on cacti

Post by davidlmansfield »

I've been getting this too. Debugging it seems to be a bug that must have been recently introduced, because it's so obviously broken.

Open up /usr/share/cacti/graphs.php and comment or delete line 272.

The posted value is "tr_<n>" for some number, n. This indicates it's a tree request, as opposed to a regular "action" request (see line 333 below, where a value like this is expected). So the value is not always going to be numeric.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Validation error on cacti

Post by cigamit »

This was fixed in SVN last week. Package maintainers will need to update their packages.
http://svn.cacti.net/viewvc?view=rev&revision=7458
davidlmansfield
Posts: 2
Joined: Tue Jul 29, 2014 9:01 am

Re: Validation error on cacti

Post by davidlmansfield »

Thanks. I saw that, and updated the Red Hat (Fedora) bugzilla with the link.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests