summaryrefslogtreecommitdiffstats
path: root/README
blob: 03fa3d1f3d5d724ac5a513c28f32bef25470c2ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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 information on what changes have been made or plugins 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.

* 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

You can check for the latest plugins at:
  ftp://download.sourceforge.net/pub/sourceforge/nagiosplug
  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 '-v' 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 using the CVS tree, you need m4, gettext, automake, and autoconf. To
   start out, run ./tools/setup

   For development, we generally use the most recent stable tools from
   the FSF. Currently we use gettext 0.11.5, autoconf 2.58, and
   automake 1.7.9. You may see warnings or errors with other versions,
   particularly with autoconf < 2.54.


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

	./configure --prefix=BASEDIRECTORY --with-nagios-user=SOMEUSER --with-nagios-group=SOMEGROUP --with-cgiurl=SOMEURL

   a) Replace BASEDIRECTORY with the path of the directory under which Nagios
      is installed (default is '/usr/local/nagios')
   b) Replace SOMEUSER with the name of a user on your system that will be
      assigned permissions to the installed plugins (default is 'nagios')
   c) Replace SOMEGRP with the name of a group on your system that will be
      assigned permissions to the installed plugins (default is 'nagios')
   d) 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) 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 nagios-users@lists.sourceforge.net or nagiosplug-help@lists.sourceforge.net




--
Karl DeBisschop (kdebisschop@users.sourceforge.net)