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). Interestingly, I did not experience any problems when configuring collectd together with its ping plugin in a Debian Lenny running in an OpenVZ container (also x86_64) some time ago. Regards, Paul -- perl -e 'print pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org