First rough cut at a logserver setup. Will need lots more tweaking.

This commit is contained in:
Kevin Fenzi 2014-07-16 21:01:29 +00:00
parent 061a72dae4
commit d445a1df19
8 changed files with 287 additions and 2 deletions

View file

@ -0,0 +1,5 @@
LoadPlugin network
<Plugin "network">
Listen "0.0.0.0"
</Plugin>

View file

@ -20,6 +20,14 @@
copy: src=network-client.conf dest=/etc/collectd.d/network.conf
notify:
- restart collectd
when: not inventory_hostname.startswith('log')
# install collectd-network config
- name: /etc/collectd.d/network.conf
copy: src=network-server.conf dest=/etc/collectd.d/network.conf
notify:
- restart collectd
when: inventory_hostname.startswith('log')
# apache - localhost only - pretty much any apache server
- name: install collectd-apache