send_nsca command not found

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

Introduction

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

send_nsca: command not found

or when using sudo you get the following error message

sudo: send_nsca: command not found

Solutions to send_nsca: command not found

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

In Ubuntu send_nsca is provided by nsca-client package.

nsca-client is:

This package contains only the client part of nsca and is thus suitable for installation on systems that only report passive service checks to a central server.

Nagios is a monitoring and management system for hosts, services and networks.

Nagios’ features include:

  • Monitoring of network services (via TCP port, SMTP, POP3, HTTP, NNTP, PING, etc.)
  • Plugin interface to allow for user-developed service checks
  • Contact notifications when problems occur and get resolved (via email, pager, or user-defined method)
  • Ability to define event handlers to be run during service or host events (for proactive problem resolution)
  • Web output (current status, notifications, problem history, log file, etc.)

Nagios was written in C and is designed to be easy to understand and modify to fit your own needs.

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

sudo apt-get -y install nsca-client

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

You can also use apt command to install nsca-client.

sudo apt -y install nsca-client

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

sudo aptitude install nsca-client

Summary

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