check-mc-nrpe command not found

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

Introduction

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

check-mc-nrpe: command not found

or when using sudo you get the following error message

sudo: check-mc-nrpe: command not found

Solutions to check-mc-nrpe: command not found

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

In Ubuntu check-mc-nrpe is provided by mcollective-plugins-nrpe package.

mcollective-plugins-nrpe is:

The mcollective plugin for NRPE enables mcollective to communicate with the NRPE addons running on deployed nodes. It Runs NRPE commands using MCollective as transport.

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

sudo apt-get -y install mcollective-plugins-nrpe

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

You can also use apt command to install mcollective-plugins-nrpe.

sudo apt -y install mcollective-plugins-nrpe

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

sudo aptitude install mcollective-plugins-nrpe

Summary

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