How To Install monitoring-plugins-basic on Debian 10

Learn how to install monitoring-plugins-basic on Debian 10 with this tutorial. monitoring-plugins-basic is Plugins for nagios compatible monitoring systems (basic)

Introduction

In this tutorial we learn how to install monitoring-plugins-basic on Debian 10.

What is monitoring-plugins-basic

monitoring-plugins-basic is:

Plugins for nagios compatible monitoring systems like Naemon and Icinga. It contains the following plugins:

check_apt, check_by_ssh, check_clamd, check_cluster, check_dhcp, check_disk, check_dummy, check_file_age, check_ftp, check_host, check_http, check_icmp, check_ide_smart, check_imap, check_ircd, check_jabber, check_load, check_log, check_mrtg, check_mrtgtraf, check_nagios, check_nntp, check_nntps, check_nt, check_ntp, check_ntp_peer, check_ntp_time, check_nwstat, check_overcr, check_ping, check_pop, check_procs, check_real, check_rta_multi, check_sensors, check_simap, check_smtp, check_spop, check_ssh, check_ssmtp, check_swap, check_tcp, check_time, check_udp, check_ups, check_users

This package provides a basic set of plugins with minimal external dependencies. It is not likely to be useful by itself unless you are using a remote “satellite” system (using nagios-nrpe-server, check_by_ssh or nsca, for example).

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

Install monitoring-plugins-basic Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install monitoring-plugins-basic

Install monitoring-plugins-basic Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install monitoring-plugins-basic

Install monitoring-plugins-basic 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 monitoring-plugins-basic using aptitude by running the following command:

sudo aptitude -y install monitoring-plugins-basic

How To Uninstall monitoring-plugins-basic on Debian 10

To uninstall only the monitoring-plugins-basic package we can use the following command:

sudo apt-get remove monitoring-plugins-basic

Uninstall monitoring-plugins-basic And Its Dependencies

To uninstall monitoring-plugins-basic and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove monitoring-plugins-basic

Remove monitoring-plugins-basic Configurations and Data

To remove monitoring-plugins-basic configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge monitoring-plugins-basic

Remove monitoring-plugins-basic configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge monitoring-plugins-basic

Dependencies

monitoring-plugins-basic have the following dependencies:

References

Summary

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