Collectd+postgres for db-datanommer01
This commit is contained in:
parent
ad799abed9
commit
e258bae727
5 changed files with 46 additions and 1 deletions
14
roles/collectd/postgres/tasks/main.yml
Normal file
14
roles/collectd/postgres/tasks/main.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
|
||||
- name: Copy in /usr/local/bin/collectd-postgres.sh
|
||||
template: >
|
||||
src=collectd-postgres.sh
|
||||
dest=/usr/local/bin/collectd-postgres.sh
|
||||
mode=0755
|
||||
notify: restart collectd
|
||||
|
||||
- name: Copy in /etc/collectd.d/postgres.conf
|
||||
template: >
|
||||
src=postgres.conf
|
||||
dest=/etc/collectd.d/postgres.conf
|
||||
notify: restart collectd
|
Loading…
Add table
Add a link
Reference in a new issue