diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-10-21 04:04:20 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-10-21 04:04:20 +0000 |
commit | 019b96a3ba9e9864151d91bb2d1ce25d2292f4b4 (patch) | |
tree | f67831c43bf365b9a2d619dd93e200b689f1d1ca /plugins | |
parent | 5b12005c173584e55bf79e898ad515013d2fcf11 (diff) | |
download | monitoring-plugins-019b96a3ba9e9864151d91bb2d1ce25d2292f4b4.tar.gz |
roll check_ftp, check_imap, check_pop, and check_nntp into check_tcp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@149 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Makefile.am | 47 |
1 files changed, 25 insertions, 22 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 622ef007..3e21b4c7 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am | |||
@@ -5,16 +5,16 @@ VPATH = $(top_srcdir) $(top_srcdir)/plugins $(top_srcdir)/plugins/t | |||
5 | INCLUDES = @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@ | 5 | INCLUDES = @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@ |
6 | 6 | ||
7 | libexec_PROGRAMS = check_disk check_dummy check_ftp check_http \ | 7 | libexec_PROGRAMS = check_disk check_dummy check_ftp check_http \ |
8 | check_imap check_load check_mrtg check_mrtgtraf \ | 8 | check_imap check_load check_mrtg check_mrtgtraf \ |
9 | check_nntp check_nwstat check_overcr \ | 9 | check_nntp check_nwstat check_overcr \ |
10 | check_ping check_pop check_procs check_real \ | 10 | check_ping check_pop check_procs check_real \ |
11 | check_smtp check_ssh check_tcp check_time check_udp \ | 11 | check_smtp check_ssh check_tcp check_time check_udp \ |
12 | check_ups check_users check_vsz negate urlize \ | 12 | check_ups check_users check_vsz negate urlize \ |
13 | @EXTRAS@ | 13 | @EXTRAS@ |
14 | 14 | ||
15 | EXTRA_PROGRAMS = check_mysql check_radius check_pgsql check_snmp check_hpjd \ | 15 | EXTRA_PROGRAMS = check_mysql check_radius check_pgsql check_snmp check_hpjd \ |
16 | check_swap check_fping check_ldap check_game check_dig \ | 16 | check_swap check_fping check_ldap check_game check_dig \ |
17 | check_nagios check_by_ssh check_dns check_nt | 17 | check_nagios check_by_ssh check_dns check_nt |
18 | 18 | ||
19 | EXTRA_DIST = t utils.c netutils.c popen.c getopt.h getopt.c getopt1.c snprintf.c | 19 | EXTRA_DIST = t utils.c netutils.c popen.c getopt.h getopt.c getopt1.c snprintf.c |
20 | 20 | ||
@@ -29,7 +29,7 @@ TESTS_ENVIRONMENT = perl -I $(top_builddir) -I $(top_srcdir) | |||
29 | TESTS = @PLUGIN_TEST@ | 29 | TESTS = @PLUGIN_TEST@ |
30 | 30 | ||
31 | test: | 31 | test: |
32 | perl -I $(top_builddir) -I $(top_srcdir) ../test.pl | 32 | perl -I $(top_builddir) -I $(top_srcdir) ../test.pl |
33 | 33 | ||
34 | AM_INSTALL_PROGRAM_FLAGS = @INSTALL_OPTS@ | 34 | AM_INSTALL_PROGRAM_FLAGS = @INSTALL_OPTS@ |
35 | 35 | ||
@@ -41,24 +41,24 @@ check_disk_LDADD = $(BASEOBJS) popen.o | |||
41 | check_dns_LDADD = $(BASEOBJS) popen.o | 41 | check_dns_LDADD = $(BASEOBJS) popen.o |
42 | check_dummy_LDADD = $(BASEOBJS) | 42 | check_dummy_LDADD = $(BASEOBJS) |
43 | check_fping_LDADD = $(BASEOBJS) popen.o | 43 | check_fping_LDADD = $(BASEOBJS) popen.o |
44 | check_ftp_LDADD = $(NETLIBS) | 44 | #check_ftp_LDADD = $(NETLIBS) |
45 | check_game_LDADD = $(BASEOBJS) | 45 | check_game_LDADD = $(BASEOBJS) |
46 | check_http_LDADD = $(NETLIBS) $(SSLLIBS) | 46 | check_http_LDADD = $(NETLIBS) $(SSLLIBS) |
47 | check_hpjd_LDADD = $(BASEOBJS) popen.o | 47 | check_hpjd_LDADD = $(BASEOBJS) popen.o |
48 | check_imap_LDADD = $(NETLIBS) | 48 | #check_imap_LDADD = $(NETLIBS) |
49 | check_ldap_LDADD = $(NETLIBS) $(LDAPLIBS) | 49 | check_ldap_LDADD = $(NETLIBS) $(LDAPLIBS) |
50 | check_load_LDADD = $(BASEOBJS) popen.o | 50 | check_load_LDADD = $(BASEOBJS) popen.o |
51 | check_mrtg_LDADD = $(BASEOBJS) | 51 | check_mrtg_LDADD = $(BASEOBJS) |
52 | check_mrtgtraf_LDADD = $(BASEOBJS) | 52 | check_mrtgtraf_LDADD = $(BASEOBJS) |
53 | check_mysql_LDADD = $(BASEOBJS) $(MYSQLLIBS) | 53 | check_mysql_LDADD = $(BASEOBJS) $(MYSQLLIBS) |
54 | check_nagios_LDADD = $(BASEOBJS) popen.o | 54 | check_nagios_LDADD = $(BASEOBJS) popen.o |
55 | check_nntp_LDADD = $(NETLIBS) | 55 | #check_nntp_LDADD = $(NETLIBS) |
56 | check_nt_LDADD = $(NETLIBS) | 56 | check_nt_LDADD = $(NETLIBS) |
57 | check_nwstat_LDADD = $(NETLIBS) | 57 | check_nwstat_LDADD = $(NETLIBS) |
58 | check_overcr_LDADD = $(NETLIBS) | 58 | check_overcr_LDADD = $(NETLIBS) |
59 | check_pgsql_LDADD = $(BASEOBJS) $(PGLIBS) | 59 | check_pgsql_LDADD = $(BASEOBJS) $(PGLIBS) |
60 | check_ping_LDADD = $(BASEOBJS) popen.o | 60 | check_ping_LDADD = $(BASEOBJS) popen.o |
61 | check_pop_LDADD = $(NETLIBS) | 61 | #check_pop_LDADD = $(NETLIBS) |
62 | check_procs_LDADD = $(BASEOBJS) popen.o | 62 | check_procs_LDADD = $(BASEOBJS) popen.o |
63 | check_radius_LDADD = $(BASEOBJS) $(RADIUSLIBS) | 63 | check_radius_LDADD = $(BASEOBJS) $(RADIUSLIBS) |
64 | check_real_LDADD = $(NETLIBS) | 64 | check_real_LDADD = $(NETLIBS) |
@@ -81,24 +81,24 @@ check_disk_DEPENDENCIES = check_disk.c $(BASEOBJS) popen.o $(DEPLIBS) | |||
81 | check_dns_DEPENDENCIES = check_dns.c $(BASEOBJS) popen.o $(DEPLIBS) | 81 | check_dns_DEPENDENCIES = check_dns.c $(BASEOBJS) popen.o $(DEPLIBS) |
82 | check_dummy_DEPENDENCIES = check_dummy.c $(DEPLIBS) | 82 | check_dummy_DEPENDENCIES = check_dummy.c $(DEPLIBS) |
83 | check_fping_DEPENDENCIES = check_fping.c $(BASEOBJS) popen.o $(DEPLIBS) | 83 | check_fping_DEPENDENCIES = check_fping.c $(BASEOBJS) popen.o $(DEPLIBS) |
84 | check_ftp_DEPENDENCIES = check_ftp.c $(NETOBJS) $(DEPLIBS) | 84 | #check_ftp_DEPENDENCIES = check_ftp.c $(NETOBJS) $(DEPLIBS) |
85 | check_game_DEPENDENCIES = check_game.c $(DEPLIBS) | 85 | check_game_DEPENDENCIES = check_game.c $(DEPLIBS) |
86 | check_http_DEPENDENCIES = check_http.c $(NETOBJS) $(DEPLIBS) | 86 | check_http_DEPENDENCIES = check_http.c $(NETOBJS) $(DEPLIBS) |
87 | check_hpjd_DEPENDENCIES = check_hpjd.c $(BASEOBJS) popen.o $(DEPLIBS) | 87 | check_hpjd_DEPENDENCIES = check_hpjd.c $(BASEOBJS) popen.o $(DEPLIBS) |
88 | check_imap_DEPENDENCIES = check_imap.c $(NETOBJS) $(DEPLIBS) | 88 | #check_imap_DEPENDENCIES = check_imap.c $(NETOBJS) $(DEPLIBS) |
89 | check_ldap_DEPENDENCIES = check_ldap.c $(NETOBJS) $(DEPLIBS) | 89 | check_ldap_DEPENDENCIES = check_ldap.c $(NETOBJS) $(DEPLIBS) |
90 | check_load_DEPENDENCIES = check_load.c $(BASEOBJS) popen.o $(DEPLIBS) | 90 | check_load_DEPENDENCIES = check_load.c $(BASEOBJS) popen.o $(DEPLIBS) |
91 | check_mrtg_DEPENDENCIES = check_mrtg.c $(DEPLIBS) | 91 | check_mrtg_DEPENDENCIES = check_mrtg.c $(DEPLIBS) |
92 | check_mrtgtraf_DEPENDENCIES = check_mrtgtraf.c $(DEPLIBS) | 92 | check_mrtgtraf_DEPENDENCIES = check_mrtgtraf.c $(DEPLIBS) |
93 | check_mysql_DEPENDENCIES = check_mysql.c $(DEPLIBS) | 93 | check_mysql_DEPENDENCIES = check_mysql.c $(DEPLIBS) |
94 | check_nagios_DEPENDENCIES = check_nagios.c $(BASEOBJS) popen.o $(DEPLIBS) | 94 | check_nagios_DEPENDENCIES = check_nagios.c $(BASEOBJS) popen.o $(DEPLIBS) |
95 | check_nntp_DEPENDENCIES = check_nntp.c $(NETOBJS) $(DEPLIBS) | 95 | #check_nntp_DEPENDENCIES = check_nntp.c $(NETOBJS) $(DEPLIBS) |
96 | check_nt_DEPENDENCIES = check_nt.c $(NETOBJS) $(DEPLIBS) | 96 | check_nt_DEPENDENCIES = check_nt.c $(NETOBJS) $(DEPLIBS) |
97 | check_nwstat_DEPENDENCIES = check_nwstat.c $(NETOBJS) $(DEPLIBS) | 97 | check_nwstat_DEPENDENCIES = check_nwstat.c $(NETOBJS) $(DEPLIBS) |
98 | check_overcr_DEPENDENCIES = check_overcr.c $(NETOBJS) $(DEPLIBS) | 98 | check_overcr_DEPENDENCIES = check_overcr.c $(NETOBJS) $(DEPLIBS) |
99 | check_pgsql_DEPENDENCIES = check_pgsql.c $(DEPLIBS) | 99 | check_pgsql_DEPENDENCIES = check_pgsql.c $(DEPLIBS) |
100 | check_ping_DEPENDENCIES = check_ping.c $(BASEOBJS) popen.o $(DEPLIBS) | 100 | check_ping_DEPENDENCIES = check_ping.c $(BASEOBJS) popen.o $(DEPLIBS) |
101 | check_pop_DEPENDENCIES = check_pop.c $(NETOBJS) $(DEPLIBS) | 101 | #check_pop_DEPENDENCIES = check_pop.c $(NETOBJS) $(DEPLIBS) |
102 | check_procs_DEPENDENCIES = check_procs.c $(BASEOBJS) popen.o $(DEPLIBS) | 102 | check_procs_DEPENDENCIES = check_procs.c $(BASEOBJS) popen.o $(DEPLIBS) |
103 | check_radius_DEPENDENCIES = check_radius.c $(DEPLIBS) | 103 | check_radius_DEPENDENCIES = check_radius.c $(DEPLIBS) |
104 | check_real_DEPENDENCIES = check_real.c $(NETOBJS) $(DEPLIBS) | 104 | check_real_DEPENDENCIES = check_real.c $(NETOBJS) $(DEPLIBS) |
@@ -126,16 +126,19 @@ utils.o: utils.c utils.h $(PLUGINHDRS) | |||
126 | netutils.o: netutils.c netutils.h $(PLUGINHDRS) | 126 | netutils.o: netutils.c netutils.h $(PLUGINHDRS) |
127 | 127 | ||
128 | getopt.o: getopt.c getopt.h | 128 | getopt.o: getopt.c getopt.h |
129 | $(COMPILE) -c $(srcdir)/getopt.c -o $@ | 129 | $(COMPILE) -c $(srcdir)/getopt.c -o $@ |
130 | 130 | ||
131 | getopt1.o: getopt1.c getopt.h | 131 | getopt1.o: getopt1.c getopt.h |
132 | $(COMPILE) -c $(srcdir)/getopt1.c -o $@ | 132 | $(COMPILE) -c $(srcdir)/getopt1.c -o $@ |
133 | 133 | ||
134 | snprintf.o: snprintf.c | 134 | snprintf.o: snprintf.c |
135 | $(COMPILE) @NEED_VA_LIST@ -c $? -o $@ | 135 | $(COMPILE) @NEED_VA_LIST@ -c $? -o $@ |
136 | 136 | ||
137 | libgetopt.a: getopt.o getopt1.o | 137 | libgetopt.a: getopt.o getopt1.o |
138 | $(AR) -r $@ getopt.o getopt1.o | 138 | $(AR) -r $@ getopt.o getopt1.o |
139 | 139 | ||
140 | libsnprintf.a: snprintf.o | 140 | libsnprintf.a: snprintf.o |
141 | $(AR) -r $@ snprintf.o | 141 | $(AR) -r $@ snprintf.o |
142 | |||
143 | check_ftp check_imap check_nntp check_pop: | ||
144 | ln -sf check_tcp $@ | ||