ping plugin: Add MaxMissed option.
authorStefan Völkel <bd@bc-bd.org>
Tue, 15 Dec 2009 10:25:58 +0000 (10:25 +0000)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 15 Dec 2009 12:01:24 +0000 (13:01 +0100)
commit035fe0f7bc9ac42f5b0f2f221627c949709caf4b
treec438b81a8f97703db40a69618467275902c9f39d
parent4a65aea3f41cd94ab46494d5759277023dd3ff49
ping plugin: Add MaxMissed option.

Any host not replying to consecutive MaxMissed PING packets will get
it's name re-resolved via DNS.

This enables the use of dynamic DNS services (like dyndns.org) with the
ping plugin. Prior to this patch, hostnames were resolved once on daemon
start.

The default is -1 (disabled).

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/collectd.conf.pod
src/ping.c