Cool weathermap idea

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
tman
Cacti User
Posts: 97
Joined: Thu Oct 14, 2004 4:14 pm

Cool weathermap idea

Post by tman »

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.
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

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.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Cool weathermap idea

Post by Howie »

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.
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!)
_JPL_
Cacti User
Posts: 67
Joined: Mon Nov 29, 2004 11:34 am

Re: Cool weathermap idea

Post by _JPL_ »

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?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Cool weathermap idea

Post by Howie »

_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: Select all

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...
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!)
_JPL_
Cacti User
Posts: 67
Joined: Mon Nov 29, 2004 11:34 am

Post by _JPL_ »

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.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

_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
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!)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

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
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!)
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

The videos look terrific :o
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest