diff options
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 49 |
1 files changed, 49 insertions, 0 deletions
@@ -0,0 +1,49 @@ | |||
1 | Nagios Plugins Quick-and-Dirty Installation Instructions | ||
2 | -------------------------------------------------------- | ||
3 | |||
4 | 0) If using the CVS tree, you need m4, automake, and autoconf. To | ||
5 | start out, run: | ||
6 | |||
7 | # autoconf | ||
8 | # autoheader | ||
9 | # automake | ||
10 | |||
11 | |||
12 | 1) Run the configure script to initialize variables and create a Makefile, etc. | ||
13 | |||
14 | ./configure --prefix=BASEDIRECTORY --with-nagios-user=SOMEUSER --with-nagios-group=SOMEGROUP --with-cgiurl=SOMEURL | ||
15 | |||
16 | a) Replace BASEDIRECTORY with the path of the directory under which Nagios | ||
17 | is installed (default is '/usr/local/nagios') | ||
18 | b) Replace SOMEUSER with the name of a user on your system that will be | ||
19 | assigned permissions to the installed plugins (default is 'nagios') | ||
20 | c) Replace SOMEGRP with the name of a group on your system that will be | ||
21 | assigned permissions to the installed plugins (default is 'nagios') | ||
22 | d) Replace CGIURL with the path used to access the Nagios CGIs with | ||
23 | a web browser (default is '/cgi-bin/nagios') | ||
24 | |||
25 | |||
26 | 2) Compile the plugins with the following command: | ||
27 | |||
28 | make all | ||
29 | |||
30 | |||
31 | 3) Install the compiled plugins and plugin scripts with the following command: | ||
32 | |||
33 | make install | ||
34 | |||
35 | NOTE: | ||
36 | The installation procedure will attempt to place the plugins in a | ||
37 | 'libexec/' subdirectory in the base directory you specified with | ||
38 | the --prefix argument to the configure script. | ||
39 | |||
40 | |||
41 | 4) Verify that your host configuration file (hosts.cfg) for Nagios contains | ||
42 | the correct paths to the new plugins. | ||
43 | |||
44 | |||
45 | |||
46 | That's it. If you have any problems or questions, feel free send mail | ||
47 | to nagios-users@lists.sourceforge.net | ||
48 | |||
49 | |||