<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,102)">Hi Everyone,</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,102)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,102)">
As I'm not an expert in Perl, i don't really understand what is happening with this SipSak probe : </div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,102)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,102)">
<b><u>Probe config : </u></b></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,102)"><br></div><div class="gmail_default"><div class="gmail_default"><font color="#000066" face="verdana, sans-serif">+ SipSak</font></div>
<div class="gmail_default"><font color="#000066" face="verdana, sans-serif">binary = /usr/local/bin/sipsak</font></div><div class="gmail_default"><font color="#000066" face="verdana, sans-serif">forks = 5</font></div><div class="gmail_default">
<font color="#000066" face="verdana, sans-serif">offset = 50%</font></div><div class="gmail_default"><font color="#000066" face="verdana, sans-serif">step = 300</font></div><div class="gmail_default"><font color="#000066" face="verdana, sans-serif">timeout = 15</font></div>
<div style="color:rgb(0,0,102);font-family:verdana,sans-serif">params = --hostname myhost</div><div style="color:rgb(0,0,102);font-family:verdana,sans-serif"><br></div><div style="color:rgb(0,0,102);font-family:verdana,sans-serif">
<b><u>Traget config : </u></b></div><div style="color:rgb(0,0,102);font-family:verdana,sans-serif"><br></div><div><div style><font color="#000066" face="verdana, sans-serif">++ SipGateway</font></div><div><font color="#000066" face="verdana, sans-serif">probe = SipSak</font></div>
<div><font color="#000066" face="verdana, sans-serif">host = </font><span style="color:rgb(0,0,102);font-family:verdana,sans-serif">hostip</span></div><div><font color="#000066" face="verdana, sans-serif">port = 5060</font></div>
<div><font color="#000066" face="verdana, sans-serif">user = nobody</font></div><div style="color:rgb(0,0,102);font-family:verdana,sans-serif"><br></div></div></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,102)">
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,102)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,102)">When I look at the "ps" output, here is what I see when smokeping executes the sipsak command : </div>
<div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,102)"><br></div><div class="gmail_default"><div class="gmail_default"><font color="#000066" face="verdana, sans-serif"> /usr/local/bin/sipsak -vv -A 20 -s sip nobody hostip 5060 --hostname myhost</font></div>
<div class="gmail_default"><font color="#000066" face="verdana, sans-serif"><br></font></div><div class="gmail_default" style><font color="#000066" face="verdana, sans-serif">If I look at the code for the probe, the variable host should be something like : </font></div>
<div class="gmail_default" style><font color="#000066" face="verdana, sans-serif"><br></font></div><div class="gmail_default" style><font color="#000066" face="verdana, sans-serif"><div class="gmail_default"> $host = $vars->{user}.'@'.$host if $vars->{user};</div>
<div class="gmail_default"> $host = $host . ':' . $vars->{port} if $vars->{port};</div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default" style>So in my case : "nobody@hostip:5060" </div>
</font><font color="#000066" face="verdana, sans-serif"><div class="gmail_default"><br></div><div style>But I don't know why the characters "@" and ":" were removed from the hostname when they are using with the command open : </div>
<div style><br></div><div style><br></div></font></div><div><div><font color="#000066" face="verdana, sans-serif"> open (my $sak,'-|',$self->{properties}{binary},'-vv','-A',$pingcount,'-s','sip:'.$host,@extra_opts)</font></div>
<div style="color:rgb(0,0,102);font-family:verdana,sans-serif"><br></div></div><div style="color:rgb(0,0,102);font-family:verdana,sans-serif"><br></div><div style="color:rgb(0,0,102);font-family:verdana,sans-serif">Any idea ?</div>
<div style="color:rgb(0,0,102);font-family:verdana,sans-serif"><br></div><div style="color:rgb(0,0,102);font-family:verdana,sans-serif">Many thanks. </div></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,102)">
<br></div><br clear="all"><div><span style="font-family:tahoma,sans-serif;color:rgb(0,0,102)"># - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<div style="font-family:verdana,sans-serif;color:rgb(0,0,102);display:inline" class="gmail_default">
</div></span><br style="font-family:tahoma,sans-serif;color:rgb(0,0,102)"><span style="font-family:tahoma,sans-serif;color:rgb(0,0,102)"># - - Nicolas KARP</span><br style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">
<span style="font-family:tahoma,sans-serif;color:rgb(0,0,102)"># - - Network and Security Engineer</span><br style="font-family:tahoma,sans-serif;color:rgb(0,0,102)"><span style="font-family:tahoma,sans-serif;color:rgb(0,0,102)"># - - Email : <a href="mailto:nicolas@karp.fr" target="_blank">liste@karp.fr</a></span><span style="font-family:tahoma,sans-serif;color:rgb(0,0,102)"></span><br style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">
<span style="font-family:tahoma,sans-serif;color:rgb(0,0,102)"># - - Linkedin : <a href="http://www.linkedin.com/in/nicolaskarp" target="_blank">http://www.linkedin.com/in/nicolaskarp </a></span><br style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">
<span style="font-family:tahoma,sans-serif;color:rgb(0,0,102)"># - - Viadeo : </span><a style="font-family:tahoma,sans-serif;color:rgb(0,0,102)" href="http://www.viadeo.com/fr/profile/nicolas.karp%20" target="_blank"><span>http://www.viadeo.com/fr/profile/</span><span>nicolas.karp</span> </a><br style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">
<span style="font-family:tahoma,sans-serif;color:rgb(0,0,102)"># - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</span><br><br><br></div>
</div>