[smokeping-users] Smokeping::probes::LDAP failed: Can't locate Net/LDAP.pm

Cedric Terrier cedric.terrier at chu-bordeaux.fr
Thu Oct 20 10:18:49 MEST 2005


All, 

I try to measure my ldap Latency, but i can't implement the LDAP Probe.

Here, the error log, when I start smokeping :
########################### error Log ###############
[root at testy root]# /etc/init.d/smokepingd start
Starting SMOKEPING: require Smokeping::probes::LDAP failed: Can't locate
Net/LDAP.pm in @INC (@INC contains: .. /usr/lib/smokeping
/usr/local/rrdtool/lib/perl/5.8.3/i386-linux-thread-multi
/usr/local/rrdtool/lib/perl/5.8.3 /usr/local/rrdtool/lib/perl
/usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl .) at /usr/lib/smokeping/Smokeping/probes/LDAP.pm
line 19, <File> line 80.
BEGIN failed--compilation aborted at
/usr/lib/smokeping/Smokeping/probes/LDAP.pm line 19, <File> line 80.
Compilation failed in require at (eval 12) line 3, <File> line 80.
                                                           [ÃCHOUÃ]
########################### End error Log ###############

Apparently i have a bad reference for the LDAP.pm Probe. 

For information, I use perl version 5-8-7.

See Here, My Probe directory :
############################ Probe Directory ############
[root at testy root]# ls /usr/lib/smokeping/Smokeping/probes/
AnotherDNS.pm  basevars.pm               Curl.pm             EchoPingHttp.pm
EchoPingSmtp.pm  LDAP.pm             skel.pm
AnotherSSH.pm  CiscoRTTMonDNS.pm         DNS.pm
EchoPingHttps.pm  FPing6.pm        passwordchecker.pm  SSH.pm
basefork.pm    CiscoRTTMonEchoICMP.pm    EchoPingChargen.pm  EchoPingIcp.pm
FPing.pm         Radius.pm           TelnetIOSPing.pm
base.pm        CiscoRTTMonTcpConnect.pm  EchoPingDiscard.pm  EchoPing.pm
IOSPing.pm       RemoteFPing.pm
############################ End Probe Directory ############


And My configuration File
########################### Smokeping/Config ################
*** Probes ***
+LDAP
#passwordfile = /usr/share/smokeping/etc/password # optional
forks = 5
offset = 50%
step = 30
....
*** Targets ***
+ LDAP
probe = LDAP
host = ldap1.chu-bordeaux.fr
port = 389
start_tls = 1
timeout = 10
version = 3
mininterval = 1
pings = 5
base = dc=chu-bordeaux,dc=fr
filter = uid=# mandatory
attrs = uid,someotherattr
binddn = uid=,dc=chu-bordeaux,dc=fr#vide
password =
### I use Blank user/password ###
########################### End Smokeping/Config ################

Thanks

Cedric

-- Binary/unsupported file stripped by Ecartis --
-- Err : No filename to use for decode, file stripped.
-- Type: text/plain


--
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://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the smokeping-users mailing list