weathermap evolution

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
User avatar
timi
Cacti User
Posts: 240
Joined: Wed Nov 09, 2005 8:35 am
Location: Timisoara, Romania
Contact:

weathermap evolution

Post by timi »

hi, is there a way to see the weathermap evolution in time backwards? not only the traffic graphs ...
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: weathermap evolution

Post by Howie »

timi wrote:hi, is there a way to see the weathermap evolution in time backwards? not only the traffic graphs ...
Not from the web interface, but you can do some other things...

http://forums.cacti.net/viewtopic.php?t=14369
and
http://forums.cacti.net/viewtopic.php?p=63684#63684
both have some info.

These are talking about saving copies of the weathermap image to make animations.

To do it by reading old RRD data, you need to make some code changes [you need to change the rrdtool command to say "-s now-86800 -e now-86000" to get 1 day ago, for example ].

This will be a little easier in 0.9, because you can add new data source plugins to get data from other sources. Of course, your RRAs must store data for a longer time to do this, too, or you will get averaged data.
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 »

I second this.

If it would be possible to select start and end time/date, and let Weathermap draw the maps (something like 5 minutes = 5 seconds), it would be awesome :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]
User avatar
timi
Cacti User
Posts: 240
Joined: Wed Nov 09, 2005 8:35 am
Location: Timisoara, Romania
Contact:

Post by timi »

0.9 must pe owesome, when do you think it will be released ? :D
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

fmangeant wrote:I second this.

If it would be possible to select start and end time/date, and let Weathermap draw the maps (something like 5 minutes = 5 seconds), it would be awesome :o
But how long do you keep 5 minute data for? The default is roughly 1 day... I'm about to extend my own Cacti install to keep in for 6-8 weeks, so we can do useful 95th-percentile calculations, but I don't think it's that common.

After that time, the data starts to be 'blurry' and not really very useful to look at closely.

By saving the images for some period of time, you can get accurate data for as long as you are prepared to keep images. I have tried this with 1 week of 5-minute maps, and it takes 135M to store the frames. You can then use ffmpeg, ImageMagick or whatever to turn your PNGs into an AVI, MPEG, MPEG2... The results are not very exciting, from my tests, even though it sounds like it would be 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!)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

timi wrote:0.9 must pe owesome, when do you think it will be released ? :D
When I get a big chunk of spare time and nothing to do with it that pays money or is more fun :-)

There are a lot of changes, and a lot of loose ends right now. Slowly, they are being tied up. Then there are a lot of manual updates to write.
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
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

Howie wrote:
timi wrote:0.9 must pe owesome, when do you think it will be released ? :D
When I get a big chunk of spare time and nothing to do with it that pays money or is more fun :-)

There are a lot of changes, and a lot of loose ends right now. Slowly, they are being tied up. Then there are a lot of manual updates to write.
I've just given Tony Blair a call, he's going to close all the pubs this saturday so you have time to work on it.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

streaker69 wrote:I've just given Tony Blair a call, he's going to close all the pubs this saturday so you have time to work on it.
See, now I have to spend the rest of the week barricading my house for the impending riot... ;-)
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!)
flipflap
Cacti User
Posts: 142
Joined: Sat Jul 09, 2005 3:13 pm

Post by flipflap »

hi, is there a way for weathermap to save an image of the map everytime it generates a new one with the filename of the map the date and the map name? thanks.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

flipflap wrote:hi, is there a way for weathermap to save an image of the map everytime it generates a new one with the filename of the map the date and the map name? thanks.
I was about to point you to a thread about this, but the link to that thread is ALREADY in this thread (at the top)!

short answer: weathermap won't, but if you use unix, it's trivial to get cron to do it for you.
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!)
flipflap
Cacti User
Posts: 142
Joined: Sat Jul 09, 2005 3:13 pm

Post by flipflap »

thanks mate
User avatar
timi
Cacti User
Posts: 240
Joined: Wed Nov 09, 2005 8:35 am
Location: Timisoara, Romania
Contact:

Post by timi »

is it a way to make weathermap to save images in gif format ? I want to try to make some tests :) but now i have to convert png to gif, or is it a way to make animated png ?:)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

timi wrote:is it a way to make weathermap to save images in gif format ? I want to try to make some tests :) but now i have to convert png to gif, or is it a way to make animated png ?:)
ImageMagick will take pngs and make animated files in several formats - Animated GIFs, MPEGs... it's as simple as:

Code: Select all

convert *.png output.mpg
or

Code: Select all

convert   -delay 20   -loop 0   *.png  output.gif
should do it... the second one I got from this page

0.9 does let you choose to output in JPEG, PNG or GIF, though. I have found that JPEG is pretty good for weathermaps, even though it is lossy.
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 1 guest