How To Install monitoring-plugins-standard on Ubuntu 20.04

In this tutorial we learn how to install monitoring-plugins-standard on Ubuntu 20.04. monitoring-plugins-standard is Plugins for nagios compatible monitoring systems (standard) Plugins for nagios compatible monitoring systems (standard)

Introduction

In this tutorial we learn how to install monitoring-plugins-standard on Ubuntu 20.04.

What is monitoring-plugins-standard

monitoring-plugins-standard is:

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

check_breeze, check_dbi, check_dig, check_disk_smb, check_dns, check_flexlm, check_fping, check_game, check_hpjd, check_ifoperstatus, check_ifstatus, check_ldap, check_ldaps, check_mailq, check_mysql, check_mysql_query, check_oracle, check_pgsql, check_radius, check_rpc, check_snmp, check_wave

This package provides the suite of plugins that are most likely to be useful on a central monitoring host. Some scripts need more packages installed to work, which is implemented as recommends.

Package: monitoring-plugins-standard Architecture: amd64 Version: 2.2-6ubuntu1 Priority: extra Section: universe/net Source: monitoring-plugins Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Nagios Maintainer Group [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 947 Provides: nagios-plugins-standard Depends: monitoring-plugins-basic, ucf, libc6 (>= 2.15) Recommends: bind9-host | host, dnsutils, libnet-snmp-perl, rpcbind, smbclient, snmp, sudo, libdbi1 (>= 0.8.4), libldap-2.4-2 (>= 2.4.7), libmysqlclient21 (>= 8.0.11), libpq5, libradcli4 Suggests: fping, icinga | icinga2, postfix | sendmail-bin | exim4-daemon-heavy | exim4-daemon-light, qstat Filename: pool/universe/m/monitoring-plugins/monitoring-plugins-standard_2.2-6ubuntu1_amd64.deb Size: 139056 MD5sum: 24b835edd528d278e0cc6d00bc025020 SHA1: 1045502d8055a459ed48f2400160dc13c89adde1 SHA256: f984132a178e85865c446c3a49790dec99ce737d08b0bfdad0a9f9edcd2a3672 Homepage: https://www.monitoring-plugins.org Description-en: Plugins for nagios compatible monitoring systems (standard) Plugins for nagios compatible monitoring systems like Naemon and Icinga. It contains the following plugins:

check_breeze, check_dbi, check_dig, check_disk_smb, check_dns, check_flexlm, check_fping, check_game, check_hpjd, check_ifoperstatus, check_ifstatus, check_ldap, check_ldaps, check_mailq, check_mysql, check_mysql_query, check_oracle, check_pgsql, check_radius, check_rpc, check_snmp, check_wave

This package provides the suite of plugins that are most likely to be useful on a central monitoring host. Some scripts need more packages installed to work, which is implemented as recommends.

There are three methods to install monitoring-plugins-standard 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 monitoring-plugins-standard 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-standard using apt-get by running the following command:

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

Install monitoring-plugins-standard Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install monitoring-plugins-standard

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

sudo aptitude -y install monitoring-plugins-standard

How To Uninstall monitoring-plugins-standard on Ubuntu 20.04

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

sudo apt-get remove monitoring-plugins-standard

Uninstall monitoring-plugins-standard And Its Dependencies

To uninstall monitoring-plugins-standard and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

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

Remove monitoring-plugins-standard Configurations and Data

To remove monitoring-plugins-standard configuration and data from Ubuntu 20.04 we can use the following command:

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

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

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

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

References

Summary

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