No Description

Holger Weiss 36dd74acd8 plugins/tests/check_http.t: Adjust date strings 11 years ago
build-aux 8230bbd4a4 Update bundled libtool files 12 years ago
config_test 8ee7a9f28d Ficing C++ style comments 19 years ago
doc 1fca5cb341 doc/developer-guidelines.sgml - Copyright change 12 years ago
gl 5ea46a4ca6 whitespace cleanup 11 years ago
lib 150d736d0e lib/utils_base.c lib/tests/test_utils.c - UID path 11 years ago
m4 ece039a4ab m4/np_mysqlclient.m4 - Copyright changes 12 years ago
perlmods ba7615631a Merge branch 'hw/update-pm' 12 years ago
pkg 3c90a370ea Update URLs and mailing list addresses 12 years ago
plugins 36dd74acd8 plugins/tests/check_http.t: Adjust date strings 11 years ago
plugins-root 845eff261a plugins-root/check_dhcp.c - array out of bounds 11 years ago
plugins-scripts 361c7621a9 Revert "check_mailq: try to autodetect which mailq implementation we are using" 11 years ago
po 9d7edd74b0 po/ - Spelling corrections 11 years ago
tap f7afa46586 Clean up last commit - remove the __STDC_VERSION__ check in tap.h 17 years ago
tools b7c37f3759 tools/git-notify - Copyright changes 12 years ago
.gitignore 1efcddc1c8 added check_uptime bin to gitignore 12 years ago
ABOUT-NLS c7d407faeb Updating gettext files from coreutils-6.9. mkinstalldirs needs to be in 19 years ago
ACKNOWLEDGEMENTS b77513f829 Added thanks to Ethan in the ACKNOWLEDGEMENTS doc 12 years ago
AUTHORS e23a485c04 Added myself and spenser to AUTHORS doc 12 years ago
CODING f364c5b6e4 Moved suggested plugin options from ROADMAP to CODING 12 years ago
COPYING 47a01d620c Update the COPYING file to the GPLv3 15 years ago
FAQ cfe0a2d038 updated FAQ to include new methods of contact 12 years ago
LEGAL d6b4b85998 Added Nagios-Plugins to the trademark notice 12 years ago
Makefile.am 4ad0f80ec3 Add tools/generate-change-log 12 years ago
NEWS c48934d55f Updated NEWS for 2.0.3 11 years ago
NP-VERSION-GEN e904d27af5 Prep for 2.0.3 11 years ago
NPTest.pm 1368b561c6 Enable tests in tests/ subdirs 12 years ago
README 5f96152797 Updated README to include testing instructions 12 years ago
README.md 95468ffe47 Add symlink: README.md -> README 12 years ago
REQUIREMENTS 91d8ae9de2 Added a note about check_uptime only supporting liunux atm 12 years ago
ROADMAP 694194dd8a 21 years ago
SUPPORT 8ed7e450c1 Added FORUMS section to SUPPORT doc 12 years ago
THANKS.in 392a0168cc Updated THANKS.in 11 years ago
acinclude.m4 6fbd14fea5 Removing CVS/SVN tags and replacing with git-based versioning 17 years ago
autogen.sh 6fbd14fea5 Removing CVS/SVN tags and replacing with git-based versioning 17 years ago
config.rpath 44d012f43d make dist failing without config.rpath in top level. File copied 19 years ago
configure.ac e904d27af5 Prep for 2.0.3 11 years ago
mkinstalldirs c314702b43 Adding more required files from gettext 20 years ago
nagios-plugins.spec.in aaee2c0632 Fix #1217 spec file fails to build due to duplicate files and unused files 12 years ago
opttest.pl 44a321cb8a Initial revision 24 years ago
test.pl.in 1368b561c6 Enable tests in tests/ subdirs 12 years ago

README

Nagios Plugins
==============

* For instructions on installing these plugins for use with Nagios,
see below. In addition, generic instructions for the GNU toolchain can be
found in the `INSTALL` file.

* For major changes between releases, read the `NEWS` file.

* For information on detailed changes that have been made or plugins
that have been added, read the `ChangeLog` file.

* Some plugins require that you have additional programs and/or
libraries installed on your system before they can be used. Plugins that
are dependent on other programs/libraries that are missing are usually not
compiled. Read the `REQUIREMENTS` file for more information.

* Individual plugins are self-documenting. All plugins that comply with
the basic guidelines for development will provide detailed help when
invoked with the `-h` or `--help` options.

You can check for the latest plugins at:

*

Send an email to for assistance. Please include
the OS type and version that you are using. Also, run the plugin with the
`-vvv` option and provide the resulting version information. Of course,
there may be additional diagnostic information required as well. Use good
judgment.

Send an email to for developer discussions.

For patch submissions and bug reports, please use the appropriate resources
at:

*


Installation Instructions
-------------------------

1. If you are using the Git tree, you will need m4, gettext, automake, and
autoconf. To start out, run:

./tools/setup

For more detail, see the developer guidelines at
.

2. Run the configure script to initialize variables and create a Makefile,
etc.

./configure --prefix=BASEDIRECTORY --with-cgiurl=SOMEURL

Replace `BASEDIRECTORY` with the path of the directory under which Nagios
is installed (default is `/usr/local/nagios`), and replace `SOMEURL` with
the path used to access the Nagios CGIs with a web browser (default is
`/nagios/cgi-bin`).

3. Compile the plugins with the following command:

make

4. Install the compiled plugins and plugin scripts with the following
command:

make install

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. There are some plugins that require setuid. If you run make install as
a non-root user, they will not be installed. To install, switch to root
and run:

make install-root

That's it! If you have any problems or questions, feel free to send an
email to .


Testing With libtap
-------------------

1. The nagios-plugins source includes a perl testing suite. the libtap
library and headers are included with the source. Configure with:

./configure --enable-libtap

Note: "--enable-extra-opts" used to be required as well, but is no
longer required as it is a default configure option.

2. Make and then make test:

make
make test

3. Testing is pseudo intelligent and will try to autodetect which plugins
to test. You may need to look at the REQUIREMENTS doc as to what
dependencies are required to satisfy the test.

Additionally, default and user supplied (at runtime) testing parameters
are saved in the file:

/var/tmp/NPTest.cache

If you need to change any testing parameters, edit them in this file
or just remove the line to force the test to re-prompt you for input.


License Notice
--------------

You can redistribute and/or modify this software under the terms of the GNU
General Public License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version; with the
additional exemption that compiling, linking, and/or using OpenSSL is
allowed.

This software is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.

See the `COPYING` file for the complete text of the GNU General Public
License, version 3.