I have a request.. More like a request from users of mine. I would like to know if there is a way to add some information to the link label. Right now the default is percent, and that is what I want, but I would like a bit of additional information displayed. Could you pull the value out of the database declared for the max bandwidth on that link (it is a field in the editor) and display the link label as follows:
0.83% of 1G
or
50% of 100M
My users that are looking at the maps, have no knowledge of the network, so when they see a percent utilization, a common question is, "how big is that link?".
Any help would be appreciated. Thanks,
-chadd.
LINK label
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: LINK label
Not right now you can't but the next release (0.9) has the possibility to pull all kinds of values out of the weathermap internal data and put them in strings. The BWLABELs are not currently included in that setup, but I have been thinking about including them for other reasons (I want to have milliseconds instead of bits). With that, you would be able to do something likechadd wrote:I have a request.. More like a request from users of mine. I would like to know if there is a way to add some information to the link label. Right now the default is percent, and that is what I want, but I would like a bit of additional information displayed. Could you pull the value out of the database declared for the max bandwidth on that link (it is a field in the editor) and display the link label as follows:
0.83% of 1G
or
50% of 100M
My users that are looking at the maps, have no knowledge of the network, so when they see a percent utilization, a common question is, "how big is that link?".
Code: Select all
LINK blah
BWLABELIN {link:this:bandwidth_in} of {link:this:max_bandwidth_in}
One thing we do with maps at my workplace is change the WIDTH of the links based on the BANDWIDTH. You can see the difference between a fat 1Gig/10GE link and a skinny 2M/T1 then. You could also colour-code the outlines.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
You could either include it in a background image, or make a key-only image and assign it as the ICON for a node which has no links attached. You can place anything anywhere using nodes, really.chadd wrote:color coding the outlines... That could work... if there were a key. Can I create a second legend?
The new {link:this:bandwidth_in} type stuff is aimed for this. You can then include any data as formatted text (any colour, any font, any size) anywhere on the map.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Still don't. I was hoping for this year, but that is going pretty quickly now! There are still some rough edges I need to sort out before it's done. I'd hope January.chadd wrote:Do you have a time frame for the .9 release?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Who is online
Users browsing this forum: No registered users and 1 guest