Supplemental Graph Template Data - template??

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

Moderators: Developers, Moderators

Post Reply
cluge
Posts: 4
Joined: Fri Apr 30, 2004 9:02 am

Supplemental Graph Template Data - template??

Post by cluge »

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
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests