nagcon command not found

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

Introduction

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

nagcon: command not found

or when using sudo you get the following error message

sudo: nagcon: command not found

Solutions to nagcon: command not found

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

In Ubuntu nagcon is provided by nagcon package.

nagcon is:

Nagcon is a console application interfacing to Nagios which gives you an overview of all services with troubled services.

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

sudo apt-get -y install nagcon

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

You can also use apt command to install nagcon.

sudo apt -y install nagcon

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

sudo aptitude install nagcon

Summary

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