Book Image

Learning Nagios 3.0

Book Image

Learning Nagios 3.0

Overview of this book

Table of Contents (16 chapters)
Learning Nagios 3.0
Credits
About the Author
About the Reviewer
Preface

Compiling NSCA


Please note that if you do not plan to compile NSCA from the source and intend to use a pre-built set of binaries, you should continue to the next section.

NSCA requires a small set of prerequisites to be installed on the system. NSCA requires a standard set of tools, required for compilation, to be present on the system. For encryption, the libmcrypt package, along with the development files, needs to be installed as well.

On an Ubuntu Linux system, this requires the installation of the packages by performing the following command:

apt-get install gcc make binutils cpp pkg-config libmcrypt-dev libc6-dev

For other systems, the commands and package names might differ a bit, but their names should be very similar.

Please make sure that you install the standard compilation utilities as, very often, you might be building NSCA for machines that you did not compile Nagios on. This means that they might not have the basic development libraries and compiler installed.

The next step...