'Suggested Values' mechanism broken

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

Moderators: Developers, Moderators

Post Reply
appugno
Posts: 7
Joined: Mon Mar 20, 2006 3:40 pm

'Suggested Values' mechanism broken

Post by appugno »

Hi all,

Reapply Suggested Names - breaks graph titles, can you please help me with this? is this a known issue? i searched the forum came up with nothing...

1. when a graph is first created it gets a proper (the one I want, first in the 'Suggested Values' list) title.
2. if I "Reapply Suggested Names" for some yet unknown to me reason graphs title changes to '|host_description| - Traffic - |query_ifName|' even though is the third in the 'Suggested Values' list.
3. if go and chnage it manualy, it breaks the graphs, they won't draw, but their title is proper, I haven't found a non distructive way to fix them, the only way is to delete them and their coresponding 'Data Sources' seperatly as cacti won't delete them automaticly when graphs are deleted (as if a link between the graph and its data source is broken), then create them back. rrdtool for broken graphs in the "turn on graph debug" mode says 'invalid rpn expression (pls see the picture attached)

4. if I delete a graph and then recreate it, it gets a proper title.

this affects whole 'Suggested Values' mechanism.

this install is a couple of years old...a lots of statistics were accumulated.

if a developer wants to access the installation remotely(both ssh and http) is not a problem it can be arranged.

any suggestions, questions, and comments are welcomed

please help...

thank you all

p.s. very sorry about the dimentions of the pictures attached
Attachments
data_queries.jpg
data_queries.jpg (239.56 KiB) Viewed 949 times
dev_verbose.jpg
dev_verbose.jpg (307.33 KiB) Viewed 949 times
graph_manage.jpg
graph_manage.jpg (156.3 KiB) Viewed 949 times
ver.jpg
ver.jpg (222.36 KiB) Viewed 949 times
rpn_error-and-first_create_or_recreate.jpg
rpn_error-and-first_create_or_recreate.jpg (381.05 KiB) Viewed 949 times
appugno
Posts: 7
Joined: Mon Mar 20, 2006 3:40 pm

Post by appugno »

I found the problem, somehow records in the database got dublicate sequence numbers, I reordered them manually now everything is back to normal

mysql> select sequence, text, field_name from snmp_query_graph_sv where snmp_query_graph_id=13 order by sequence;
+----------+---------------------------------------------------------------------------------+------------+
| sequence | text | field_name |
+----------+---------------------------------------------------------------------------------+------------+
| 1 | |host_description| - Traffic - |query_ifAlias| - |query_ifIP| (|query_ifDescr|) | title |
| 1 | |host_description| - Traffic - |query_ifName| | title |
| 2 | |host_description| - Traffic - |query_ifIP| (|query_ifDescr|) | title |
| 3 | |host_description| - |query_ifAlias| (|query_ifName|) | title |
| 3 | |host_description| - Traffic - |query_ifDescr|/|query_ifIndex| | title |
+----------+---------------------------------------------------------------------------------+------------+
5 rows in set (0.00 sec)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Any clue how that happened?

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?
appugno
Posts: 7
Joined: Mon Mar 20, 2006 3:40 pm

Post by appugno »

I have no idea, never touched any cacti records myself.

I wonder if back/forward navigation of the browser could've done it.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests