check_postgres_commitratio command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
check_postgres_commitratio: command not found
or when using sudo you get the following error message
sudo: check_postgres_commitratio: command not found
Solutions to check_postgres_commitratio: command not found
How To Fix check_postgres_commitratio: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu check_postgres_commitratio is provided by check-postgres package.
check-postgres is:
check_postgres is a Perl script that runs many different tests against one or more Postgres databases. It uses the psql program to gather the information, and outputs the results in one of three formats: Nagios, MRTG, or simple.
To fix this problem, we can install more using the command below.
sudo apt-get -y install check-postgres
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install check-postgres.
sudo apt -y install check-postgres
Or if you have aptitude installed you can use the following command.
sudo aptitude install check-postgres
Summary
In this tutorial we learn how to fix check_postgres_commitratio command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.