How To Install munin-plugins-openstack on Debian 9

In this tutorial we learn how to install munin-plugins-openstack on Debian 9. munin-plugins-openstack is Plugins for Munin compatible monitoring OpenStack based systems

Introduction

In this tutorial we learn how to install munin-plugins-openstack on Debian 9.

What is munin-plugins-openstack

munin-plugins-openstack is:

This package provides various plugins for Munin. It contains the following plugins:

  • glance_size_ : Plugin to monitor used size of a tenant in glance
  • glance_status : Plugin to monitor status og glance images
  • keystone_stats : Plugin to monitor status of Keystone
  • nova_floating_ips : Plugin to monitor status of Floating IPs in Nova
  • nova_instance_ : Plugin to monitor instances by vm_state, vcpus, task_state, root_gb, ephemeral_gb, power_state, memory_mb, instance_type_id
  • nova_instance_launched : Plugin to monitor instances launched from beginning of time
  • nova_instance_timing : Plugin to monitor trending of launch/schedule times for last 5 successful instances
  • nova_services : Plugin to report service status

There are three methods to install munin-plugins-openstack on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install munin-plugins-openstack Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install munin-plugins-openstack using apt-get by running the following command:

sudo apt-get -y install munin-plugins-openstack

Install munin-plugins-openstack Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install munin-plugins-openstack using apt by running the following command:

sudo apt -y install munin-plugins-openstack

Install munin-plugins-openstack Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install munin-plugins-openstack using aptitude by running the following command:

sudo aptitude -y install munin-plugins-openstack

How To Uninstall munin-plugins-openstack on Debian 9

To uninstall only the munin-plugins-openstack package we can use the following command:

sudo apt-get remove munin-plugins-openstack

Uninstall munin-plugins-openstack And Its Dependencies

To uninstall munin-plugins-openstack and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove munin-plugins-openstack

Remove munin-plugins-openstack Configurations and Data

To remove munin-plugins-openstack configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge munin-plugins-openstack

Remove munin-plugins-openstack configuration, data, and all of its dependencies

We can use the following command to remove munin-plugins-openstack configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge munin-plugins-openstack

Dependencies

munin-plugins-openstack have the following dependencies:

References

Summary

In this tutorial we learn how to install munin-plugins-openstack package on Debian 9 using different package management tools: apt, apt-get and aptitude.