How To Install centreon-connector-ssh on Ubuntu 20.04

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

Introduction

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

What is centreon-connector-ssh

centreon-connector-ssh 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 ssh connector.

There are three methods to install centreon-connector-ssh 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-ssh 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-ssh using apt-get by running the following command:

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

Install centreon-connector-ssh Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install centreon-connector-ssh

Install centreon-connector-ssh 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-ssh using aptitude by running the following command:

sudo aptitude -y install centreon-connector-ssh

How To Uninstall centreon-connector-ssh on Ubuntu 20.04

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

sudo apt-get remove centreon-connector-ssh

Uninstall centreon-connector-ssh And Its Dependencies

To uninstall centreon-connector-ssh 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-ssh

Remove centreon-connector-ssh Configurations and Data

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

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

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

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

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

References

Summary

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