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