[smokeping-users] Minimum rrdtool for Smokeping 2.2.2?
Sorrell, Al
Al_Sorrell at troweprice.com
Fri Sep 7 19:32:19 CEST 2007
Ugh! Just got finished installing rrdtool 1.2.23 on my Solaris box. And
reinstalling! And re-installing!
I kept having the same problem with SmokePing - getting the VDEF error
indicating that I was still on 1.0.x. Finally went in to my Perl
directory and found that there were RRDxxx under my (older) Perl
directory which apparently were getting used:
root at netopsdr [/usr/local]
# find . -name RRD*
<snip>
./lib/perl5/site_perl/5.8.5/sun4-solaris/auto/RRDp
./lib/perl5/site_perl/5.8.5/sun4-solaris/auto/RRDs
./lib/perl5/site_perl/5.8.5/sun4-solaris/auto/RRDs/RRDs.so
./lib/perl5/site_perl/5.8.5/sun4-solaris/auto/RRDs/RRDs.bs
./lib/perl5/site_perl/5.8.5/sun4-solaris/RRDs.pm
./lib/perl5/site_perl/5.8.5/RRDp.pm
<snip>
So I renamed those and then got a major clue to my problem - the .cgi
was unable to find RRDp.pm ...
At that point, following the template in smokeping.cgi.dist, I had
changed:
use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);
use lib qw(/home/oetiker/data/projects/AADJ-smokeping/dist/lib);
to:
use lib qw(/export/appl/rrdtool-1.2.23/lib/perl);
use lib qw(/export/appl/smokeping-2.2.3/lib);
However, when I looked back at the rrdtool install log, it had actually
placed the stuff one level deeper:
root at netopsdr [/export/appl/rrdtool-1.2.23/lib/perl/5.8.7]
# ls
./ ../ RRDp.pm sun4-solaris/
Changing the one line corrected the problem:
use lib qw(/export/appl/rrdtool-1.2.23/lib/perl/5.8.7)
Not sure if this is a difference from 1.0.x to 1.2.x or what, but I
spent a lot of time tracking this down...
Once I had that, everything seemed OK.
Thanks,
Al
> -----Original Message-----
> From: Tobias Oetiker [mailto:tobi at oetiker.ch]
> Sent: Wednesday, September 05, 2007 6:49 PM
> To: Sorrell, Al
> Subject: Re: [smokeping-users] Minimum rrdtool for Smokeping 2.2.2?
>
> Al,
>
> yep 1.2 is required ... will add to the docs ... thanks
> tobi
The contents of this e-mail and any attachments are intended solely for the use of the named addressee(s) and may contain confidential and/or privileged information. Any unauthorized use, copying, disclosure, or distribution of the contents of this e-mail is strictly prohibited by the sender and may be unlawful. If you are not the intended recipient, please notify the sender immediately and delete this e-mail.
More information about the smokeping-users
mailing list