INSTALLING 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. For best results, please use the most recent versions of autoconf
  11. and automake. Older versions may also work, but are not
  12. specifically supprted.
  13. 1) Run the configure script to initialize variables and create a Makefile, etc.
  14. ./configure --prefix=BASEDIRECTORY --with-nagios-user=SOMEUSER --with-nagios-group=SOMEGROUP --with-cgiurl=SOMEURL
  15. a) Replace BASEDIRECTORY with the path of the directory under which Nagios
  16. is installed (default is '/usr/local/nagios')
  17. b) Replace SOMEUSER with the name of a user on your system that will be
  18. assigned permissions to the installed plugins (default is 'nagios')
  19. c) Replace SOMEGRP with the name of a group on your system that will be
  20. assigned permissions to the installed plugins (default is 'nagios')
  21. d) Replace CGIURL with the path used to access the Nagios CGIs with
  22. a web browser (default is '/nagios/cgi-bin')
  23. 2) Compile the plugins with the following command:
  24. make all
  25. 3) Install the compiled plugins and plugin scripts with the following command:
  26. make install
  27. NOTE:
  28. The installation procedure will attempt to place the plugins in a
  29. 'libexec/' subdirectory in the base directory you specified with
  30. the --prefix argument to the configure script.
  31. 4) Verify that your host configuration file (hosts.cfg) for Nagios contains
  32. the correct paths to the new plugins.
  33. That's it. If you have any problems or questions, feel free send mail
  34. to nagios-users@lists.sourceforge.net or nagiosplug-help@lists.sourceforge.net
  35. Please send patches and bugs to nagiosplug-devel@lists.sourceforge.net and
  36. post them on http://sourceforge.net/projects/nagiosplug.