Documentation » History » Revision 10
Revision 9 (chin-yeh, 09/09/2010 08:53 AM) → Revision 10/19 (chin-yeh, 09/09/2010 09:21 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]$ tar -xvzf prod.etc.tgz </pre> # backup the existing configuration folder <pre> [nagios temp_etc]$ cp -R /usr/local/nagios/etc /usr/local/nagios/etc.bak </pre> # copy the new configuration folder, *@etc@* @etc@ to @/usr/local/nagios/libexec@ @/usr/lib/nagios/libexec@ <pre> [nagios temp_etc]$ cp -R etc /usr/local/nagios/libexec /usr/lib/nagios/libexec </pre> h2. Administration h2. Housekeeping