Adding mysql plugin to openstack collectd configuration.
+ Add mysql plugin to undercloud. Change-Id: Iecb4fed5ff95f0e11d62724fb3eb2483ae5325c7
This commit is contained in:
parent
e7f2e5c2cb
commit
9ce7f65066
@ -19,6 +19,7 @@
|
||||
with_items:
|
||||
- collectd
|
||||
- collectd-turbostat
|
||||
- collectd-mysql
|
||||
|
||||
- name: Configure collectd.conf
|
||||
template:
|
||||
|
@ -22,6 +22,7 @@ LoadPlugin irq
|
||||
LoadPlugin load
|
||||
LoadPlugin match_regex
|
||||
LoadPlugin memory
|
||||
LoadPlugin mysql
|
||||
LoadPlugin numa
|
||||
LoadPlugin processes
|
||||
LoadPlugin swap
|
||||
@ -75,6 +76,39 @@ PreCacheChain "PreCache"
|
||||
# Exec nobody "/usr/local/bin/collectd-redis.sh"
|
||||
#</Plugin>
|
||||
|
||||
<Plugin mysql>
|
||||
<Database "cinder">
|
||||
Host "localhost"
|
||||
Socket "/var/lib/mysql/mysql.sock"
|
||||
InnodbStats true
|
||||
</Database>
|
||||
<Database "glance">
|
||||
Host "localhost"
|
||||
Socket "/var/lib/mysql/mysql.sock"
|
||||
InnodbStats true
|
||||
</Database>
|
||||
<Database "heat">
|
||||
Host "localhost"
|
||||
Socket "/var/lib/mysql/mysql.sock"
|
||||
InnodbStats true
|
||||
</Database>
|
||||
<Database "keystone">
|
||||
Host "localhost"
|
||||
Socket "/var/lib/mysql/mysql.sock"
|
||||
InnodbStats true
|
||||
</Database>
|
||||
<Database "nova">
|
||||
Host "localhost"
|
||||
Socket "/var/lib/mysql/mysql.sock"
|
||||
InnodbStats true
|
||||
</Database>
|
||||
<Database "ovs_neutron">
|
||||
Host "localhost"
|
||||
Socket "/var/lib/mysql/mysql.sock"
|
||||
InnodbStats true
|
||||
</Database>
|
||||
</Plugin>
|
||||
|
||||
<Plugin processes>
|
||||
# Ceilometer
|
||||
ProcessMatch "ceilometer-agent-central" "python.+ceilometer-agent-central"
|
||||
|
@ -22,6 +22,7 @@ LoadPlugin irq
|
||||
LoadPlugin load
|
||||
LoadPlugin match_regex
|
||||
LoadPlugin memory
|
||||
LoadPlugin mysql
|
||||
LoadPlugin numa
|
||||
LoadPlugin processes
|
||||
LoadPlugin swap
|
||||
@ -71,6 +72,49 @@ PreCacheChain "PreCache"
|
||||
IgnoreSelected false
|
||||
</Plugin>
|
||||
|
||||
<Plugin mysql>
|
||||
<Database "ceilometer">
|
||||
Host "localhost"
|
||||
Socket "/var/lib/mysql/mysql.sock"
|
||||
InnodbStats true
|
||||
</Database>
|
||||
<Database "glance">
|
||||
Host "localhost"
|
||||
Socket "/var/lib/mysql/mysql.sock"
|
||||
InnodbStats true
|
||||
</Database>
|
||||
<Database "heat">
|
||||
Host "localhost"
|
||||
Socket "/var/lib/mysql/mysql.sock"
|
||||
InnodbStats true
|
||||
</Database>
|
||||
<Database "ironic">
|
||||
Host "localhost"
|
||||
Socket "/var/lib/mysql/mysql.sock"
|
||||
InnodbStats true
|
||||
</Database>
|
||||
<Database "keystone">
|
||||
Host "localhost"
|
||||
Socket "/var/lib/mysql/mysql.sock"
|
||||
InnodbStats true
|
||||
</Database>
|
||||
<Database "neutron">
|
||||
Host "localhost"
|
||||
Socket "/var/lib/mysql/mysql.sock"
|
||||
InnodbStats true
|
||||
</Database>
|
||||
<Database "nova">
|
||||
Host "localhost"
|
||||
Socket "/var/lib/mysql/mysql.sock"
|
||||
InnodbStats true
|
||||
</Database>
|
||||
<Database "tuskar">
|
||||
Host "localhost"
|
||||
Socket "/var/lib/mysql/mysql.sock"
|
||||
InnodbStats true
|
||||
</Database>
|
||||
</Plugin>
|
||||
|
||||
<Plugin processes>
|
||||
# Ceilometer
|
||||
ProcessMatch "ceilometer-agent-central" "python.+ceilometer-agent-central"
|
||||
|
Loading…
Reference in New Issue
Block a user