Book Image

OpenStack Networking Cookbook

Book Image

OpenStack Networking Cookbook

Overview of this book

Table of Contents (19 chapters)
OpenStack Networking Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Monitoring the Virtual Machine bandwidth


OpenStack Ceilometer collects the resource utilization of the VMs by running a Ceilometer compute agent on all the compute nodes. These agents collect the various metrics that are related to each VM running on the compute node. The data that is collected is periodically sent to the Ceilometer collector over the message bus.

In this recipe, we will learn how to use the Ceilometer client to check the bandwidth utilization by a VM.

Getting ready

For this recipe, you will need the following information:

  • The SSH login credentials for a node where the OpenStack client packages are installed

  • A shell RC file that initializes the environment variables for CLI

How to do it…

The following steps will show you how to determine the bandwidth utilization of a VM:

  1. Using the appropriate credentials, SSH into the OpenStack node installed with the OpenStack client packages.

  2. Source the shell RC file to initialize the environment variables required for the CLI commands.

  3. Use the...