492816a166
This patch groups all metrics related environment files to single directory and changes it's name to make more sense.It also adds environment file for enabling RabbitMQ monitoring. Co-Authored-By: Nagasai Vinaykumar Kapalavai <vkapalav@redhat.com> Change-Id: I8419ef82e79d1e26c7b1fc267feadf909a7978d9 Depends-On: I248859bf0e4b70e3a057e96b5fb74be64f4008ed
110 lines
3.0 KiB
YAML
110 lines
3.0 KiB
YAML
resource_registry:
|
|
OS::TripleO::Services::Collectd: ../../deployment/metrics/collectd-container-puppet.yaml
|
|
|
|
# parameter_defaults:
|
|
#
|
|
################
|
|
#### Basic Collectd configuration
|
|
################
|
|
#
|
|
## These are the default plugins used by collectd
|
|
#
|
|
# CollectdDefaultPlugins:
|
|
# - disk
|
|
# - interface
|
|
# - load
|
|
# - memory
|
|
# - processes
|
|
# - tcpconns
|
|
#
|
|
## Extra plugins can be enabled by the CollectdExtraPlugins parameter:
|
|
## All the plugins availables are:
|
|
#
|
|
# CollectdExtraPlugins:
|
|
# - disk
|
|
# - df
|
|
#
|
|
## To choose write plugin use below parameter:
|
|
#
|
|
# CollectdConnectionType: 'gnocchi' (default) / 'amqp1' / 'network'
|
|
#
|
|
################
|
|
#### Collectd with network write plugin
|
|
################
|
|
#
|
|
# CollectdServer: collectd0.example.com
|
|
# CollectdServerPort: 25826
|
|
# CollectdSecurityLevel: None
|
|
#
|
|
## If CollectdSecurityLevel is set to Encrypt or Sign the following parameters
|
|
## are also needed
|
|
#
|
|
# CollectdUsername: user
|
|
# CollectdPassword: password
|
|
#
|
|
################
|
|
#### Collectd with gnocchi write plugin
|
|
################
|
|
#
|
|
# CollectdGnocchiResourceType: collectd
|
|
# CollectdGnocchiBatchSize: 10
|
|
# CollectdGnocchiAuthMode: 'basic' / 'keystone' (default)
|
|
#
|
|
## By default collectd with gnocchi write plugin is configured to send metrics
|
|
## to gnocchi instance running on overcloud nodes. You can override this
|
|
## behaviour with below parameters.
|
|
#
|
|
## Parameters for basic authentication
|
|
# CollectdGnocchiProtocol: 'http'
|
|
# CollectdGnocchiServer: <IP>
|
|
# CollectdGnocchiPort: 8041
|
|
# CollectdGnocchiUser: admin
|
|
#
|
|
## Parameters for Keystone authentication
|
|
# CollectdGnocchiKeystoneAuthUrl
|
|
# CollectdGnocchiKeystoneUserName
|
|
# CollectdGnocchiKeystoneUserId
|
|
# CollectdGnocchiKeystonePassword
|
|
# CollectdGnocchiKeystoneProjectId
|
|
# CollectdGnocchiKeystoneProjectName
|
|
# CollectdGnocchiKeystoneUserDomainId
|
|
# CollectdGnocchiKeystoneUserDomainName
|
|
# CollectdGnocchiKeystoneProjectDomainId
|
|
# CollectdGnocchiKeystoneProjectDomainName
|
|
# CollectdGnocchiKeystoneRegionName
|
|
# CollectdGnocchiKeystoneInterface
|
|
# CollectdGnocchiKeystoneEndpoint
|
|
#
|
|
################
|
|
#### Collectd with amqp1 write plugin
|
|
################
|
|
#
|
|
## By default collectd uses local edge qdrouterd running on each overcloud node.
|
|
## You can override this behaviour with following parameters.
|
|
#
|
|
# CollectdAmqpHost: <IP>
|
|
# CollectdAmqpPort: 5666
|
|
# CollectdAmqpUser: guest
|
|
# CollectdAmqpPassword: guest
|
|
# CollectdAmqpTransportName: metrics
|
|
# CollectdAmqpAddress: collectd
|
|
# CollectdAmqpInstances: {}
|
|
# CollectdAmqpRetryDelay: 1
|
|
# CollectdAmqpInterval: 30
|
|
#
|
|
################
|
|
#### Tip
|
|
################
|
|
#
|
|
## You can use ExtraConfig (or one of the related *ExtraConfig keys)
|
|
## to additionaly configure collectd. For details see the documentation
|
|
## for puppet-collectd at https://github.com/voxpupuli/puppet-collectd .
|
|
#
|
|
# ExtraConfig:
|
|
# collectd::plugin::disk::disks:
|
|
# - "/^[vhs]d[a-f][0-9]?$/"
|
|
# collectd::plugin::df::mountpoints:
|
|
# - "/"
|
|
# collectd::plugin::df::ignoreselected: false
|
|
# collectd::plugin::cpu::valuespercentage: true
|