start of collectd graphite testing
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
2f3e86b3f9
commit
37a27645fc
3 changed files with 28 additions and 1 deletions
|
@ -10,6 +10,7 @@ vmhost: virthost10.phx2.fedoraproject.org
|
|||
datacenter: phx2
|
||||
|
||||
# There's only this server in stg, so it does certs.
|
||||
|
||||
master_fas_node: True
|
||||
gen_cert: True
|
||||
|
||||
collectd_graphite: True
|
||||
|
|
16
roles/collectd/base/files/graphite.conf
Normal file
16
roles/collectd/base/files/graphite.conf
Normal file
|
@ -0,0 +1,16 @@
|
|||
LoadPlugin "write_graphite"
|
||||
|
||||
<Plugin "write_graphite">
|
||||
<Node "laptop">
|
||||
Host "graphite.cloud.fedoraproject.org"
|
||||
Port "2003"
|
||||
Prefix "collectd."
|
||||
#Postfix ""
|
||||
#Protocol "udp"
|
||||
#LogSendErrors false
|
||||
EscapeCharacter "_"
|
||||
SeparateInstances true
|
||||
StoreRates false
|
||||
AlwaysAppendDS false
|
||||
</Node>
|
||||
</Plugin>
|
|
@ -56,6 +56,16 @@
|
|||
- restart collectd
|
||||
when: collectd_apache is defined
|
||||
|
||||
- name: /etc/collectd/graphite.conf
|
||||
copy: src=graphite.conf dest=/etc/collectd.d/graphite.conf
|
||||
tags:
|
||||
- collectd
|
||||
- graphite
|
||||
- graphite-collectd
|
||||
notify:
|
||||
- restart collectd
|
||||
when: collectd_graphite is defined and ansible_distribution_major_version != '6'
|
||||
|
||||
- name: Install libsemanage-python so we can set an sebool below
|
||||
yum: name=libsemanage-python state=present
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue