[smokeping-users] Re: RemoteFPing
James Baldwin
jbaldwin at antinode.net
Mon Jun 28 13:40:58 MEST 2004
In RemoteFPing.pm, either have the main while loop iterate through
$errh instead of $outh or change $query so that the standard error of
fping is redirected to standard output.
$self->{rtts}={};
while (<$errh>) {
chomp;
or
my $query = "$self->{properties}{binary} @ruser $target->{vars}{rhos
t} @rbinary @bytes -C $self->{cfg}{Database}{pings} -q -B1 -i10 -r1
@{$self->add
resses} 2>&1";
On 28 Jun 2004, at 05:07, bartolini at bluewin.ch wrote:
> Hello,
>
> I try to configure RemoteFPing, when I start smokeping --debug I see
> the
> following...
>
> Launched successfully
> FPing: probing 20 targets
> RemoteFPing: probing 1 targets
> Curl: probing 2 targets
> RemoteFPing: query=/usr/bin/ssh -l user system-ip
> /usr/local/sbin/fping -b256
> -C 20 -q -B1 -i10 -r1 xx.xxx.xx.xxx
>
> But it never retrieve the values and does not graph.
>
> Wheni I run the same command manually, I get the following :
>
> [user at xxx-xxx11 smokeping]# /usr/bin/ssh -l user system-ip
> /usr/local/sbin/fping
> -b256 -C 20 -q -B1 -i10 -r1 xx.xxx.xx.xxx
> xx.xxx.xx.xxx : 89.91 88.45 98.64 88.85 89.09 78.19 89.40 88.69 88.76
> 78.54
> 88.15 88.77 97.88 78.20 88.89 89.08 65.22 98.26 88.58 98.74
>
> Any idea ?
>
> Thanks for help
> G.Bartolini
>
> --
> Unsubscribe
> mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
> Help mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
> Archive http://www.ee.ethz.ch/~slist/smokeping-users
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the smokeping-users
mailing list