de955f6dcf
+ Undercloud adds Mistral and Zaqar services + Few small changes in the regexs to separate processes + Updated Undercloud and General Dashboards + Tracked what version I saw the processes (10) Change-Id: If3d467c8f07884e1b76400f63227dfc11a82688b
337 lines
12 KiB
Django/Jinja
337 lines
12 KiB
Django/Jinja
# Installed by Browbeat Ansible Installer
|
|
# Config type: {{config_type}}
|
|
|
|
# Interval default is 10s
|
|
Interval {{collectd_interval}}
|
|
|
|
# Hostname for this machine, if not defined, use gethostname(2) system call
|
|
Hostname "{{inventory_hostname}}"
|
|
|
|
# Allow collectd to log
|
|
LoadPlugin syslog
|
|
|
|
# Loaded Plugins:
|
|
LoadPlugin write_graphite
|
|
LoadPlugin cpu
|
|
LoadPlugin conntrack
|
|
LoadPlugin df
|
|
LoadPlugin disk
|
|
LoadPlugin exec
|
|
LoadPlugin interface
|
|
LoadPlugin irq
|
|
LoadPlugin load
|
|
LoadPlugin match_regex
|
|
LoadPlugin memory
|
|
LoadPlugin mysql
|
|
LoadPlugin numa
|
|
LoadPlugin processes
|
|
LoadPlugin swap
|
|
LoadPlugin tail
|
|
LoadPlugin turbostat
|
|
LoadPlugin unixsock
|
|
LoadPlugin uptime
|
|
|
|
# Open unix domain socket for collectdctl
|
|
<Plugin unixsock>
|
|
SocketFile "/var/run/collectd-unixsock"
|
|
SocketGroup "collectd"
|
|
SocketPerms "0770"
|
|
DeleteSocket true
|
|
</Plugin>
|
|
|
|
PreCacheChain "PreCache"
|
|
<Chain "PreCache">
|
|
<Rule "ignore_tap">
|
|
<Match "regex">
|
|
Plugin "^interface$"
|
|
PluginInstance "^tap*"
|
|
</Match>
|
|
Target "stop"
|
|
</Rule>
|
|
<Rule "ignore_interfaces_q">
|
|
<Match "regex">
|
|
Plugin "^interface$"
|
|
PluginInstance "^q.*"
|
|
</Match>
|
|
Target "stop"
|
|
</Rule>
|
|
Target "return"
|
|
</Chain>
|
|
|
|
# Graphite Host Configuration
|
|
<Plugin write_graphite>
|
|
<Carbon>
|
|
Host "{{graphite_host}}"
|
|
Port "2003"
|
|
Prefix "{{graphite_prefix}}."
|
|
Protocol "tcp"
|
|
LogSendErrors true
|
|
StoreRates true
|
|
AlwaysAppendDS false
|
|
EscapeCharacter "_"
|
|
</Carbon>
|
|
</Plugin>
|
|
|
|
<Plugin df>
|
|
ValuesPercentage true
|
|
</Plugin>
|
|
|
|
<Plugin disk>
|
|
Disk "/^[hsv]d[a-z]+[0-9]?$/"
|
|
IgnoreSelected false
|
|
</Plugin>
|
|
|
|
<Plugin mysql>
|
|
<Database "undercloud">
|
|
Host "localhost"
|
|
Socket "/var/lib/mysql/mysql.sock"
|
|
InnodbStats true
|
|
</Database>
|
|
</Plugin>
|
|
|
|
# (akrzos) Including the version of OpenStack that the process was verified as running after
|
|
# OpenStack Installation with a comment at the end of each Process/ProcessMatch statement.
|
|
# A Minus before the version means the process was not found in that version. (Ex -9)
|
|
<Plugin processes>
|
|
# Aodh (OpenStack Installed)
|
|
ProcessMatch "aodh-evaluator" "python.+aodh-evaluator" # 9,-10
|
|
ProcessMatch "aodh-listener" "python.+aodh-listener" # 9,-10
|
|
ProcessMatch "aodh-notifier" "python.+aodh-notifier" # 9,-10
|
|
|
|
# Ceilometer (OpenStack Installed)
|
|
ProcessMatch "ceilometer-agent-central" "python.+ceilometer-agent-central" # -9,-10
|
|
ProcessMatch "ceilometer-agent-compute" "python.+ceilometer-agent-compute" # -9,-10
|
|
ProcessMatch "ceilometer-agent-notification" "python.+ceilometer-agent-notification" # 9,-10
|
|
ProcessMatch "ceilometer-alarm-evaluator" "python.+ceilometer-alarm-evaluator" # -9,-10
|
|
ProcessMatch "ceilometer-alarm-notifier" "python.+ceilometer-alarm-notifier" # -9,-10
|
|
ProcessMatch "ceilometer-api" "python.+ceilometer-api" # 9,-10
|
|
ProcessMatch "ceilometer-collector" "python.+ceilometer-collector" # 9,-10
|
|
ProcessMatch "ceilometer-polling" "python.+ceilometer-polling" # 9,-10
|
|
|
|
# Collectd (Browbeat Installed)
|
|
ProcessMatch "collectd" "/usr/sbin/collectd"
|
|
|
|
# Docker Registry (OpenStack Installed)
|
|
ProcessMatch "docker-registry" "python.+/usr/bin/gunicorn.+docker_registry" # 9,-10
|
|
|
|
# Glance (OpenStack Installed)
|
|
ProcessMatch "glance-api" "python.+glance-api" # 9,10
|
|
ProcessMatch "glance-registry" "python.+glance-registry" # 9,10
|
|
|
|
# Everything Else (OpenStack Installed)
|
|
# (Processes displayed under "Everything Else" on Grafana Dashboards)
|
|
ProcessMatch "dnsmasq" "^dnsmasq.+" # 9,10
|
|
ProcessMatch "haproxy" "/usr/sbin/haproxy.+/etc/haproxy/haproxy.cfg" # -9,-10
|
|
Process "httpd" # 9,10
|
|
Process "memcached" # 9,10
|
|
Process "mongod" # -9,10
|
|
ProcessMatch "mysqld" "/usr/libexec/mysqld" # 9,10
|
|
ProcessMatch "qemu-kvm" "/usr/libexec/qemu-kvm" # -9,-10
|
|
ProcessMatch "rabbitmq" "/usr/lib64/erlang/erts-.+/bin/beam.smp" # 9,10
|
|
Process "redis-server" # -9,-10
|
|
ProcessMatch "tuskar-api" "python.+tuskar-api" # -9,-10
|
|
|
|
# Heat (OpenStack Installed)
|
|
ProcessMatch "heat-api" "python.+heat-api" # 9,10
|
|
ProcessMatch "heat-api-cfn" "python.+heat-api-cfn" # 9,10
|
|
ProcessMatch "heat-api-cloudwatch" "python.+heat-api-cloudwatch" # -9,-10
|
|
ProcessMatch "heat-engine" "python.+heat-engine" # 9,10
|
|
|
|
# Ironic (OpenStack Installed)
|
|
ProcessMatch "ironic-api" "python.+ironic-api" # 9,10
|
|
ProcessMatch "ironic-conductor" "python.+ironic-conductor" # 9,10
|
|
ProcessMatch "ironic-inspector" "python.+ironic-inspector" # 9,10
|
|
ProcessMatch "dnsmasq-ironic" "/sbin/dnsmasq.+/etc/dnsmasq-ironic.conf" # 9,10
|
|
ProcessMatch "dnsmasq-ironicinspector" "/sbin/dnsmasq.+/etc/ironic-inspector/" # 9,10
|
|
|
|
# Keystone (OpenStack Installed)
|
|
ProcessMatch "keystone-all" "python.+keystone-all" # -9,-10
|
|
ProcessMatch "keystone-admin" "keystone-admin.*-DFOREGROUND" # 9,10
|
|
ProcessMatch "keystone-main" "keystone-main.*-DFOREGROUND" # 9,10
|
|
|
|
# Mistral (Openstack Installed)
|
|
ProcessMatch "mistral-server" "python.+mistral-server" # -9,10
|
|
|
|
# Neutron (OpenStack Installed)
|
|
ProcessMatch "neutron-dhcp-agent" "python.+neutron-dhcp-agent" # 9,10
|
|
ProcessMatch "neutron-l3-agent" "python.+neutron-l3-agent" # -9,-10
|
|
ProcessMatch "neutron-metadata-agent" "python.+neutron-metadata-agent" # -9,-10
|
|
ProcessMatch "neutron-ns-metadata-proxy" "python.+neutron-ns-metadata-proxy" # -9,-10
|
|
ProcessMatch "neutron-openvswitch-agent" "python.+neutron-openvswitch-agent" # 9,10
|
|
ProcessMatch "neutron-server" "python.+neutron-server" # 9,10
|
|
|
|
# Nova (OpenStack Installed)
|
|
ProcessMatch "nova-api" "python.+nova-api" # 9,10
|
|
ProcessMatch "nova-cert" "python.+nova-cert" # 9,10
|
|
ProcessMatch "nova-compute" "python.+nova-compute" # 9,10
|
|
ProcessMatch "nova-conductor" "python.+nova-conductor" # 9,10
|
|
ProcessMatch "nova-consoleauth" "python.+nova-consoleauth" # -9,-10
|
|
ProcessMatch "nova-novncproxy" "python.+nova-novncproxy" # -9,-10
|
|
ProcessMatch "nova-scheduler" "python.+nova-scheduler" # 9,10
|
|
|
|
# OVS (OpenStack Installed)
|
|
ProcessMatch "ovs-vswitchd" "ovs-vswitchd.+openvswitch" # 9,10
|
|
ProcessMatch "ovsdb-client" "/bin/ovsdb-client" # 9,10
|
|
ProcessMatch "ovsdb-server" "ovsdb-server.+openvswitch" # 9,10
|
|
|
|
# Swift (OpenStack Installed)
|
|
ProcessMatch "swift-account-auditor" "python.+swift-account-auditor" # 9,10
|
|
ProcessMatch "swift-account-reaper" "python.+swift-account-reaper" # 9,10
|
|
ProcessMatch "swift-account-replicator" "python.+swift-account-replicator" # 9,10
|
|
ProcessMatch "swift-account-server" "python.+swift-account-server" # 9,10
|
|
ProcessMatch "swift-container-auditor" "python.+swift-container-auditor" # 9,10
|
|
ProcessMatch "swift-container-updater" "python.+swift-container-updater" # 9,10
|
|
ProcessMatch "swift-container-replicator" "python.+swift-container-replicator" # 9,10
|
|
ProcessMatch "swift-container-server" "python.+swift-container-server" # 9,10
|
|
ProcessMatch "swift-object-auditor" "python.+swift-object-auditor" # 9,10
|
|
ProcessMatch "swift-object-updater" "python.+swift-object-updater" # 9,10
|
|
ProcessMatch "swift-object-replicator" "python.+swift-object-replicator" # 9,10
|
|
ProcessMatch "swift-object-server" "python.+swift-object-server" # 9,10
|
|
ProcessMatch "swift-proxy-server" "python.+swift-proxy-server" # 9,10
|
|
|
|
# Zaqar (Openstack Installed)
|
|
ProcessMatch "zaqar-server" "python.+zaqar-server" # -9,10
|
|
</Plugin>
|
|
|
|
<Plugin swap>
|
|
ReportBytes true
|
|
ValuesPercentage true
|
|
</Plugin>
|
|
|
|
# Tail plugin configuration
|
|
<Plugin "tail">
|
|
<File "/var/log/keystone/keystone.log">
|
|
Instance "keystone"
|
|
<Match>
|
|
Regex " ERROR "
|
|
DSType "CounterInc"
|
|
Type "counter"
|
|
Instance "total"
|
|
</Match>
|
|
</File>
|
|
|
|
<File "/var/log/nova/nova-api.log">
|
|
Instance "nova-api"
|
|
<Match>
|
|
Regex " ERROR "
|
|
DSType "CounterInc"
|
|
Type "counter"
|
|
Instance "total"
|
|
</Match>
|
|
</File>
|
|
<File "/var/log/nova/nova-compute.log">
|
|
Instance "nova-compute"
|
|
<Match>
|
|
Regex " ERROR "
|
|
DSType "CounterInc"
|
|
Type "counter"
|
|
Instance "total"
|
|
</Match>
|
|
</File>
|
|
<File "/var/log/nova/nova-conductor.log">
|
|
Instance "nova-conductor"
|
|
<Match>
|
|
Regex " ERROR "
|
|
DSType "CounterInc"
|
|
Type "counter"
|
|
Instance "total"
|
|
</Match>
|
|
</File>
|
|
<File "/var/log/nova/nova-scheduler.log">
|
|
Instance "nova-scheduler"
|
|
<Match>
|
|
Regex " ERROR "
|
|
DSType "CounterInc"
|
|
Type "counter"
|
|
Instance "total"
|
|
</Match>
|
|
</File>
|
|
|
|
<File "/var/log/neutron/dhcp-agent.log">
|
|
Instance "neutron-dhcp-agent"
|
|
<Match>
|
|
Regex " ERROR "
|
|
DSType "CounterInc"
|
|
Type "counter"
|
|
Instance "total"
|
|
</Match>
|
|
</File>
|
|
<File "/var/log/neutron/openvswitch-agent.log">
|
|
Instance "neutron-openvswitch-agent"
|
|
<Match>
|
|
Regex " ERROR "
|
|
DSType "CounterInc"
|
|
Type "counter"
|
|
Instance "total"
|
|
</Match>
|
|
</File>
|
|
<File "/var/log/neutron/server.log">
|
|
Instance "neutron-server"
|
|
<Match>
|
|
Regex " ERROR "
|
|
DSType "CounterInc"
|
|
Type "counter"
|
|
Instance "total"
|
|
</Match>
|
|
</File>
|
|
|
|
<File "/var/log/ironic/ironic-api.log">
|
|
Instance "ironic-api"
|
|
<Match>
|
|
Regex " ERROR "
|
|
DSType "CounterInc"
|
|
Type "counter"
|
|
Instance "total"
|
|
</Match>
|
|
</File>
|
|
<File "/var/log/ironic/ironic-conductor.log">
|
|
Instance "ironic-conductor"
|
|
<Match>
|
|
Regex " ERROR "
|
|
DSType "CounterInc"
|
|
Type "counter"
|
|
Instance "total"
|
|
</Match>
|
|
</File>
|
|
|
|
<File "/var/log/heat/heat-api-cfn.log">
|
|
Instance "heat-api-cfn"
|
|
<Match>
|
|
Regex " ERROR "
|
|
DSType "CounterInc"
|
|
Type "counter"
|
|
Instance "total"
|
|
</Match>
|
|
</File>
|
|
<File "/var/log/heat/heat-api-cloudwatch.log">
|
|
Instance "heat-api-cloudwatch"
|
|
<Match>
|
|
Regex " ERROR "
|
|
DSType "CounterInc"
|
|
Type "counter"
|
|
Instance "total"
|
|
</Match>
|
|
</File>
|
|
<File "/var/log/heat/heat-api.log">
|
|
Instance "heat-api"
|
|
<Match>
|
|
Regex " ERROR "
|
|
DSType "CounterInc"
|
|
Type "counter"
|
|
Instance "total"
|
|
</Match>
|
|
</File>
|
|
<File "/var/log/heat/heat-engine.log">
|
|
Instance "heat-engine"
|
|
<Match>
|
|
Regex " ERROR "
|
|
DSType "CounterInc"
|
|
Type "counter"
|
|
Instance "total"
|
|
</Match>
|
|
</File>
|
|
</Plugin>
|
|
|
|
# Include other collectd configuration files
|
|
Include "/etc/collectd.d"
|