How To Install nagios-plugins-rabbitmq on Kali Linux

In this tutorial we learn how to install nagios-plugins-rabbitmq on Kali Linux. nagios-plugins-rabbitmq is Set of Nagios checks useful for monitoring a RabbitMQ server

Introduction

In this tutorial we learn how to install nagios-plugins-rabbitmq on Kali Linux.

What is nagios-plugins-rabbitmq

nagios-plugins-rabbitmq is:

They use the RabbitMQ management interface with is over HTTP and therefore have a very light profile on the nagios server.

See the documentation on the RabbitMQ management interface for more details on what it provides.

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

Install nagios-plugins-rabbitmq Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install nagios-plugins-rabbitmq

Install nagios-plugins-rabbitmq Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nagios-plugins-rabbitmq

Install nagios-plugins-rabbitmq Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install nagios-plugins-rabbitmq

How To Uninstall nagios-plugins-rabbitmq on Kali Linux

To uninstall only the nagios-plugins-rabbitmq package we can use the following command:

sudo apt-get remove nagios-plugins-rabbitmq

Uninstall nagios-plugins-rabbitmq And Its Dependencies

To uninstall nagios-plugins-rabbitmq and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove nagios-plugins-rabbitmq

Remove nagios-plugins-rabbitmq Configurations and Data

To remove nagios-plugins-rabbitmq configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge nagios-plugins-rabbitmq

Remove nagios-plugins-rabbitmq configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nagios-plugins-rabbitmq

Dependencies

nagios-plugins-rabbitmq have the following dependencies:

References

Summary

In this tutorial we learn how to install nagios-plugins-rabbitmq package on Kali Linux using different package management tools: apt, apt-get and aptitude.