[INFO] Show off your Weathermaps.

Support questions about the Network Weather Map plugin

Moderators: Moderators, Developers

Post Reply
Author
Message
tierpel
Posts: 9
Joined: Sun Feb 19, 2006 3:47 pm
Location: FR -- Sophia-antipolis - Valence

#16 Post by tierpel » Fri Feb 29, 2008 5:38 am

:D
Attachments
weathermap_2.png
map
weathermap_2.png (72.49 KiB) Viewed 28592 times

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

#17 Post by Howie » Fri Feb 29, 2008 6:29 am

:-D

0.95 has a new feature to make it possible to "anonymise" maps automatically. Out in a few days. Changes all IPs to 127.0.0.1, any string of letters longer than 2 characters to 'x' (so MB and of and short things stay).

Code: Select all

SET screenshot_mode 1
Attachments
weathermap-cacti-plugin.php.png
Auto-anonymised. And another of my maps, I guess.
weathermap-cacti-plugin.php.png (45.66 KiB) Viewed 28585 times
Weathermap 0.98 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!)

KyRoo
Cacti User
Posts: 51
Joined: Fri Oct 19, 2007 10:19 am

#18 Post by KyRoo » Wed Mar 05, 2008 11:38 am

:P
Attachments
weathermp_KyRoo.jpg
:P
weathermp_KyRoo.jpg (167.44 KiB) Viewed 28493 times

User avatar
wwwdrich
Cacti User
Posts: 91
Joined: Thu Feb 03, 2005 5:53 pm
Location: San Jose, CA
Contact:

#19 Post by wwwdrich » Thu Mar 27, 2008 4:01 pm

Here are a couple of my new maps created with 0.9.5b and the new screenshot_mode. Sorry about the white background, I had to pull the normal background image as it has the company logo, and I have to keep the company name anonymous.

The first is a view of the WAN connections (not quite complete yet), the network from the core routers at one site to the second a server farm switches (the farm is rather quiet at the moment).
Attachments
weathermap-core.png
WAN connections
weathermap-core.png (65.51 KiB) Viewed 28231 times
weathermap-farm.png
Server farm network
weathermap-farm.png (63.22 KiB) Viewed 28231 times
- Dan
[i] "Step up to red alert!" "Are you sure, sir?[/i]
[i] It means changing the bulb in the sign..." - Red Dwarf[/i]

User avatar
wwwdrich
Cacti User
Posts: 91
Joined: Thu Feb 03, 2005 5:53 pm
Location: San Jose, CA
Contact:

#20 Post by wwwdrich » Tue Apr 01, 2008 11:29 am

Attached is another of my weathermaps, this one of my home network. It's rather boring at the moment, I was hoping to catch one with TimeMachine on my laptop running a backup across the WiFi to the server, but it's just too quick.

I did spend quite a bit of time on this one tweaking the positions of things, especially the link comment positions.

You know, that "too quick" comment above made me think of something that might be fun -- I'm going to see if I can whip something together to archive the weathermaps after they are generated and create a 24 hour movie of them. If nothing else, the archive would be useful for tracking network spikes....
Attachments
weathermap-home.png
weathermap-home.png (120.95 KiB) Viewed 28152 times
- Dan
[i] "Step up to red alert!" "Are you sure, sir?[/i]
[i] It means changing the bulb in the sign..." - Red Dwarf[/i]

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

#21 Post by Howie » Tue Apr 01, 2008 11:59 am

wwwdrich wrote:Attached is another of my weathermaps, this one of my home network. It's rather boring at the moment, I was hoping to catch one with TimeMachine on my laptop running a backup across the WiFi to the server, but it's just too quick.

I did spend quite a bit of time on this one tweaking the positions of things, especially the link comment positions.

You know, that "too quick" comment above made me think of something that might be fun -- I'm going to see if I can whip something together to archive the weathermaps after they are generated and create a 24 hour movie of them. If nothing else, the archive would be useful for tracking network spikes....
Try this, as a starting point

Actually, time machine is something I've been thinking about stealing the UI from for a weathermap feature :-) Maybe without the stars... but that's for another thread.
Weathermap 0.98 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
wwwdrich
Cacti User
Posts: 91
Joined: Thu Feb 03, 2005 5:53 pm
Location: San Jose, CA
Contact:

#22 Post by wwwdrich » Tue Apr 01, 2008 12:33 pm

Ok, so the script I wrote looks an awful lot like yours... gmta, I guess? :) I'm using perl instead of shell and mine will walk all of the plugin-generated maps in output/, but other than that they are about the same.

Code: Select all

#!/usr/local/bin/perl

# Archive weathermaps, building a movie of the last 24 hours worth
#

use strict;
use POSIX qw(strftime);
use File::Find;

# Location of the maps
my $MapDir = "/usr/local/share/cacti/plugins/weathermap/output";

# for the convenience of &wanted calls, including -eval statements:
use vars qw/*name *dir *prune/;
*name   = *File::Find::name;
*dir    = *File::Find::dir;
*prune  = *File::Find::prune;

sub wanted;

chdir($MapDir);

# Loop through maps, copying to archive/map-date.png
my $datestamp = strftime("%Y-%m-%d-%H%M%S",localtime);
foreach my $map (glob("*.png")) {
  # Assume we are running as a cacti plugin
  next unless ($map =~ /^([a-f0-9]{20}).png$/);
  my $mapbase = $1;
  my $amap = "$mapbase-$datestamp.png";
  `cp $map archive/$amap`;
  `convert -quiet -delay 30 archive/$mapbase\*.png archive/$mapbase.mpg > /dev/null`
}

# Clean up anything older that 48 hours
File::Find::find({wanted => \&wanted}, 'archive');

sub wanted {
    my ($dev,$ino,$mode,$nlink,$uid,$gid);

    /^.*\.png\z/s &&
    (($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_)) &&
    (int(-M _) > 2) &&
    unlink($name);
}
I just dropped that into cacti_path/plugins/weathermap/output, and added a call to it to the cron that runs poller. That way it runs every polling cycle after the maps have been created.

Code: Select all

*/5 * * * * cacti /usr/local/bin/php /usr/local/share/cacti/poller.php > /dev/null 2>&1 && /usr/local/share/cacti/plugins/weathermap/output/archivemaps.pl > /dev/null 2>&1

- Dan
[i] "Step up to red alert!" "Are you sure, sir?[/i]
[i] It means changing the bulb in the sign..." - Red Dwarf[/i]

totosh
Posts: 20
Joined: Mon Mar 10, 2008 5:49 am

#23 Post by totosh » Wed Apr 09, 2008 9:43 am

first Map , still got a lot to do on it, latency counters with node color changes and work on Labelpos/labeloffset.
Attachments
wheathermap.jpg
wheathermap.jpg (354.13 KiB) Viewed 27949 times

wysun
Posts: 8
Joined: Mon Apr 07, 2008 10:44 pm

#24 Post by wysun » Mon Apr 14, 2008 4:33 am

Hi, all, where can I download the configure file what you uploaded.
Thanks.

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

#25 Post by Howie » Mon Apr 14, 2008 4:44 am

wysun wrote:Hi, all, where can I download the configure file what you uploaded.
Thanks.
Most people's config files contain too much customer information to be posted...
Weathermap 0.98 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!)

StarLog
Cacti User
Posts: 150
Joined: Sat Jun 02, 2007 3:57 pm

#26 Post by StarLog » Mon Apr 14, 2008 2:33 pm

Image
Cacti v0.8.8a
Weathermap 9.7a
--------------------

rujipars
Posts: 39
Joined: Fri Nov 02, 2007 11:25 am

#27 Post by rujipars » Thu May 08, 2008 8:46 am

My network at work.

Since our NOC staff is monitoring 5-6 screens including the DWDM, ATM, SDH, DSLAMS, priority customers.

So I try to keep all necessary monitoring in one screen including traffic, temperature, CPU.

Each information use different SCALE to present it's conditions.

red = too little traffic (indicate that link or protocol fail), too high temperature, too high CPU
yellow to green = normal range
blue = 90-100% bandwidth utilization (transoceanic link with QoS policy applied), quite normal for my case

I use this with a small frame of Monitor plugin and another small frame to browse necessary graphs quickly.
Attachments
weathermap_7.png
weathermap_7.png (22.13 KiB) Viewed 27365 times

User avatar
cyrill
Cacti User
Posts: 271
Joined: Fri Jan 25, 2008 8:43 am
Location: California - USA

#28 Post by cyrill » Mon Jun 02, 2008 8:03 am

Hello ! how can I display multiples informations near à node ???

For example, I've a node called "serv1" and I want to display a lot of informations about it.

thanks
Cacti 0.8.7b

-> Architecture plugin
-> Thold plugin
-> Monitor plugin
-> Weathermap plugin

totosh
Posts: 20
Joined: Mon Mar 10, 2008 5:49 am

#29 Post by totosh » Mon Jun 02, 2008 10:50 am


koolaidrocks
Posts: 16
Joined: Mon Sep 24, 2007 4:01 pm
Contact:

#30 Post by koolaidrocks » Thu Jul 03, 2008 11:24 am

totosh wrote:first Map , still got a lot to do on it, latency counters with node color changes and work on Labelpos/labeloffset.
You must tell me where you got those icons!

Post Reply