diff options
| author | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2002-09-01 16:22:26 +0000 |
|---|---|---|
| committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2002-09-01 16:22:26 +0000 |
| commit | a3e09d0d2ba2cdeda2713276b6b322946dea5929 (patch) | |
| tree | d4d32f9e921dbb2e9b2b1c48cfcbda63810380e8 /INSTALLING | |
| parent | 6b4b815849afa945080834ec50f78c067783f53f (diff) | |
| download | monitoring-plugins-a3e09d0d2ba2cdeda2713276b6b322946dea5929.tar.gz | |
file rename for MacOS X
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@86 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'INSTALLING')
| -rw-r--r-- | INSTALLING | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/INSTALLING b/INSTALLING new file mode 100644 index 00000000..3f830ed2 --- /dev/null +++ b/INSTALLING | |||
| @@ -0,0 +1,57 @@ | |||
| 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 | or you can run ./tools/setup | ||
| 12 | |||
| 13 | Currently we are only supporting autoconf 2.13 and automake 1.4p5. Support | ||
| 14 | for the latest autoconf and automake are in the works. | ||
| 15 | |||
| 16 | |||
| 17 | 1) Run the configure script to initialize variables and create a Makefile, etc. | ||
| 18 | |||
| 19 | ./configure --prefix=BASEDIRECTORY --with-nagios-user=SOMEUSER --with-nagios-group=SOMEGROUP --with-cgiurl=SOMEURL | ||
| 20 | |||
| 21 | a) Replace BASEDIRECTORY with the path of the directory under which Nagios | ||
| 22 | is installed (default is '/usr/local/nagios') | ||
| 23 | b) Replace SOMEUSER with the name of a user on your system that will be | ||
| 24 | assigned permissions to the installed plugins (default is 'nagios') | ||
| 25 | c) Replace SOMEGRP with the name of a group on your system that will be | ||
| 26 | assigned permissions to the installed plugins (default is 'nagios') | ||
| 27 | d) Replace CGIURL with the path used to access the Nagios CGIs with | ||
| 28 | a web browser (default is '/nagios/cgi-bin') | ||
| 29 | |||
| 30 | |||
| 31 | 2) Compile the plugins with the following command: | ||
| 32 | |||
| 33 | make all | ||
| 34 | |||
| 35 | |||
| 36 | 3) Install the compiled plugins and plugin scripts with the following command: | ||
| 37 | |||
| 38 | make install | ||
| 39 | |||
| 40 | NOTE: | ||
| 41 | The installation procedure will attempt to place the plugins in a | ||
| 42 | 'libexec/' subdirectory in the base directory you specified with | ||
| 43 | the --prefix argument to the configure script. | ||
| 44 | |||
| 45 | |||
| 46 | 4) Verify that your host configuration file (hosts.cfg) for Nagios contains | ||
| 47 | the correct paths to the new plugins. | ||
| 48 | |||
| 49 | |||
| 50 | |||
| 51 | That's it. If you have any problems or questions, feel free send mail | ||
| 52 | to nagios-users@lists.sourceforge.net or nagiosplug-help@lists.sourceforge.net | ||
| 53 | |||
| 54 | Please send patches and bugs to nagiosplug-devel@lists.sourceforge.net and | ||
| 55 | post them on http://sourceforge.net/projects/nagiosplug. | ||
| 56 | |||
| 57 | |||
