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

Tobias Oetiker tobi at oetiker.ch
Mon May 28 11:09:09 CEST 2007


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