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    


[INFO] Show off your Weathermaps.
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
tierpel



Joined: 19 Feb 2006
Posts: 7
Location: FR -- Sophia-antipolis - Valence

PostPosted: Fri Feb 29, 2008 5:38 am    Post subject: Reply with quote




weathermap_2.png
 Description:
map
 Filesize:  72.49 KB
 Viewed:  4721 Time(s)

weathermap_2.png


Back to top
Howie
Cacti Guru User


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

PostPosted: Fri Feb 29, 2008 6:29 am    Post subject: Reply with quote



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:

SET screenshot_mode 1



weathermap-cacti-plugin.php.png
 Description:
Auto-anonymised. And another of my maps, I guess.
 Filesize:  45.66 KB
 Viewed:  4716 Time(s)

weathermap-cacti-plugin.php.png


Back to top
KyRoo



Joined: 19 Oct 2007
Posts: 46

PostPosted: Wed Mar 05, 2008 11:38 am    Post subject: Reply with quote




weathermp_KyRoo.jpg
 Description:
:P
 Filesize:  167.44 KB
 Viewed:  4624 Time(s)

weathermp_KyRoo.jpg


Back to top
wwwdrich
Cacti User


Joined: 03 Feb 2005
Posts: 59
Location: San Jose, CA

PostPosted: Thu Mar 27, 2008 4:01 pm    Post subject: Reply with quote

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).



weathermap-farm.png
 Description:
Server farm network
 Filesize:  63.22 KB
 Viewed:  4366 Time(s)

weathermap-farm.png



weathermap-core.png
 Description:
WAN connections
 Filesize:  65.51 KB
 Viewed:  4366 Time(s)

weathermap-core.png


Back to top
wwwdrich
Cacti User


Joined: 03 Feb 2005
Posts: 59
Location: San Jose, CA

PostPosted: Tue Apr 01, 2008 11:29 am    Post subject: Reply with quote

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....



weathermap-home.png
 Description:
 Filesize:  120.95 KB
 Viewed:  4287 Time(s)

weathermap-home.png


Back to top
Howie
Cacti Guru User


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

PostPosted: Tue Apr 01, 2008 11:59 am    Post subject: Reply with quote

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.
Back to top
wwwdrich
Cacti User


Joined: 03 Feb 2005
Posts: 59
Location: San Jose, CA

PostPosted: Tue Apr 01, 2008 12:33 pm    Post subject: Reply with quote

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:

#!/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:

*/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

Back to top
totosh



Joined: 10 Mar 2008
Posts: 11

PostPosted: Wed Apr 09, 2008 9:43 am    Post subject: Reply with quote

first Map , still got a lot to do on it, latency counters with node color changes and work on Labelpos/labeloffset.


wheathermap.jpg
 Description:
 Filesize:  354.13 KB
 Viewed:  4082 Time(s)

wheathermap.jpg


Back to top
wysun



Joined: 07 Apr 2008
Posts: 8

PostPosted: Mon Apr 14, 2008 4:33 am    Post subject: Reply with quote

Hi, all, where can I download the configure file what you uploaded.
Thanks.
Back to top
Howie
Cacti Guru User


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

PostPosted: Mon Apr 14, 2008 4:44 am    Post subject: Reply with quote

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...
Back to top
StarLog
Cacti User


Joined: 02 Jun 2007
Posts: 128

PostPosted: Mon Apr 14, 2008 2:33 pm    Post subject: Reply with quote

Back to top
rujipars



Joined: 02 Nov 2007
Posts: 15

PostPosted: Thu May 08, 2008 8:46 am    Post subject: Reply with quote

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.



weathermap_7.png
 Description:
 Filesize:  22.13 KB
 Viewed:  3495 Time(s)

weathermap_7.png


Back to top
cyrill
Cacti User


Joined: 25 Jan 2008
Posts: 268
Location: California - USA

PostPosted: Mon Jun 02, 2008 8:03 am    Post subject: Reply with quote

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
Back to top
totosh



Joined: 10 Mar 2008
Posts: 11

PostPosted: Mon Jun 02, 2008 10:50 am    Post subject: Reply with quote

check this thread
http://forums.cacti.net/about26536.html
Back to top
koolaidrocks



Joined: 24 Sep 2007
Posts: 11

PostPosted: Thu Jul 03, 2008 11:24 am    Post subject: Reply with quote

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!
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
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 



Powered by phpBB © 2001, 2005 phpBB Group