<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=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:black;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1178809617;
        mso-list-type:hybrid;
        mso-list-template-ids:-2056371364 68091921 68091929 68091931 68091919 68091929 68091931 68091919 68091929 68091931;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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="IS" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:black">Hi guys,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">We had an issue when installing tcpping that it simply didn‘t work. After debugging we found that the configuration example included here
<a href="http://oss.oetiker.ch/smokeping/probe/TCPPing.en.html">http://oss.oetiker.ch/smokeping/probe/TCPPing.en.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">This „tcptraceroute = -e "sudo /bin/tcptraceroute"“ is likely supposed to point to the tcptraceroute executable but the scripts for tcpping that we found aren‘t accepting this variable.. also the TCPPing.pm detects
 that variable and adds another –e infront.. so.. all we got was garble.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">This is painful to debug and i saw multiple users having similar issues posting and few with any solutions.. here is what we did.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoListParagraph"><span style="color:black">Simply place tcpping and tcptraceroute in the same folder (we used /usr/bin/) and empty the „tcptraceroute =“ variable in smokeping config.<o:p></o:p></span></p>
<p class="MsoListParagraph"><span style="color:black">Nota bene, this still gives some weird „TCPPing: Received: GLOB(0x36ac050)“ output in debug but the graphs are updating and it seems to work fine.<o:p></o:p></span></p>
<p class="MsoListParagraph"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoListParagraph"><span style="color:black">Our working config example:<o:p></o:p></span></p>
<p class="MsoListParagraph"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:black">+TCPPing<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:black">binary = /usr/bin/tcpping # mandatory<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:black">forks = 5<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:black">offset = 50%<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:black">step = 300<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:black">tcptraceroute =<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:black">timeout = 15<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:black"># The following variables can be overridden in each target section<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:black">pings = 5<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:black">port = 80<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">We used tcpping from: <a href="http://www.darkskies.za.net/~norman/scripts/tcpping">
http://www.darkskies.za.net/~norman/scripts/tcpping</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">We used tcptraceroute from centos base repo (i think)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">Optionally someone should fix this issue.. Add tcpping option to handle –e and remove –e from the configuration example (since tcpping.pm adds it<o:p></o:p></span></p>
<p class="MsoListParagraph"><span style="color:black">       „ push @cmd, '-e', $self->{properties}{tcptraceroute};“ ).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td width="160" valign="top" style="width:120.0pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="www.advania.is"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:blue;mso-fareast-language:IS;text-decoration:none"><img border="0" width="160" height="80" id="_x0000_i1027" src="cid:image001.png@01CFCC3C.4645FE50"></span></a><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black;mso-fareast-language:IS"><o:p></o:p></span></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#6C6C6C;mso-fareast-language:IS"><br>
<br>
</span><b><span style="font-family:"Arial","sans-serif";color:#6C6C6C;mso-fareast-language:IS">Áki Hermann Barkarson</span></b><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#6C6C6C;mso-fareast-language:IS"><br>
Sérfræðingur / Service Engineer<br>
Grunnkerfi / Rekstrarlausnir<br>
Direct. +354 440 9124 | Mobile. +354 863 0753<br>
</span><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#45047A;mso-fareast-language:IS"><a href="mailto:Aki.Barkarson@advania.is" title="Click to send email to Áki Hermann Barkarson"><span style="color:#45047A">Aki.Barkarson@advania.is</span></a></span><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#6C6C6C;mso-fareast-language:IS"><br>
<br>
Guðrúnartún 10, 105 Reykjavik, Iceland<br>
Tel. +354 440 9000 | <a href="http://www.advania.is" title=""><span style="color:#6C6C6C">www.advania.is</span></a><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black;display:none;mso-fareast-language:IS"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td width="160" valign="top" style="width:120.0pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black;mso-fareast-language:IS"><img border="0" width="160" height="1" id="_x0000_i1026" src="cid:image002.gif@01CFCC3C.4645FE50"></span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black;mso-fareast-language:IS"><o:p></o:p></span></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black;mso-fareast-language:IS"><br>
</span><a href="https://www.advania.is/hugbunadur-og-lausnir/vidskiptalausnir/tok-bokhald/?utm_source=Tolvupostur&utm_medium=Tolvupostur+banner&utm_campaign=TOK+Juni+2013+VM"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:blue;mso-fareast-language:IS;text-decoration:none"><img border="0" width="466" height="102" id="_x0000_i1025" src="cid:image003.jpg@01CFCC3C.4645FE50" alt="TOK laun & TOK Bókhald"></span></a><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black;mso-fareast-language:IS"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>