<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" bgcolor='#FFFFFF' ><!-- This is a notification from the Help Desk. -->
<STYLE>
a { color:#FF6600;}
</STYLE>
<table width="550" cellpadding="20" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td bgcolor="#FFFFFF" valign="top" style="font-size:12px;color:#000000;font-family:trebuchet ms;">
<p style="font-weight:bold"></p>
<i style="color:#555555; font-size:11px">On Nov 12, 2013 @ 05:32 pm, smokeping-users-request@lists.oetiker.ch wrote:</i>
<p>Send smokeping-users mailing list submissions to<br />        smokeping-users@lists.oetiker.ch<br /><br />To subscribe or unsubscribe via the World Wide Web, visit<br />        https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users<br />or, via email, send a message with subject or body 'help' to<br />        smokeping-users-request@lists.oetiker.ch<br /><br />You can reach the person managing the list at<br />        smokeping-users-owner@lists.oetiker.ch<br /><br />When replying, please edit your Subject line so it is more specific<br />than "Re: Contents of smokeping-users digest..."<br /><br /><br />Today's Topics:<br /><br /> 1. Alerts for different slaves (Nick Toseland)<br /> 2. Re: rename of smokeping.cgi into index.cgi (Jean St-Laurent)<br /> 3. SipSak : host uri issue (Nicolas KARP)<br /> 4. Re: SipSak : host uri issue (Russell Dwarshuis)<br /> 5. Re: Alerts for different slaves (Nick Toseland)<br /> 6. Re: SipSak : host uri issue (Nicolas KARP)<br /><br /><br />-
---------------------------------------------------------------------<br /><br />Message: 1<br />Date: Fri, 12 Jul 2013 18:02:17 +0100<br />From: Nick Toseland <nick@livejournalinc.com><br />Subject: [smokeping-users] Alerts for different slaves<br />To: smokeping-users@lists.oetiker.ch<br />Message-ID: <51E03699.20407@livejournalinc.com><br />Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br /><br />Hi All,<br /><br />Is it possible to have alerts per slave?<br /><br />I have a slave that is approx 140ms from the master.<br /><br />If for instance I ping the www.bbc.co.uk from the master it is about 150 <br />ms RTT, from the slave it is 12ms..<br /><br />I would like an alert to fire if the RTT from the master goes above <br />200ms and an alert if the RTT from the slave goes about 40ms<br /><br />Many thanks<br /><br />Nick<br /><br /><br /><br />------------------------------<br /><br />Message: 2<br />Date: Fri, 12 Jul 2013 21:18:49 +0200<br />
From: Jean St-Laurent <jean@wedebugyou.com><br />Subject: Re: [smokeping-users] rename of smokeping.cgi into index.cgi<br />To: smokeping-users@lists.oetiker.ch<br />Message-ID: <51E05699.9020001@wedebugyou.com><br />Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br /><br />On 7/8/13 4:09 PM, Arnaud wrote:<br />> G.W. Haywood <ged <at> jubileegroup.co.uk> writes:<br />><br />>> Hi there,<br />>><br />>> On Wed, 6 Feb 2013, Kris De Rocker wrote:<br />>><br />>>> I've followed a nice (and working!) how-to to install smokeping on a<br />> CentOS system<br />>>> (http://www.wedebugyou.com/2012/11/how-to-install-and-configure-<br />> smokeping-on-centos-6/)<br />>> Unofficial HOWTOs generally should be treated with suspicion. They<br />>> are usually out of date and often wrong.<br />>><br />>>> At this moment, the smokeping URL is like<br />> http://ip/smokep
ing/smokeping.cgi<br />>>> Can i just do a rename of smokeping.cgi into index.cgi so that when i<br />> surf to<br />>>> http://ip/smokeping it will be visible? Or isn't that possible?<br />>> Don't do that. Use the facilities which are made available by Apache:<br />>><br />>> http://httpd.apache.org/docs/2.4/mod/mod_dir.html#directoryindex<br />>><br />>><br />> Hi,<br />><br />> I am following the same installation with a problem in step 6 (add<br />> smokeping start/stop script) because the link is anavailable.<br />> Could you please send me the file "smokeping_start_stop.txt"?<br />><br />> Best regards<br />><br />><br />><br />> _______________________________________________<br />> smokeping-users mailing list<br />> smokeping-users@lists.oetiker.ch<br />> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users<br />Hi,<br /><br />the link is fix in step 6.<br
/><br />Sincerely,<br />Jean<br /><br /><br /><br />------------------------------<br /><br />Message: 3<br />Date: Tue, 16 Jul 2013 18:09:48 +0200<br />From: Nicolas KARP <liste@karp.fr><br />Subject: [smokeping-users] SipSak : host uri issue<br />To: "<smokeping-users@lists.oetiker.ch>"<br />        <smokeping-users@lists.oetiker.ch><br />Message-ID:<br />        <CAELGAXeU2LhEhUB=PS1MMr+jgyvC-_LunYNQWRa9fv9+pVnGWw@mail.gmail.com><br />Content-Type: text/plain; charset="iso-8859-1"<br /><br />Hi Everyone,<br /><br />As I'm not an expert in Perl, i don't really understand what is happening<br />with this SipSak probe :<br /><br />*Probe config : *<br /><br />+ SipSak<br />binary = /usr/local/bin/sipsak<br />forks = 5<br />offset = 50%<br />step = 300<br />timeout = 15<br />params = --hostname myhost<br /><br />*Traget config : *<br /><br />++ SipGateway<br />probe = SipSak<br />host = hostip<br />port = 5060<br />user = nobody<br /><br /><br /
><br />When I look at the "ps" output, here is what I see when smokeping executes<br />the sipsak command :<br /><br /> /usr/local/bin/sipsak -vv -A 20 -s sip nobody hostip 5060 --hostname myhost<br /><br />If I look at the code for the probe, the variable host should be something<br />like :<br /><br /> $host = $vars->{user}.'@'.$host if $vars->{user};<br /> $host = $host . ':' . $vars->{port} if $vars->{port};<br /><br /><br />So in my case : "nobody@hostip:5060"<br /><br />But I don't know why the characters "@" and ":" were removed from the<br />hostname when they are using with the command open :<br /><br /><br /> open (my<br />$sak,'-|',$self->{properties}{binary},'-vv','-A',$pingcount,'-s','sip:'.$host,@extra_opts)<br /><br /><br />Any idea ?<br /><br />Many thanks.<br /><br /><br /># - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />- - - - - - - - - - - - - - - - - - -<br /><br
/><br /># - - Nicolas KARP<br /># - - Network and Security Engineer<br /># - - Email : liste@karp.fr <nicolas@karp.fr><br /># - - Linkedin : http://www.linkedin.com/in/nicolaskarp<br /># - - Viadeo : http://www.viadeo.com/fr/profile/nicolas.karp<br /><http://www.viadeo.com/fr/profile/nicolas.karp%20><br /># - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />- - - - - - - - - - - - - - - - - - -<br />-------------- next part --------------<br />An HTML attachment was scrubbed...<br />URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130716/4e1c4e90/attachment-0001.htm <br /><br />------------------------------<br /><br />Message: 4<br />Date: Tue, 16 Jul 2013 13:30:31 -0400 (EDT)<br />From: Russell Dwarshuis <rjd@merit.edu><br />Subject: Re: [smokeping-users] SipSak : host uri issue<br />To: Nicolas KARP <liste@karp.fr><br />Cc: smokeping-users <smokeping-users@lists.oetiker.ch><br />M
essage-ID:<br />        <1660584909.226915.1373995831757.JavaMail.zimbra@merit.edu><br />Content-Type: text/plain; charset=utf-8<br /><br />I don't see anything obviously wrong. Perhaps the shell that open invokes is changing them. Try open with just three arguments instead, like<br /><br />open (my $sak, '-|', "$self->{properties}{binary} -vv -A $pingcount -s sip:$host " . join(' ',@extra_opts));<br /><br />Another possibility is you are looking at an old invocation in ps and your run did not start a new sipsak???<br /><br /><br />-Russell Dwarshuis<br /><br />----- Original Message -----<br />From: "Nicolas KARP" <liste@karp.fr><br />To: "<smokeping-users@lists.oetiker.ch>" <smokeping-users@lists.oetiker.ch><br />Sent: Tuesday, July 16, 2013 12:09:48 PM<br />Subject: [smokeping-users] SipSak : host uri issue<br /><br />Hi Everyone, <br /><br />As I'm not an expert in Perl, i don't really understand what is happening with
this SipSak probe : <br /><br />Probe config : <br /><br />+ SipSak <br />binary = /usr/local/bin/sipsak <br />forks = 5 <br />offset = 50% <br />step = 300 <br />timeout = 15 <br />params = --hostname myhost <br /><br />Traget config : <br /><br />++ SipGateway <br />probe = SipSak <br />host = hostip <br />port = 5060 <br />user = nobody <br /><br /><br /><br />When I look at the "ps" output, here is what I see when smokeping executes the sipsak command : <br /><br />/usr/local/bin/sipsak -vv -A 20 -s sip nobody hostip 5060 --hostname myhost <br /><br />If I look at the code for the probe, the variable host should be something like : <br /><br />$host = $vars->{user}.'@'.$host if $vars->{user}; <br />$host = $host . ':' . $vars->{port} if $vars->{port}; <br /><br /><br />So in my case : "nobody@hostip:5060" <br /><br />But I don't know why the characters "@" and ":" were removed from the hostname when they are using with
the command open : <br /><br /><br />open (my $sak,'-|',$self->{properties}{binary},'-vv','-A',$pingcount,'-s','sip:'.$host,@extra_opts) <br /><br /><br />Any idea ? <br /><br />Many thanks. <br /><br /><br /># - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br /><br /># - - Nicolas KARP <br /># - - Network and Security Engineer <br /># - - Email : liste@karp.fr <br /># - - Linkedin : http://www.linkedin.com/in/nicolaskarp <br /># - - Viadeo : http://www.viadeo.com/fr/profile/ nicolas.karp <br /># - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br /><br /><br /><br />_______________________________________________<br />smokeping-users mailing list<br />smokeping-users@lists.oetiker.ch<br />https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users<br /><br /><br /><br />------------------------------<br /><br />Message: 5<br />Date: Tue, 16 Jul
2013 20:44:05 +0100<br />From: Nick Toseland <nick@livejournalinc.com><br />Subject: Re: [smokeping-users] Alerts for different slaves<br />To: smokeping-users@lists.oetiker.ch<br />Message-ID: <51E5A285.7030902@livejournalinc.com><br />Content-Type: text/plain; charset=UTF-8; format=flowed<br /><br />Hi,<br /><br />Does anybody have any suggestions?<br /><br />Thanks In Advance<br /><br />Nick<br /><br />On Fri Jul 12 18:02:17 2013, Nick Toseland wrote:<br />> Hi All,<br />><br />> Is it possible to have alerts per slave?<br />><br />> I have a slave that is approx 140ms from the master.<br />><br />> If for instance I ping the www.bbc.co.uk from the master it is about 150<br />> ms RTT, from the slave it is 12ms..<br />><br />> I would like an alert to fire if the RTT from the master goes above<br />> 200ms and an alert if the RTT from the slave goes about 40ms<br />><br />> Many thanks<br />><br />> Nick<br /><br /
><br /><br />------------------------------<br /><br />Message: 6<br />Date: Tue, 16 Jul 2013 22:12:52 +0200<br />From: Nicolas KARP <liste@karp.fr><br />Subject: Re: [smokeping-users] SipSak : host uri issue<br />To: Russell Dwarshuis <rjd@merit.edu><br />Cc: smokeping-users <smokeping-users@lists.oetiker.ch><br />Message-ID:<br />        <CAELGAXdS7mc6NB_QE1TX5CUJPnopdiMv9hAqSdkBJ=jS4dDVvQ@mail.gmail.com><br />Content-Type: text/plain; charset="iso-8859-1"<br /><br />Another possibility is you are looking at an old invocation in ps and your<br />> run did not start a new sipsak???<br />><br />><br />> LoL. No, I was doing a "while [<br /><br />1 ]" with a "ps | grep sipsak" in order to check the next sip call ;)<br />The variable host looks good before the call of the funtion open because I<br />tried to write the value of this variable and was able to see the : and<br />@..<br /><br /><br />I will try what you sug
gested. I think Perl should be using the shell "sh".<br />I will check tomorrow and run some tests again. That's odd !<br /><br />FYI, i'm using Centos 6.1 if I remeber right.<br /><br /><br />Cheers.<br /><br />Nick<br /> <br /><br />><br />> ----- Original Message -----<br />> From: "Nicolas KARP" <liste@karp.fr><br />> To: "<smokeping-users@lists.oetiker.ch>" <smokeping-users@lists.oetiker.ch<br />> ><br />> Sent: Tuesday, July 16, 2013 12:09:48 PM<br />> Subject: [smokeping-users] SipSak : host uri issue<br />><br />> Hi Everyone,<br />><br />> As I'm not an expert in Perl, i don't really understand what is happening<br />> with this SipSak probe :<br />><br />> Probe config :<br />><br />> + SipSak<br />> binary = /usr/local/bin/sipsak<br />> forks = 5<br />> offset = 50%<br />> step = 300<br />> timeout = 15<br />> params = --hostname myhost<br />><br />
> Traget config :<br />><br />> ++ SipGateway<br />> probe = SipSak<br />> host = hostip<br />> port = 5060<br />> user = nobody<br />><br />><br />><br />> When I look at the "ps" output, here is what I see when smokeping executes<br />> the sipsak command :<br />><br />> /usr/local/bin/sipsak -vv -A 20 -s sip nobody hostip 5060 --hostname myhost<br />><br />> If I look at the code for the probe, the variable host should be something<br />> like :<br />><br />> $host = $vars->{user}.'@'.$host if $vars->{user};<br />> $host = $host . ':' . $vars->{port} if $vars->{port};<br />><br />><br />> So in my case : "nobody@hostip:5060"<br />><br />> But I don't know why the characters "@" and ":" were removed from the<br />> hostname when they are using with the command open :<br />><br />><br />> open (my<br />> $sak,'-|',$self->{propertie
s}{binary},'-vv','-A',$pingcount,'-s','sip:'.$host,@extra_opts)<br />><br />><br />> Any idea ?<br />><br />> Many thanks.<br />><br />><br />> # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />> - - - - - - - - - - - - - - - - - - - -<br />><br />> # - - Nicolas KARP<br />> # - - Network and Security Engineer<br />> # - - Email : liste@karp.fr<br />> # - - Linkedin : http://www.linkedin.com/in/nicolaskarp<br />> # - - Viadeo : http://www.viadeo.com/fr/profile/ nicolas.karp<br />> # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />> - - - - - - - - - - - - - - - - - - - -<br />><br />><br />><br />> _______________________________________________<br />> smokeping-users mailing list<br />> smokeping-users@lists.oetiker.ch<br />> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users<br />><br />-------------- next part --------------<br />An H
TML attachment was scrubbed...<br />URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130716/98953bec/attachment.htm <br /><br />------------------------------<br /><br />_______________________________________________<br />smokeping-users mailing list<br />smokeping-users@lists.oetiker.ch<br />https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users<br /><br /><br />End of smokeping-users Digest, Vol 77, Issue 5<br />**********************************************</p>
<br/>
<hr/>
This is an automated response. Your issue has been noted. We'll be in touch soon.<br/>
<br/>
Please reply to this email or visit the URL below with any additional details.<br/>
<br/>
<a href="http://florin-pc/portal/view-help-request/35">http://florin-pc/portal/view-help-request/35</a><br/>
</td>
</tr>
</table>
</body>