[collectd/base] re-resolve dns lookup after a few hours if it fails

see: https://github.com/collectd/collectd/pull/732

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Rick Elrod 2015-05-25 03:33:34 +00:00
parent e04c03e6a6
commit c5ae02db25
3 changed files with 9 additions and 6 deletions

View file

@ -1,5 +0,0 @@
LoadPlugin network
<Plugin "network">
Server "log01"
</Plugin>

View file

@ -23,7 +23,7 @@
# install collectd-network config
- name: /etc/collectd.d/network.conf
copy: src=network-client.conf dest=/etc/collectd.d/network.conf
template: src=network-client.conf.j2 dest=/etc/collectd.d/network.conf
tags:
- collectd
notify:

View file

@ -0,0 +1,8 @@
LoadPlugin network
<Plugin "network">
Server "log01"
{% if ansible_distribution_major_version != '6' %}
ResolveInterval 14400
{% endif %}
</Plugin>