nrpe-ng command not found

In this troubleshooting guide we learn how to fix nrpe-ng command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

nrpe-ng: command not found

or when using sudo you get the following error message

sudo: nrpe-ng: command not found

Solutions to nrpe-ng: command not found

How To Fix nrpe-ng: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nrpe-ng is provided by nrpe-ng package.

nrpe-ng is:

Nagios is a host/service/network monitoring and management system.

This is a rewrite from the ground up of NRPE, a Nagios remote plugin agent. This set of programs allows you to run Nagios check scripts on a remote host in a transparent and secure manner.

To fix this problem, we can install more using the command below.

sudo apt-get -y install nrpe-ng

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install nrpe-ng.

sudo apt -y install nrpe-ng

Or if you have aptitude installed you can use the following command.

sudo aptitude install nrpe-ng

Summary

In this tutorial we learn how to fix nrpe-ng command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.