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    


weathermap not taking the VIA properties properly

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



Joined: 04 Jul 2007
Posts: 31

PostPosted: Mon Nov 05, 2007 5:26 pm    Post subject: weathermap not taking the VIA properties properly Reply with quote



I'm trying to create a detailed weathermap of links between switches. As you can see the VIA isn't working properly. Here is the conf:

Code:

NODE MASTERDEVICE
        LABEL MASTERDEVICE
        POSITION 100 20
        ICON images/WorkgroupSwitchSm.png

NODE DEVICE1
        LABEL DEVICE1
        POSITION 100 100
        ICON images/WorkgroupSwitchSm.png

NODE DEVICE2
        LABEL DEVICE2
        POSITION 100 180
        ICON images/WorkgroupSwitchSm.png

NODE DEVICE3
        LABEL DEVICE3
        POSITION 100 260
        ICON images/WorkgroupSwitchSm.png

NODE DEVICE4
        LABEL DEVICE4
        POSITION 100 340
        ICON images/WorkgroupSwitchSm.png

LINK MASTERDEVICE<>DEVICE1#1
        NODES MASTERDEVICE:0:15 DEVICE1:0:0
        VIA 41 35
        VIA 41 100

LINK MASTERDEVICE<>DEVICE1#2
        NODES MASTERDEVICE:0:12 DEVICE1:0:-3
        VIA 38 32
        VIA 38 103

LINK MASTERDEVICE<>DEVICE2#1
        NODES MASTERDEVICE:0:9 DEVICE2:0:0
        VIA 35 29
        VIA 35 180

LINK MASTERDEVICE<>DEVICE2#2
        NODES MASTERDEVICE:0:6 DEVICE2:0:-3
        VIA 32 26
        VIA 32 183

LINK MASTERDEVICE<>DEVICE3#1
        NODES MASTERDEVICE:0:3 DEVICE3:0:0
        VIA 29 23
        VIA 29 260

LINK MASTERDEVICE<>DEVICE3#2
        NODES MASTERDEVICE:0:0 DEVICE3:0:-3
        VIA 26 20
        VIA 26 263

LINK MASTERDEVICE<>DEVICE4#1
        NODES MASTERDEVICE:0:-3 DEVICE4:0:0
        VIA 23 17
        VIA 23 340

LINK MASTERDEVICE<>DEVICE4#2
        NODES MASTERDEVICE:0:-6 DEVICE4:0:-3
        VIA 20 14
        VIA 20 343


What am I doing wrong that is causing Weathermap to bend like that or is that what it is going to do when I create Links like that? Is there a way around it?

Thanks.
Back to top
Howie
Cacti Guru User


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

PostPosted: Mon Nov 05, 2007 6:03 pm    Post subject: Reply with quote

That is exactly what VIA is supposed to do. It's drawing a curve that passes through the points that you specified.

In the next release but one (0.94 is out soon, 0.95 will have this feature), you will be able to specify a 'VIASTYLE angled' to get what you really want in this case (see attached).



angles-test-output.png
 Description:
VIASTYLE angled
TEST output (will be in 0.95)
 Filesize:  13.42 KB
 Viewed:  1309 Time(s)

angles-test-output.png


Back to top
MoreDakka



Joined: 04 Jul 2007
Posts: 31

PostPosted: Mon Nov 05, 2007 6:19 pm    Post subject: Reply with quote

Ah, alright, I'll wait until 0.95 to setup this map then. Yay another project on the back burner

Thanks again for your help.
Back to top
Howie
Cacti Guru User


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

PostPosted: Mon Nov 05, 2007 6:28 pm    Post subject: Reply with quote

You could also consider a different layout...
http://www.network-weathermap.com/node/51 is a similar type of map, if I understand what you are doing correctly, where there is a 'hub' or a common VLAN, and lots of subordinate switches/nodes.

I wrote a bit more info about creating that type of layout, if you want to try it.
Back to top
MoreDakka



Joined: 04 Jul 2007
Posts: 31

PostPosted: Tue Nov 06, 2007 5:32 pm    Post subject: Reply with quote

I'm actually going for an overview of the entire network and all the main connections including redundant connections to servers, switches...etc...so if something drops we can see it through the network. It's going to be an ugly conf file but when it's done it's going to be quite sexy I think. Just need those angled routes and I can get back to work on it 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