O'Reilly logo

Nagios, 2nd Edition by Wolfgang Barth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

1.2 Compiling Source Code

The Nagios source code is available for download on the project page.[15] The installation description below is for version 3.0, which is provided by the developers as a tarball. A Nagios 2.x installation runs in an almost identical manner:

linux:~ # mkdir /usr/local/src
linux:~ # cd /usr/local/src
linux:local/src # tar xvzf path/to/nagios-3.0.tar.gz
...

The three commands unpack the source code into the directory created for this purpose, /usr/local/src. A subdirectory called nagios-3.0 is also created, containing the Nagios sources. To prepare these for compilation, enter the parameter deviating from the default value when running the configure command. Table 1-1 lists the most important parameters:

linux:~ # cd /usr/local/src/nagios-3.0 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required