diff options
Diffstat (limited to 'INSTALLING')
-rw-r--r-- | INSTALLING | 31 |
1 files changed, 14 insertions, 17 deletions
@@ -1,23 +1,15 @@ | |||
1 | Nagios Plugins Quick-and-Dirty Installation Instructions | 1 | Nagios Plugins Quick-and-Dirty Installation Instructions |
2 | -------------------------------------------------------- | 2 | -------------------------------------------------------- |
3 | 3 | ||
4 | 0) If using the CVS tree, you need m4, automake, and autoconf. To | 4 | 0) If using the CVS tree, you need: |
5 | start out, run: | 5 | gnu make 3.79 |
6 | 6 | automake 1.9.2 | |
7 | # aclocal | 7 | autoconf 2.58 |
8 | # autoconf | ||
9 | # autoheader | ||
10 | # automake | ||
11 | |||
12 | or you can run ./tools/setup | ||
13 | |||
14 | For best results, please use the most recent versions of autoconf | ||
15 | and automake. Older versions may also work, but are not | ||
16 | specifically supprted. | ||
17 | 8 | ||
9 | To start out, run: | ||
10 | tools/setup | ||
18 | 11 | ||
19 | 1) Run the configure script to initialize variables and create a Makefile, etc. | 12 | 1) Run the configure script to initialize variables and create a Makefile, etc. |
20 | |||
21 | ./configure --prefix=BASEDIRECTORY --with-nagios-user=SOMEUSER --with-nagios-group=SOMEGROUP --with-cgiurl=SOMEURL | 13 | ./configure --prefix=BASEDIRECTORY --with-nagios-user=SOMEUSER --with-nagios-group=SOMEGROUP --with-cgiurl=SOMEURL |
22 | 14 | ||
23 | a) Replace BASEDIRECTORY with the path of the directory under which Nagios | 15 | a) Replace BASEDIRECTORY with the path of the directory under which Nagios |
@@ -31,12 +23,17 @@ Nagios Plugins Quick-and-Dirty Installation Instructions | |||
31 | 23 | ||
32 | 24 | ||
33 | 2) Compile the plugins with the following command: | 25 | 2) Compile the plugins with the following command: |
34 | |||
35 | make all | 26 | make all |
36 | 27 | ||
37 | 28 | ||
38 | 3) Install the compiled plugins and plugin scripts with the following command: | 29 | 3) Test the plugins: |
30 | make test | ||
31 | |||
32 | You will need to answer questions on servers that can be used for testing. If | ||
33 | you need to edit any values, edit the file /var/tmp/NPTest.cache | ||
34 | |||
39 | 35 | ||
36 | 4) Install the compiled plugins and plugin scripts with the following command: | ||
40 | make install | 37 | make install |
41 | 38 | ||
42 | NOTE: | 39 | NOTE: |
@@ -45,7 +42,7 @@ Nagios Plugins Quick-and-Dirty Installation Instructions | |||
45 | the --prefix argument to the configure script. | 42 | the --prefix argument to the configure script. |
46 | 43 | ||
47 | 44 | ||
48 | 4) Verify that your host configuration file (hosts.cfg) for Nagios contains | 45 | 5) Verify that your host configuration file (hosts.cfg) for Nagios contains |
49 | the correct paths to the new plugins. | 46 | the correct paths to the new plugins. |
50 | 47 | ||
51 | 48 | ||