summaryrefslogtreecommitdiffstats
path: root/INSTALLING
blob: 019feb4c75e776e44afc954f4830d7283b5ffbc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Nagios Plugins Quick-and-Dirty Installation Instructions
--------------------------------------------------------

0) If using the CVS tree, you need:
	gnu make 3.79
	automake 1.9.2
	autoconf 2.58

   To start out, run:
	tools/setup

1) Run the configure script to initialize variables and create a Makefile, etc.
	./configure --prefix=BASEDIRECTORY --with-cgiurl=SOMEURL

   a) Replace BASEDIRECTORY with the path of the directory under which Nagios
      is installed (default is '/usr/local/nagios')
   b) Replace CGIURL with the path used to access the Nagios CGIs with
      a web browser (default is '/nagios/cgi-bin')


2) Compile the plugins with the following command:
	make all


3) Test the plugins:
	make test

   You will need to answer questions on servers that can be used for testing. If
   you need to edit any values, edit the file /var/tmp/NPTest.cache


4) Install the compiled plugins and plugin scripts with the following command:
	make install

   NOTE: 
   The installation procedure will attempt to place the plugins in a 
   'libexec/' subdirectory in the base directory you specified with
   the --prefix argument to the configure script.


5) Verify that your host configuration file (hosts.cfg) for Nagios contains
   the correct paths to the new plugins.



That's it.  If you have any problems or questions, feel free send mail
to nagios-users@lists.sourceforge.net or nagiosplug-help@lists.sourceforge.net

Please send patches and bugs to nagiosplug-devel@lists.sourceforge.net and
post them on http://sourceforge.net/projects/nagiosplug.