Stub of a collectd role for fedmsg process health.

This commit is contained in:
Ralph Bean 2014-04-30 16:04:47 +00:00
parent 26b3dffd89
commit b5f6044085
3 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1,14 @@
---
- name: Copy in /usr/local/bin/fedmsg-service-collectd
copy: >
src=fedmsg-service-collectd.py
dest=/usr/local/bin/fedmsg-service-collectd
mode=0755
notify: restart collectd
- name: Copy in /etc/collectd.d/fedmsg-service.conf
template: >
src=fedmsg-service.conf
dest=/etc/collectd.d/{{ process }}-conf
notify: restart collectd