[smokeping-users] error in connfig-file

Andreas Schneider Andreas.Schneider at Vishay.com
Tue Apr 25 15:09:17 MEST 2006


Hello,

i'm having trouble to get the Probe 'TelnetIOSPing' running

i put:

117:+ TelnetIOSPing
118:
119: forks = 5
120: offset = 50%
121: packetsize = 56
122: step = 300
123: timeout = 15
124: iospass = pingsmoke
125: iosuser = smokeping
126: pings = 5
127: #psource = 172.43.6.18
128: source = 172.43.6.11

in the config file in section PROBES.

Now when in start the cgi-script i get:

Software error:
ERROR: /etc/smokeping/config, line 121: unknown variable 'packetsize'

where line 121 is packetsize = 56 (see above).
The first error was that a perl module was missing:

Reloading smokeping configuration...require Smokeping::probes::TelnetIOSPing failed: Can't locate
Net/Telnet.pm in @INC (@INC contains: .. /usr/share/perl5 /usr/share/perl5/smokeping /etc/perl
/usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/lib/perl/5.8
/usr/share/perl/5.8 /usr/local/lib/site_perl .) at
/usr/share/perl5/smokeping/Smokeping/probes/TelnetIOSPing.pm line 20, <File> line 117.
BEGIN failed--compilation aborted at /usr/share/perl5/smokeping/Smokeping/probes/TelnetIOSPing.pm
line 20, <File> line 117.
Compilation failed in require at (eval 19) line 3, <File> line 117.

i installed it via CPAN (Net::Telnet)

now this error was gone but the cgi-script will not run.
When i delete the variable 'packetsize' then the next line produces an error.

Could someone help me? (Running Debian 3.1)

Regards,
Andreas

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