Documentation » History » Version 8
chin-yeh, 09/08/2010 06:05 PM
1 | 3 | chin-yeh | {{toc}} |
---|---|---|---|
2 | 2 | chin-yeh | |
3 | 1 | chin-yeh | h1. Documentation |
4 | |||
5 | The official documentation. |
||
6 | |||
7 | h2. Installation |
||
8 | 3 | chin-yeh | |
9 | h3. Prerequisites |
||
10 | |||
11 | Requires: |
||
12 | * must have *root* access |
||
13 | * Apache HTTP installed and configured |
||
14 | * PHP module installed and configured |
||
15 | * GCC compiler |
||
16 | |||
17 | You can install the above missing components using *yum* or *up2date*. |
||
18 | 1 | chin-yeh | |
19 | 4 | chin-yeh | h3. Install Nagios Core and Nagios Plugins |
20 | |||
21 | Refer to the *Nagios Quickstart Installation Guides* section of *Nagios Core* in the document#6 for the installation steps. |
||
22 | |||
23 | 6 | chin-yeh | h3. Install Addons |
24 | |||
25 | See [[Nagios - Addons]]. |
||
26 | |||
27 | 4 | chin-yeh | h3. Install NRPE - optional |
28 | |||
29 | Install this add-on only if there is a need to execute *Nagios Plugins* on remote *nix machines. |
||
30 | 5 | chin-yeh | |
31 | 4 | chin-yeh | Refer to the *NRPE* in the document#6 for the installation steps. |
32 | |||
33 | |||
34 | 1 | chin-yeh | h2. Configuration |
35 | |||
36 | 7 | chin-yeh | One should obtain the pre-configured nagios conf files from the repository. |
37 | |||
38 | 8 | chin-yeh | # obtain the latest release version and the file usually pack and compress as @prod.etc.tgz@ |
39 | # login as @nagios@ user |
||
40 | # create a temp folder to store the file |
||
41 | <pre> |
||
42 | nagios$ mkdir temp_etc |
||
43 | </pre> |
||
44 | # @cd@ to the temp folder |
||
45 | <pre> |
||
46 | nagios$ cd temp_etc |
||
47 | </pre> |
||
48 | # extract the file |
||
49 | <pre> |
||
50 | nagios$ tar -xvzf prod.etc.tgz |
||
51 | </pre> |
||
52 | # cp the folder, @etc@ to @/usr/lib/nagios/libexec@ |
||
53 | <pre> |
||
54 | nagios$ cp -R etc /usr/lib/nagios/libexec |
||
55 | </pre> |
||
56 | |||
57 | 1 | chin-yeh | h2. Administration |
58 | |||
59 | h2. Housekeeping |