README 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Nagios Plugins README
  2. ---------------------
  3. * For instructions on installing these plugins for use with Nagios,
  4. see below. In addition, generic instructions for the GNU toolchain
  5. can be found in the INSTALL file.
  6. * For major changes between releases, read the CHANGES file.
  7. * For information on detailed changes that have been made or plugins
  8. that have been added, read the Changelog file.
  9. * Some plugins require that you have additional programs and/or
  10. libraries installed on your system before they can be used. Plugins
  11. that are dependent on other programs/libraries that are missing are
  12. usually not compiled. Read the REQUIREMENTS file for more information.
  13. * Individual plugins are self documenting. All plugins that comply with
  14. the basic guidelines for development will provide detailed help when
  15. invoked with the '-h' or '--help' options.
  16. * The file command.cfg contains example configurations for many of the
  17. plugins
  18. You can check for the latest plugins at:
  19. ftp://download.sourceforge.net/pub/sourceforge/nagiosplug
  20. http://sourceforge.net/projects/nagiosplug/
  21. Send mail to nagiosplug-help@lists.sourceforge.net for assistance. Please
  22. include the OS type and version that you are using. Also, run the plugin with
  23. the '-v' option and provide the resulting version information. Of course,
  24. there may be additional diagnostic information required as well. Use good
  25. judgment.
  26. Send mail to nagiosplug-devel@lists.sourceforge.net for developer discussions.
  27. For patch submissions and bug reports, please use the appropriate resources at
  28. http://sourceforge.net/projects/nagiosplug/ (navigate to the bug tool and/or
  29. patch tool from the summary page). Patches should be relative to the current
  30. CVS head (development), or to the head of the current stable branch. Also,
  31. please include version information for your OS and the plugin(s) your are
  32. patching/reporting.
  33. Nagios Plugins Quick-and-Dirty Installation Instructions
  34. --------------------------------------------------------
  35. 0) If using the CVS tree, you need m4, gettext, automake, and autoconf. To
  36. start out, run ./tools/setup
  37. For development, we generally use the most recent stable tools from
  38. the FSF. Currently we use gettext 0.11.5, autoconf 2.58, and
  39. automake 1.7.9. You may see warnings or errors with other versions,
  40. particularly with autoconf < 2.54.
  41. 1) Run the configure script to initialize variables and create a Makefile, etc.
  42. ./configure --prefix=BASEDIRECTORY --with-nagios-user=SOMEUSER --with-nagios-group=SOMEGROUP --with-cgiurl=SOMEURL
  43. a) Replace BASEDIRECTORY with the path of the directory under which Nagios
  44. is installed (default is '/usr/local/nagios')
  45. b) Replace SOMEUSER with the name of a user on your system that will be
  46. assigned permissions to the installed plugins (default is 'nagios')
  47. c) Replace SOMEGRP with the name of a group on your system that will be
  48. assigned permissions to the installed plugins (default is 'nagios')
  49. d) Replace CGIURL with the path used to access the Nagios CGIs with
  50. a web browser (default is '/nagios/cgi-bin')
  51. 2) Compile the plugins with the following command:
  52. make
  53. 3) Install the compiled plugins and plugin scripts with the following command:
  54. make install
  55. The installation procedure will attempt to place the plugins in a
  56. 'libexec/' subdirectory in the base directory you specified with
  57. the --prefix argument to the configure script.
  58. 4) Verify that your host configuration file (hosts.cfg) for Nagios contains
  59. the correct paths to the new plugins.
  60. That's it. If you have any problems or questions, feel free send mail
  61. to nagios-users@lists.sourceforge.net or nagiosplug-help@lists.sourceforge.net
  62. --
  63. Karl DeBisschop (kdebisschop@users.sourceforge.net)