check_mcollective.rb command not found

In this troubleshooting guide we learn how to fix check_mcollective.rb command not found error message

Introduction

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

check_mcollective.rb: command not found

or when using sudo you get the following error message

sudo: check_mcollective.rb: command not found

Solutions to check_mcollective.rb: command not found

How To Fix check_mcollective.rb: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu check_mcollective.rb is provided by mcollective-plugins-registration-monitor package.

mcollective-plugins-registration-monitor is:

MCollective supports sending registration messages at set intervals, this is an agent to receive those messages and simply write the content to a file per sender.

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

sudo apt-get -y install mcollective-plugins-registration-monitor

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

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

sudo apt -y install mcollective-plugins-registration-monitor

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

sudo aptitude install mcollective-plugins-registration-monitor

Summary

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