Naman Latif | 1 Dec 19:08 2003

Re: Remote Fping Problems...

We had this problem before. Thanks to Keith Patton, he provided a patch
for RemoteFping.pm and it started working.
I thought that the patch should have been included in the latest
SmokePing distribution but I might be wrong.
Attached is the patch.

Regards \\ Naman
-----Original Message-----
From: C. van Ee [mailto:djmuggs <at> cypresshill.nl] 
Sent: Wednesday, November 26, 2003 3:08 AM
To: smokeping-users <at> list.ee.ethz.ch
Subject: [smokeping-users] Remote Fping Problems...

I'm just a bit lost now ;-)

I followed the instructions for configuring ssh and rsh to do an fping
remote.
If i give the command "ssh someuser <at> someip fping somehost" this works,
so i
should be allowed to use a probe for remote fping.

-- Attached file removed by Ecartis and put at URL below --
-- Type: application/octet-stream
-- Desc: RemoteFPing.pm
-- Size: 4k (4406 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/02-RemoteFPing.pm

--
Unsubscribe mailto:smokeping-users-request <at> list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request <at> list.ee.ethz.ch?subject=help
(Continue reading)

BALIGANT Francois WANADOO | 1 Dec 20:12 2003

[PATCH] bug fix for filter feature in 1.24


The new filter feature in 1.24 is really useful for consolidating RRDs from various
sources but also to separate probes on a single box into different process so a timeout
doesnt affect all the probes.

There is 2 bugs in 1.24 that needs attention.

The first one is proper GetOpt handling for the new --filter argument (maybe my version of GetOpt is picky)

The second one is that even if you specify a filter, smokeping will still update *all* the RRDs regardless if
they match the filter or not in update_rrds.

Yes it does only the measures for the filtered ones but all RRDs are updated which cause packet lost to
mysteriously appears in FPing RRDs when another smokeping process just updating Curl RRDs write null
values to FPing RRDs as well.

Patch is below, hope it helps others.

Francois Baligant (francois.baligant <at> wanadoo.com)
Wanadoo S.A. - Network Strategy
Tel : +33 1 58 88 53 19
48 Rue Camille Desmoulins
92791 Issy les Moulineaux Cedex 9
France

--- smokeping-1.24-orig/lib/Smokeping.pm        2003-10-05 16:20:05.000000000 +0200
+++ smokeping-1.24/lib/Smokeping.pm     2003-12-01 19:56:04.000000000 +0100
 <at>  <at>  -724,6 +724,7  <at>  <at> 
        remark => ($tree->{remark} || ''),
        overview => get_overview( $cfg,$q,$tree,$open ),
(Continue reading)

Tobias Oetiker | 1 Dec 22:01 2003
Picon
Picon

Re: [PATCH] bug fix for filter feature in 1.24

Today BALIGANT Francois WANADOO wrote:

Hi Francois,

Congratulations, you seem to be the first person to use the filter
function (I implemented it following a suggestion on the list
without every using it myself :-) )

your patch is in and will be published in the next release

tobi

--

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker  <at>  ISG.EE, ETZ J97, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/~oetiker   +41(0)1-632-5286

--
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

Marco Avvisano | 3 Dec 18:00 2003
Picon

fping problem


Hi
I'm tryng to use some fping options 
i use these option:

 -b 64 -C 4 -r1 -i 1000 -t 10 -B 1.0

I use fping: Version 2.4b1 $Date: 2001/01/25 11:25:04

i would like that if the time for response is > 10 ms, returm me timeout, but it always return me the rtt value
(>10 ms) 

Someone have the same problem using fping?

thanks for help 

Marco Avvisano

--
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

Nipper, Arnold | 3 Dec 18:36 2003
Picon

Re: fping problem

On Wednesday, December 03, 2003 6:00 PM, Marco Avvisano
<m.avvisano <at> mail.regione.toscana.it> wrote:
> Hi
> I'm tryng to use some fping options
> i use these option:
>
>  -b 64 -C 4 -r1 -i 1000 -t 10 -B 1.0
>

Short description says:

   -t n       individual target initial timeout (in millisec) (default
20)

That is the timeout for the first packet. Not for all following. E.g.

fping -c 3 -t 50 ns1.remote.net.
ns1.remote.net. : [0], 84 bytes, 151 ms (151 avg, 0% loss)
ns1.remote.net. : [1], 84 bytes, 149 ms (150 avg, 0% loss)

ns1.remote.net. : xmt/rcv/%loss = 3/2/33%, min/avg/max = 149/150/151

I.e. the first packet is mising. This will be clear when you do:

fping -c 3  ns1.remote.net.
ns1.remote.net. : [0], 84 bytes, 149 ms (149 avg, 0% loss)
ns1.remote.net. : [1], 84 bytes, 152 ms (150 avg, 0% loss)
ns1.remote.net. : [2], 84 bytes, 148 ms (150 avg, 0% loss)

ns1.remote.net. : xmt/rcv/%loss = 3/3/0%, min/avg/max = 148/150/152
(Continue reading)

David Lapsley | 4 Dec 21:02 2003
Picon

Re: Ecartis command results: subscribe

Hello All,

First of all, I am a recent convert to MRTG and to smokeping. Very nice 
job!

I had quite a bit of trouble getting smokeping to work. I noticed on 
the mailing list archives that a lot of other people also had the same 
problem, so I thought I would share my experience:

After installing smokeping and trying to access it via:

http://myserver.edu/~mrtg/smokeping/smokeping.cgi

I would get the following Server error:

The server encountered an internal error and was unable to complete 
your request.
Error message:
Premature end of script headers: smokeping.cgi
If you think this is a server error, please contact the webmaster

Error 500

The scripts runs fine from a shell. The html generated views fine in a 
browser. So I spent much time reading source and also looking at 
Apache's config file. Everything seemed correct.

Finally, I cam across an email from someone on the apache mailing list 
that suggested that there may be a file permissions problem and to 
check out the suexec.log (in /etc/httpd/logs/suexec.log). Sure enough:
(Continue reading)

Dmitry Melekhov | 5 Dec 09:56 2003

IOSPing problem

Hello!

I just found that SmokePing simpy doesn't start IOSPing probes at all, I 
added debug output to IOSPing.pm and
this is what I see.

vader:/usr/local/smokeping/bin # ./smokeping --debug
### assuming you are using an IOS reporting in miliseconds
Launched successfully
IOSPing: probing 9 targets
Running probes
IOSPing: forks 5, rounds 2, timeout 150

It doesn't appear.

Any ideas?

--
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

Peter Hawks | 5 Dec 18:57 2003
Picon

Instalation problem - maybe perl

I tried to install smokeping. I isntalled, but after I have installed all 
the tools (rrdtool, fping, perl, speedycgi) the site tells to, when I try to 
start smokeping via ./smokeping there are some errors like:
>[root <at> bmw bin]# ./smokeping
>Can't locate Digest/Perl/MD5.pm in  <at> INC ( <at> INC contains: 
>/usr/local/smokeping->1.18/lib /usr/local/rrdtool-1.0.40/lib/perl 
>/usr/lib/perl5/5.6.1/i386->linux /usr/lib/perl5/5.6.1 
>/usr/lib/perl5/site_perl/5.6.1/i386->linux /usr/lib/perl5/site_perl/5.6.1 
>/usr/lib/perl5/site_perl .) at 
>/usr/lib/perl5/site_perl/5.6.1/i386->linux/Digest/MD5.pm line 20.
>Compilation failed in require at /usr/local/smokeping-1.18/lib/Smokeping.pm 
>line 8.
>BEGIN failed--compilation aborted at 
>/usr/local/smokeping-1.18/lib/Smokeping.pm line 8.
>Compilation failed in require at ./smokeping line 7.
>BEGIN failed--compilation aborted at ./smokeping line 7.
>speedy_backend[12267]: perl_parse error
>speedy[12265]: Cannot spawn backend process

What can I do about it? I'd apreciate a lot somebody's help.

Thanks,
Pete

_________________________________________________________________
MSN Messenger: instale grĂ¡tis e converse com seus amigos. 
http://messenger.msn.com.br

--
Unsubscribe mailto:smokeping-users-request <at> list.ee.ethz.ch?subject=unsubscribe
(Continue reading)

list | 7 Dec 02:26 2003

smokeping not collecting statistics from RemoteFPing probe

Using smokeping-1.24:

I've gone through all of the post regarding RemoteFPing, the manual, the
configuration manual, you name it.

Everything appears to work as it should using the new RemoteFPing.pm
contributed by Keith Patton:

ssh reality check:

smokeping <at> neptune:~$ /usr/bin/ssh -l smokeping 10.10.10.1
/usr/local/sbin/fping -b1024 -C 20 -q -B1 -i10 -r1 192.168.1.2
192.168.1.2 : 21.66 15.64 11.15 11.18 22.37 11.24 11.29 11.22 11.20 11.19
11.46 11.42 12.12 12.39 11.54 17.66 11.14 18.32 17.47 13.37
smokeping <at> neptune:~$

----------------- my configuration ------------------

*** Probes ***

+ RemoteFPing
binary = /usr/bin/ssh
packetsize = 1024
forks = 4

*** Targets ***

menu = Top
title = Network Performance Graphing
remark = Performance statistics
(Continue reading)

Peter Hawks | 8 Dec 17:01 2003
Picon

Re: Instalation problem - maybe perl

Marc,

thanks a lot for the infos you taught me. They were very useful. It seems 
now that smokeping started working. It has already created the directory 
with the .rrds , then it seems to be working.
But now I am going to ask for your help for another problem. Despite it runs 
storing the infos in the .rrds, I can't see them because there are some 
errors like:
1) The smokeping.cgi (actually pxt.cgi) file wasn't at the 
/usr/local/apache/cgi-bin directory when I started smokeping. I had to put 
it manually (I don't know if it is the correct way)
2) After I had put the smokeping.cgi in the cgi-bin directory, the template 
of Smokeping started working, but it doesn't show the graphics. It accuses 
some problems like:
- ERROR: Opening '/usr/local/apache/pid/pxt/BRA/router1a_mini.png' for 
write: Permission denied
- ERROR: Opening '/usr/local/apache/pid/pxt/BRA/router1b_mini.png' for 
write: Permission denied
- ERROR: creating  /usr/local/apache/pid/pxt/BRA/router1a: No such file or 
directory
- ERROR: creating  /usr/local/apache/pid/pxt/BRA/router1b: No such file or 
directory

Here is a copy of my config file and my smokeping.cgi (acctualy pxt.cgi) 
file. Idon't know if they might help, but...

/usr/local/smokeping-1.18/etc/config

*** General ***

(Continue reading)


Gmane