Setup rrdtool collectd config

This commit is contained in:
Kevin Fenzi 2014-07-19 18:32:56 +00:00
parent f634818cf3
commit 284c0bf188
3 changed files with 20 additions and 8 deletions

View file

@ -1,8 +0,0 @@
LoadPlugin rrdtool
<Plugin rrdtool>
CacheTimeout 160
CacheFlush 1200
WritesPerSecond 50
</Plugin>

View file

@ -0,0 +1,9 @@
LoadPlugin rrdtool
<Plugin rrdtool>
DataDir "/var/lib/collectd/rrd"
CacheTimeout 180
CacheFlush 7200
WritesPerSecond 50
</Plugin>

View file

@ -15,6 +15,17 @@
# install collectd ping config
- name: install collectd ping config
copy: src=ping.conf dest=/etc/collectd.d/ping.conf
notify:
- restart collectd
tags:
- config
- collectd/server
# install collectd rrd config
- name: install collectd rrd config
copy: src=rrdtool.conf dest=/etc/collectd.d/rrdtool.conf
notify:
- restart collectd
tags:
- config
- collectd/server