author | Florian Forster <octo@collectd.org> | |
Sun, 11 Nov 2012 09:57:55 +0000 (10:57 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 11 Nov 2012 09:58:06 +0000 (10:58 +0100) | ||
commit | c207f0ca4e3eca8d8bbd897884ae3ad8f8e9859d | |
tree | 5a3d4605ff42125d45109d2b46de92fb3d9e5bc3 | tree | snapshot |
parent | e09db531fa5ec2ce997154e4ad5d4fdee298f94a | commit | diff |
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.
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 | diff | blob | history |