summaryrefslogtreecommitdiffstats
path: root/INSTALLING
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALLING')
-rw-r--r--INSTALLING31
1 files changed, 14 insertions, 17 deletions
diff --git a/INSTALLING b/INSTALLING
index 02fb60c9..0e9c8375 100644
--- a/INSTALLING
+++ b/INSTALLING
@@ -1,23 +1,15 @@
1Nagios Plugins Quick-and-Dirty Installation Instructions 1Nagios Plugins Quick-and-Dirty Installation Instructions
2-------------------------------------------------------- 2--------------------------------------------------------
3 3
40) If using the CVS tree, you need m4, automake, and autoconf. To 40) 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
191) Run the configure script to initialize variables and create a Makefile, etc. 121) 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
332) Compile the plugins with the following command: 252) Compile the plugins with the following command:
34
35 make all 26 make all
36 27
37 28
383) Install the compiled plugins and plugin scripts with the following command: 293) 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
364) 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
484) Verify that your host configuration file (hosts.cfg) for Nagios contains 455) 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