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@leeloo.lan.home.verplant.org>
Tue, 15 Dec 2009 12:11:42 +0000 (13:11 +0100)
commit1b0101fbde86c01590bec8e78fac3262b8542119
tree1da92a86d98c10553c80bc9a85b8a156230092d1
parentfeca5996d58cf1c61c187369389accec284ac43b
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