diff options
-rw-r--r-- | .cvsignore | 1 | ||||
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | README | 65 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | lib/Makefile.am | 2 |
5 files changed, 67 insertions, 7 deletions
@@ -8,6 +8,7 @@ command.cfg | |||
8 | Cache.pm | 8 | Cache.pm |
9 | build-* | 9 | build-* |
10 | intl | 10 | intl |
11 | ABOUT-NLS | ||
11 | aclocal.m4 | 12 | aclocal.m4 |
12 | autom4te*.cache | 13 | autom4te*.cache |
13 | install-sh | 14 | install-sh |
@@ -1,3 +1,7 @@ | |||
1 | 2003-07-29 gettextize <bug-gnu-gettext@gnu.org> | ||
2 | |||
3 | * configure.in (AM_GNU_GETTEXT_VERSION): Bump to 0.11.5. | ||
4 | |||
1 | 2003-07-02 gettextize <bug-gnu-gettext@gnu.org> | 5 | 2003-07-02 gettextize <bug-gnu-gettext@gnu.org> |
2 | 6 | ||
3 | * Makefile.am (SUBDIRS): Add intl. | 7 | * Makefile.am (SUBDIRS): Add intl. |
@@ -1,10 +1,11 @@ | |||
1 | Nagios Plugins README | 1 | Nagios Plugins README |
2 | --------------------- | 2 | --------------------- |
3 | 3 | ||
4 | * For instructions on installing these plugins for use with Nagios, read | 4 | * For instructions on installing these plugins for use with Nagios, |
5 | the INSTALL file. | 5 | see below. In addition, generic instructions for the GNU toolchain |
6 | can be found in the INSTALL file. | ||
6 | 7 | ||
7 | * For information on what changes have been made or plugin have been added, | 8 | * For information on what changes have been made or plugins have been added, |
8 | read the Changelog file. | 9 | read the Changelog file. |
9 | 10 | ||
10 | * Some plugins require that you have additional programs and/or | 11 | * Some plugins require that you have additional programs and/or |
@@ -14,7 +15,7 @@ Nagios Plugins README | |||
14 | 15 | ||
15 | * Individual plugins are self documenting. All plugins that comply with | 16 | * Individual plugins are self documenting. All plugins that comply with |
16 | the basic guidelines for development will provide detailed help when | 17 | the basic guidelines for development will provide detailed help when |
17 | invoked with the '-h' option ('--help' also, if long options are enabled). | 18 | invoked with the '-h' or '--help' options. |
18 | 19 | ||
19 | * The file command.cfg contains example configurations for many of the | 20 | * The file command.cfg contains example configurations for many of the |
20 | plugins | 21 | plugins |
@@ -37,6 +38,60 @@ patch tool from the summary page). Patches should be relative to the current | |||
37 | CVS head (development), or to the head of the current stable branch. Also, | 38 | CVS head (development), or to the head of the current stable branch. Also, |
38 | please include version information for your OS and the plugin(s) your are | 39 | please include version information for your OS and the plugin(s) your are |
39 | patching/reporting. | 40 | patching/reporting. |
40 | 41 | ||
42 | |||
43 | |||
44 | |||
45 | Nagios Plugins Quick-and-Dirty Installation Instructions | ||
46 | -------------------------------------------------------- | ||
47 | |||
48 | 0) If using the CVS tree, you need m4, gettext, automake, and autoconf. To | ||
49 | start out, run ./tools/setup | ||
50 | |||
51 | For development, we generally use the most recent stable tools from | ||
52 | the FSF. Currently we use gettext 0.11.5, autoconf 2.57, and | ||
53 | automake 1.76. No other versions are tested, and you may see | ||
54 | warnings or errors with other versions. | ||
55 | |||
56 | |||
57 | 1) Run the configure script to initialize variables and create a Makefile, etc. | ||
58 | |||
59 | ./configure --prefix=BASEDIRECTORY --with-nagios-user=SOMEUSER --with-nagios-group=SOMEGROUP --with-cgiurl=SOMEURL | ||
60 | |||
61 | a) Replace BASEDIRECTORY with the path of the directory under which Nagios | ||
62 | is installed (default is '/usr/local/nagios') | ||
63 | b) Replace SOMEUSER with the name of a user on your system that will be | ||
64 | assigned permissions to the installed plugins (default is 'nagios') | ||
65 | c) Replace SOMEGRP with the name of a group on your system that will be | ||
66 | assigned permissions to the installed plugins (default is 'nagios') | ||
67 | d) Replace CGIURL with the path used to access the Nagios CGIs with | ||
68 | a web browser (default is '/nagios/cgi-bin') | ||
69 | |||
70 | |||
71 | 2) Compile the plugins with the following command: | ||
72 | |||
73 | make | ||
74 | |||
75 | |||
76 | 3) Install the compiled plugins and plugin scripts with the following command: | ||
77 | |||
78 | make install | ||
79 | |||
80 | The installation procedure will attempt to place the plugins in a | ||
81 | 'libexec/' subdirectory in the base directory you specified with | ||
82 | the --prefix argument to the configure script. | ||
83 | |||
84 | |||
85 | 4) Verify that your host configuration file (hosts.cfg) for Nagios contains | ||
86 | the correct paths to the new plugins. | ||
87 | |||
88 | |||
89 | |||
90 | That's it. If you have any problems or questions, feel free send mail | ||
91 | to nagios-users@lists.sourceforge.net or nagiosplug-help@lists.sourceforge.net | ||
92 | |||
93 | |||
94 | |||
95 | |||
41 | -- | 96 | -- |
42 | Karl DeBisschop (kdebisschop@users.sourceforge.net) | 97 | Karl DeBisschop (kdebisschop@users.sourceforge.net) |
diff --git a/configure.in b/configure.in index 20f58fc..c9c92d7 100644 --- a/configure.in +++ b/configure.in | |||
@@ -1382,7 +1382,7 @@ AC_SUBST(EXTRAS) | |||
1382 | AC_SUBST(EXTRA_NETOBJS) | 1382 | AC_SUBST(EXTRA_NETOBJS) |
1383 | AC_SUBST(DEPLIBS) | 1383 | AC_SUBST(DEPLIBS) |
1384 | 1384 | ||
1385 | AM_GNU_GETTEXT_VERSION(0.11.4) | 1385 | AM_GNU_GETTEXT_VERSION(0.11.5) |
1386 | AM_GNU_GETTEXT | 1386 | AM_GNU_GETTEXT |
1387 | 1387 | ||
1388 | AC_OUTPUT(Makefile lib/Makefile plugins/Makefile plugins-scripts/Makefile plugins-scripts/subst plugins-scripts/utils.pm plugins-scripts/utils.sh command.cfg test.pl pkg/solaris/pkginfo intl/Makefile po/Makefile.in ) | 1388 | AC_OUTPUT(Makefile lib/Makefile plugins/Makefile plugins-scripts/Makefile plugins-scripts/subst plugins-scripts/utils.pm plugins-scripts/utils.sh command.cfg test.pl pkg/solaris/pkginfo intl/Makefile po/Makefile.in ) |
diff --git a/lib/Makefile.am b/lib/Makefile.am index 20e196c..2ae866c 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am | |||
@@ -6,6 +6,6 @@ noinst_HEADERS = getopt.h gettext.h fsusage.h mountlist.h | |||
6 | 6 | ||
7 | libnagiosplug_a_SOURCES = getopt.c getopt1.c getloadavg.c snprintf.c fsusage.c mountlist.c | 7 | libnagiosplug_a_SOURCES = getopt.c getopt1.c getloadavg.c snprintf.c fsusage.c mountlist.c |
8 | 8 | ||
9 | EXTRA_DIST = codeset.m4 gettext.m4 glibc21.m4 iconv.m4 intdiv0.m4 inttypes.m4 inttypes_h.m4 inttypes-pri.m4 isc-posix.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 progtest.m4 stdint_h.m4 uintmax_t.m4 afs.m4 fstypename.m4 fsusage.m4 ls-mntd-fs.m4 | 9 | EXTRA_DIST = ulonglong.m4 codeset.m4 gettext.m4 glibc21.m4 iconv.m4 intdiv0.m4 inttypes.m4 inttypes_h.m4 inttypes-pri.m4 isc-posix.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 progtest.m4 stdint_h.m4 uintmax_t.m4 afs.m4 fstypename.m4 fsusage.m4 ls-mntd-fs.m4 |
10 | 10 | ||
11 | INCLUDES = -I$(srcdir) | 11 | INCLUDES = -I$(srcdir) |