<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<title>Re: [smokeping-users] Adding my servers to the configuration</title>
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">It was leaving off the rest of the FQDN that was the problem, this morning the web frontend has menu items and graphs for the 4 servers.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">When doing the DNS probes, do you recommend an internal source or an external source for the lookup address?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Gregory Sloop [mailto:gregs@sloop.net]
<br>
<b>Sent:</b> Wednesday, November 04, 2015 4:18 PM<br>
<b>To:</b> Ben Wright <benw@coriumintl.com><br>
<b>Cc:</b> smokeping-users@lists.oetiker.ch<br>
<b>Subject:</b> Re: [smokeping-users] Adding my servers to the configuration<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:9.0pt;font-family:"Courier New"">See inline</span><o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td width="2" style="width:1.5pt;background:blue;padding:.75pt .75pt .75pt .75pt">
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I have smoke ping working with the default configuration from the ubnuntu 10.04.4 apt-get package, it’s just monitoring the localhost.<br>
<br>
cmg_admin@gritsvr21:/usr/share/doc/smokeping$ sudo smokeping --version returns:<br>
2.003006<br>
<br>
In the doc folder there’s a README.Debian file so maybe it’s Debian’s apt-get package?</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<span style="font-size:9.0pt;font-family:"Courier New"">Ubuntu and Debian are essentially the same. [Ubuntu's essentially a debian derivative.]</span><o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td width="2" style="width:1.5pt;background:blue;padding:.75pt .75pt .75pt .75pt">
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><br>
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I’m following the examples on the smokeping website but can’t get my additional servers to show up in the menu structure of the web interface, it looks to be polling them but I’m not sure what
else I need to change beside the target configuration and the prob configuration (for when I add DNS that is)<br>
<br>
So after I modify my targets file to the following:<br>
<br>
*** Targets ***<br>
<br>
probe = FPing<br>
<br>
## You have to edit and uncomment all what you want below this.<br>
# Please, refer to smokeping_config man page for more info<br>
# The given adresses aren't real to avoid DoS.<br>
<br>
menu = Top<br>
title = Network Latency Grapher<br>
remark = Welcome to the SmokePing website of 'A poorly \<br>
mantained site running Debian.'<br>
<br>
+ Local<br>
<br>
menu = Local<br>
title = Local Network<br>
<br>
++ LocalMachine<br>
<br>
menu = Local Machine<br>
title = This host<br>
host = localhost<br>
<br>
#everything from here on out is new to the Targets file<br>
<br>
+ Network<br>
<br>
menu = Network<br>
title = Network computers<br>
<br>
++ COR-SFO-DC01</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<span style="font-size:9.0pt;font-family:"Courier New"">The host names aren't FQDN's. I'm not sure what will happen in this case. Perhaps it will tack on the search suffix, perhaps not.<br>
A FQDN is like so. </span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">COR-SFO-DC01.somedomain.internal<br>
<br>
</span><span style="font-size:9.0pt;font-family:"Courier New"">I don't know that the lack of a FQDN is the problem or not, but smokeping certainly isn't going to do any NETBIOS lookups to resolve names to IP addresses.<br>
<br>
Nothing jumps out at me in your logs.<br>
Some thoughts that might help.<br>
<br>
1) Strip the config down to a bare minimum. Say 1-2 targets. Test things until you figure out what you did that broke it - then you can expand the config to include more targets.<br>
<br>
2) The logs seem to show the polling working fine. I can't tell if there's a problem writing to the RRD's or not. Make sure the RRD's actually get created and that they get updated each time the probe [fping] runs.<br>
<br>
3) I don't think this is it, but could there be a typo, or odd EOF characters in your config? This can happen when pasting configs from DOS/Windows over to Unix - or copying files. [Do some google searches if you don't know what I'm talking about.]<br>
<br>
4) Again this may not be related, but there are obviously other config files - they're all "included." There's a general, database, alerts etc, sections. While I don't see smokeping throwing any errors from those config sections - make sure they're correct.
Again, simplify everything you can.<br>
<br>
5) Did you uninstall the smokeping you installed from sources?<br>
<br>
How are you running the web-interface? Something like: </span><a href="http://1.2.3.4/smokeping/smokeping.cgi"><span style="font-size:9.0pt;font-family:"Courier New"">http://1.2.3.4/smokeping/smokeping.cgi</span></a><span style="font-size:9.0pt;font-family:"Courier New"">
?<br>
<br>
You get a regular smokeping menu, but there are not any menu items on the left, except "local?"<br>
<br>
Other than that, I don't see anything - but I could easily be missing something critical. Hopefully someone else will get eyes on it and offer their opinion too.<br>
<br>
-Greg</span><o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td width="2" style="width:1.5pt;background:blue;padding:.75pt .75pt .75pt .75pt">
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><br>
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif">menu = COR-SFO-DC01<br>
title = Domain Controller<br>
host = COR-SFO-DC01<br>
<br>
++ GRITSVR43<br>
<br>
menu = GRITSVR43<br>
title = Domain Controller<br>
host= GRITSVR43<br>
<br>
++ GRITSVR44<br>
<br>
menu = GRITSVR44<br>
title = Domain Controller<br>
host = GRITSVR44<br>
<br>
++ GRITSVR24<br>
<br>
menu = GRITSVR24<br>
title = Domain Controller<br>
host = GRITSVR24<br>
<br>
I restart smokeping and I get the following in the var/log/messages log:<br>
<br>
Nov 4 15:13:24 gritsvr21 smokeping[29115]: got INT signal, terminating.<br>
Nov 4 15:13:27 gritsvr21 smokeping[30448]: Starting syslog logging<br>
Nov 4 15:13:27 gritsvr21 smokeping[30451]: Smokeping version 2.003006 successfully launched.<br>
Nov 4 15:13:27 gritsvr21 smokeping[30451]: Not entering multiprocess mode for just a single probe.<br>
Nov 4 15:13:27 gritsvr21 smokeping[30451]: FPing: probing 5 targets with step 300 s and offset 34 s.<br>
<br>
And in the /var/log/apache2/error.log I’ll get this:<br>
<br>
$<br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Use of uninitialized value $hierarchy in substitution (s///) at /usr/share/smokeping/lib/Smokeping.pm line 1542., referer:
<a href="http://gritsvr21/cgi-bin/smokeping.c$">http://gritsvr21/cgi-bin/smokeping.c$</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping stddev/Network/GRITSVR43 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping stddev/Network/GRITSVR44 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping stddev/Network/COR-SFO-DC01 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping stddev/Network/GRITSVR24 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping max/Network/GRITSVR43 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping max/Network/GRITSVR44 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping max/Network/COR-SFO-DC01 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping max/Network/GRITSVR24 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping loss/Network/GRITSVR43 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping loss/Network/GRITSVR44 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping loss/Network/COR-SFO-DC01 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping loss/Network/GRITSVR24 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping median/Network/GRITSVR43 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping median/Network/GRITSVR44 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping median/Network/COR-SFO-DC01 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping median/Network/GRITSVR24 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping stddev/Network/GRITSVR43 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Duplicate entry stddev/Local/LocalMachine in sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping stddev/Network/GRITSVR44 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping stddev/Network/COR-SFO-DC01 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping stddev/Network/GRITSVR24 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping max/Network/GRITSVR43 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Duplicate entry max/Local/LocalMachine in sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping max/Network/GRITSVR44 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping max/Network/COR-SFO-DC01 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping max/Network/GRITSVR24 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping loss/Network/GRITSVR43 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Duplicate entry loss/Local/LocalMachine in sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping loss/Network/GRITSVR44 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping loss/Network/COR-SFO-DC01 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping loss/Network/GRITSVR24 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping median/Network/GRITSVR43 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Duplicate entry median/Local/LocalMachine in sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping median/Network/GRITSVR44 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping median/Network/COR-SFO-DC01 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
[Wed Nov 04 15:17:21 2015] [error] [client 192.168.3.82] [Wed Nov 4 15:17:21 2015] smokeping.cgi [client 192.168.3.82]: Warning: Dropping median/Network/GRITSVR24 from sortercache, referer:
<a href="http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts">http://gritsvr21/cgi-bin/smokeping.cgi?target=_charts</a><br>
<br>
<br>
My debug log is:<br>
cmg_admin@gritsvr21:/usr/share/doc/smokeping$ sudo smokeping --debug<br>
### Compiling alert detector pattern 'startloss'<br>
### ==S,>0%,>0%,>0%<br>
sub {<br>
my $d = shift;<br>
my $y = $d->{loss};<br>
for(1){<br>
my $minlength = 4;<br>
my $maxlength = 4;<br>
next if scalar @$y < $minlength ;<br>
next unless defined $y->[-4] and $y->[-4] eq 'S';<br>
next unless defined $y->[-3]<br>
and $y->[-3] =~ /^\d/<br>
and $y->[-3] > 0;<br>
next unless defined $y->[-2]<br>
and $y->[-2] =~ /^\d/<br>
and $y->[-2] > 0;<br>
next unless defined $y->[-1]<br>
and $y->[-1] =~ /^\d/<br>
and $y->[-1] > 0;<br>
return 1;<br>
}<br>
return 0;<br>
}<br>
<br>
### Compiling alert detector pattern 'rttdetect'<br>
### <10,<10,<10,<10,<10,<100,>100,>100,>100<br>
sub {<br>
my $d = shift;<br>
my $y = $d->{rtt};<br>
for(1){<br>
my $minlength = 9;<br>
my $maxlength = 9;<br>
next if scalar @$y < $minlength ;<br>
next unless defined $y->[-9]<br>
and $y->[-9] =~ /^\d/<br>
and $y->[-9] < 0.01;<br>
next unless defined $y->[-8]<br>
and $y->[-8] =~ /^\d/<br>
and $y->[-8] < 0.01;<br>
next unless defined $y->[-7]<br>
and $y->[-7] =~ /^\d/<br>
and $y->[-7] < 0.01;<br>
next unless defined $y->[-6]<br>
and $y->[-6] =~ /^\d/<br>
and $y->[-6] < 0.01;<br>
next unless defined $y->[-5]<br>
and $y->[-5] =~ /^\d/<br>
and $y->[-5] < 0.01;<br>
next unless defined $y->[-4]<br>
and $y->[-4] =~ /^\d/<br>
and $y->[-4] < 0.1;<br>
next unless defined $y->[-3]<br>
and $y->[-3] =~ /^\d/<br>
and $y->[-3] > 0.1;<br>
next unless defined $y->[-2]<br>
and $y->[-2] =~ /^\d/<br>
and $y->[-2] > 0.1;<br>
next unless defined $y->[-1]<br>
and $y->[-1] =~ /^\d/<br>
and $y->[-1] > 0.1;<br>
return 1;<br>
}<br>
return 0;<br>
}<br>
<br>
### Compiling alert detector pattern 'bigloss'<br>
### ==0%,==0%,==0%,==0%,>0%,>0%,>0%<br>
sub {<br>
my $d = shift;<br>
my $y = $d->{loss};<br>
for(1){<br>
my $minlength = 7;<br>
my $maxlength = 7;<br>
next if scalar @$y < $minlength ;<br>
next unless defined $y->[-7]<br>
and $y->[-7] =~ /^\d/<br>
and $y->[-7] == 0;<br>
next unless defined $y->[-6]<br>
and $y->[-6] =~ /^\d/<br>
and $y->[-6] == 0;<br>
next unless defined $y->[-5]<br>
and $y->[-5] =~ /^\d/<br>
and $y->[-5] == 0;<br>
next unless defined $y->[-4]<br>
and $y->[-4] =~ /^\d/<br>
and $y->[-4] == 0;<br>
next unless defined $y->[-3]<br>
and $y->[-3] =~ /^\d/<br>
and $y->[-3] > 0;<br>
next unless defined $y->[-2]<br>
and $y->[-2] =~ /^\d/<br>
and $y->[-2] > 0;<br>
next unless defined $y->[-1]<br>
and $y->[-1] =~ /^\d/<br>
and $y->[-1] > 0;<br>
return 1;<br>
}<br>
return 0;<br>
}<br>
<br>
### Compiling alert detector pattern 'someloss'<br>
### >0%,*12*,>0%,*12*,>0%<br>
sub {<br>
my $d = shift;<br>
my $y = $d->{loss};<br>
for(1){<br>
my $imax2 = min(@$y - 3, 12);<br>
my $imax1 = min(@$y - 3, 12);<br>
my $minlength = 3;<br>
my $maxlength = 27;<br>
next if scalar @$y < $minlength ;<br>
my $i1;<br>
for($i1=0; $i1 < min($maxlength,$imax1); $i1++){<br>
my $i2;<br>
for($i2=0; $i2 < min($maxlength-$i1,$imax2); $i2++){<br>
next unless defined $y->[-3-$i1-$i2]<br>
and $y->[-3-$i1-$i2] =~ /^\d/<br>
and $y->[-3-$i1-$i2] > 0;<br>
last;<br>
}<br>
return 0 if $i2 >= min($maxlength-$i1-$i2,$imax2);<br>
next unless defined $y->[-2-$i1]<br>
and $y->[-2-$i1] =~ /^\d/<br>
and $y->[-2-$i1] > 0;<br>
last;<br>
}<br>
return 0 if $i1 >= min($maxlength-$i1,$imax1);<br>
next unless defined $y->[-1]<br>
and $y->[-1] =~ /^\d/<br>
and $y->[-1] > 0;<br>
return 1;<br>
}<br>
return 0;<br>
}<br>
<br>
<br>
<br>
Smokeping version 2.003006 successfully launched.<br>
Not entering multiprocess mode with '--debug'. Use '--debug-daemon' for that.<br>
FPing: probing 5 targets with step 300 s and offset 293 s.<br>
FPing: Executing /usr/bin/fping -C 20 -q -B1 -r1 -i10 GRITSVR24 GRITSVR43 localhost COR-SFO-DC01 GRITSVR44<br>
FPing: Got fping output: 'GRITSVR24 : 1.37 1.72 1.59 1.56 1.57 1.36 1.64 1.69 1.89 1.64 1.69 1.95 1.71 1.87 1.53 1.87 1.43 1.73 1.67 1.51'<br>
FPing: Got fping output: 'GRITSVR43 : 0.51 0.47 0.40 0.33 0.55 0.45 0.55 0.48 0.53 0.50 0.52 0.50 0.45 0.50 0.50 0.50 0.47 0.51 0.51 0.40'<br>
FPing: Got fping output: 'localhost : 0.05 0.06 0.04 0.02 0.03 0.03 0.03 0.04 0.04 0.04 0.03 0.04 0.03 0.03 0.03 0.04 0.03 0.03 0.03 0.04'<br>
FPing: Got fping output: 'COR-SFO-DC01 : 67.64 72.81 66.86 66.54 71.66 68.75 74.43 70.23 72.37 71.47 68.59 67.67 69.62 67.17 72.45 79.32 72.20 72.23 67.89 71.70'<br>
FPing: Got fping output: 'GRITSVR44 : 0.63 0.61 0.54 0.41 0.46 0.47 0.57 0.54 0.51 0.48 0.56 0.53 0.45 0.60 0.57 0.62 0.56 0.56 0.54 0.51'<br>
Calling RRDs::update(/var/lib/smokeping/Network/GRITSVR43.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 1446668658:U:0:5.0000000000e-04:3.3000000000e-04:4.0000000000e-04:4.0000000000e-04:4.5000000000e-04:4.5000000000e-04:4.7000000000e-04:4.7000000000e-04:4.8000000000e-04:5.0000000000e-04:5.0000000000e-04:5.0000000000e-04:5.0000000000e-04:5.0000000000e-04:5.1000000000e-04:5.1000000000e-04:5.1000000000e-04:5.2000000000e-04:5.3000000000e-04:5.5000000000e-04:5.5000000000e-04)<br>
Calling RRDs::update(/var/lib/smokeping/Network/GRITSVR44.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 1446668658:U:0:5.4000000000e-04:4.1000000000e-04:4.5000000000e-04:4.6000000000e-04:4.7000000000e-04:4.8000000000e-04:5.1000000000e-04:5.1000000000e-04:5.3000000000e-04:5.4000000000e-04:5.4000000000e-04:5.4000000000e-04:5.6000000000e-04:5.6000000000e-04:5.6000000000e-04:5.7000000000e-04:5.7000000000e-04:6.0000000000e-04:6.1000000000e-04:6.2000000000e-04:6.3000000000e-04)<br>
Calling RRDs::update(/var/lib/smokeping/Network/COR-SFO-DC01.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 1446668658:U:0:7.1470000000e-02:6.6540000000e-02:6.6860000000e-02:6.7170000000e-02:6.7640000000e-02:6.7670000000e-02:6.7890000000e-02:6.8590000000e-02:6.8750000000e-02:6.9620000000e-02:7.0230000000e-02:7.1470000000e-02:7.1660000000e-02:7.1700000000e-02:7.2200000000e-02:7.2230000000e-02:7.2370000000e-02:7.2450000000e-02:7.2810000000e-02:7.4430000000e-02:7.9320000000e-02)<br>
Calling RRDs::update(/var/lib/smokeping/Network/GRITSVR24.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 1446668658:U:0:1.6700000000e-03:1.3600000000e-03:1.3700000000e-03:1.4300000000e-03:1.5100000000e-03:1.5300000000e-03:1.5600000000e-03:1.5700000000e-03:1.5900000000e-03:1.6400000000e-03:1.6400000000e-03:1.6700000000e-03:1.6900000000e-03:1.6900000000e-03:1.7100000000e-03:1.7200000000e-03:1.7300000000e-03:1.8700000000e-03:1.8700000000e-03:1.8900000000e-03:1.9500000000e-03)<br>
Calling RRDs::update(/var/lib/smokeping/Local/LocalMachine.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 1446668658:U:0:3.0000000000e-05:2.0000000000e-05:3.0000000000e-05:3.0000000000e-05:3.0000000000e-05:3.0000000000e-05:3.0000000000e-05:3.0000000000e-05:3.0000000000e-05:3.0000000000e-05:3.0000000000e-05:3.0000000000e-05:4.0000000000e-05:4.0000000000e-05:4.0000000000e-05:4.0000000000e-05:4.0000000000e-05:4.0000000000e-05:4.0000000000e-05:5.0000000000e-05:6.0000000000e-05)<br>
<br>
What am I missing? I couldn’t find much that pointed me in any directions on the gmane archive of the list.<br>
<br>
Thanks in advance and I hope this is enough info to work with.<br>
<br>
<br>
</span><span style="font-size:9.0pt;font-family:"Courier New"">CONFIDENTIALITY NOTICE: This e-mail transmission, and any attachments, is intended only for the use of the individual<br>
<br>
or entity named above and may contain information that is confidential, privileged and exempt from disclosure under<br>
<br>
applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution<br>
<br>
or use of any of the information contained in this transmission is strictly PROHIBITED.</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
</body>
</html>
<pre>
CONFIDENTIALITY NOTICE: This e-mail transmission, and any attachments, is intended only for the use of the individual
or entity named above and may contain information that is confidential, privileged and exempt from disclosure under
applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution
or use of any of the information contained in this transmission is strictly PROHIBITED.</pre>