Actions
Documentation » History » Revision 10
« Previous |
Revision 10/19
(diff)
| Next »
chin-yeh, 09/09/2010 09:21 AM
- Table of contents
- Documentation
Documentation¶
The official documentation.
Installation¶
Prerequisites¶
Requires:- must have root access
- Apache HTTP installed and configured
- PHP module installed and configured
- GCC compiler
You can install the above missing components using yum or up2date.
Install Nagios Core and Nagios Plugins¶
Refer to the Nagios Quickstart Installation Guides section of Nagios Core in the Nagios - Documentation for the installation steps.
Install Addons¶
See Nagios - Addons.
Install NRPE - optional¶
Install this add-on only if there is a need to execute Nagios Plugins on remote *nix machines.
Refer to the NRPE in the Nagios - Documentation for the installation steps.
Configuration¶
One should obtain the pre-configured nagios conf files from the repository.
- obtain the latest release version and the file usually pack and compress as
prod.etc.tgz
- login as
nagios
user - create a temp folder to store the file
nagios$ mkdir temp_etc
cd
to the temp foldernagios$ cd temp_etc
- copy the latest release configuration file
[nagios temp_etc]$ cp prod.etc.tgz .
- extract the file
[nagios temp_etc]$ tar -xvzf prod.etc.tgz
- backup the existing configuration folder
[nagios temp_etc]$ cp -R /usr/local/nagios/etc /usr/local/nagios/etc.bak
- copy the new configuration folder,
etc
to/usr/local/nagios/libexec
[nagios temp_etc]$ cp -R etc /usr/local/nagios/libexec
Administration¶
Housekeeping¶
Updated by chin-yeh over 14 years ago · 10 revisions