[smokeping-users] remote execution module for new probe and debugging

Kashmishman kashmish at gmail.com
Tue May 29 05:52:22 CEST 2007


Thx!

believe we are happy for now; it was quite easy to expand the skel-based
probe to support the remote commands too, rather then fighting with the
remote-execution wrapper ;-) 

looking forward to the client-server version of smokeping though.

cheerio and keep up the fantastic work!
-k


-----Original Message-----
From: Tobias Oetiker [mailto:tobi at oetiker.ch] 
Sent: Monday, May 28, 2007 5:09 AM
To: Kashmishman
Cc: smokeping-users at lists.oetiker.ch
Subject: Re: [smokeping-users] remote execution module for new probe and
debugging


Hi k,

normally it is enough to just use warn to write out debug messages.
define a logfile and you will find them there ...

on another note, I am in discussion with a client who is loooking
at sponsoring a generic smokeping remote feature. This would allow
smokeping to run in salva and master mode. The slave would run
probes and hand the data over to the master upon request ...

cheers
tobi

Yesterday Kashmishman wrote:

> Hi all,
>
> we got a new probe in place - for owamp - , that we need to use via
> remote systems.
> a simple local probe (Owping.pm), based on skel.pm works already as
> expected.
>
> to be able to use it remotely, we tried to make another remote-probe,
> based on RemoteFPing.pm;
> But it seems things are not just straight forward. So far we only
> replaced:
> use base qw(Smokeping::probes::FPing);
> with
> use base qw(Smokeping::probes::Owping);
> but this doesnt seem to be enough, we are getting ssh-errors. Seems
the
> ssh-line is not being compiled as expected.
>
> was wondering what our debugging options are? i set --debug and tried
> out a few things like:
> $self->do_debug("something");
> within the code, but no visible output so far.
>
> any debugging pointers or even better, some hints how to 're-use'
> RemoteFPing would be fantastic!
>
> TIA
> -k
>
> _______________________________________________
> 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
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902



More information about the smokeping-users mailing list