[smokeping-users] Re: Error with RRD
Strina Nicolas
nicolas.strina at smart-telecom.ch
Wed Apr 16 08:46:28 MEST 2003
I just install the upgrade of smokeping and i still have the same problem:
[root at noc smokeping]# /usr/local/bin/smokeping --debug
### fping seems to report in 1 miliseconds
### Compiling
sub { my $d = shift; my $y = $d->{rtt};
return 0 unless 9 <= scalar @$y ;
return 0 unless defined $y->[-9] and $y->[-9] < 0.01;
return 0 unless defined $y->[-8] and $y->[-8] < 0.01;
return 0 unless defined $y->[-7] and $y->[-7] < 0.01;
return 0 unless defined $y->[-6] and $y->[-6] < 0.01;
return 0 unless defined $y->[-5] and $y->[-5] < 0.01;
return 0 unless defined $y->[-4] and $y->[-4] < 0.1;
return 0 unless defined $y->[-3] and $y->[-3] > 0.1;
return 0 unless defined $y->[-2] and $y->[-2] > 0.1;
return 0 unless defined $y->[-1] and $y->[-1] > 0.1;
return 1; }
### Compiling
sub { my $d = shift; my $y = $d->{loss};
return 0 unless 7 <= scalar @$y ;
return 0 unless defined $y->[-7] and $y->[-7] == 0;
return 0 unless defined $y->[-6] and $y->[-6] == 0;
return 0 unless defined $y->[-5] and $y->[-5] == 0;
return 0 unless defined $y->[-4] and $y->[-4] == 0;
return 0 unless defined $y->[-3] and $y->[-3] > 1;
return 0 unless defined $y->[-2] and $y->[-2] > 1;
return 0 unless defined $y->[-1] and $y->[-1] > 1;
return 1; }
Launched successfully
FPing: probing 83 targets
ERROR: could not lock RRD
I don't have any pid files in the system .. If i remove all the images in
the directory it's working again. Is there any known bugs with rrd ?
Regards,
Nicolas
----------------------------------------
STRINA Nicolas
IP Network Engineer
VTX Services - Internet Service Provider
Av. de Lavaux, 101 CH-1009 Pully
nicolas.strina at smart-telecom.ch
http://www.vtx.ch
----------------------------------------
-----Message d'origine-----
De : smokeping-users-bounce at list.ee.ethz.ch
[mailto:smokeping-users-bounce at list.ee.ethz.ch]De la part de Brett
Marler
Envoyé : jeudi, 3. avril 2003 12:53
À : Strina Nicolas
Cc : smokeping-users at list.ee.ethz.ch
Objet : [smokeping-users] Re: Error with RRD
Nicolas,
> I didn't find any lock file or anything. Someone can give me a clue ?
The location of the "smokeping.pid" lockfile is actually defined in the
"config" file.
--
pc-linux% grep -i pid /usr/local/smokeping/etc/config
piddir = /var/run/
--
So assuming you don't have any other instances of smokeping running, you
should be able to start it fine. I guess to make sure you could always
"killall -9 smokeping". Failing that, "find / -name smokeping.pid" may help.
Regards.
--
Brett Marler <brett at asroma.homeip.net>
WWW: http://asroma.homeip.net/
Home: Melbourne, Australia
-- Binary/unsupported file stripped by Ecartis --
-- Err : No filename to use for decode, file stripped.
-- Type: application/pgp-signature
--
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