Error: Save Failed: Field Input Error (Check Red Fields)
Brett Kessler <BKessler <at> hhchc.org>
2016-01-21 21:34:35 GMT
This Message was Encrypted.
I've recently finished setting up a brand-new installation of Cacti 0.8.8f on Ubuntu 15.10 and believe
that I've uncovered a data validation bug when modifying data sources. Everything is working as
expected, except I cannot save any changes to my data source name.
To reproduce the problem, I go to Console -> Data Sources, then pick one of my data sources. I've attached a
screenshot, but in case it doesn't come through, it's showing the Console -> Data Sources -> (Edit) screen
for a Cisco router that's working and graphic just fine. In this particular instance, I've selected
interface Gi0/0.6, but the same is true for all devices and all interfaces (with or without
subinterfaces). In the "Supplemental Data Template Data" section, I tried changing the "Name" field
from the default "|host_description| - Traffic - |query_ifIP| - |query_ifName|" to a constant string
that reads "Primary ISP" (with no special characters, etc.). When I click SAVE at the bottom right, I
receive red text at the top of the window that reads "Error: Save Failed: Field Input Error (Check Red
Fields)." No fields appear in red.
If I then leave the screen and come back to it, it appears that my changes have been saved on this screen -
despite the earlier error message! - but the new information doesn't appear when I'm looking at the
device, graphs or graph trees, or any other place.
I tried something even simpler: open any data source as if I'm going to edit it, then make no changes at all,
and click SAVE. The error message appears as above.