[smokeping-users] Re: Smokeping IOSPing

Niko Tyni ntyni+smokeping-users at mappi.helsinki.fi
Fri May 12 20:04:14 MEST 2006


On Thu, May 04, 2006 at 09:10:10AM +0200, Andreas Schneider wrote:
> Hi Niko,
> 
> i resign with IOSPing! I (again) tried TelnetIOSPing, but it won't work either.
> Here is the debug output, and the the logfile entries.
> I have no idea what's going wrong...

[...]

> pattern match timed-out at /usr/share/perl5/smokeping/Smokeping/probes/TelnetIOSPing.pm line 169

This means that the code on line 169 in TelnetIOSPing.pm didn't get the
reply it was expecting from the router. Looking at the code, the
conversation isn't very far yet. It's sending the command "ping"
and expecting a dialog with "Protocol [ip]: "

     $telnet->print("ping");
     $telnet->waitfor('/Protocol \[ip\]: $/');

Try to do the same interactively by telnetting into the router
and see if you can spot the problem.

As mentioned in its documentation, the TelnetIOSPing.pm contains some
code for debugging the conversation.  I have never used it, but it looks
like just uncommenting the last three lines here:

     my $telnet = Net::Telnet->new();
#               These are for debugging
#               $telnet->errmode("TIPreturn");
#               $telnet->input_log("TIPinlog");
#               $telnet->dump_log("TIPdumplog");

and running 'smokeping -debug' again should give you those files in the 
current directory. Try to see if you can find anything in them.

Hope this helps,
-- 
Niko

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