blob: 637270d34fe9f38a16ddea677c8d4ad85f69c509 (
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
|
#
# Copyright (C) 2015 Alon Bar-Lev <alon.barlev@gmail.com>
#
MAINTAINERCLEANFILES= $(srcdir)/Makefile.in
AM_CPPFLAGS = \
-DVARLIB_DIR="\"$(varlibdir)\"" \
-DCACHE_DIR="\"$(cachedir)\"" \
-DCONFIG_DIR="\"$(configdir)\"" \
-DLOG_DIR="\"$(logdir)\"" \
-DPLUGINS_DIR="\"$(pluginsdir)\"" \
-DRUN_DIR="\"$(localstatedir)/run/netdata\"" \
-DWEB_DIR="\"$(webdir)\"" \
$(NULL)
AM_CFLAGS = \
$(OPTIONAL_MATH_CFLAGS) \
$(OPTIONAL_NFACCT_CLFAGS) \
$(OPTIONAL_ZLIB_CFLAGS) \
$(OPTIONAL_UUID_CFLAGS) \
$(OPTIONAL_LIBCAP_CFLAGS) \
$(OPTIONAL_IPMIMONITORING_CFLAGS)\
$(NULL)
sbin_PROGRAMS = netdata
dist_cache_DATA = .keep
dist_varlib_DATA = .keep
dist_registry_DATA = .keep
dist_log_DATA = .keep
plugins_PROGRAMS =
if ENABLE_PLUGIN_APPS
plugins_PROGRAMS += apps.plugin
endif
if ENABLE_PLUGIN_FREEIPMI
plugins_PROGRAMS += freeipmi.plugin
endif
if ENABLE_PLUGIN_CGROUP_NETWORK
plugins_PROGRAMS += cgroup-network
endif
netdata_SOURCES = \
adaptive_resortable_list.c \
adaptive_resortable_list.h \
appconfig.c \
appconfig.h \
avl.c \
avl.h \
backend_prometheus.c \
backend_prometheus.h \
backends.c \
backends.h \
clocks.c \
clocks.h \
common.c \
common.h \
daemon.c \
daemon.h \
dictionary.c \
dictionary.h \
eval.c \
eval.h \
global_statistics.c \
global_statistics.h \
health.c \
health.h \
health_config.c \
health_json.c \
health_log.c \
inlined.h \
locks.h \
log.c \
log.h \
main.c \
main.h \
plugin_checks.c \
plugin_checks.h \
plugin_idlejitter.c \
plugin_idlejitter.h \
plugin_nfacct.c \
plugin_nfacct.h \
plugin_tc.c \
plugin_tc.h \
plugins_d.c \
plugins_d.h \
popen.c \
popen.h \
proc_self_mountinfo.c \
proc_self_mountinfo.h \
procfile.c \
procfile.h \
registry.c \
registry.h \
registry_db.c \
registry_init.c \
registry_internals.c \
registry_internals.h \
registry_log.c \
registry_machine.c \
registry_machine.h \
registry_person.c \
registry_person.h \
registry_url.c \
registry_url.h \
rrd.c \
rrd.h \
rrd2json.c \
rrd2json.h \
rrd2json_api_old.c \
rrd2json_api_old.h \
rrdcalc.c \
rrdcalctemplate.c \
rrddim.c \
rrddimvar.c \
rrdfamily.c \
rrdhost.c \
rrdpush.c \
rrdpush.h \
rrdset.c \
rrdsetvar.c \
rrdvar.c \
simple_pattern.c \
simple_pattern.h \
socket.c \
socket.h \
statistical.c \
statistical.h \
statsd.c \
statsd.h \
storage_number.c \
storage_number.h \
sys_devices_system_edac_mc.c \
sys_devices_system_node.c \
sys_fs_cgroup.c \
unit_test.c \
unit_test.h \
url.c url.h \
web_api_old.c \
web_api_old.h \
web_api_v1.c \
web_api_v1.h \
web_buffer.c \
web_buffer.h \
web_buffer_svg.c \
web_buffer_svg.h \
web_client.c \
web_client.h \
web_server.c \
web_server.h \
$(NULL)
if FREEBSD
netdata_SOURCES += \
plugin_freebsd.c \
plugin_freebsd.h \
freebsd_sysctl.c \
freebsd_getmntinfo.c \
freebsd_getifaddrs.c \
freebsd_devstat.c \
zfs_common.c \
zfs_common.h \
freebsd_kstat_zfs.c \
freebsd_ipfw.c \
$(NULL)
else
if MACOS
netdata_SOURCES += \
plugin_macos.c \
plugin_macos.h \
macos_sysctl.c \
macos_mach_smi.c \
macos_fw.c \
$(NULL)
else
netdata_SOURCES += \
ipc.c ipc.h \
plugin_proc.c \
plugin_proc.h \
plugin_proc_diskspace.c \
plugin_proc_diskspace.h \
proc_diskstats.c \
proc_interrupts.c \
proc_softirqs.c \
proc_loadavg.c \
proc_meminfo.c \
proc_net_dev.c \
proc_net_ip_vs_stats.c \
proc_net_netstat.c \
proc_net_rpc_nfs.c \
proc_net_rpc_nfsd.c \
proc_net_snmp.c \
proc_net_snmp6.c \
proc_net_softnet_stat.c \
proc_net_stat_conntrack.c \
proc_net_stat_synproxy.c \
zfs_common.c \
zfs_common.h \
proc_spl_kstat_zfs.c \
proc_stat.c \
proc_sys_kernel_random_entropy_avail.c \
proc_vmstat.c \
proc_uptime.c \
sys_kernel_mm_ksm.c \
$(NULL)
endif
endif
netdata_LDADD = \
$(OPTIONAL_MATH_LIBS) \
$(OPTIONAL_NFACCT_LIBS) \
$(OPTIONAL_ZLIB_LIBS) \
$(OPTIONAL_UUID_LIBS) \
$(NULL)
apps_plugin_SOURCES = \
apps_plugin.c \
avl.c avl.h \
clocks.c clocks.h \
common.c common.h \
inlined.h \
log.c log.h \
procfile.c procfile.h \
web_buffer.c web_buffer.h \
$(NULL)
if FREEBSD
apps_plugin_SOURCES += \
plugin_freebsd.h \
$(NULL)
endif
apps_plugin_LDADD = \
$(OPTIONAL_MATH_LIBS) \
$(OPTIONAL_LIBCAP_LIBS) \
$(NULL)
freeipmi_plugin_SOURCES = \
freeipmi_plugin.c \
clocks.c clocks.h \
common.c common.h \
inlined.h \
log.c log.h \
procfile.c procfile.h \
$(NULL)
freeipmi_plugin_LDADD = \
$(OPTIONAL_IPMIMONITORING_LIBS) \
$(NULL)
cgroup_network_SOURCES = \
cgroup-network.c \
clocks.c clocks.h \
common.c common.h \
inlined.h \
log.c log.h \
procfile.c procfile.h \
web_buffer.c web_buffer.h \
$(NULL)
cgroup_network_LDADD = \
$(OPTIONAL_MATH_LIBS) \
$(OPTIONAL_LIBCAP_LIBS) \
$(NULL)
|