Add ovs-plugins, hugepages and uptime to collectd

These plugins should be loaded by default, ovs-stats and ovs-events
should only get loaded, when ovs is used.

Also update the list of available plugins.

Change-Id: I40351932781a722dbf321c1efff981e786470c8c
This commit is contained in:
Matthias Runge 2019-07-08 06:05:44 +02:00
parent 2fd958eb64
commit 8fc71c40c0
3 changed files with 40 additions and 1 deletions

View File

@ -79,12 +79,14 @@ parameters:
- cpu - cpu
- df - df
- disk - disk
- hugepages
- interface - interface
- load - load
- memory - memory
- processes - processes
- tcpconns - tcpconns
- unixsock - unixsock
- uptime
type: comma_delimited_list type: comma_delimited_list
description: > description: >
List of collectd plugins to activate on all overcloud hosts. See List of collectd plugins to activate on all overcloud hosts. See

View File

@ -214,6 +214,12 @@ outputs:
- neutron - neutron
tripleo_fluentd_sources_neutron_ovs_agent: tripleo_fluentd_sources_neutron_ovs_agent:
- {get_param: NeutronOpenVswitchAgentLoggingSource} - {get_param: NeutronOpenVswitchAgentLoggingSource}
- collectd:
tripleo.collectd.plugins.neutron_ovs_agent:
- ovs_events
- ovs_stats
collectd::plugin::ovs_events::socket: '/var/run/openvswitch/db.sock'
collectd::plugin::ovs_stats::socket: '/var/run/openvswitch/db.sock'
puppet_config: puppet_config:
config_volume: neutron config_volume: neutron
puppet_tags: neutron_config,neutron_agent_ovs,neutron_plugin_ml2 puppet_tags: neutron_config,neutron_agent_ovs,neutron_plugin_ml2

View File

@ -13,18 +13,49 @@ resource_registry:
# - cpu # - cpu
# - df # - df
# - disk # - disk
# - hugepages
# - interface # - interface
# - load # - load
# - memory # - memory
# - processes # - processes
# - tcpconns # - tcpconns
# - uptime
# #
## Extra plugins can be enabled by the CollectdExtraPlugins parameter: ## Extra plugins can be enabled by the CollectdExtraPlugins parameter:
## All the plugins availables are: ## All the plugins availables are:
# #
# CollectdExtraPlugins: # CollectdExtraPlugins:
# - amqp1 # - amqp1
# - ovs-stats # - apache
# - bind
# - ceph
# - chrony
# - connectivity
# - conntrack
# - contextswitch
# - cpufreq
# - cpusleep
# - curl
# - curl_json
# - curl_xml
# - dns
# - fhcount
# - filecount
# - irq
# - ipmi
# - mcelog
# - mysql
# - netlink
# - nfs
# - ovs_events
# - ovs_stats
# - ping
# - procevent
# - protocols
# - sensors
# - smart
# - users
# - virt
# #
## To choose write plugin use below parameter: ## To choose write plugin use below parameter:
# #