Hi Paul,

On Wed, Jun 17, 2009 at 01:01:39AM +0200, Paul Staroch wrote:
> Sebastian Harl schrieb:
> > On Tue, Jun 16, 2009 at 04:23:31PM +0200, Paul Staroch wrote:
> >> When I configure collectd to use the ping plugin in order to ping more than
> >> 3 hosts, it fails to run. When running collectd by entering
> >>
> >> /usr/sbin/collectd -f -C /etc/collectd/collectd.conf
> >>
> >> into a root shell, collectd aborts with the following error message:
> >>
> >> collectd: liboping.c:168: ping_timeval_sub: Assertion `(res->tv_sec > 0) 
> >> || ((res->tv_sec == 0) && (res->tv_usec > 0))' failed.
> >> Aborted
> >
> > Uhm ... I'm kinda surprised that this seems to be related to the number
> > of hosts. That assertion is triggered if, supposedly, an ICMP ECHO_REPLY
> > was received "right away" - i.e. the calculated round trip time ends up
> > being zero. So, if this is related to the number of hosts, the
> > correlation between host and received ECHO_REPLY might be broken which
> > would be an even worse issue :-/
> >
> > Does this happen no matter which hosts are added or is it related to
> > adding some specific host (like localhost)?
> 
> This problem is not limited to specific hosts; I didn't even try
> localhost. I only ping servers which have a low round trip time (<100 ms).

I've uploaded liboping 1.3.1-1 a few days ago. Could you please try to
verify that this releases fixes this issue? Please make sure that the
round trip times reported by oping (or collectd's ping plugin) look
reasonable to make sure we don't miss some other issue.

TIA,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

Reply via email to