monasca command not found

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

Introduction

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

monasca: command not found

or when using sudo you get the following error message

sudo: monasca: command not found

Solutions to monasca: command not found

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

In Ubuntu monasca is provided by python3-monascaclient package.

python3-monascaclient is:

Monasca is a open-source multi-tenant, highly scalable, performant, fault-tolerant monitoring-as-a-service solution that integrates with OpenStack. It uses a REST API for high-speed metrics processing and querying and has a streaming alarm engine and notification engine.

This package provides the Python 3.x API bindings.

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

sudo apt-get -y install python3-monascaclient

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

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

sudo apt -y install python3-monascaclient

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

sudo aptitude install python3-monascaclient

Summary

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