Nagios Plugins
C M4 Shell Perl C++ Makefile Roff
Permalink
Failed to load latest commit information.
build-aux Reserved identifier violation Oct 7, 2015
config_test Ficing C++ style comments Mar 8, 2007
doc Updated project member change procedures Jul 29, 2015
gl Add strcase gnulib module Jun 3, 2016
lib lib/parse_ini.c: fix gcc warning: implicit declaration of function ‘i… Dec 11, 2016
m4 Adding python plugins Feb 27, 2017
perlmods Merge branch 'hw/update-pm' Aug 30, 2013
pkg Update URLs and mailing list addresses Oct 28, 2013
plugins-root Merge pull request #176 from mjtrangoni/dead-assignment Dec 2, 2016
plugins-scripts check_mailq Nullmailer Regex is not working for Ubuntu 16.04 Mar 30, 2017
plugins Revert "Merge pull request #238 from apollotonkosmo/mysql-uptime-perf… Apr 12, 2017
po de,fr.po: fix syntax errors end-of-line within string. Dec 11, 2016
tap Clean up last commit - remove the __STDC_VERSION__ check in tap.h Jan 15, 2009
tools tools/build_perl_modules hardcodes the perl used Aug 2, 2016
.gitignore Fix typo Feb 27, 2017
ABOUT-NLS Updating gettext files from coreutils-6.9. mkinstalldirs needs to be in May 12, 2007
ACKNOWLEDGEMENTS Added thanks to Ethan in the ACKNOWLEDGEMENTS doc Mar 3, 2014
AUTHORS Update AUTHORS Jul 20, 2016
CODING Added -4 and -6 to CODING reserved args Jul 29, 2015
COPYING Update the COPYING file to the GPLv3 Jul 27, 2010
FAQ updated FAQ to include new methods of contact Mar 3, 2014
LEGAL Added Nagios-Plugins to the trademark notice Mar 4, 2014
Makefile.am Update version to 2.2.1-rc1 Apr 6, 2017
NEWS Prep for release 2.2.1 Apr 19, 2017
NP-VERSION-GEN Update version to 2.2.1-rc1 Apr 6, 2017
NPTest.pm Enable tests in tests/ subdirs Feb 1, 2014
README Typo change in README.md Apr 13, 2017
README.md Add symlink: README.md -> README Sep 20, 2013
REQUIREMENTS check_radius: Support FreeRADIUS Client library Jul 27, 2015
ROADMAP Added -4 and -6 to reserved args in ROADMAP Jul 29, 2015
SUPPORT Added FORUMS section to SUPPORT doc Mar 3, 2014
THANKS.in Building RPMs on Amazon Linux - Add 'install-root' on line 165 of spe… Apr 5, 2017
acinclude.m4 Removing CVS/SVN tags and replacing with git-based versioning Nov 23, 2008
autogen.sh Removing CVS/SVN tags and replacing with git-based versioning Nov 23, 2008
config.rpath make dist failing without config.rpath in top level. File copied Jan 30, 2007
configure.ac Update version to 2.2.1-rc1 Apr 6, 2017
grg First commit, added file grg Apr 18, 2017
mkinstalldirs Adding more required files from gettext May 19, 2006
nagios-plugins.spec.in Building RPMs on Amazon Linux - Add 'install-root' on line 165 of spe… Apr 5, 2017
opttest.pl Initial revision Feb 28, 2002
test.pl.in Use "C" locale when running test suite Dec 13, 2014

README.md

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 NEWS 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 help@nagios-plugins.org 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 devel@nagios-plugins.org 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 https://www.nagios-plugins.org/doc/guidelines.html.

  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 help@nagios-plugins.org.

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.

Static Analysis Tools

Coverity is a tool used to statically analyze C\C++ code and determine possible vulnerabilities, bugs, and usage errors. Nagios-Plugins considers these items to be extremely important for proper code coverage and longevity. It should be noted that a "Passed", does not mean that all Coverity reported issues have been resolved, instead that the latest build submitted did not have any newly found issues, and may or may not have eliminated previously found issues. We use several testing processes that end with a submission to Coverity on each successful build. This means that you will often see this badge pending or with new issues found as new features, pull requests, and github issue resolutions submitted in other branches will reflect on the badge displayed on the master branch. However, the master branch and therefore any releases will not be updated without a current clean scan from Coverity. With that said, below you can find the current state of the Nagios-Plugins project per Coverity's view.

Coverity Scan Build Status