[smokeping-users] Re: Question about libraries and fping...
Hal Burgiss
hal at foobox.net
Fri Dec 21 17:46:04 MET 2001
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