<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">
<div class="moz-signature">
<div style="display:inline_block;"><font color="#000000"
face="monospace">I meant to include my Probe definition.<br>
<br>
<br>
+TelnetIOSPing<br>
<br>
forks = 5<br>
offset = 50%<br>
packetsize = 56<br>
step = 300<br>
timeout = 10<br>
iospass = <censored><br>
iosuser = smokeping<br>
pings = 20</font><font face="monospace"><br>
</font></div>
<font face="monospace"><br>
</font>
</div>
<font face="monospace"></font></div>
<blockquote cite="mid:524EC41B.8080607@commspeed.net" type="cite">
<pre wrap="">Hello,
Maybe someone could provide me with some assistance. I have a
host/Target graph that get's created and populates the web page.
However, no results appear on the graph. I am using the TelnetIOSPing
probe. I have a number of other hosts/Targets that are using this
probe. I have kicked out some debug results from
/usr/share/perl5/Smokeping/probes/TelnetIOSPing.pm and the host is
reachable and I see ping results, but they don't make it into the
graph. In addition, no errors related to said host, are showing in the
smokeping.log. Any ideas?
Thank you!
open(OUTF,">>/tmp/TelnetIOSPing.debug") || die "Can't open OUTF: $!";
print OUTF "target => $dest\nsource => $source\nuser => $login\n";
my $ok = $telnet->open(Host => $source,
Port => $port);
print OUTF "\n";
print OUTF "===========================\n";
print OUTF "Connection to $source $ok\n";
print OUTF "\n";
#---- Code that does the log in and executes extended ping
$telnet->prompt('/[\@\w\-\.]+[>#][ ]*$/');
@output = $telnet->cmd("n");
#$telnet->waitfor('/[\@\w\-\.]+[>#][ ]*$/');
$telnet->print("quit");
$telnet->close;
print OUTF "closed Telnet connection\n";
my @times = ();
while (@output) {
my $outputline = shift @output;
chomp($outputline);
print OUTF "$outputline\n";
$outputline =~ /^Reply to request \d+ \((\d+) ms\)/ && push(@times,$1);
print OUTF "$outputline => $1\n";
}
<<< I see data in graph from this Target >>>
+++ pvdc_to_mesa_rtr
menu = Core to eSedo MESA RTR
title = Core Router to eSedo MESA RTR
probe = TelnetIOSPing
host = <censored>
source = <censored>
===========================
Connection to <censored> 1
closed Telnet connection
Type escape sequence to abort.
Type escape sequence to abort. =>
Sending 20, 56-byte ICMP Echos to <censored>, timeout is 2 seconds:
Sending 20, 56-byte ICMP Echos to <censored>, timeout is 2 seconds: =>
Reply to request 0 (1 ms)
Reply to request 0 (1 ms) => 1
Reply to request 1 (4 ms)
Reply to request 1 (4 ms) => 4
Reply to request 2 (1 ms)
Reply to request 2 (1 ms) => 1
Reply to request 3 (1 ms)
Reply to request 3 (1 ms) => 1
Reply to request 4 (1 ms)
Reply to request 4 (1 ms) => 1
Reply to request 5 (1 ms)
Reply to request 5 (1 ms) => 1
Reply to request 6 (1 ms)
Reply to request 6 (1 ms) => 1
Reply to request 7 (1 ms)
Reply to request 7 (1 ms) => 1
Reply to request 8 (4 ms)
Reply to request 8 (4 ms) => 4
Reply to request 9 (1 ms)
Reply to request 9 (1 ms) => 1
Reply to request 10 (1 ms)
Reply to request 10 (1 ms) => 1
Reply to request 11 (1 ms)
Reply to request 11 (1 ms) => 1
Reply to request 12 (1 ms)
Reply to request 12 (1 ms) => 1
Reply to request 13 (1 ms)
Reply to request 13 (1 ms) => 1
Reply to request 14 (1 ms)
Reply to request 14 (1 ms) => 1
Reply to request 15 (1 ms)
Reply to request 15 (1 ms) => 1
Reply to request 16 (1 ms)
Reply to request 16 (1 ms) => 1
Reply to request 17 (1 ms)
Reply to request 17 (1 ms) => 1
Reply to request 18 (1 ms)
Reply to request 18 (1 ms) => 1
Reply to request 19 (4 ms)
Reply to request 19 (4 ms) => 4
Success rate is 100 percent (20/20), round-trip min/avg/max = 1/1/4 ms
Success rate is 100 percent (20/20), round-trip min/avg/max = 1/1/4 ms => 4
target => <censored>
source => <censored>
user => smokeping
<<< I DO NOT see data in graph from this Target >>>
+++ esedo_to_mesa_rtr
menu = esedo Core to eSedo MESA
title = eSedo Core Router to eSedo MESA RTR
probe = TelnetIOSPing
host = <censored>
source = <censored>
===========================
Connection to <censored> 1
closed Telnet connection
Type escape sequence to abort.
Type escape sequence to abort. =>
Sending 20, 56-byte ICMP Echos to <censored>, timeout is 2 seconds:
Sending 20, 56-byte ICMP Echos to <censored>, timeout is 2 seconds: =>
Reply to request 0 (60 ms)
Reply to request 0 (60 ms) => 60
Reply to request 1 (52 ms)
Reply to request 1 (52 ms) => 52
Reply to request 2 (24 ms)
Reply to request 2 (24 ms) => 24
Reply to request 3 (64 ms)
Reply to request 3 (64 ms) => 64
Reply to request 4 (56 ms)
Reply to request 4 (56 ms) => 56
Reply to request 5 (40 ms)
Reply to request 5 (40 ms) => 40
Reply to request 6 (44 ms)
Reply to request 6 (44 ms) => 44
Reply to request 7 (60 ms)
Reply to request 7 (60 ms) => 60
Reply to request 8 (40 ms)
Reply to request 8 (40 ms) => 40
Reply to request 9 (36 ms)
Reply to request 9 (36 ms) => 36
Reply to request 10 (20 ms)
Reply to request 10 (20 ms) => 20
Reply to request 11 (20 ms)
Reply to request 11 (20 ms) => 20
Reply to request 12 (28 ms)
Reply to request 12 (28 ms) => 28
Reply to request 13 (28 ms)
Reply to request 13 (28 ms) => 28
Reply to request 14 (36 ms)
Reply to request 14 (36 ms) => 36
Reply to request 15 (20 ms)
Reply to request 15 (20 ms) => 20
Reply to request 16 (20 ms)
Reply to request 16 (20 ms) => 20
Reply to request 17 (8 ms)
Reply to request 17 (8 ms) => 8
Reply to request 18 (20 ms)
Reply to request 18 (20 ms) => 20
Reply to request 19 (44 ms)
Reply to request 19 (44 ms) => 44
Success rate is 100 percent (20/20), round-trip min/avg/max = 8/36/64 ms
Success rate is 100 percent (20/20), round-trip min/avg/max = 8/36/64 ms => 44
target => <censored>
source => <censored>
user => smokeping
_______________________________________________
smokeping-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a>
</pre>
</blockquote>
<br>
</body>
</html>