Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


LINK label

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
chadd
Cacti User


Joined: 24 Mar 2005
Posts: 194
Location: Ocoee, Florida

PostPosted: Fri Dec 08, 2006 11:25 am    Post subject: LINK label Reply with quote

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.
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2162
Location: United Kingdom

PostPosted: Fri Dec 08, 2006 8:58 pm    Post subject: Re: LINK label Reply with quote

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:

  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.
Back to top
chadd
Cacti User


Joined: 24 Mar 2005
Posts: 194
Location: Ocoee, Florida

PostPosted: Sat Dec 09, 2006 9:08 am    Post subject: Reply with quote

color coding the outlines... That could work... if there were a key. Can I create a second legend?
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2162
Location: United Kingdom

PostPosted: Sat Dec 09, 2006 10:48 am    Post subject: Reply with quote

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.
Back to top
chadd
Cacti User


Joined: 24 Mar 2005
Posts: 194
Location: Ocoee, Florida

PostPosted: Tue Dec 12, 2006 1:44 pm    Post subject: Reply with quote

Do you have a time frame for the .9 release?
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2162
Location: United Kingdom

PostPosted: Tue Dec 12, 2006 2:02 pm    Post subject: Reply with quote

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.
Back to top
chadd
Cacti User


Joined: 24 Mar 2005
Posts: 194
Location: Ocoee, Florida

PostPosted: Wed Dec 13, 2006 9:34 am    Post subject: Reply with quote

Thanks for the quick replies. Good work on the weathermap, and I look forward to seeing the changes. Thanks again.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group