[smokeping-users] Radius Probe

Masaaki Nakamura naka-m at kiwi.ne.jp
Wed Jun 23 12:40:19 MEST 2004


Hi, all.

I am trying to use Radius Probe on smokeping,
but it always looks 100% packet loss on the web graph.

I use  perl5.6.0, smokeping-1.30, RadiusPerl-0.11, Data-HexDump-0.02,
and my configuration files are below.

* /usr/local/smokeping/etc/config
-----
*** Probes ***

+ Radius

passwordfile = /usr/local/smokeping/etc/passwd
secretfile = /usr/local/smokeping/etc/secret

*** Targets ***

+ Radius
menu  = Radius
title = Radius
host  = 1.2.3.4
probe = Radius
++ PROBE_CONF
username = testuser
port = 1645
-----

* /usr/local/smokeping/etc/passwd
-----
1.2.3.4:testuser:password
-----

* /usr/local/smokeping/etc/secret
-----
1.2.3.4 RadiusSecret
-----

"testuser" exists, and password, RadiusSecret, port number are correct.
"make test" on "RadiusPerl-0.11" looks work correct.

-----
# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 test.pl1..4
ok 1
Make sure this machine is in your Radius clients file!
Enter hostname[:port] of your Radius server: 1.2.3.4:1645
Enter shared-secret of your Radius server: RadiusSecret
Enter a username to be validated: testuser
Enter this user's password: password
ok 2
ok 3
ok 4
-----

but, I startup smokeping as daemon, Radius probe does not work correct.
(FPing and EchoPingHttp work correct.)

smokeping syslog below.
-----
Jun 23 18:07:14 hostname smokeping[5597]: Launched successfully
Jun 23 18:07:14 hostname smokeping[5597]: FPing: probing 24 targets
Jun 23 18:07:14 hostname smokeping[5597]: EchoPingHttp: probing 12 targets
Jun 23 18:07:14 hostname smokeping[5597]: Radius: probing 1 targets
Jun 23 18:09:19 hostname smokeping[5626]: Use of uninitialized value in string eq
 at /usr/lib/perl5/site_perl/5.6.0/Authen/Radius.pm line 232.
Jun 23 18:09:19 watch01 last message repeated 9 times
Jun 23 18:09:19 hostname smokeping[5626]: Use of uninitialized value in length at
 /usr/lib/perl5/site_perl/5.6.0/Authen/Radius.pm line 102.
Jun 23 18:09:19 hostname smokeping[5626]: Use of uninitialized value in concatena
tion (.) at /usr/lib/perl5/site_perl/5.6.0/Authen/Radius.pm line 112.
-----

and radius server log below.
-----
Wed Jun 23 18:08:46 2004: Authenticate: No user name: hostname.1056, id=214
-----

Please forgive my poor English,
and thanks in advance for your help.

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