<div dir="ltr">Debian Lenny<div>smokeping 2.003006</div><div><br></div><div>Below is a copy of smoke ping debug output, along with the output of running the command manually. I'm not sure why, but I'm not see numerical values returned when running the command manually. I'm guess this is why no data is being logged in the graph. All rrd files are owned by smokeping:smokeping and are have perms of 755.</div>
<div><br></div><div>Any thoughts?</div><div><br></div><div><p style="margin:0px;font-size:11px;font-family:Menlo">user@server:/var/lib/smokeping/# smokeping --debug</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">### assuming you are using an tcpping copy reporting in milliseconds</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">### Compiling alert detector pattern 'startloss'</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">### ==S,>0%,>0%,>0%</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">sub { </p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $d = shift;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $y = $d->{loss};</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> for(1){</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $minlength = 4;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $maxlength = 4;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next if scalar @$y < $minlength ;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-4] and $y->[-4] eq 'S';</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-3]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-3] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-3] > 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-2]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-2] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-2] > 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-1]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-1] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-1] > 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> return 1;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> }</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> return 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">}</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p>
<p style="margin:0px;font-size:11px;font-family:Menlo">### Compiling alert detector pattern 'rttdetect'</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">### <10,<10,<10,<10,<10,<100,>100,>100,>100</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">sub { </p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $d = shift;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $y = $d->{rtt};</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> for(1){</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $minlength = 9;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $maxlength = 9;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next if scalar @$y < $minlength ;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-9]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-9] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-9] < 0.01;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-8]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-8] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-8] < 0.01;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-7]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-7] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-7] < 0.01;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-6]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-6] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-6] < 0.01;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-5]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-5] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-5] < 0.01;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-4]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-4] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-4] < 0.1;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-3]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-3] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-3] > 0.1;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-2]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-2] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-2] > 0.1;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-1]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-1] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-1] > 0.1;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> return 1;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> }</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> return 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">}</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p>
<p style="margin:0px;font-size:11px;font-family:Menlo">### Compiling alert detector pattern 'bigloss'</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">### ==0%,==0%,==0%,==0%,>0%,>0%,>0%</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">sub { </p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $d = shift;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $y = $d->{loss};</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> for(1){</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $minlength = 7;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $maxlength = 7;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next if scalar @$y < $minlength ;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-7]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-7] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-7] == 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-6]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-6] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-6] == 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-5]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-5] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-5] == 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-4]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-4] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-4] == 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-3]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-3] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-3] > 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-2]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-2] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-2] > 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-1]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-1] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-1] > 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> return 1;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> }</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> return 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">}</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p>
<p style="margin:0px;font-size:11px;font-family:Menlo">### Compiling alert detector pattern 'someloss'</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">### >0%,*12*,>0%,*12*,>0%</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">sub { </p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $d = shift;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $y = $d->{loss};</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> for(1){</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $imax2 = min(@$y - 3, 12);</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $imax1 = min(@$y - 3, 12);</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $minlength = 3;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $maxlength = 27;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next if scalar @$y < $minlength ;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $i1;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> for($i1=0; $i1 < min($maxlength,$imax1); $i1++){</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> my $i2;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> for($i2=0; $i2 < min($maxlength-$i1,$imax2); $i2++){</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-3-$i1-$i2]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-3-$i1-$i2] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-3-$i1-$i2] > 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> last;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> }</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> return 0 if $i2 >= min($maxlength-$i1-$i2,$imax2);</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-2-$i1]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-2-$i1] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-2-$i1] > 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> last;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> }</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> return 0 if $i1 >= min($maxlength-$i1,$imax1);</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> next unless defined $y->[-1]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-1] =~ /^\d/</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> and $y->[-1] > 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> return 1;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> }</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> return 0;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">}</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p>
<p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p>
<p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Smokeping version 2.003006 successfully launched.</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Not entering multiprocess mode with '--debug'. Use '--debug-daemon' for that.</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">EchoPingHttps: probing 0 targets with step 300 s and offset 232 s.</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">FPing: probing 0 targets with step 300 s and offset 232 s.</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">TCPPing: probing 2 targets with step 300 s and offset 232 s.</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">TCPPing: forks 5, timeout for each target 101</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">TCPPing: Executing /usr/bin/tcpping -C -x 20 <a href="http://gateway17.jetpay.com">gateway17.jetpay.com</a> 443</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">TCPPing: Executing /usr/bin/tcpping -C -x 20 <a href="http://gateway14.jetpay.com">gateway14.jetpay.com</a> 443</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">TCPPing: <a href="http://gateway14.jetpay.com">gateway14.jetpay.com</a>: got </p>
<p style="margin:0px;font-size:11px;font-family:Menlo">TCPPing: <a href="http://gateway17.jetpay.com">gateway17.jetpay.com</a>: got </p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Calling RRDs::update(/var/lib/smokeping/JetPay/Gateway14.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1408568077:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Calling RRDs::update(/var/lib/smokeping/JetPay/Gateway17.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1408568077:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U)</p>
</div><div><br></div><div><br></div><div>-----------------------------------</div><div>output from running the command manually</div><div>-----------------------------------</div><div><br></div><div><p style="margin:0px;font-size:11px;font-family:Menlo">
user@server:/etc/smokeping/config.d# /usr/bin/tcpping -C -x 20 <a href="http://gateway14.jetpay.com">gateway14.jetpay.com</a> 443</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><a href="http://gateway14.jetpay.com">gateway14.jetpay.com</a> : - - - - - - - - - - - - - - - - - - - -</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">user@server:/etc/smokeping/config.d#</p></div></div>