Code

ping plugin: Don't abort the "ping_thread" when ping_send() fails.
authorFlorian Forster <octo@collectd.org>
Sun, 11 Nov 2012 09:57:55 +0000 (10:57 +0100)
committerFlorian Forster <octo@collectd.org>
Sun, 11 Nov 2012 09:58:06 +0000 (10:58 +0100)
commitc207f0ca4e3eca8d8bbd897884ae3ad8f8e9859d
tree5a3d4605ff42125d45109d2b46de92fb3d9e5bc3
parente09db531fa5ec2ce997154e4ad5d4fdee298f94a
ping plugin: Don't abort the "ping_thread" when ping_send() fails.

This may happen when the network is down. If the thread fails, the read
callback will indicate an error and the exponential back-off will start.
This is not optimal for this scenario, since you usually want to have
ping stats from right when the network is back up.

Fixes Github issue #171.
src/ping.c