How To Install monitoring-plugins-standard on Ubuntu 22.04
Introduction
In this tutorial we learn how to install monitoring-plugins-standard
on Ubuntu 22.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.
There are three methods to install monitoring-plugins-standard
on Ubuntu 22.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 22.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 22.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 22.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 22.04 using different package management tools: apt
, apt-get
and aptitude
.