Graph Titles
Moderators: Developers, Moderators
Graph Titles
Hi
I changed the Interface - Traffic (bits/sec) graph template and changed the title field to |host_description| - Traffic - |query_ifName| - |query_ifAlias| and then used the reapply suggested names in Graph Management to change the title. All worked fine. I've now decided to remove this and add the ifAlias as a comment in the graph template instead.
However, when I remve the |query_ifAlias| from the title and reapply suggested names it doesn't remove it from the Graphs....
Any ideas how I can remove it without having to edit around 600 graphs manually???
I changed the Interface - Traffic (bits/sec) graph template and changed the title field to |host_description| - Traffic - |query_ifName| - |query_ifAlias| and then used the reapply suggested names in Graph Management to change the title. All worked fine. I've now decided to remove this and add the ifAlias as a comment in the graph template instead.
However, when I remve the |query_ifAlias| from the title and reapply suggested names it doesn't remove it from the Graphs....
Any ideas how I can remove it without having to edit around 600 graphs manually???
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
In general, it is not recommended to change the Title of the Graph Template for Data Queries.
Instead, please select the correct graph template from the Data Query itself and change the "Suggested Values" Section. You may change the sequence of entries, re-apply and that's it. To make this work (again), the Graph Template itself must have Use Per-Graph Value (Ignore this Value) checked for the Graph Title
Reinhard
Instead, please select the correct graph template from the Data Query itself and change the "Suggested Values" Section. You may change the sequence of entries, re-apply and that's it. To make this work (again), the Graph Template itself must have Use Per-Graph Value (Ignore this Value) checked for the Graph Title
Reinhard
But, graphs are dissapear.
Hmm...
Please check my steps:
(it's only example)
Cacti is empty.
1. Create device - my_cat (Cisco Catalyst 2960).
2. Click on Create graphs for this host.
3. Select 2-3 interfaces, choose graph templete Interface Traffic (bits/sec).
4. Go to Graph Management. And change title to Loc 1 - Loc 2.
5. Graph dissappears.
But, strange is in empty Data Sources.
And when i rename graph, i have only None in dropdown. It's ok?
Hmm...
Please check my steps:
(it's only example)
Cacti is empty.
1. Create device - my_cat (Cisco Catalyst 2960).
2. Click on Create graphs for this host.
3. Select 2-3 interfaces, choose graph templete Interface Traffic (bits/sec).
4. Go to Graph Management. And change title to Loc 1 - Loc 2.
5. Graph dissappears.
But, strange is in empty Data Sources.
And when i rename graph, i have only None in dropdown. It's ok?
I have solved this problem. But not sure that all other will works right.Please check my steps:
(it's only example)
Cacti is empty.
1. Create device - my_cat (Cisco Catalyst 2960).
2. Click on Create graphs for this host.
3. Select 2-3 interfaces, choose graph templete Interface Traffic (bits/sec).
4. Go to Graph Management. And change title to Loc 1 - Loc 2.
5. Graph dissappears.
Now i can change graph titles without any problems
graphs.php
Code: Select all
comment line 214:
# $input_list = db_fetch_assoc("select id,column_name from graph_template_input...
comment line 216:
#if (sizeof($input_list) > 0) {
comment line 238:
#}
PS Cacti 0.8.7b
I have a very similar problem except I don't want to change the fields in the title, just get Cacti to re-read them from the Cisco switch since they have changed on the switch. I have verified they did change on the switch using snmpget. How do I get Cacti to re-read the title fields from the switch? It's the ifAlias that has changed but it's not changing on my graphs.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Thos is done by "Re-Indexing"
Standard re-index method is "uptime goes backwards", in other words "reboot"
You may use "Index Count Changed" or "Verify all Fields" instead.
To change this for existing queries, please delete the Data Query from that host and re-attach it using the correct re-index method. This will NOT loose your graphs!
Reinhard
Standard re-index method is "uptime goes backwards", in other words "reboot"
You may use "Index Count Changed" or "Verify all Fields" instead.
To change this for existing queries, please delete the Data Query from that host and re-attach it using the correct re-index method. This will NOT loose your graphs!
Reinhard
Who is online
Users browsing this forum: No registered users and 2 guests