INSTALLING 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Nagios Plugins Quick-and-Dirty Installation Instructions
  2. --------------------------------------------------------
  3. 0) If using the CVS tree, you need m4, automake, and autoconf. To
  4. start out, run:
  5. # aclocal
  6. # autoconf
  7. # autoheader
  8. # automake
  9. or you can run ./tools/setup
  10. Currently we are only supporting autoconf 2.13 and automake 1.4p5. Support
  11. for the latest autoconf and automake are in the works.
  12. 1) Run the configure script to initialize variables and create a Makefile, etc.
  13. ./configure --prefix=BASEDIRECTORY --with-nagios-user=SOMEUSER --with-nagios-group=SOMEGROUP --with-cgiurl=SOMEURL
  14. a) Replace BASEDIRECTORY with the path of the directory under which Nagios
  15. is installed (default is '/usr/local/nagios')
  16. b) Replace SOMEUSER with the name of a user on your system that will be
  17. assigned permissions to the installed plugins (default is 'nagios')
  18. c) Replace SOMEGRP with the name of a group on your system that will be
  19. assigned permissions to the installed plugins (default is 'nagios')
  20. d) Replace CGIURL with the path used to access the Nagios CGIs with
  21. a web browser (default is '/nagios/cgi-bin')
  22. 2) Compile the plugins with the following command:
  23. make all
  24. 3) Install the compiled plugins and plugin scripts with the following command:
  25. make install
  26. NOTE:
  27. The installation procedure will attempt to place the plugins in a
  28. 'libexec/' subdirectory in the base directory you specified with
  29. the --prefix argument to the configure script.
  30. 4) Verify that your host configuration file (hosts.cfg) for Nagios contains
  31. the correct paths to the new plugins.
  32. That's it. If you have any problems or questions, feel free send mail
  33. to nagios-users@lists.sourceforge.net or nagiosplug-help@lists.sourceforge.net
  34. Please send patches and bugs to nagiosplug-devel@lists.sourceforge.net and
  35. post them on http://sourceforge.net/projects/nagiosplug.