Monitoring Plugins standards
Find a file
Thomas Guyot-Sionnest df88f95fca check_snmp: Remove that is_numeric madness
Original patch to make Timeticks works as in check_snmp v1.4.14, it turns
out is_numeric isn't so useful and treating all types as numeric works
best for backwards-compatibility. This is how it used to work in 1.4.14.

As a special case, I also make calculate_rate look up for numeric values
as it would otherwise return the last value instead.
2010-11-30 22:32:33 -05:00
build-aux Added state retention APIs. Implemented for check_snmp with --rate option. 2010-06-23 13:30:34 +00:00
config_test Ficing C++ style comments 2007-03-08 06:12:36 +00:00
contrib Patch for check_linux_raid with on linear/raid0 arrays 2010-10-05 23:19:03 -04:00
contrib-reporting New directory to for perfdata and reporting scripts 2002-11-18 14:46:41 +00:00
doc Corrected example 2010-03-15 19:44:25 +00:00
gl Import the environ module from gnulib (86ba51) 2010-07-02 12:36:08 -04:00
lib Fix check_disk free space calculation if blocksizes differ within a disk group (Bekar - #2973603) 2010-11-15 23:59:35 +01:00
m4 Removing all .cvsignore files 2007-07-24 00:35:42 +00:00
perlmods Updated Nagios::Plugin library 2010-04-15 10:44:01 +00:00
pkg Removing all .cvsignore files 2007-07-24 00:35:42 +00:00
plugins check_snmp: Remove that is_numeric madness 2010-11-30 22:32:33 -05:00
plugins-root Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
plugins-scripts add test cases for check_disk_smb 2010-11-28 22:08:54 +01:00
po Fix --help output when MAX_OIDS is altered. 2010-07-09 19:39:09 -04:00
tap Clean up last commit - remove the __STDC_VERSION__ check in tap.h 2009-01-15 01:03:00 -05:00
tools sfsnapshotgit: Better handling of remote refs 2010-10-11 21:38:42 -04:00
.gitignore tools/distclean: use git-clean when possible 2010-04-28 05:28:22 -04:00
ABOUT-NLS Updating gettext files from coreutils-6.9. mkinstalldirs needs to be in 2007-05-12 00:49:26 +00:00
acinclude.m4 Removing CVS/SVN tags and replacing with git-based versioning 2008-11-23 05:38:47 +00:00
ACKNOWLEDGEMENTS Fix typos. 2007-01-27 16:56:33 +00:00
AUTHORS 1.4.8 release 2007-04-11 12:08:06 +00:00
autogen.sh Removing CVS/SVN tags and replacing with git-based versioning 2008-11-23 05:38:47 +00:00
BUGS 1.4.15 prep 2010-07-27 21:45:20 +01:00
ChangeLog 1.4.15 prep 2010-07-27 21:45:20 +01:00
CODING Added perl coding guidelines, from Programming Perl book (Andreas Ericsson) 2004-11-19 15:58:00 +00:00
command.cfg.in Removing CVS/SVN tags and replacing with git-based versioning 2008-11-23 05:38:47 +00:00
config.rpath make dist failing without config.rpath in top level. File copied 2007-01-30 09:56:47 +00:00
configure.in 1.4.15 prep 2010-07-27 21:45:20 +01:00
COPYING Update the COPYING file to the GPLv3 2010-07-27 23:06:23 +02:00
FAQ Root plugins installed with world executable permissions. Removed references 2007-03-06 10:48:32 +00:00
LEGAL Initial revision 2002-02-28 06:42:51 +00:00
Makefile.am Add Libtap as a bundled library (does not change any behaviour without --enable-libtap) 2008-11-29 04:38:54 -05:00
mkinstalldirs Adding more required files from gettext 2006-05-19 21:30:59 +00:00
nagios-plugins.spec.in build fix 2005-05-23 05:09:51 +00:00
NEWS check_snmp: Remove that is_numeric madness 2010-11-30 22:32:33 -05:00
NP-VERSION-GEN 1.4.15 prep 2010-07-27 21:45:20 +01:00
NPTest.pm Switch back to "use Test" and plain prints instead of diag() 2009-06-16 23:51:19 +02:00
opttest.pl Initial revision 2002-02-28 06:42:51 +00:00
package.def 1.4.15 prep 2010-07-27 21:45:20 +01:00
README Root plugins installed with world executable permissions. Removed references 2007-03-06 10:48:32 +00:00
REQUIREMENTS Add a note about radiusclient 2008-05-23 09:09:17 +00:00
ROADMAP some minor fixes 2004-12-03 17:48:53 +00:00
SUPPORT Cleanup and statement re: contrib plugins 2004-11-29 23:46:58 +00:00
test.pl.in Make output of "make test" more verbose 2009-06-15 21:45:12 +02:00
THANKS.in check_nt: make UPTIME accept warning/critical levels 2010-10-15 01:52:29 -04:00

Nagios Plugins README
---------------------

* 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.

* For a list of outstanding bugs for this release, see the BUGS file.

* 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.

* The file command.cfg contains example configurations for many of the
  plugins

* The win32 subdir contains plugins specific to the Win32 platform. 
  These are scripts or binaries.

You can check for the latest plugins at:
  http://sourceforge.net/projects/nagiosplug/

Send mail to nagiosplug-help@lists.sourceforge.net 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 mail to nagiosplug-devel@lists.sourceforge.net for developer discussions.

For patch submissions and bug reports, please use the appropriate resources at
http://sourceforge.net/projects/nagiosplug/ (navigate to the bug tool and/or
patch tool from the summary page).  Patches should be relative to the current
CVS head (development), or to the head of the current stable branch. Also, 
please include version information for your OS and the plugin(s) your are 
patching/reporting.




Nagios Plugins Quick-and-Dirty Installation Instructions
--------------------------------------------------------

0) If you are using the CVS tree, you will need m4, gettext, automake, and autoconf. 
   To start out, run ./tools/setup

   For more detail, see the developer guidelines at 
   http://nagiosplug.sourceforge.net/developer-guidelines.html.


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

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

   a) Replace BASEDIRECTORY with the path of the directory under which Nagios
      is installed (default is '/usr/local/nagios')
   b) Replace CGIURL with the path used to access the Nagios CGIs with
      a web browser (default is '/nagios/cgi-bin')


2) Compile the plugins with the following command:

	make


3) 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.

4) 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

5) Verify that your host configuration file (hosts.cfg) for Nagios contains
   the correct paths to the new plugins.



That's it! If you have any problems or questions, feel free send mail
to nagiosplug-help@lists.sourceforge.net



LICENSE STUFF
-------------

This software is released under the GNU Public License with the additional
exemption that compiling, linking and/or using OpenSSL is allowed.

See the COPYING file for the complete GPL text. 


--
Nagios Plugins Team