Code

bah, my_connect is taken by mysql. now calling it np_net_connect.
[nagiosplug.git] / INSTALLING
1 Nagios Plugins Quick-and-Dirty Installation Instructions
2 --------------------------------------------------------
4 0) If using the CVS tree, you need m4, automake, and autoconf. To
5    start out, run:
7         # aclocal
8         # autoconf
9         # autoheader
10         # automake
12    or you can run ./tools/setup
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.
19 1) Run the configure script to initialize variables and create a Makefile, etc.
21         ./configure --prefix=BASEDIRECTORY --with-nagios-user=SOMEUSER --with-nagios-group=SOMEGROUP --with-cgiurl=SOMEURL
23    a) Replace BASEDIRECTORY with the path of the directory under which Nagios
24       is installed (default is '/usr/local/nagios')
25    b) Replace SOMEUSER with the name of a user on your system that will be
26       assigned permissions to the installed plugins (default is 'nagios')
27    c) Replace SOMEGRP with the name of a group on your system that will be
28       assigned permissions to the installed plugins (default is 'nagios')
29    d) Replace CGIURL with the path used to access the Nagios CGIs with
30       a web browser (default is '/nagios/cgi-bin')
33 2) Compile the plugins with the following command:
35         make all
38 3) Install the compiled plugins and plugin scripts with the following command:
40         make install
42    NOTE: 
43    The installation procedure will attempt to place the plugins in a 
44    'libexec/' subdirectory in the base directory you specified with
45    the --prefix argument to the configure script.
48 4) Verify that your host configuration file (hosts.cfg) for Nagios contains
49    the correct paths to the new plugins.
53 That's it.  If you have any problems or questions, feel free send mail
54 to nagios-users@lists.sourceforge.net or nagiosplug-help@lists.sourceforge.net
56 Please send patches and bugs to nagiosplug-devel@lists.sourceforge.net and
57 post them on http://sourceforge.net/projects/nagiosplug.