ceilometer command not found

In this troubleshooting guide we learn how to fix ceilometer command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ceilometer: command not found

or when using sudo you get the following error message

sudo: ceilometer: command not found

Solutions to ceilometer: command not found

How To Fix ceilometer: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ceilometer is provided by python3-ceilometerclient package.

python3-ceilometerclient is:

Ceilometer aims to deliver a unique point of contact for billing systems to acquire all counters they need to establish customer billing, across all current and future OpenStack components. The delivery of counters must be tracable and auditable, the counters must be easily extensible to support new projects, and agents doing data collections should be independent of the overall system.

This is a client for the Ceilometer which uses the OpenStack Image API. There’s a Python API (the “ceilometerclient” module), and a command-line script (“ceilometer”).

This package contains the Python 3.x module.

To fix this problem, we can install more using the command below.

sudo apt-get -y install python3-ceilometerclient

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install python3-ceilometerclient.

sudo apt -y install python3-ceilometerclient

Or if you have aptitude installed you can use the following command.

sudo aptitude install python3-ceilometerclient

Summary

In this tutorial we learn how to fix ceilometer command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.