<html><head><title>Re: [smokeping-users] Graph but no results</title>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">Have you checked the apache logs to see if it can actually read the RRD files to get the data you want?<br>
<br>
Usually when there's an "empty" graph the problem is one of two things:<br>
1) smokeping can't write the data to the RRD.<br>
2) the web-server can't read it.<br>
<br>
If you've really debugged things and you're sure it's successfully writing to the RRD, then you'd want to watch the web-server logs and see if it's really reading them.<br>
<br>
-Greg<br>
<br>
<br>
</span><table bgcolor="#ffffff">
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td width=571><span style=" font-family:'courier new'; font-size: 9pt;">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<br>
Hello,<br>
<br>
Maybe someone could provide me with some assistance. I have a<br>
host/Target graph that get's created and populates the web page.<br>
However, no results appear on the graph. I am using the TelnetIOSPing<br>
probe. I have a number of other hosts/Targets that are using this<br>
probe. I have kicked out some debug results from<br>
/usr/share/perl5/Smokeping/probes/TelnetIOSPing.pm and the host is<br>
reachable and I see ping results, but they don't make it into the<br>
graph. In addition, no errors related to said host, are showing in the<br>
smokeping.log. Any ideas?<br>
<br>
Thank you!<br>
<br>
<br>
open(OUTF,">>/tmp/TelnetIOSPing.debug") || die "Can't open OUTF: $!";<br>
print OUTF "target => $dest\nsource => $source\nuser => $login\n";<br>
<br>
my $ok = $telnet->open(Host => $source,<br>
Port => $port);<br>
<br>
print OUTF "\n";<br>
print OUTF "===========================\n";<br>
print OUTF "Connection to $source $ok\n";<br>
print OUTF "\n";<br>
<br>
#---- Code that does the log in and executes extended ping<br>
<br>
$telnet->prompt('/[\@\w\-\.]+[>#][ ]*$/');<br>
@output = $telnet->cmd("n");<br>
<br>
#$telnet->waitfor('/[\@\w\-\.]+[>#][ ]*$/');<br>
$telnet->print("quit");<br>
$telnet->close;<br>
<br>
print OUTF "closed Telnet connection\n";<br>
<br>
my @times = ();<br>
while (@output) {<br>
my $outputline = shift @output;<br>
chomp($outputline);<br>
print OUTF "$outputline\n";<br>
$outputline =~ /^Reply to request \d+ \((\d+) ms\)/ && push(@times,$1);<br>
print OUTF "$outputline => $1\n";<br>
}<br>
<br>
<br>
<<< I see data in graph from this Target >>><br>
<br>
+++ pvdc_to_mesa_rtr<br>
menu = Core to eSedo MESA RTR<br>
title = Core Router to eSedo MESA RTR<br>
probe = TelnetIOSPing<br>
host = <censored><br>
source = <censored><br>
<br>
<br>
===========================<br>
Connection to <censored> 1<br>
<br>
closed Telnet connection<br>
Type escape sequence to abort.<br>
Type escape sequence to abort. =><br>
Sending 20, 56-byte ICMP Echos to <censored>, timeout is 2 seconds:<br>
Sending 20, 56-byte ICMP Echos to <censored>, timeout is 2 seconds: =><br>
Reply to request 0 (1 ms)<br>
Reply to request 0 (1 ms) => 1<br>
Reply to request 1 (4 ms)<br>
Reply to request 1 (4 ms) => 4<br>
Reply to request 2 (1 ms)<br>
Reply to request 2 (1 ms) => 1<br>
Reply to request 3 (1 ms)<br>
Reply to request 3 (1 ms) => 1<br>
Reply to request 4 (1 ms)<br>
Reply to request 4 (1 ms) => 1<br>
Reply to request 5 (1 ms)<br>
Reply to request 5 (1 ms) => 1<br>
Reply to request 6 (1 ms)<br>
Reply to request 6 (1 ms) => 1<br>
Reply to request 7 (1 ms)<br>
Reply to request 7 (1 ms) => 1<br>
Reply to request 8 (4 ms)<br>
Reply to request 8 (4 ms) => 4<br>
Reply to request 9 (1 ms)<br>
Reply to request 9 (1 ms) => 1<br>
Reply to request 10 (1 ms)<br>
Reply to request 10 (1 ms) => 1<br>
Reply to request 11 (1 ms)<br>
Reply to request 11 (1 ms) => 1<br>
Reply to request 12 (1 ms)<br>
Reply to request 12 (1 ms) => 1<br>
Reply to request 13 (1 ms)<br>
Reply to request 13 (1 ms) => 1<br>
Reply to request 14 (1 ms)<br>
Reply to request 14 (1 ms) => 1<br>
Reply to request 15 (1 ms)<br>
Reply to request 15 (1 ms) => 1<br>
Reply to request 16 (1 ms)<br>
Reply to request 16 (1 ms) => 1<br>
Reply to request 17 (1 ms)<br>
Reply to request 17 (1 ms) => 1<br>
Reply to request 18 (1 ms)<br>
Reply to request 18 (1 ms) => 1<br>
Reply to request 19 (4 ms)<br>
Reply to request 19 (4 ms) => 4<br>
Success rate is 100 percent (20/20), round-trip min/avg/max = 1/1/4 ms<br>
Success rate is 100 percent (20/20), round-trip min/avg/max = 1/1/4 ms => 4<br>
target => <censored><br>
source => <censored><br>
user => smokeping<br>
<br>
<br>
<br>
<br>
<<< I DO NOT see data in graph from this Target >>><br>
<br>
+++ esedo_to_mesa_rtr<br>
menu = esedo Core to eSedo MESA<br>
title = eSedo Core Router to eSedo MESA RTR<br>
probe = TelnetIOSPing<br>
host = <censored><br>
source = <censored><br>
<br>
<br>
===========================<br>
Connection to <censored> 1<br>
<br>
closed Telnet connection<br>
Type escape sequence to abort.<br>
Type escape sequence to abort. =><br>
Sending 20, 56-byte ICMP Echos to <censored>, timeout is 2 seconds:<br>
Sending 20, 56-byte ICMP Echos to <censored>, timeout is 2 seconds: =><br>
Reply to request 0 (60 ms)<br>
Reply to request 0 (60 ms) => 60<br>
Reply to request 1 (52 ms)<br>
Reply to request 1 (52 ms) => 52<br>
Reply to request 2 (24 ms)<br>
Reply to request 2 (24 ms) => 24<br>
Reply to request 3 (64 ms)<br>
Reply to request 3 (64 ms) => 64<br>
Reply to request 4 (56 ms)<br>
Reply to request 4 (56 ms) => 56<br>
Reply to request 5 (40 ms)<br>
Reply to request 5 (40 ms) => 40<br>
Reply to request 6 (44 ms)<br>
Reply to request 6 (44 ms) => 44<br>
Reply to request 7 (60 ms)<br>
Reply to request 7 (60 ms) => 60<br>
Reply to request 8 (40 ms)<br>
Reply to request 8 (40 ms) => 40<br>
Reply to request 9 (36 ms)<br>
Reply to request 9 (36 ms) => 36<br>
Reply to request 10 (20 ms)<br>
Reply to request 10 (20 ms) => 20<br>
Reply to request 11 (20 ms)<br>
Reply to request 11 (20 ms) => 20<br>
Reply to request 12 (28 ms)<br>
Reply to request 12 (28 ms) => 28<br>
Reply to request 13 (28 ms)<br>
Reply to request 13 (28 ms) => 28<br>
Reply to request 14 (36 ms)<br>
Reply to request 14 (36 ms) => 36<br>
Reply to request 15 (20 ms)<br>
Reply to request 15 (20 ms) => 20<br>
Reply to request 16 (20 ms)<br>
Reply to request 16 (20 ms) => 20<br>
Reply to request 17 (8 ms)<br>
Reply to request 17 (8 ms) => 8<br>
Reply to request 18 (20 ms)<br>
Reply to request 18 (20 ms) => 20<br>
Reply to request 19 (44 ms)<br>
Reply to request 19 (44 ms) => 44<br>
Success rate is 100 percent (20/20), round-trip min/avg/max = 8/36/64 ms<br>
Success rate is 100 percent (20/20), round-trip min/avg/max = 8/36/64 ms => 44<br>
target => <censored><br>
source => <censored><br>
user => smokeping<br>
<br>
<br>
<br>
_______________________________________________<br>
smokeping-users mailing list<br>
</span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><br>
<span style=" font-family:'courier new'; font-size: 9pt;">
</span><a style=" font-family:'courier new'; font-size: 9pt;" href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><br>
<span style=" font-family:'courier new'; font-size: 9pt;">
<br>
</td>
</tr>
</table>
<br><br>
<span style=" font-family:'arial'; color: #c0c0c0;"><i>-- <br>
Gregory Sloop, Principal: Sloop Network & Computer Consulting<br>
Voice: 503.251.0452 x82<br>
EMail: </i></span><a style=" font-family:'arial';" href="mailto:gregs@sloop.net">gregs@sloop.net</a><br>
<a style=" font-family:'arial';" href="http://www.sloop.net">http://www.sloop.net</a><br>
<span style=" font-family:'arial'; color: #c0c0c0;"><i>---</body></html>