network map
Moderators: Developers, Moderators
Hi everybody,
I'm actually in Martinique (French Carribean Island) for my work, so I can't really post often in this forum.
I have worked a little on the module, now the colors of the arrows are ok (see the attachement).
I'm coming back to France next week, so I will work very hard to release the first beta next week.
Some people send me PMs, they will be informed first when the beta will be released.
Thanks a lot for,
François.
I'm actually in Martinique (French Carribean Island) for my work, so I can't really post often in this forum.
I have worked a little on the module, now the colors of the arrows are ok (see the attachement).
I'm coming back to France next week, so I will work very hard to release the first beta next week.
Some people send me PMs, they will be informed first when the beta will be released.
Thanks a lot for,
François.
- Attachments
-
- New screenshot
- test_map_2.png (74.78 KiB) Viewed 21520 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Strasbourg is a very nice place. Hope to visit there again on work some day.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
I can help test
Are you still looking for testing? I would be interested in testing. My network is much larger. Over 300 devices.
Mike
Mike
Question
Does someone know with which netwaok management application the following output was generated: http://support.free.fr/reseau/carte_reseau.html ?? It looks very interesting for me.
with best Regards
Psy
with best Regards
Psy
Cacti2weathermap script
Hi all,
just finished a small script to create weatermap html complient files from .rrd files used by cacti. The idea was to have a script that doesn't need to patch cacti nor weathermap.
I'm not a PERL guru so programming may seems dirty, but it does the work.
cacti2weathermap.pl, just extract cuin an cuout from the rrd files and put these two line in an html as weatermap needs only these informations to work.
Change the directory informations to match your paths, run cacti2weathermap.pl.
it should create html files same name than the cacti .rrd files with wea_ prefix.
Tell weathermap to use these html file, and here you go
The script:
DAvid Ramahefason
just finished a small script to create weatermap html complient files from .rrd files used by cacti. The idea was to have a script that doesn't need to patch cacti nor weathermap.
I'm not a PERL guru so programming may seems dirty, but it does the work.
cacti2weathermap.pl, just extract cuin an cuout from the rrd files and put these two line in an html as weatermap needs only these informations to work.
Change the directory informations to match your paths, run cacti2weathermap.pl.
it should create html files same name than the cacti .rrd files with wea_ prefix.
Code: Select all
############## wea_my_router.html
<html>
<body>
my_router.rrd
<!-- cuin d 148810 -->
<!-- cuout d 106436 -->
</body>
</html>
##############
Tell weathermap to use these html file, and here you go
The script:
Code: Select all
############# cacti2weatermap.pl ###########
#!/usr/bin/perl
use RRDs;
#Path to rrd files
$my_dir = "/var/www/cacti/rra/";
#Path to store weathermap compatible files
$my_htmldir = "/var/www/cacti/graphs/";
opendir RRDDIR, $my_dir or die "Impossible to open file: $!";
@rrd_files = grep /rrd/, readdir RRDDIR;
foreach my $router (@rrd_files){
#Get the last cuin/cuout values
my ($start,$step,$names,$data) = RRDs::fetch $my_dir.$router,"AVERAGE","--start","now";
foreach my $line (@$data) {
if(@$line[0] != null) {
(my $name, my $ext) = split /rrd/,$router;
$weatherfile = $my_htmldir."weatherm/wea_".$name."html";
#Open special html weathermap file
open OUT,">$weatherfile" or die "bad luck: $!";
print OUT "<html>\n<body>\n$router\n";
$nice = sprintf "<!-- cuin d %d -->\n<!-- cuout d %d -->\n", @$line[0], @$line[1];
print OUT $nice;
print OUT "</body>\n</html>";
close OUT;
}
}
}
#################################
http://www.netfacile.net/
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
I've been playing with weathermap and rama's script for the last couple of days, and I have a modified version of weathermap that automatically generates the imagemap and DHTML stuff necessary to make a map like the GRNET demo on weathermap's page (http://netmon.grnet.gr/weathermap).
Now I just need to work out a nice way to figure out the graph links automatically, and the whole thing will be pretty painless.
Now I just need to work out a nice way to figure out the graph links automatically, and the whole thing will be pretty painless.
Who is online
Users browsing this forum: No registered users and 0 guests