COA Monitoring & Reporting Tools 2 — Questions and Answers
Question 1: Which OpenStack service provides an API for querying metering data collected by Ceilometer?
- Aodh
- Gnocchi (Correct answer)
- Panko
- Monasca
Correct answer: Gnocchi
Gnocchi is the time-series database service that replaced Ceilometer's storage backend and provides an API for querying metering data.
Question 2: What command lists all available Ceilometer meters for a specific project?
- ceilometer meter-list --project-id <id> (Correct answer)
- openstack metric list --project <id>
- ceilometer resource-list --tenant <id>
- openstack usage show --project <id>
Correct answer: ceilometer meter-list --project-id <id>
The 'ceilometer meter-list --project-id <id>' command lists all meters available for a given project.
Question 3: In Gnocchi, what is an 'archive policy' used for?
- Defining how long raw events are stored in Panko
- Setting the granularity and retention period for time-series metrics (Correct answer)
- Configuring alarm thresholds in Aodh
- Specifying which resources are billed in Cloudkitty
Correct answer: Setting the granularity and retention period for time-series metrics
An archive policy in Gnocchi defines the granularity (e.g., 5-minute intervals) and retention duration for stored time-series metrics.
Question 4: Which OpenStack component is specifically responsible for event storage and querying (as opposed to metric/sample storage)?
- Gnocchi
- Aodh
- Panko (Correct answer)
- Ceilometer Pipeline
Correct answer: Panko
Panko is the OpenStack event storage service, handling discrete events rather than continuous time-series metrics.
Question 5: When configuring Ceilometer to use Gnocchi as its backend, which configuration file section must be updated on the Ceilometer agent nodes?
- [database]
- [dispatcher_gnocchi] (Correct answer)
- [oslo_messaging]
- [keystone_authtoken]
Correct answer: [dispatcher_gnocchi]
The [dispatcher_gnocchi] section in ceilometer.conf must be configured to point Ceilometer at the Gnocchi endpoint.
Question 6: Which tool can be used to visualize OpenStack Gnocchi metrics with a graphical dashboard?
- Horizon's telemetry panel only
- Grafana with the Gnocchi datasource plugin (Correct answer)
- OpenStack Rally dashboard
- Ceilometer Web UI
Correct answer: Grafana with the Gnocchi datasource plugin
Grafana supports a Gnocchi datasource plugin, allowing administrators to create dashboards visualizing Gnocchi time-series metrics.
Question 7: What is the purpose of the 'ceilometer-polling' agent in an OpenStack deployment?
- It processes alarm notifications from Aodh
- It periodically polls resources via the OpenStack APIs to collect metrics (Correct answer)
- It dispatches collected data to external monitoring systems
- It manages the Gnocchi archive policies
Correct answer: It periodically polls resources via the OpenStack APIs to collect metrics
The ceilometer-polling agent periodically queries OpenStack APIs (Nova, Cinder, etc.) to collect resource utilization metrics.
Which OpenStack service provides an API for querying metering data collected by Ceilometer?