Compiling Nagios from source code manually
This section describes the steps that the automated script performs and looks into the compilation process in more details.
This section is also meant to help troubleshooting errors with the automated script and explains more about how Nagios and Nagios plugins can be compiled and various options that can be used to change how and where they are compiled.
If you already have a setup running and are not interested in the details of how Nagios is installed, you may continue to the Running Nagios using virtualizations section, which describes how Nagios can be run inside a container or virtual machine.
Installing prerequisites
Building Nagios from sources requires a C compiler, standard C library development files, and the make
/imake
command. Additionally, development files for OpenSSL should be installed so that network-based plugins will be able to communicate over an SSL layer. MySQL and PostgreSQL development packages should also be installed so that...