Setup rrdtool collectd config
This commit is contained in:
parent
f634818cf3
commit
284c0bf188
3 changed files with 20 additions and 8 deletions
|
@ -1,8 +0,0 @@
|
||||||
LoadPlugin rrdtool
|
|
||||||
|
|
||||||
<Plugin rrdtool>
|
|
||||||
CacheTimeout 160
|
|
||||||
CacheFlush 1200
|
|
||||||
WritesPerSecond 50
|
|
||||||
</Plugin>
|
|
||||||
|
|
9
roles/collectd/server/files/rrdtool.conf
Normal file
9
roles/collectd/server/files/rrdtool.conf
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
LoadPlugin rrdtool
|
||||||
|
|
||||||
|
<Plugin rrdtool>
|
||||||
|
DataDir "/var/lib/collectd/rrd"
|
||||||
|
CacheTimeout 180
|
||||||
|
CacheFlush 7200
|
||||||
|
WritesPerSecond 50
|
||||||
|
</Plugin>
|
||||||
|
|
|
@ -15,6 +15,17 @@
|
||||||
# install collectd ping config
|
# install collectd ping config
|
||||||
- name: install collectd ping config
|
- name: install collectd ping config
|
||||||
copy: src=ping.conf dest=/etc/collectd.d/ping.conf
|
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:
|
tags:
|
||||||
- config
|
- config
|
||||||
- collectd/server
|
- collectd/server
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue