0.8.7b ,in manage mode, data source name or graph title like this :|host_description| - |query_ifName| - |query_ifalias| ,
but upgrade to 0.8.7e, data source name or graph title like this :|host_description| - GigabitEthernet3/0/4 - Szl_S8016_G_4/0/2
how can i keep the name/title use |host_description| - |query_ifName| - |query_ifalias| ?
sorry my English.
help:about data source name and graph title
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Thu Mar 24, 2011 11:40 pm
-
- Posts: 3
- Joined: Thu Mar 24, 2011 11:40 pm
Re: help:about data source name and graph title
thanks,
i already have a Data Query define the title and name like :|host_description| - |query_ifName| - |query_ifalias|,
when i create a graph , that in mysql table "data_template_data" the fieldname "name" value is :|host_description| - GigabitEthernet3/0/4 - Szl_S8016_G_4/0/2 ,This is not what i want, i want the value is :|host_description| - |query_ifName| - |query_ifalias|.
What can i do ?
i already have a Data Query define the title and name like :|host_description| - |query_ifName| - |query_ifalias|,
when i create a graph , that in mysql table "data_template_data" the fieldname "name" value is :|host_description| - GigabitEthernet3/0/4 - Szl_S8016_G_4/0/2 ,This is not what i want, i want the value is :|host_description| - |query_ifName| - |query_ifalias|.
What can i do ?
-
- Posts: 3
- Joined: Thu Mar 24, 2011 11:40 pm
Re: help:about data source name and graph title
Who can help me?
Thanks
Thanks
Re: help:about data source name and graph title
Try this:
(1) Go Device-> (your device) -> Data Source List
(2) Select all datasources, choose an action: Reapply Suggested Names, and click go
(3) Check whether if the value of "name" field in that table was rewrited (by the following SQL)
I tested this behavior at Cacti 0.8.7e, don't know this is a bug or not.
But, if using Cacti 0.8.7g, you'll be asked to decide name/title field when creating graphs. (Default value in textbox is depend on your Data/Graph template)
Also the value for "name" field in data_template_data table will be set properly.
(1) Go Device-> (your device) -> Data Source List
(2) Select all datasources, choose an action: Reapply Suggested Names, and click go
(3) Check whether if the value of "name" field in that table was rewrited (by the following SQL)
Code: Select all
SELECT id,data_template_id,name,name_cache FROM data_template_data WHERE data_template_id=XX;
But, if using Cacti 0.8.7g, you'll be asked to decide name/title field when creating graphs. (Default value in textbox is depend on your Data/Graph template)
Also the value for "name" field in data_template_data table will be set properly.
Re: help:about data source name and graph title
Hi all.
I'm having the same problem than yangzi0859.
When creating new graphs with suggested values for the datasource and graph names with several fields, like "|host_description| - |query_ifName| - |query_ifalias|", both the created DS and graphs get a name value on wich the first field (|host_description|) is maintained as is, but the next ones (|query_ifName| - |query_ifalias|) are substituted by the calculated values.
This means that if I go to the device and change for example the interface alias (description) the change will not be reflected in the graph or DS names as desired.
I've tried the solution proposed by noname, going to the DS and Graph lists and reapplying the suggested names and it seems to work fine, so at least there is a workaround.
I'm using Cacti 0.8.7g, but I'm pretty sure this problem did not exists in previous versions.
I'm having the same problem than yangzi0859.
When creating new graphs with suggested values for the datasource and graph names with several fields, like "|host_description| - |query_ifName| - |query_ifalias|", both the created DS and graphs get a name value on wich the first field (|host_description|) is maintained as is, but the next ones (|query_ifName| - |query_ifalias|) are substituted by the calculated values.
This means that if I go to the device and change for example the interface alias (description) the change will not be reflected in the graph or DS names as desired.
I've tried the solution proposed by noname, going to the DS and Graph lists and reapplying the suggested names and it seems to work fine, so at least there is a workaround.
I'm using Cacti 0.8.7g, but I'm pretty sure this problem did not exists in previous versions.
Who is online
Users browsing this forum: No registered users and 1 guest