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 per project and per user bandwidth


In the first recipe, we looked at the monitoring of resource utilization for a VM. In a cloud shared by multiple tenants and users, it is important to gather information about the utilization of the resources by a user or by the whole project. In this recipe, you will learn how to use the Ceilometer client to monitor the network bandwidth utilization by a tenant or project and an individual user of OpenStack.

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

  • The ID of the OpenStack tenant and user

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...