diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-07-06 23:41:07 +0200 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-07-06 23:41:07 +0200 |
commit | 6a7c0d067f9be08ea64d456d570bde02bd6d6c1c (patch) | |
tree | e6eb03fac46c10a790af603178dc36f25c305ae5 /plugins/Makefile.am | |
parent | 9a520acdf4c39f8906046ab239d3e83959cd5350 (diff) | |
parent | 55c0bb748ec04354a5d63e95b3703fcec2cbd588 (diff) | |
download | monitoring-plugins-6a7c0d067f9be08ea64d456d570bde02bd6d6c1c.tar.gz |
Merge branch 'master' into refactor/check_curl
Diffstat (limited to 'plugins/Makefile.am')
-rw-r--r-- | plugins/Makefile.am | 36 |
1 files changed, 31 insertions, 5 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 3ce24325..0d043b41 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am | |||
@@ -27,7 +27,7 @@ MATHLIBS = @MATHLIBS@ | |||
27 | #AM_CFLAGS = -Wall | 27 | #AM_CFLAGS = -Wall |
28 | 28 | ||
29 | libexec_PROGRAMS = check_apt check_cluster check_disk check_dummy check_http check_load \ | 29 | libexec_PROGRAMS = check_apt check_cluster check_disk check_dummy check_http check_load \ |
30 | check_mrtg check_mrtgtraf check_ntp check_ntp_peer check_nwstat check_overcr check_ping \ | 30 | check_mrtg check_mrtgtraf check_ntp check_ntp_peer check_ping \ |
31 | check_real check_smtp check_ssh check_tcp check_time check_ntp_time \ | 31 | check_real check_smtp check_ssh check_tcp check_time check_ntp_time \ |
32 | check_ups check_users negate \ | 32 | check_ups check_users negate \ |
33 | urlize @EXTRAS@ | 33 | urlize @EXTRAS@ |
@@ -40,26 +40,51 @@ EXTRA_PROGRAMS = check_mysql check_radius check_pgsql check_snmp check_hpjd \ | |||
40 | check_nagios check_by_ssh check_dns check_nt check_ide_smart \ | 40 | check_nagios check_by_ssh check_dns check_nt check_ide_smart \ |
41 | check_procs check_mysql_query check_apt check_dbi check_curl \ | 41 | check_procs check_mysql_query check_apt check_dbi check_curl \ |
42 | \ | 42 | \ |
43 | tests/test_check_swap | 43 | tests/test_check_swap \ |
44 | tests/test_check_disk | ||
44 | 45 | ||
45 | SUBDIRS = picohttpparser | 46 | SUBDIRS = picohttpparser |
46 | 47 | ||
47 | np_test_scripts = tests/test_check_swap.t | 48 | np_test_scripts = tests/test_check_swap.t \ |
49 | tests/test_check_disk.t | ||
48 | 50 | ||
49 | EXTRA_DIST = t \ | 51 | EXTRA_DIST = t \ |
50 | tests \ | 52 | tests \ |
51 | $(np_test_scripts) \ | 53 | $(np_test_scripts) \ |
54 | negate.d \ | ||
52 | check_swap.d \ | 55 | check_swap.d \ |
56 | check_ldap.d \ | ||
57 | check_hpjd.d \ | ||
53 | check_game.d \ | 58 | check_game.d \ |
59 | check_radius.d \ | ||
60 | check_disk.d \ | ||
61 | check_time.d \ | ||
62 | check_load.d \ | ||
63 | check_nagios.d \ | ||
54 | check_dbi.d \ | 64 | check_dbi.d \ |
65 | check_tcp.d \ | ||
66 | check_real.d \ | ||
55 | check_ssh.d \ | 67 | check_ssh.d \ |
68 | check_nt.d \ | ||
56 | check_dns.d \ | 69 | check_dns.d \ |
70 | check_mrtgtraf.d \ | ||
71 | check_mysql_query.d \ | ||
72 | check_mrtg.d \ | ||
73 | check_ntp_peer.d \ | ||
57 | check_apt.d \ | 74 | check_apt.d \ |
75 | check_pgsql.d \ | ||
76 | check_procs.d \ | ||
77 | check_ping.d \ | ||
58 | check_by_ssh.d \ | 78 | check_by_ssh.d \ |
59 | check_smtp.d \ | 79 | check_smtp.d \ |
80 | check_mysql.d \ | ||
81 | check_ntp_time.d \ | ||
60 | check_dig.d \ | 82 | check_dig.d \ |
61 | check_cluster.d \ | 83 | check_cluster.d \ |
62 | check_curl.d | 84 | check_curl.d |
85 | check_cluster.d \ | ||
86 | check_ups.d \ | ||
87 | check_fping.d | ||
63 | 88 | ||
64 | PLUGINHDRS = common.h | 89 | PLUGINHDRS = common.h |
65 | 90 | ||
@@ -101,6 +126,7 @@ check_curl_LDADD = $(NETLIBS) $(LIBCURLLIBS) $(SSLOBJS) $(URIPARSERLIBS) picohtt | |||
101 | check_dbi_LDADD = $(NETLIBS) $(DBILIBS) | 126 | check_dbi_LDADD = $(NETLIBS) $(DBILIBS) |
102 | check_dig_LDADD = $(NETLIBS) | 127 | check_dig_LDADD = $(NETLIBS) |
103 | check_disk_LDADD = $(BASEOBJS) | 128 | check_disk_LDADD = $(BASEOBJS) |
129 | check_disk_SOURCES = check_disk.c check_disk.d/utils_disk.c | ||
104 | check_dns_LDADD = $(NETLIBS) | 130 | check_dns_LDADD = $(NETLIBS) |
105 | check_dummy_LDADD = $(BASEOBJS) | 131 | check_dummy_LDADD = $(BASEOBJS) |
106 | check_fping_LDADD = $(NETLIBS) | 132 | check_fping_LDADD = $(NETLIBS) |
@@ -121,8 +147,6 @@ check_nagios_LDADD = $(BASEOBJS) | |||
121 | check_nt_LDADD = $(NETLIBS) | 147 | check_nt_LDADD = $(NETLIBS) |
122 | check_ntp_LDADD = $(NETLIBS) $(MATHLIBS) | 148 | check_ntp_LDADD = $(NETLIBS) $(MATHLIBS) |
123 | check_ntp_peer_LDADD = $(NETLIBS) $(MATHLIBS) | 149 | check_ntp_peer_LDADD = $(NETLIBS) $(MATHLIBS) |
124 | check_nwstat_LDADD = $(NETLIBS) | ||
125 | check_overcr_LDADD = $(NETLIBS) | ||
126 | check_pgsql_LDADD = $(NETLIBS) $(PGLIBS) | 150 | check_pgsql_LDADD = $(NETLIBS) $(PGLIBS) |
127 | check_ping_LDADD = $(NETLIBS) | 151 | check_ping_LDADD = $(NETLIBS) |
128 | check_procs_LDADD = $(BASEOBJS) | 152 | check_procs_LDADD = $(BASEOBJS) |
@@ -149,6 +173,8 @@ endif | |||
149 | 173 | ||
150 | tests_test_check_swap_LDADD = $(BASEOBJS) $(tap_ldflags) -ltap | 174 | tests_test_check_swap_LDADD = $(BASEOBJS) $(tap_ldflags) -ltap |
151 | tests_test_check_swap_SOURCES = tests/test_check_swap.c check_swap.d/swap.c | 175 | tests_test_check_swap_SOURCES = tests/test_check_swap.c check_swap.d/swap.c |
176 | tests_test_check_disk_LDADD = $(BASEOBJS) $(tap_ldflags) check_disk.d/utils_disk.c -ltap | ||
177 | tests_test_check_disk_SOURCES = tests/test_check_disk.c | ||
152 | 178 | ||
153 | ############################################################################## | 179 | ############################################################################## |
154 | # secondary dependencies | 180 | # secondary dependencies |