[smokeping-users] [BULK] Re: New probe speedtest

Adrian Popa adrian_gh.popa at telekom.ro
Fri Jun 12 08:36:40 CEST 2015


Hello Erik,

I looked through Smokeping.pm hoping to find it hardcoded, and I found a 
call to a function called ProbeUnit(). So, I added such a function in my 
probe that returns the value to be displayed (it's called automatically):

sub ProbeUnit($){
     my $self = shift;
     #TODO: We need to know if we are measuring bps or seconds - 
depending on measurement (or maybe on probe name).
     return "bps";
}

By the way, this remains a TODO with my speedtest probe - if you measure 
ping time you'll get bps as your axis :(. Suggestions welcome.


On 06/12/15 09:24, Erik Taraldsen wrote:
> Adrian: How did you get the Y-axis to be bits pr second?  I'm doing a
> probe for nuttcp, but I only can get it to display as "seconds".
> Allways confusing my co-workers.
>
> -Erik
>
> On Thu, Jun 11, 2015 at 11:56 PM, Tobias Oetiker <tobi at oetiker.ch> wrote:
>> Today Adrian Popa wrote:
>>
>>> Hello everyone,
>>>
>>> I'd like to share with you a new probe I've been working on - integrating
>>> speedtest-cli project to work with smokeping. The idea was that we needed to
>>> run some tests to get the customer's "experience" when using speedtest.net
>>> with different test servers. We developed this probe, and measure the
>>> upload/download rate the client's connection supports.
>>>
>>> Plugin description and examples are here:
>>>
>>> https://github.com/mad-ady/smokeping-speedtest
>>>
>>> There is a bit of a deviation from standard plugins - meaning it ignores the
>>> pings variable and does only one test. This was done in order to prevent the
>>> IP getting banned for too agressive behavior by the speedtest.net servers. It
>>> can be reactivated - I'm open to ideas.
>>>
>>> Here's a sample graph from a slave probe (1 hour polling):
>>>
>>> http://imgur.com/cTJdHCS
>>>
>>> @tobi: if you feel this plugin could be useful and should be included in the
>>> main release, let me know and I'll see how I can merge it...
>> sure ... bring it on :) the youtube one as well
>>
>> cheers
>> tobi
>>
>>> Feedback welcome,
>>>
>>> Regards,
>>> Adrian
>>>
>>> _______________________________________________
>>> smokeping-users mailing list
>>> smokeping-users at lists.oetiker.ch
>>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>>>
>>>
>> --
>> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
>> www.oetiker.ch tobi at oetiker.ch +41 62 775 9902
>>
>> _______________________________________________
>> smokeping-users mailing list
>> smokeping-users at lists.oetiker.ch
>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

-- 
TELEKOM ROMANIA
Adrian Popa
Expert Engineer
Applications, Security & EMS
35-37 Calea Victoriei, Palatul Telefoanelor
Mobile: +40 766 673 290
Phone: +40 21 400 7567



More information about the smokeping-users mailing list