Doesn't the -t command do this?

Give this scenario

5.5.5.0/24 255 non-responsive hosts

-i 1
-p 1
-C 5

The ICMP requests should be sent in not much over .255 seconds but instead 
takes over 5 seconds.  I'm trying to determine what is causing fping to take so 
long to loop through all the hosts.  I'll keep hacking away at the code hoping 
to find an answer.

----
Larry Low
4150 N Drinkwater Blvd., 5th Floor
Scottsdale, AZ  85251
Office: 480.385.7045
E-mail: [EMAIL PROTECTED]'

Telesphere Networks, Inc


-----Original Message-----
From: Chris Wilson [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2008 2:38 PM
To: Larry Low
Cc: [email protected]
Subject: Re: [smokeping-users] nss_ldap smokeping problem - fping polling 
taking too long problem

Hi Larry,

On Mon, 24 Mar 2008, Larry Low wrote:

> I think I see the problem with fping taking so long.  It does not seem
> to be multithreaded so a host not responding holds up the entire
> process.
>
> Am I correct?  Anyone know of another solution.  I want to be able to
> send 5 pings to 500 hosts with growth of about 3000 per poller.

fping does not need to be multithreaded, it's asynchronous instead, which
is much more efficient.

The main limit on fping is that it has to have enough time (at the maximum
ping rate) to send the specified number of pings to each host, and then
wait for the answer to arrive from the last one, before its timeout
expires.

To ping a lot of hosts, you may have to reduce the minimum time between
pings (which may require hacking fping) and set the timeout longer than
the highest RTT that you expect from any host, otherwise the final ping
response from a slow host will be lost, and reported as lost to smokeping.

Cheers, Chris.
--
Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to