LINK label

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

LINK label

Post by chadd »

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.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: LINK label

Post by Howie »

chadd 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?".
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 like

Code: Select all

  LINK blah
     BWLABELIN {link:this:bandwidth_in} of {link:this:max_bandwidth_in}
although I don't really like BWLABELIN as a name.

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!)
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

color coding the outlines... That could work... if there were a key. Can I create a second legend?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

chadd wrote:color coding the outlines... That could work... if there were a key. Can I create a second legend?
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.

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!)
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

Do you have a time frame for the .9 release?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

chadd wrote:Do you have a time frame for the .9 release?
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.
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!)
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

Thanks for the quick replies. Good work on the weathermap, and I look forward to seeing the changes. Thanks again.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest