Project

General

Profile

Documentation » History » Revision 9

Revision 8 (chin-yeh, 09/08/2010 06:05 PM) → Revision 9/19 (chin-yeh, 09/09/2010 08:53 AM)

{{toc}} 

 h1. Documentation 

 The official documentation. 

 h2. Installation 

 h3. 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*. 

 h3. Install Nagios Core and Nagios Plugins 

 Refer to the *Nagios Quickstart Installation Guides* section of *Nagios Core* in the document#6 for the installation steps. 

 h3. Install Addons 

 See [[Nagios - Addons]]. 

 h3. 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 document#6 for the installation steps. 


 h2. 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 
 <pre> 
 nagios$ mkdir temp_etc 
 </pre> 
 # @cd@ to the temp folder 
 <pre> 
 nagios$ cd temp_etc 
 </pre> 
 # copy the latest release configuration file 
 <pre> 
 [nagios temp_etc]$ cp prod.etc.tgz . 
 </pre> 
 # extract the file 
 <pre> 
 [nagios temp_etc]$ nagios$ tar -xvzf prod.etc.tgz 
 </pre> 
 # cp the folder, @etc@ to @/usr/lib/nagios/libexec@ 
 <pre> 
 [nagios temp_etc]$ nagios$ cp -R etc /usr/lib/nagios/libexec 
 </pre> 

 h2. Administration 

 h2. Housekeeping