nrpe command not found

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

Introduction

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

nrpe: command not found

or when using sudo you get the following error message

sudo: nrpe: command not found

Solutions to nrpe: command not found

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

In Ubuntu nrpe is provided by nagios-nrpe-server package.

nagios-nrpe-server is:

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

The purpose of this addon is to allow you to execute Nagios plugins on a remote host in as transparent a manner as possible.

This program runs as a background process on the remote host and processes command execution requests from the check_nrpe plugin on the Nagios host.

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

sudo apt-get -y install nagios-nrpe-server

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

You can also use apt command to install nagios-nrpe-server.

sudo apt -y install nagios-nrpe-server

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

sudo aptitude install nagios-nrpe-server

Summary

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