Order of nodes when defining a new link

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
bengelly
Cacti User
Posts: 57
Joined: Fri Jan 26, 2007 2:28 am

Order of nodes when defining a new link

Post by bengelly »

Hi,

first of all, weathermap is a real piece of work, well done Howie... Now, the question...

regarding to the order of the nodes when defining a new link, you say in your manual :

"The order of the nodes is significant. When reading data sources, the flow from the first node to the second is considered 'out' and from second-to-first is 'in'."

If we consider a link between a node1 to a node2, this means that:

- flow "out" is the upload flow for node 1
- flow "in" is the download flow for node 1

Am I right ?

Thanks for your help
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Order of nodes when defining a new link

Post by Howie »

bengelly wrote:If we consider a link between a node1 to a node2, this means that:

- flow "out" is the upload flow for node 1
- flow "in" is the download flow for node 1

Am I right ?
Yep, that's it.

If it's the edge of your network, pick node1 to be your node, not your supplier/customer, so that you can use the interface that you are measuring.

You can also flip the numbers around anyway by changing the target line, but the popup graph will still be as Cacti draws it, so it's not as nice.
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!)
bengelly
Cacti User
Posts: 57
Joined: Fri Jan 26, 2007 2:28 am

Post by bengelly »

Hi,

this is what I was telling myself... but I still get very weird results... You'll find attached with my post an image in order to explain...

I've chosen my front edge switch (CRAI) as node 1 and my ISP (Telemus) as node 2... the link between the two nodes has the following order : node 1 to node 2...

I've tried to download a linux distribution in order to generate some traffic and I get an upload rate far more greater than the download rate !!!

Could you please help... I'm lost... It seems it's happening to all my links !!! :o

Thanks
Attachments
weathermap_4.png
weathermap_4.png (33.77 KiB) Viewed 5808 times
bengelly
Cacti User
Posts: 57
Joined: Fri Jan 26, 2007 2:28 am

Post by bengelly »

Hi again,

I know you haven't posted yet but I've noticied something really strange when trying some tests... Look at the attachement below, don't find it weird ?

I humbly think that my links are correctly defined but that the display of the data rates on the links are inverted !!! Otherwise, how could you explain the colours displayed on the links ?!? It wouldn't make any sence at all !!!

By the way, you should know that I have a 20 Mbits access link to my ISP...

Thanks

P.S : It's happening to all my links !!!
Attachments
weathermap_4.png
weathermap_4.png (33.75 KiB) Viewed 5802 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Oh yeah, that is weird :-)

Are you using BWLABELPOS? The only thing like this I've seen is related to that... That was a bug that was fixed in 0.9pre3 though.

Certainly my 0.9 maps (I have a dozen or so) are showing the correct way around, with correct colours.
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!)
bengelly
Cacti User
Posts: 57
Joined: Fri Jan 26, 2007 2:28 am

Post by bengelly »

Hi,

yes, I'm using BWLABELPOS and I've change it's values to 30 70... is it a problem ? :o

Thanks
bengelly
Cacti User
Posts: 57
Joined: Fri Jan 26, 2007 2:28 am

Post by bengelly »

Hi,

I've commented the line containing the BWLABELPOS function in my configuration file... looks like everything is normal now !!! Do you have any explanation please ?

Thanks
Attachments
weathermap_4-1.png
weathermap_4-1.png (33.83 KiB) Viewed 5783 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

bengelly wrote:Hi,

I've commented the line containing the BWLABELPOS function in my configuration file... looks like everything is normal now !!! Do you have any explanation please ?

Thanks
Yes, if you look in the manual, you'll see that the positions are out then in, not in then out, so you swapped over the labels by having 30 70 instead of 70 30

:-)

EDIT: No, I'm wrong. But that's what it's doing... and now I look at the maps where I use BWLABELPOS, mine are wrong too. It's a bug. I'll fix it for 0.91. :oops:
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!)
bengelly
Cacti User
Posts: 57
Joined: Fri Jan 26, 2007 2:28 am

Post by bengelly »

Hi again,

I'll be waiting for 0.91...

Thanks
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Howie wrote:EDIT: No, I'm wrong. But that's what it's doing... and now I look at the maps where I use BWLABELPOS, mine are wrong too. It's a bug. I'll fix it for 0.91. :oops:
I found this one. It's sillier than that. The function that the editor uses to write config files swaps the in and out positions over. So every other edit, they will be correct :lol:

Anyway, fixed.
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!)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests