
Multiple collectd read callbacks in a single python plugin to grab the following stats: collectd-ceph-storage-cluster/gauge-total_avail collectd-ceph-storage-cluster/gauge-total_space collectd-ceph-storage-cluster/gauge-total_used collectd-ceph-storage-mon/gauge-number collectd-ceph-storage-mon/gauge-quorum collectd-ceph-storage-osd-(*)/gauge-apply_latency_ms collectd-ceph-storage-osd-(*)/gauge-commit_latency_ms collectd-ceph-storage-osd-(*)/gauge-kb_total collectd-ceph-storage-osd-(*)/gauge-kb_used collectd-ceph-storage-osd-(*)/gauge-num_snap_trimming collectd-ceph-storage-osd-(*)/gauge-snap_trim_queue_len collectd-ceph-storage-osd/gauge-down collectd-ceph-storage-osd/gauge-in collectd-ceph-storage-osd/gauge-out collectd-ceph-storage-osd/gauge-up collectd-ceph-storage-pg/gauge-active collectd-ceph-storage-pg/gauge-clean collectd-ceph-storage-pg/gauge-scrubbing collectd-ceph-storage-pool-(pool name)/gauge-bytes_used collectd-ceph-storage-pool-(pool name)/gauge-kb_used collectd-ceph-storage-pool-(pool name)/gauge-objects collectd-ceph-storage-pool-(pool name)/gauge-pg_num collectd-ceph-storage-pool-(pool name)/gauge-pgp_num collectd-ceph-storage-pool-(pool name)/gauge-read_bytes_sec collectd-ceph-storage-pool-(pool name)/gauge-read_op_per_sec collectd-ceph-storage-pool-(pool name)/gauge-size collectd-ceph-storage-pool-(pool name)/gauge-write_bytes_sec collectd-ceph-storage-pool-(pool name)/gauge-write_op_per_sec collectd-ceph-storage-pool/gauge-number Change-Id: Ie61bb79650d96aee1420d0e29f5bbd180ed2a4b5
131 lines
4.1 KiB
YAML
131 lines
4.1 KiB
YAML
########################################
|
|
# Collectd Configuration
|
|
########################################
|
|
# Install collectd from EPEL
|
|
collectd_from_epel: true
|
|
# Interval in seconds
|
|
collectd_interval: 10
|
|
# Typically: carbon-cache port=2003 or Graphite with carbon-relay=2013
|
|
collectd_write_graphite_port: 2003
|
|
# Run collectd on specific openstack nodes:
|
|
collectd_undercloud: true
|
|
collectd_controller: true
|
|
collectd_blockstorage: true
|
|
collectd_objectstorage: true
|
|
collectd_cephstorage: true
|
|
collectd_compute: false
|
|
|
|
# Opt-In Collectd plugins configuration:
|
|
########################
|
|
# Apache plugin
|
|
########################
|
|
# Undercloud
|
|
apache_undercloud_collectd_plugin: false
|
|
apache_undercloud_mod_status_port: 5001
|
|
# Overcloud Controller
|
|
apache_controller_collectd_plugin: false
|
|
apache_controller_mod_status_port: 5001
|
|
|
|
########################
|
|
# Apache request time
|
|
########################
|
|
# Setups up Apache to log request time and collectd to grab request time from
|
|
# httpd log files. This provides request times from Apache for Keystone,
|
|
# Gnocchi, and Nova Placement APIs hosted under httpd.
|
|
apache_controller_collectd_request_time: false
|
|
|
|
########################
|
|
# Ceph plugin
|
|
########################
|
|
# Overcloud Controller
|
|
# Python plugin is prefered (At the Current Moment)
|
|
ceph_controller_collectd_radosbench_plugin: false
|
|
ceph_controller_collectd_radosbench_interval: 30
|
|
ceph_controller_collectd_mon_plugin: false
|
|
ceph_controller_collectd_mon_interval: 10
|
|
ceph_controller_collectd_osd_plugin: false
|
|
ceph_controller_collectd_osd_interval: 10
|
|
ceph_controller_collectd_pg_plugin: false
|
|
ceph_controller_collectd_pg_interval: 10
|
|
ceph_controller_collectd_pool_plugin: false
|
|
ceph_controller_collectd_pool_interval: 10
|
|
# Collectd provided Ceph plugins
|
|
ceph_controller_collectd_plugin: false
|
|
ceph_storage_collectd_plugin: false
|
|
|
|
########################
|
|
# Gnocchi Status plugin
|
|
########################
|
|
gnocchi_status_undercloud_collectd_plugin: false
|
|
gnocchi_status_undercloud_collectd_interval: 10
|
|
gnocchi_status_controller_collectd_plugin: false
|
|
gnocchi_status_controller_collectd_interval: 10
|
|
|
|
########################
|
|
# Disk/IOStat plugin
|
|
########################
|
|
# Disk plugin metrics are opt-out, IOStat metrics are opt-in
|
|
disk_undercloud_collectd_plugin: true
|
|
disk_controller_collectd_plugin: true
|
|
disk_cephstorage_collectd_plugin: true
|
|
disk_compute_collectd_plugin: true
|
|
disk_blockstorage_collectd_plugin: true
|
|
disk_objectstorage_collectd_plugin: true
|
|
# Enable these for more comprehensive IOStat metrics
|
|
iostat_undercloud_collectd_plugin: false
|
|
iostat_undercloud_collectd_interval: 10
|
|
iostat_controller_collectd_plugin: false
|
|
iostat_controller_collectd_interval: 10
|
|
iostat_cephstorage_collectd_plugin: false
|
|
iostat_cephstorage_collectd_interval: 10
|
|
iostat_compute_collectd_plugin: false
|
|
iostat_compute_collectd_interval: 10
|
|
iostat_blockstorage_collectd_plugin: false
|
|
iostat_blockstorage_collectd_interval: 10
|
|
iostat_objectstorage_collectd_plugin: false
|
|
iostat_objectstorage_collectd_interval: 10
|
|
|
|
########################
|
|
# Keystone token count
|
|
########################
|
|
# If you have UUID tokens, we can count those via the collectd dbi plugin
|
|
keystone_undercloud_collectd_plugin: false
|
|
keystone_overcloud_collectd_plugin: false
|
|
|
|
########################
|
|
# Rabbitmq plugin
|
|
########################
|
|
rabbitmq_undercloud_collectd_plugin: false
|
|
rabbitmq_undercloud_collectd_interval: 10
|
|
rabbitmq_controller_collectd_plugin: false
|
|
rabbitmq_controller_collectd_interval: 10
|
|
|
|
# Queues to monitor message count on Undercloud
|
|
undercloud_monitored_queues:
|
|
- "metering.sample"
|
|
- "event.sample"
|
|
- "notifications.sample"
|
|
- "notifications.audit"
|
|
- "notifications.info"
|
|
- "notifications.warn"
|
|
- "notifications.error"
|
|
- "notifications.critical"
|
|
|
|
# Queues to monitor message count on Controllers
|
|
controller_monitored_queues:
|
|
- "metering.sample"
|
|
- "event.sample"
|
|
- "notifications.sample"
|
|
- "notifications.audit"
|
|
- "notifications.info"
|
|
- "notifications.warn"
|
|
- "notifications.error"
|
|
- "notifications.critical"
|
|
|
|
########################
|
|
# tail plugin
|
|
########################
|
|
# Determines if WARN/INFO messages are also counted
|
|
regex_warn: false
|
|
regex_info: false
|