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 NRPE


If you are using NRPE from prebuilt packages, you can skip this section and resume with the NRPE configuration information.

Compiling NRPE requires a standard compiler, linker, and similar tools to be present on your system. It also needs the OpenSSL package along with the actual openssl command line, which is used to generate the Diffie-Hellman key for each instance.

On an Ubuntu Linux system, installing the prerequisite packages can be done by performing the following command:

apt-get install gcc make binutils cpp pkg-config libc6-dev \
libssl-dev openssl

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

It is also recommended to install the same prerequisites as those for compiling Nagios and the Nagios plugins. These packages should already be there from when the actual plugins were built, but in case the compilation fails, it would be a good idea to install all packages that were also used for the Nagios build.

For Ubuntu...