In RHEL5.4 installation of nagios-3.2.3 nonsense not to mention, first step by step to see the official documentation tells us that the successful installation of the conditions is nagios and plug-ins installed in the/usr/local/nagios path, then the configured nagios can monitor the CPU load and disk usage of the local system resources. The URL of the nagios web interface is http: // localhost/nagios /. Next, let's take a look at the preparations
Install nagios-3.2.3 under RHEL 5.4
Not to mention nonsense. Let's take a step-by-step look at the official documentation.
The installation is successful only when nagios and plug-in are installed in the path of/usr/local/nagios, and then configured nagios can monitor the CPU load of local system resources, disk usage and other information. Finally, the nagios web interface URL is http: // localhost/nagios /.
Next, let's take a look at the preparations?
Apache, php, gcc compiler, and GD library are required. After installation, let's take a look.
Step 1: create an account and user group for nagios
The official materials provided are to create a nagios user, then create a nagcmd, and then add nagios and apache users. .
I have to admire foreigners for their meticulous and user-friendly documents. This small problem can be taken care of by us.
After decompressing the nagios compressed package, we can see a lot of files. Let's read README:
This is the introduction of some basic functions, but does not introduce how to install them. Let's continue:
Run the nagios configuration script, configure the user group, and then compile. After compilation, install the binary file, init script, sample configuration file, and set permissions for the command. After a long wait, I finally finished it.