I have read through the manual and quite a few posts here and can't figure out if I can make the width of the links dynamically variable based on percentage in the same manner that colour is.
I can set the width of the link, but that will set both directions to the same width, and only statically.
Firstly, is it possible to change the width based on percentage?
Secondly, is it possible to change the 'in' and 'out' individually as it can with colour?
Thanks
Variable Width Length
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Variable Width Length
Yes. The way it works is that you set a base WIDTH as usual. This is the maximum width for your link. Then you add 'SET link_bulge 1' to either the links you want to do this, or LINK DEFAULT for all of them.cshepherd wrote:I have read through the manual and quite a few posts here and can't figure out if I can make the width of the links dynamically variable based on percentage in the same manner that colour is.
I can set the width of the link, but that will set both directions to the same width, and only statically.
Firstly, is it possible to change the width based on percentage?
Secondly, is it possible to change the 'in' and 'out' individually as it can with colour?
Thanks
Then the actual displayed width will vary with the bandwidth. In 0.96, the width calculation is done independently for in and out, but before that, the whole link changed based on (if I remember correctly) the in percentage.
0.96 is the next release. I thought I did this a while ago, but I guess 0.95b did come out a few months ago now.
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!)
Thanks for the reply Howie, but I seem to be missing something as the width isn't changing. I am running Debian Etch, PHP 5.2.0-8, libgd2 2.0.35.dfsg-1, Cacti 0.9.7b, Plugin-arch 2.1 and Weathermap 0.95b.
I have changed the width from 2 to 10 and I can see the width change, I just can't get link_bulge to work. Thanks for your help.
Code: Select all
LINK DEFAULT
WIDTH 4
SET link_bulge 1
ARROWSTYLE compact
BWLABEL bits
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Sorry - my mistake. It's a map-global thing not per-link, so you put the SET command in the top section of the config file.
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 0 guests