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    


[SOLVED] Mutiple Data sources

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



Joined: 06 Feb 2008
Posts: 32

PostPosted: Tue Mar 18, 2008 3:40 pm    Post subject: [SOLVED] Mutiple Data sources Reply with quote

I have a few graphs that are aggregate totals of multiple data sources. I would like to add such summaries to my Weathermap. I'm sure this has been asked before but is there a way to take multiple data sources and display them as 1 in/out LINK on the map and if so, may I see a config example of it?
Back to top
Howie
Cacti Guru User


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

PostPosted: Tue Mar 18, 2008 5:42 pm    Post subject: Re: Mutiple Data sources Reply with quote

ashke wrote:
I have a few graphs that are aggregate totals of multiple data sources. I would like to add such summaries to my Weathermap. I'm sure this has been asked before but is there a way to take multiple data sources and display them as 1 in/out LINK on the map and if so, may I see a config example of it?


In fact, it's in the FAQ

There's an article about aggregate and multilink links here
Back to top
ashke



Joined: 06 Feb 2008
Posts: 32

PostPosted: Wed Mar 19, 2008 10:53 am    Post subject: Re: Mutiple Data sources Reply with quote

Howie wrote:
ashke wrote:
I have a few graphs that are aggregate totals of multiple data sources. I would like to add such summaries to my Weathermap. I'm sure this has been asked before but is there a way to take multiple data sources and display them as 1 in/out LINK on the map and if so, may I see a config example of it?


In fact, it's in the FAQ

There's an article about aggregate and multilink links here


Thanks Howie, I guess I'm not use to something being so well documented Keep up the good work!
Back to top
Howie
Cacti Guru User


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

PostPosted: Wed Mar 19, 2008 11:03 am    Post subject: Re: Mutiple Data sources Reply with quote

ashke wrote:
Thanks Howie, I guess I'm not use to something being so well documented Keep up the good work!


If more than a few people ask the same thing, I try to write something up about it...
Back to top
ashke



Joined: 06 Feb 2008
Posts: 32

PostPosted: Wed Mar 19, 2008 3:33 pm    Post subject: Reply with quote

I have noticed a weird issue when attempting to get this to work. Its showing the correct IN/OUT usage numbers on the aggregate link but its swapping the utilization colors. The example is below:

Quote:
LINK core1717-cloud
BWLABELPOS 25 70
TARGET /var/www/html/rra/c1717_traffic_in_166.rrd /var/www/html/rra/c1717_traffic_in_167.rrd /var/www/html/rra/c1717_traffic_in_168.rrd /var/www/html/rra/c1717_traffic_in_169.rrd /var/www/html/rra/c1717_traffic_in_170.rrd /var/www/html/rra/c1717_traffic_in_171.rrd /var/www/html/rra/c1717_traffic_in_172.rrd
NODES core1717 cloud
VIA 302 140
BANDWIDTH 150M




As you can see, the colors representing the aggregate are swapped compared to the usage numbers.
Back to top
Howie
Cacti Guru User


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

PostPosted: Wed Mar 19, 2008 4:20 pm    Post subject: Reply with quote

It's the labels that are swapped, not the colours.

This:
Code:

BWLABELPOS 25 70

should be this:
Code:

BWLABELPOS 70 25


This is the second time today I've answered this , so next version will have a warning if left is less than right.
Back to top
ashke



Joined: 06 Feb 2008
Posts: 32

PostPosted: Wed Mar 19, 2008 4:51 pm    Post subject: Reply with quote

Howie wrote:
It's the labels that are swapped, not the colours.

This:
Code:

BWLABELPOS 25 70

should be this:
Code:

BWLABELPOS 70 25


This is the second time today I've answered this , so next version will have a warning if left is less than right.


Thanks, that worked.
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