README: Use code blocks for commands
[monitoring-plugins.git] / README
blob7571dc48e42be3861f558f8a53f208b46c9f27a9
1 Nagios Plugins README
2 =====================
4 * For instructions on installing these plugins for use with Nagios,
5   see below.  In addition, generic instructions for the GNU toolchain can be
6   found in the `INSTALL` file.
8 * For major changes between releases, read the `NEWS` file.
10 * For information on detailed changes that have been made or plugins
11   that have been added, read the `ChangeLog` file.
13 * Some plugins require that you have additional programs and/or
14   libraries installed on your system before they can be used.  Plugins that
15   are dependent on other programs/libraries that are missing are usually not
16   compiled.  Read the `REQUIREMENTS` file for more information.
18 * Individual plugins are self documenting.  All plugins that comply with
19   the basic guidelines for development will provide detailed help when
20   invoked with the `-h` or `--help` options.
22 You can check for the latest plugins at:
24 * <https://sourceforge.net/projects/nagiosplug/>
26 Send an email to <nagiosplug-help@lists.sourceforge.net> for assistance.
27 Please include the OS type and version that you are using.  Also, run the
28 plugin with the `-vvv` option and provide the resulting version information.
29 Of course, there may be additional diagnostic information required as well.
30 Use good judgment.
32 Send an email to <nagiosplug-devel@lists.sourceforge.net> for developer
33 discussions.
35 For patch submissions and bug reports, please use the appropriate resources
36 at <https://github.com/nagios-plugins/nagios-plugins>.
39 Installation Instructions
40 -------------------------
42 1.  If you are using the Git tree, you will need m4, gettext, automake, and
43     autoconf.  To start out, run:
45         ./tools/setup
47     For more detail, see the developer guidelines at
48     <http://nagiosplug.sourceforge.net/developer-guidelines.html>.
50 2.  Run the configure script to initialize variables and create a Makefile,
51     etc.
53         ./configure --prefix=BASEDIRECTORY --with-cgiurl=SOMEURL
55     * Replace `BASEDIRECTORY` with the path of the directory under which
56       Nagios is installed (default is `/usr/local/nagios`).
57     * Replace `CGIURL` with the path used to access the Nagios CGIs with a
58       web browser (default is `/nagios/cgi-bin`).
60 3.  Compile the plugins with the following command:
62         make
64 4.  Install the compiled plugins and plugin scripts with the following
65     command:
67         make install
69     The installation procedure will attempt to place the plugins in a
70     `libexec/` subdirectory in the base directory you specified with the
71     `--prefix` argument to the configure script.
73 5.  There are some plugins that require setuid.  If you run make install as
74     a non-root user, they will not be installed.  To install, switch to root
75     and run:
77         make install-root
79 That's it!  If you have any problems or questions, feel free to send an
80 email to <nagiosplug-help@lists.sourceforge.net>.
83 License Stuff
84 -------------
86 This software is released under the GNU General Public License, Version 3,
87 with the additional exemption that compiling, linking and/or using OpenSSL
88 is allowed.
90 See the `COPYING` file for the complete GPLv3 text.
93 -- 
94 Nagios Plugins Development Team