How To Install centreon-connector-perl on Ubuntu 20.04

In this tutorial we learn how to install centreon-connector-perl on Ubuntu 20.04. centreon-connector-perl is Network, system, applicative supervision and monitoring - perl connector

Introduction

In this tutorial we learn how to install centreon-connector-perl on Ubuntu 20.04.

What is centreon-connector-perl

centreon-connector-perl is:

Centreon is a modular and flexible platform for network, system and applicative supervision and monitoring.

  • monitoring of network services
  • monitoring of host resources
  • simple plugin design that allows users to easily develop their own service checks
  • parallelized service checks
  • ability to define network hierarchies
  • contact notifications when service or host problems occur and get resolved (via email, page, or user-defined method)
  • ability to define event handlers to be run during service or host events for proactive problem resolution
  • automatic log file rotation
  • support for implementing redundant monitoring hosts

This package contains the perl connector.

There are three methods to install centreon-connector-perl on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install centreon-connector-perl Using apt-get

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

sudo apt-get update

After updating apt database, We can install centreon-connector-perl using apt-get by running the following command:

sudo apt-get -y install centreon-connector-perl

Install centreon-connector-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install centreon-connector-perl using apt by running the following command:

sudo apt -y install centreon-connector-perl

Install centreon-connector-perl 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install centreon-connector-perl using aptitude by running the following command:

sudo aptitude -y install centreon-connector-perl

How To Uninstall centreon-connector-perl on Ubuntu 20.04

To uninstall only the centreon-connector-perl package we can use the following command:

sudo apt-get remove centreon-connector-perl

Uninstall centreon-connector-perl And Its Dependencies

To uninstall centreon-connector-perl and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove centreon-connector-perl

Remove centreon-connector-perl Configurations and Data

To remove centreon-connector-perl configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge centreon-connector-perl

Remove centreon-connector-perl configuration, data, and all of its dependencies

We can use the following command to remove centreon-connector-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge centreon-connector-perl

References

Summary

In this tutorial we learn how to install centreon-connector-perl package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.