Error when edit Data source : Validation Error on field
Moderators: Developers, Moderators
Error when edit Data source : Validation Error on field
Hi...
I have some question, after created new graph, i try to edit manually data sources name, but error message appear when i save it: "Error: Save Failed: Field Input Error (Check Red Fields)"
Then I crosscheck in cacti.log, i found this message :Validation error on field rrd maximum
I know, we should not editing manually data sources. But I really need answer about this, how can rrd_maximum caused some error, I only change the data name
Please kindly help
Note: Using cacti 0.8.8a @ Ubuntu 12.10 Server Edition 64bit
I have some question, after created new graph, i try to edit manually data sources name, but error message appear when i save it: "Error: Save Failed: Field Input Error (Check Red Fields)"
Then I crosscheck in cacti.log, i found this message :Validation error on field rrd maximum
I know, we should not editing manually data sources. But I really need answer about this, how can rrd_maximum caused some error, I only change the data name
Please kindly help
Note: Using cacti 0.8.8a @ Ubuntu 12.10 Server Edition 64bit
Last edited by nugrozz2k on Thu Jan 10, 2013 7:51 pm, edited 1 time in total.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Error when edit Data source : Validation Error on field
This cacti version should log the exact error to cacti.log (well, to be honest: for this feature to be active, you must permit your httpd to be able to write to cacti.log). Unfortunately, your images are not shown (I fear this is a result of a tight anti-spam policy)
R.
R.
Re: Error when edit Data source : Validation Error on field
Hi G,
Thanks for your response, i resend my capture with attachment
Save Failed after edit data source : Cacti Log : I already test with new data template (see picture below) which is not use "rrd_maximum - |query_ifSpeed| Try edit datasource with new_template and voila.... no problem to edit data source many many time. but sadly if I didn't use query_ifSpeed for rrd_maximum the maximum counter will be not right.
Need your advice G
Thanks
Thanks for your response, i resend my capture with attachment
Save Failed after edit data source : Cacti Log : I already test with new data template (see picture below) which is not use "rrd_maximum - |query_ifSpeed| Try edit datasource with new_template and voila.... no problem to edit data source many many time. but sadly if I didn't use query_ifSpeed for rrd_maximum the maximum counter will be not right.
Need your advice G
Thanks
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Error when edit Data source : Validation Error on field
Please see "System Utilities -> View SNMP Cache" and search for the host/interface/ifSpeed value.
I fear, that they are absent.
In this case, please
1. perform a reindex of that data query by pressing the green circle next to the Data Query on the host edit screen - retry
2. from cli: perform an snmpwalk against that host for table "interface" and watch out, whether ifSpeed is reported - better post the whole output (at least the ifSpeed part)
R.
I fear, that they are absent.
In this case, please
1. perform a reindex of that data query by pressing the green circle next to the Data Query on the host edit screen - retry
2. from cli: perform an snmpwalk against that host for table "interface" and watch out, whether ifSpeed is reported - better post the whole output (at least the ifSpeed part)
R.
Re: Error when edit Data source : Validation Error on field
Hi G,
Sorry for late response,
I already check it, and IfSpeed is not absent : Snmpwalk attached (open with ultraedit or wordpad): Please kindly help to solve this issue, thanks before
regards,
n2k
Sorry for late response,
I already check it, and IfSpeed is not absent : Snmpwalk attached (open with ultraedit or wordpad): Please kindly help to solve this issue, thanks before
regards,
n2k
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Error when edit Data source : Validation Error on field
Well, the image does not show a data template but the Data Query.nugrozz2k wrote:I already test with new data template (see picture below) which is not use "rrd_maximum - |query_ifSpeed|
In fact |query_ifSpeed| is used by the official traffic data template. But that's a bit tricky. So I need to know as exact as possible how you changed that data template (copy and change, create new from scratch or whatever); best is to post screenshots of that template
R.
Re: Error when edit Data source : Validation Error on field
Hi G,gandalf wrote:Well, the image does not show a data template but the Data Query.nugrozz2k wrote:I already test with new data template (see picture below) which is not use "rrd_maximum - |query_ifSpeed|
In fact |query_ifSpeed| is used by the official traffic data template. But that's a bit tricky. So I need to know as exact as possible how you changed that data template (copy and change, create new from scratch or whatever); best is to post screenshots of that template
R.
Sorry for late response. I'm create new data template :
Data Queries > SNMP Network Interfaces > Add ...
Basically same with "In/Out Bits (64-bit Counter)" but without |query_ifSpeed| Thanks before..
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Error when edit Data source : Validation Error on field
Again, what you you have posted is a Data Query, not a Data Template. And I need that very data template
R.
R.
Re: Error when edit Data source : Validation Error on field
Sorry G, below is the data template,but i am not sure i have changed it before.gandalf wrote:Again, what you you have posted is a Data Query, not a Data Template. And I need that very data template
R.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Error when edit Data source : Validation Error on field
Ok, let me try to sum up:
- You are using a Data Query for Interface Traffic
- this is linked to the default data template for interface traffic
- you are trying to modify a Data Source, which has been created for that very Data Query
Well, this should work to a specific extend. The options are restricted by the governing Data Query, e.g. when changing the title, on next renaming event the title will again be overwritten by the Data Query "Suggested Names" section.
So my next answer is twofold:
1. Please explain, which field you want to change to make sure the change is permanent
2. Yes, the error should not occur, even if a field is changed that will be governed by the Data Query. For this issue, please open a bug report and put everything in
R.
- You are using a Data Query for Interface Traffic
- this is linked to the default data template for interface traffic
- you are trying to modify a Data Source, which has been created for that very Data Query
Well, this should work to a specific extend. The options are restricted by the governing Data Query, e.g. when changing the title, on next renaming event the title will again be overwritten by the Data Query "Suggested Names" section.
So my next answer is twofold:
1. Please explain, which field you want to change to make sure the change is permanent
2. Yes, the error should not occur, even if a field is changed that will be governed by the Data Query. For this issue, please open a bug report and put everything in
R.
Who is online
Users browsing this forum: No registered users and 5 guests