[smokeping-users] Minimum rrdtool for Smokeping 2.2.2?

Tobias Oetiker tobi at oetiker.ch
Fri Sep 7 23:36:50 CEST 2007


Al,

> to:
> use lib qw(/export/appl/rrdtool-1.2.23/lib/perl);
> use lib qw(/export/appl/smokeping-2.2.3/lib);

this is good

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

this is not necessary ... since perl should be looking in the
subdirectory with its version automatically ... even better, it
will look into the architecture specific directory too ... so you
can have rrd modules for multiple architectures and perl versions
install in the same tree, putting just

use lib qw(/export/appl/rrdtool-1.2.23/lib/perl);

into your script and run the same script on different versions of
perl and different cpus ...

cheers
tobi


-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902



More information about the smokeping-users mailing list