i had already tried with the direct TARGET to a rrd but it doesn't work
do i have to modify howie's weatherscript like following to get it work?
Code: Select all
use lib qw(/usr/local/rrdtool-1.0.49/lib/perl);
Moderators: Developers, Moderators
Code: Select all
use lib qw(/usr/local/rrdtool-1.0.49/lib/perl);
Code: Select all
use lib qw(/usr/local/lib/perl5/site_perl/5.6.1/mach);
Code: Select all
REVERSEDIRECTION 1
Code: Select all
grep -v OVERLIBGRAPH weathermap.conf | grep -v INFOURL > weathermap-clean.conf
Google Imagesyliad wrote:stupid question, i know, but where do i find the best maps (world or country) for creating network weathermaps
If you specify a BACKGROUND image in the weathermap.conf, and it doesn't exist, or isn't a valid PNG file, I think you get this message.netana wrote: Can't use an undefined value as a symbol reference at C:/Perl/site/lib/GD.pm line 175, <CONF> line 97.
I found this one too, when I was looking around for something The black 'down' arrow is in 'our' weathermap too - although it's grey. If the throughput is EXACTLY zero (which is only true in practice on a dead link), then it goes grey. As for errors, it wouldn't be too hard, but cacti doesn't measure the error rate without you adding a second data source, at least (there are several error counters). I guess it'd be something like an ERRORTARGET or similar.mgb wrote:The extra's this version has is that you're able to see the amount of errors per link and also a black arrow when the link is down. I couldn't find the software though. The site housing the script does not exist anymore.
Yes, I have a mostly-working PHP version. My intention is to try and make a web-based editor for the maps using imagemaps and the PHP version. I have the next week off, so maybe now is the time to try and make it It'd be great to have it appear like THold does inside cacti, especially if individual maps could be presented in the Graph Tree too.mgb wrote: Great work your scripts. Are you making a PHP version. It would be great if we could add this to cacti itself with a decent user interface.
I've also added the icon part as extra to your source. Could you make that permanent to your code? The ICON part still has some flaws.
Michael
Code: Select all
print "<br><br>";
Code: Select all
if (!isset($_GET["leaf_id"])) {
print "<IMG SRC=\"weathermap/weathermap.png\" WIDTH=800 HEIGHT=363 BORDER=0>"; }
Did you get source for the Indiana one? or do you mean the output is similar? For what it's worth, I have a PHP port of grnet's (wit some of my additions) which I guess would be 'clean' if it's the code you mean. I didn't bother going through the hoops to get the IU source code, so I don't know about that. When I started looking around for weathermap code originally, I got the impression that the licensing of the IU code is the reason why there are so many different similar ones - no-one wanted to work on the non-GPL version - that's purely my impression, not a fact though!pmos wrote:http://netmon.grnet.gr/weathermap/ says the code is GPLd.
[...]
Does anyone have any info about this?
(Or did I miss something...)
Users browsing this forum: No registered users and 0 guests