Alias |host_description| in graph template items
Moderators: Developers, Moderators
Alias |host_description| in graph template items
We massively use aggregated (stacked) graphs gathering together data sources from different devices.
Ex.:
- Switch aggregated link / port channels
- Clusters or groups of nodes' global traffic (bandwidth, requests, sessions...) or CPU overview
We already use the |query_ifName| alias for interfaces but we are however and unfortunately unable to display the datasources' hostnames using a kind of alias |query_host_description| in the graph's legends.
This is a big limitation and induce us to release the graphs from their original templates to provide manually the hostnames in the graph items, what is of course not a good practice...
Ex.:
- Switch aggregated link / port channels
- Clusters or groups of nodes' global traffic (bandwidth, requests, sessions...) or CPU overview
We already use the |query_ifName| alias for interfaces but we are however and unfortunately unable to display the datasources' hostnames using a kind of alias |query_host_description| in the graph's legends.
This is a big limitation and induce us to release the graphs from their original templates to provide manually the hostnames in the graph items, what is of course not a good practice...
Last edited by GLR on Tue Oct 01, 2013 3:39 pm, edited 3 times in total.
Cacti 0.8.8b + spine 0.8.8b
on Debian / Apache 2.2 / PHP 5.2 / MySQL 5.0
on Debian / Apache 2.2 / PHP 5.2 / MySQL 5.0
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Alias |query_host_description| in graph template items
Are you using AGGREGATE? WHich version, then?
Are you able to provide a faked screenshot of what exactly you are trying to achive?
R.
Are you able to provide a faked screenshot of what exactly you are trying to achive?
R.
Re: Alias |query_host_description| in graph template items
Hello,
No, I only use manually created graph templates.
Here are some examples of graphs :
And a 3 aggregated link port-channel graph template :
No, I only use manually created graph templates.
Here are some examples of graphs :
And a 3 aggregated link port-channel graph template :
Cacti 0.8.8b + spine 0.8.8b
on Debian / Apache 2.2 / PHP 5.2 / MySQL 5.0
on Debian / Apache 2.2 / PHP 5.2 / MySQL 5.0
Re: Alias |query_host_description| in graph template items
Hum... reading your Aggregate plugin documentation, I see the alias |host_description| is simply supported. Always RTFM !
I don't know why, I missed it...
In my mind, this alias didn't work, but actually I didn't tested it recently... (Was it added in a recent release ?)
And it indeed works fine, so great !
Thanks !
PS: This topic can be deleted
I don't know why, I missed it...
In my mind, this alias didn't work, but actually I didn't tested it recently... (Was it added in a recent release ?)
And it indeed works fine, so great !
Thanks !
PS: This topic can be deleted
Cacti 0.8.8b + spine 0.8.8b
on Debian / Apache 2.2 / PHP 5.2 / MySQL 5.0
on Debian / Apache 2.2 / PHP 5.2 / MySQL 5.0
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Alias |query_host_description| in graph template items
I don't rememberGLR wrote:(Was it added in a recent release ?)
No. Your graphs look too prettyPS: This topic can be deleted
R.
Re: Alias |query_host_description| in graph template items
GLR wrote:Hello,
No, I only use manually created graph templates.
Here are some examples of graphs :
And a 3 aggregated link port-channel graph template :
could you send me a copy of your graph template, i working on something similarand getting problems at it and it seems you have the answer
Re: Alias |host_description| in graph template items
Here it is : Graph template "Aggregated link traffic - 3 interfaces"
- Attachments
-
- cacti_graph_template__aggregated_link_traffic_-_3_interfaces.zip
- (6.24 KiB) Downloaded 254 times
Cacti 0.8.8b + spine 0.8.8b
on Debian / Apache 2.2 / PHP 5.2 / MySQL 5.0
on Debian / Apache 2.2 / PHP 5.2 / MySQL 5.0
Re: Alias |host_description| in graph template items
GLR wrote:Here it is : Graph template "Aggregated link traffic - 3 interfaces"
Great! worked flawlessly!!
Much appreciated
i was wondering however if you could assist in making a few tweaks to it.
I'm trying to display for another graph, just the total in and total out but using the same or similar template but with minor changes.
in theory i think i know what i should do but could use a new set of eyes..
Re: Alias |host_description| in graph template items
In my mind, this alias didn't work, but actually I didn't tested it recently... (Was it added in a recent release ?)??
GuL
Who is online
Users browsing this forum: No registered users and 0 guests