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    


Cool weathermap idea

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


Joined: 14 Oct 2004
Posts: 87

PostPosted: Wed Jun 21, 2006 6:53 am    Post subject: Cool weathermap idea Reply with quote

I've had a thought that may (or may not be!) possible for a future version of weathermap.

I would be incredibly useful for netadmins to be able to see traffic flow levels over a period of time. Would it be possible to be able to output a sequential series of images (maybe every time the data is refreshed) and then be able to play them back in sequence. This would create an animation of the traffic over a (user-defined) time period.

I understand there maybe space issues with the amount of image files, but you could roll-off the oldest ones based on how long the admin wants to keep the data for.

Not sure how workable this would be, but it sounds cool.
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Wed Jun 21, 2006 9:41 am    Post subject: Reply with quote

If I understand the idea correctly, I'll second your wish to add this functionality.

The one weathermap I have of our WAN links so clearly illustrates a major issue we have that I would almost like to set my manager in front of it and make him watch it all day. If I could provide him with a slide show of sorts - a "weathermap report" - that would be awesome.
Back to top
Howie
Cacti Guru User


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

PostPosted: Sun Jun 25, 2006 9:03 am    Post subject: Re: Cool weathermap idea Reply with quote

tman wrote:
I've had a thought that may (or may not be!) possible for a future version of weathermap.

I would be incredibly useful for netadmins to be able to see traffic flow levels over a period of time. Would it be possible to be able to output a sequential series of images (maybe every time the data is refreshed) and then be able to play them back in sequence. This would create an animation of the traffic over a (user-defined) time period.

I understand there maybe space issues with the amount of image files, but you could roll-off the oldest ones based on how long the admin wants to keep the data for.

Not sure how workable this would be, but it sounds cool.


You can do this right now, just not from the user-interface. See the section of thread starting here for some info about doing this on a unix system with cron, find and ImageMagick.

I have found that this type of animation is not as exciting or useful as you might think, though. Maybe that's just the nature of the data on my network. I would definitely suggest trying to use gradient SCALE lines if you try this, otherwise all you get is a flickering mess.

That said, the guys who run The Gathering have/had a nice AVI of weathermap for the whole weekend for this year's event, and that was pretty cool.
Back to top
_JPL_
Cacti User


Joined: 29 Nov 2004
Posts: 58

PostPosted: Wed Sep 06, 2006 9:08 am    Post subject: Re: Cool weathermap idea Reply with quote

Howie wrote:
I would definitely suggest trying to use gradient SCALE lines if you try this, otherwise all you get is a flickering mess.


Just what do you mean by gradient SCALE lines? In Imagemagick?
Back to top
Howie
Cacti Guru User


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

PostPosted: Wed Sep 06, 2006 9:37 am    Post subject: Re: Cool weathermap idea Reply with quote

_JPL_ wrote:
Howie wrote:
I would definitely suggest trying to use gradient SCALE lines if you try this, otherwise all you get is a flickering mess.


Just what do you mean by gradient SCALE lines? In Imagemagick?


No, in Weathermap. You can specify SCALE lines with either one or two colours.
Code:
SCALE 0 20  0 0 0  0 0 255


So that between 0 and 20% usage, it smoothly fades from black to blue (in this example). If you make sure that the 20-40 (or whatever) starts with blue too, then as a link changes over time, it's more likely to make a meaningful animation. If you use the default 'banded' colour scheme (with one colour per SCALE line), you just get a lot of flickering arrows as the traffic changes.

Give it a try, and you'll see what I mean. I should do a couple of example maps for the website This question comes up fairly often...
Back to top
_JPL_
Cacti User


Joined: 29 Nov 2004
Posts: 58

PostPosted: Wed Sep 06, 2006 10:02 am    Post subject: Reply with quote

OK, I see. I'm going to do that. Sounds like it looks nicer.
One other quick question in regards to something you said in another thread. What is the --bulge command line option of weathermap? I looked in the CLI documentation but it mentioned nothing like this.
Back to top
Howie
Cacti Guru User


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

PostPosted: Wed Sep 06, 2006 10:22 am    Post subject: Reply with quote

_JPL_ wrote:
OK, I see. I'm going to do that. Sounds like it looks nicer.
One other quick question in regards to something you said in another thread. What is the --bulge command line option of weathermap? I looked in the CLI documentation but it mentioned nothing like this.


It's an (the only?) undocumented feature in weathermap, left over from when I first played with animation. Unfortunately, you can't use it from the cacti plugin, because there's no way to specify it in a config file...

What --bulge does is take the width of the LINK as specified in the config file, then multplies that by the percentage usage. The effect is that a 0% used link is a thin line, and the same link at 100% usage is the full size arrow. When it's animated, you get this quite nice bulging effect as traffic builds up in your network. If you set your link WIDTH lines to be a little bigger than normal, it's more effective.

It's just there as an experimental thing from a 18 months ago, but I think it should still work OK. There are no parameters, it's just --bulge
Back to top
Howie
Cacti Guru User


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

PostPosted: Fri Mar 23, 2007 4:36 am    Post subject: Reply with quote

In case anyone is searching, and wants to try this stuff, I wrote up a fuller article about it on the new Weathermap site, including a couple of examples: http://www.network-weathermap.com/articles/animation
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Fri Mar 23, 2007 4:58 am    Post subject: Reply with quote

The videos look terrific
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