<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Greg,<br>
<br>
It's odd because both targets were added to the conf at the same
time and are under the same parent. It would be strange that one
rrd file would be writable/readable while to other not. However,
looking at the suggestions you offered, I don't see any
errors/problems with file permissions or entries in the apache
log.<br>
<br>
<br>
# It would appear the rrd files have the proper permissions. Same
owner:user for esedo_to_x (which does not display data in graph)
as pvdc_to_x (which does display data in graph). The files are
also being updated. Is there something here or elsewhere I am
missing?<br>
<br>
Thank you again....<br>
<br>
<br>
<br>
root@smokeping1:/home/tonyd# ll
/var/lib/smokeping/Network/core_to_esedo<br>
total 23388<br>
drwxr-xr-x 2 smokeping smokeping 4096 Oct 2 22:49 ./<br>
drwxr-xr-x 6 smokeping smokeping 4096 Oct 2 10:53 ../<br>
-rw-r--r-- 1 smokeping smokeping 2986808 Oct 4 08:13
esedo_to_foothills_rtr.rrd<br>
-rw-r--r-- 1 smokeping smokeping 2986808 Oct 4 08:13
esedo_to_mesa_rtr.rrd<br>
-rw-r--r-- 1 smokeping smokeping 2986808 Oct 4 08:13
esedo_to_montezona_rtr.rrd<br>
-rw-r--r-- 1 smokeping smokeping 2986808 Oct 4 08:13
esedo_to_voc_rtr.rrd<br>
-rw-r--r-- 1 smokeping smokeping 2986808 Oct 4 08:13
mm_to_foothills_rtr.rrd<br>
-rw-r--r-- 1 smokeping smokeping 2986808 Oct 4 08:13
pvdc_to_esedo_core.rrd<br>
-rw-r--r-- 1 smokeping smokeping 2986808 Oct 4 08:13
pvdc_to_mesa_rtr.rrd<br>
-rw-r--r-- 1 smokeping smokeping 2986808 Oct 4 08:13
pvdc_to_voc_rtr.rrd<br>
<br>
<br>
<br>
# This does not display data<br>
<br>
tail -f /var/log/apache2/access.log<br>
<br>
<censored> - - [04/Oct/2013:08:07:12 -0700] "GET
/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr
HTTP/1.1" 200 2010
<a class="moz-txt-link-rfc2396E" href="http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo">"http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo"</a>
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like
Gecko) Chrome/23.0.1271.97 Safari/537.11"<br>
<censored> - - [04/Oct/2013:08:07:13 -0700] "GET
/smokeping/images/Network/core_to_esedo/esedo_to_mesa_rtr_last_86400.png
HTTP/1.1" 200 21541
<a class="moz-txt-link-rfc2396E" href="http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr">"http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr"</a>
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like
Gecko) Chrome/23.0.1271.97 Safari/537.11"<br>
<censored> - - [04/Oct/2013:08:07:13 -0700] "GET
/smokeping/images/Network/core_to_esedo/esedo_to_mesa_rtr_last_2592000.png
HTTP/1.1" 200 22492
<a class="moz-txt-link-rfc2396E" href="http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr">"http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr"</a>
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like
Gecko) Chrome/23.0.1271.97 Safari/537.11"<br>
<censored> - - [04/Oct/2013:08:07:13 -0700] "GET
/smokeping/images/Network/core_to_esedo/esedo_to_mesa_rtr_last_31536000.png
HTTP/1.1" 200 22418
<a class="moz-txt-link-rfc2396E" href="http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr">"http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr"</a>
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like
Gecko) Chrome/23.0.1271.97 Safari/537.11"<br>
<censored> - - [04/Oct/2013:08:07:13 -0700] "GET
/smokeping/images/Network/core_to_esedo/esedo_to_mesa_rtr_last_604800.png
HTTP/1.1" 200 20330
<a class="moz-txt-link-rfc2396E" href="http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr">"http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr"</a>
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like
Gecko) Chrome/23.0.1271.97 Safari/537.11"<br>
<censored> - - [04/Oct/2013:08:07:13 -0700] "GET
/smokeping/images/Network/core_to_esedo/esedo_to_mesa_rtr_last_10800.png
HTTP/1.1" 200 21382
<a class="moz-txt-link-rfc2396E" href="http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr">"http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr"</a>
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like
Gecko) Chrome/23.0.1271.97 Safari/537.11"<br>
<censored> - - [04/Oct/2013:08:07:13 -0700] "GET
/smokeping/images/Network/core_to_esedo/esedo_to_mesa_rtr_last_43200.png
HTTP/1.1" 200 20971
<a class="moz-txt-link-rfc2396E" href="http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr">"http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr"</a>
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like
Gecko) Chrome/23.0.1271.97 Safari/537.11"<br>
<censored> - - [04/Oct/2013:08:07:14 -0700] "GET
/favicon.ico HTTP/1.1" 404 501 "-" "Mozilla/5.0 (X11; Linux
x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97
Safari/537.11"<br>
<br>
<br>
# This displays data<br>
<br>
<censored> - - [04/Oct/2013:08:14:14 -0700] "GET
/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr
HTTP/1.1" 200 2005
<a class="moz-txt-link-rfc2396E" href="http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo">"http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo"</a>
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like
Gecko) Chrome/23.0.1271.97 Safari/537.11"<br>
<censored> - - [04/Oct/2013:08:14:16 -0700] "GET
/smokeping/images/Network/core_to_esedo/pvdc_to_mesa_rtr_last_2592000.png
HTTP/1.1" 200 25540
<a class="moz-txt-link-rfc2396E" href="http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr">"http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr"</a>
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like
Gecko) Chrome/23.0.1271.97 Safari/537.11"<br>
<censored> - - [04/Oct/2013:08:14:16 -0700] "GET
/smokeping/images/Network/core_to_esedo/pvdc_to_mesa_rtr_last_10800.png
HTTP/1.1" 200 26251
<a class="moz-txt-link-rfc2396E" href="http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr">"http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr"</a>
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like
Gecko) Chrome/23.0.1271.97 Safari/537.11"<br>
<censored> - - [04/Oct/2013:08:14:16 -0700] "GET
/smokeping/images/Network/core_to_esedo/pvdc_to_mesa_rtr_last_43200.png
HTTP/1.1" 200 29813
<a class="moz-txt-link-rfc2396E" href="http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr">"http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr"</a>
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like
Gecko) Chrome/23.0.1271.97 Safari/537.11"<br>
<censored> - - [04/Oct/2013:08:14:16 -0700] "GET
/smokeping/images/Network/core_to_esedo/pvdc_to_mesa_rtr_last_604800.png
HTTP/1.1" 200 27440
<a class="moz-txt-link-rfc2396E" href="http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr">"http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr"</a>
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like
Gecko) Chrome/23.0.1271.97 Safari/537.11"<br>
<censored> - - [04/Oct/2013:08:14:16 -0700] "GET
/smokeping/images/Network/core_to_esedo/pvdc_to_mesa_rtr_last_31536000.png
HTTP/1.1" 200 22782
<a class="moz-txt-link-rfc2396E" href="http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr">"http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr"</a>
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like
Gecko) Chrome/23.0.1271.97 Safari/537.11"<br>
<censored> - - [04/Oct/2013:08:14:16 -0700] "GET
/smokeping/images/Network/core_to_esedo/pvdc_to_mesa_rtr_last_86400.png
HTTP/1.1" 200 34500
<a class="moz-txt-link-rfc2396E" href="http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr">"http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr"</a>
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like
Gecko) Chrome/23.0.1271.97 Safari/537.11"<br>
<censored> - - [04/Oct/2013:08:14:16 -0700] "GET
/favicon.ico HTTP/1.1" 404 501 "-" "Mozilla/5.0 (X11; Linux
x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97
Safari/537.11"<br>
<br>
<br>
<br>
<br>
<div class="moz-signature">
<style type="text/css">
#links {
font-size: 12px;
}
#name_addr {
font-family : 'DejaVu Serif', FreeSerif, 'Liberation Serif';
font-size: 11px;
color: #306EFF;
}
table {
border-bottom-style: none;
border-left-style: none;
border-right-style: none;
border-top-style : none;
}
</style>
<br>
<br>
</div>
On 10/04/2013 07:48 AM, Gregory Sloop wrote:<br>
</div>
<blockquote cite="mid:645136836.20131004074834@sloop.net"
type="cite">
<title>Re: [smokeping-users] Graph but no results</title>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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">
<tbody>
<tr>
<td bgcolor="#0000ff" width="2"><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 moz-do-not-send="true" 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 moz-do-not-send="true" 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>
</span></td>
</tr>
</tbody>
</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 moz-do-not-send="true" style="
font-family:'arial';" href="mailto:gregs@sloop.net">gregs@sloop.net</a><br>
<a moz-do-not-send="true" style=" font-family:'arial';"
href="http://www.sloop.net">http://www.sloop.net</a><br>
<span style=" font-family:'arial'; color: #c0c0c0;"><i>---
</i></span></blockquote>
<br>
</body>
</html>