[smokeping-users] Re: Question about libraries and fping...

Paul C. Williamson pwilliamson at mandtbank.com
Fri Dec 21 19:50:21 MET 2001

Ok, so now when I try to run smokeping, I get this...

Can't locate Digest/MD5.pm in @INC.  MD5.pm is not in my Perl 5.6.1 
build.  MD5.pm is in my old Perl install directory (5.005).  I didn't want to just copy, because I figured that would screw something else up...

The platform is Linux 7.2...


>>> Hal Burgiss <hal at foobox.net> 12/21/01 11:46AM >>>

On Fri, Dec 21, 2001 at 10:59:28AM -0500, Paul C. Williamson wrote:
> As for the libraries, there are two "use qw(blah" statements 
> in the bin/smokeping file, and there isn't really a good 
> explanation of why there are two.  I figured one for perl, and 
> the other one for either smokeping or rrdtool...

I have:

 use lib qw(/usr/lib/perl5/5.6.0/i386-linux/);

  which is the dir where RRDs.pm is located. And then:

 use lib qw(/usr/lib/smokeping);

which includes the smokeping stuff:

$ ll /usr/lib/smokeping
total 132
-r--r--r--    1 root     root     22209 Dec  3 20:50 BER.pm
drwxr-xr-x    2 root     root      4096 Dec 18 00:33 ISG
drwxr-xr-x    2 root     root      4096 Dec 18 00:33 probes
-rw-r--r--    1 root     root     34513 Dec  3 20:50 Smokeping.pm
-r--r--r--    1 root     root     27607 Dec  3 20:50 SNMP_Session.pm
-r--r--r--    1 root     root     33806 Dec  3 20:50 SNMP_util.pm

I choose these arbitarily to more or less match where Redhat tends to
dump this kind of stuff.

What platform? If Linux, I have a Redhat 7.x rpm that seems to do all
this. Not well tested as to dependencies, etc, but works here.
Includes an RH style init script too.

Hal Burgiss

Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the smokeping-users mailing list