I would like to modify the "Supplemental Graph Template Data" template (if such a thing exists). Does it exist? If I have to modify code, where do I start digging?
Here is what I'm trying to do. When I graph cisco interfaces, it names each interface with the following pattern
|host_description| - Traffic - |query_ifName|
Which I would like to change to
|host_description| - Traffic - |query_ifName| : |query_ifAlias|
Considering I have more than 50 hosts, some with hundreds of interfaces, I don't want to do this by hand.
TIA
cluge
Supplemental Graph Template Data - template??
Moderators: Developers, Moderators
Setting a single graph title for all graphs attached to a single graph template is easy. It is very rare that all of your graphs have the same title (before substitution that is) though. When new traffic graphs are created, the "best" title is selected from a list which count be found under "Data Queries" -> "SNMP - Interface Statistics".
What you are trying to do can probably best accomplished using an SQL query. The graph title is stored in the graph_templates_graph.title column, while the 'title_cache' column is automatically generated by Cacti.
Let me know if you are still interested and I can help you form an SQL query.
-Ian
What you are trying to do can probably best accomplished using an SQL query. The graph title is stored in the graph_templates_graph.title column, while the 'title_cache' column is automatically generated by Cacti.
Let me know if you are still interested and I can help you form an SQL query.
-Ian
Who is online
Users browsing this forum: No registered users and 2 guests