mirror of
https://github.com/netdata/netdata.git
synced 2025-04-14 17:48:37 +00:00
CMake build system. (#15996)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Austin S. Hemmelgarn <austin@netdata.cloud> Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com> Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st> Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> Co-authored-by: netdatabot <bot@netdata.cloud> Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
This commit is contained in:
parent
548489555b
commit
92842d8422
257 changed files with 4160 additions and 9246 deletions
.github
data
dockerfiles
scripts
workflows
claim
cli
collectors
Makefile.am
config.cmake.h.inconfigure.acapps.plugin
cgroups.plugin
charts.d.plugin
cups.plugin
debugfs.plugin
diskspace.plugin
ebpf.plugin
freebsd.plugin
freeipmi.plugin
idlejitter.plugin
ioping.plugin
log2journal
macos.plugin
nfacct.plugin
perf.plugin
plugins.d
proc.plugin
profile.plugin
python.d.plugin
slabinfo.plugin
statsd.plugin
systemd-journal.plugin
tc.plugin
timex.plugin
xenstat.plugin
contrib/debian
daemon
database
diagrams
exporting
Makefile.am
aws_kinesis
exporting_engine.cexporting_engine.hgraphite
init_connectors.cjson
mongodb
opentsdb
prometheus
pubsub
send_data.ctests
health
libnetdata
Makefile.am
adaptive_resortable_list
aral
avl
buffer
circular_buffer
clocks
completion
config
dictionary
ebpf
eval
facets
functions_evloop
health
json
july
libnetdata.hlocks
log
onewayalloc
popen
procfile
7
.github/data/distros.yml
vendored
7
.github/data/distros.yml
vendored
|
@ -72,13 +72,17 @@ include:
|
|||
arches:
|
||||
- x86_64
|
||||
- aarch64
|
||||
test:
|
||||
test: &amzn_test
|
||||
ebpf-core: false
|
||||
skip-local-build: true
|
||||
- <<: *amzn
|
||||
version: "2023"
|
||||
packages:
|
||||
<<: *amzn_packages
|
||||
repo_distro: amazonlinux/2023
|
||||
test:
|
||||
<<: *amzn_test
|
||||
skip-local-build: false
|
||||
|
||||
- distro: centos
|
||||
version: "7"
|
||||
|
@ -95,6 +99,7 @@ include:
|
|||
- x86_64
|
||||
test:
|
||||
ebpf-core: false
|
||||
skip-local-build: true
|
||||
|
||||
- ¢os_stream
|
||||
distro: centos-stream
|
||||
|
|
2
.github/dockerfiles/Dockerfile.clang
vendored
2
.github/dockerfiles/Dockerfile.clang
vendored
|
@ -1,4 +1,4 @@
|
|||
FROM debian:buster AS build
|
||||
FROM debian:12 AS build
|
||||
|
||||
# Disable apt/dpkg interactive mode
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
|
3
.github/scripts/gen-matrix-build.py
vendored
3
.github/scripts/gen-matrix-build.py
vendored
|
@ -11,6 +11,9 @@ with open('.github/data/distros.yml') as f:
|
|||
data = yaml.load(f)
|
||||
|
||||
for i, v in enumerate(data['include']):
|
||||
if v['test'].get('skip-local-build', False):
|
||||
continue
|
||||
|
||||
e = {
|
||||
'artifact_key': v['distro'] + str(v['version']).replace('.', ''),
|
||||
'version': v['version'],
|
||||
|
|
31
.github/workflows/build.yml
vendored
31
.github/workflows/build.yml
vendored
|
@ -43,10 +43,8 @@ jobs:
|
|||
**.h
|
||||
**.hh
|
||||
**.in
|
||||
configure.ac
|
||||
CMakeLists.txt
|
||||
netdata-installer.sh
|
||||
**/Makefile*
|
||||
Makefile*
|
||||
.github/data/distros.yml
|
||||
.github/workflows/build.yml
|
||||
.github/scripts/build-static.sh
|
||||
|
@ -105,20 +103,13 @@ jobs:
|
|||
id: build
|
||||
if: needs.file-check.outputs.run == 'true'
|
||||
run: |
|
||||
git describe
|
||||
mkdir -p artifacts
|
||||
./packaging/installer/install-required-packages.sh --dont-wait --non-interactive netdata
|
||||
autoreconf -ivf
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--libexecdir=/usr/libexec \
|
||||
--with-zlib \
|
||||
--with-math \
|
||||
--with-user=netdata
|
||||
make dist
|
||||
mkdir -p artifacts/
|
||||
tar --create --file "artifacts/netdata-$(git describe).tar.gz" \
|
||||
--sort=name --posix --auto-compress --exclude=artifacts/ --exclude=.git \
|
||||
--exclude=.gitignore --exclude=.gitattributes --exclude=.gitmodules \
|
||||
--transform "s/^\\.\\//netdata-$(git describe)\\//" --verbose .
|
||||
cd artifacts/
|
||||
echo "distfile=$(find . -name 'netdata-*.tar.gz')" >> "${GITHUB_OUTPUT}"
|
||||
cp netdata-*.tar.gz artifacts/
|
||||
- name: Store
|
||||
id: store
|
||||
if: needs.file-check.outputs.run == 'true'
|
||||
|
@ -417,12 +408,6 @@ jobs:
|
|||
id: load
|
||||
if: needs.file-check.outputs.run == 'true'
|
||||
run: docker load --input image.tar
|
||||
- name: Regular build on ${{ matrix.distro }}
|
||||
id: build-basic
|
||||
if: needs.file-check.outputs.run == 'true'
|
||||
run: |
|
||||
docker run --security-opt seccomp=unconfined -w /netdata test:${{ matrix.artifact_key }} \
|
||||
/bin/sh -c 'autoreconf -ivf && ./configure --disable-dependency-tracking && make -j2'
|
||||
- name: netdata-installer on ${{ matrix.distro }}, disable cloud
|
||||
id: build-no-cloud
|
||||
if: needs.file-check.outputs.run == 'true'
|
||||
|
@ -454,7 +439,6 @@ jobs:
|
|||
Checkout: ${{ steps.checkout.outcome }}
|
||||
Fetch test environment: ${{ steps.fetch.outcome }}
|
||||
Load test environment: ${{ steps.load.outcome }}
|
||||
Regular build: ${{ steps.build-basic.outcome }}
|
||||
netdata-installer, disable cloud: ${{ steps.build-no-cloud.outcome }}
|
||||
netdata-installer, require cloud: ${{ steps.build-cloud.outcome }}
|
||||
netdata-installer, no JSON-C: ${{ steps.build-no-jsonc.outcome }}
|
||||
|
@ -513,6 +497,7 @@ jobs:
|
|||
cp dist-tarball/* artifacts/download/latest || exit 1
|
||||
cd artifacts/download/latest || exit 1
|
||||
ln -s ${{ needs.build-dist.outputs.distfile }} netdata-latest.tar.gz || exit 1
|
||||
ls -lFh
|
||||
sha256sum -b ./* > "sha256sums.txt" || exit 1
|
||||
cat sha256sums.txt
|
||||
- name: Fetch test environment
|
||||
|
|
11
.github/workflows/checks.yml
vendored
11
.github/workflows/checks.yml
vendored
|
@ -34,9 +34,7 @@ jobs:
|
|||
**.h
|
||||
**.hh
|
||||
**.in
|
||||
configure.ac
|
||||
**/Makefile*
|
||||
Makefile*
|
||||
CMakeLists.txt
|
||||
.gitignore
|
||||
.github/workflows/checks.yml
|
||||
build/**
|
||||
|
@ -78,11 +76,8 @@ jobs:
|
|||
'apk add bash;
|
||||
./packaging/installer/install-required-packages.sh --dont-wait --non-interactive netdata;
|
||||
apk del openssl openssl-dev;
|
||||
apk add libressl libressl-dev;
|
||||
autoreconf -ivf;
|
||||
./configure --disable-dependency-tracking;
|
||||
make;'
|
||||
|
||||
apk add libressl libressl-dev protobuf-dev;
|
||||
./netdata-installer.sh --disable-telemetry --dont-start-it --dont-wait --one-time-build;'
|
||||
clang-checks:
|
||||
name: Clang
|
||||
needs:
|
||||
|
|
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
|
@ -41,10 +41,8 @@ jobs:
|
|||
**.hh
|
||||
**.in
|
||||
.dockerignore
|
||||
configure.ac
|
||||
netdata-installer.sh
|
||||
**/Makefile*
|
||||
Makefile*
|
||||
CMakeLists.txt
|
||||
.github/workflows/docker.yml
|
||||
.github/scripts/docker-test.sh
|
||||
build/**
|
||||
|
|
4
.github/workflows/packaging.yml
vendored
4
.github/workflows/packaging.yml
vendored
|
@ -51,9 +51,7 @@ jobs:
|
|||
**.hh
|
||||
**.in
|
||||
netdata.spec.in
|
||||
configure.ac
|
||||
**/Makefile*
|
||||
Makefile*
|
||||
CMakeLists.txt
|
||||
.github/data/distros.yml
|
||||
.github/workflows/packaging.yml
|
||||
.github/scripts/gen-matrix-packaging.py
|
||||
|
|
3962
CMakeLists.txt
3962
CMakeLists.txt
File diff suppressed because it is too large
Load diff
1686
Makefile.am
1686
Makefile.am
File diff suppressed because it is too large
Load diff
|
@ -1,21 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
CLEANFILES = \
|
||||
netdata-claim.sh \
|
||||
$(NULL)
|
||||
|
||||
include $(top_srcdir)/build/subst.inc
|
||||
SUFFIXES = .in
|
||||
|
||||
sbin_SCRIPTS = \
|
||||
netdata-claim.sh \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
netdata-claim.sh.in \
|
||||
README.md \
|
||||
$(NULL)
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,7 +1,8 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
#include "cli.h"
|
||||
#include "daemon/pipename.h"
|
||||
#include "daemon/common.h"
|
||||
#include "libnetdata/required_dummies.h"
|
||||
|
||||
void netdata_logger(ND_LOG_SOURCES source, ND_LOG_FIELD_PRIORITY priority, const char *file, const char *function, unsigned long line, const char *fmt, ... ) {
|
||||
va_list args;
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
#ifndef NETDATA_CLI_H
|
||||
#define NETDATA_CLI_H 1
|
||||
|
||||
#include "daemon/common.h"
|
||||
|
||||
#endif //NETDATA_CLI_H
|
|
@ -1,42 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
SUBDIRS = \
|
||||
plugins.d \
|
||||
apps.plugin \
|
||||
cgroups.plugin \
|
||||
charts.d.plugin \
|
||||
cups.plugin \
|
||||
debugfs.plugin \
|
||||
diskspace.plugin \
|
||||
timex.plugin \
|
||||
ioping.plugin \
|
||||
freebsd.plugin \
|
||||
freeipmi.plugin \
|
||||
idlejitter.plugin \
|
||||
log2journal \
|
||||
macos.plugin \
|
||||
nfacct.plugin \
|
||||
xenstat.plugin \
|
||||
perf.plugin \
|
||||
proc.plugin \
|
||||
python.d.plugin \
|
||||
slabinfo.plugin \
|
||||
statsd.plugin \
|
||||
ebpf.plugin \
|
||||
tc.plugin \
|
||||
systemd-journal.plugin \
|
||||
$(NULL)
|
||||
|
||||
usercustompluginsconfigdir=$(configdir)/custom-plugins.d
|
||||
usergoconfigdir=$(configdir)/go.d
|
||||
|
||||
# Explicitly install directories to avoid permission issues due to umask
|
||||
install-exec-local:
|
||||
$(INSTALL) -d $(DESTDIR)$(usercustompluginsconfigdir)
|
||||
$(INSTALL) -d $(DESTDIR)$(usergoconfigdir)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,12 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
||||
|
||||
dist_libconfig_DATA = \
|
||||
apps_groups.conf \
|
||||
$(NULL)
|
|
@ -4241,7 +4241,7 @@ static int am_i_running_as_root() {
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifdef HAVE_CAPABILITY
|
||||
#ifdef HAVE_SYS_CAPABILITY_H
|
||||
static int check_capabilities() {
|
||||
cap_t caps = cap_get_proc();
|
||||
if(!caps) {
|
||||
|
@ -5307,7 +5307,7 @@ int main(int argc, char **argv) {
|
|||
|
||||
if(!check_capabilities() && !am_i_running_as_root() && !check_proc_1_io()) {
|
||||
uid_t uid = getuid(), euid = geteuid();
|
||||
#ifdef HAVE_CAPABILITY
|
||||
#ifdef HAVE_SYS_CAPABILITY_H
|
||||
netdata_log_error("apps.plugin should either run as root (now running with uid %u, euid %u) or have special capabilities. "
|
||||
"Without these, apps.plugin cannot report disk I/O utilization of other processes. "
|
||||
"To enable capabilities run: sudo setcap cap_dac_read_search,cap_sys_ptrace+ep %s; "
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
CLEANFILES = \
|
||||
cgroup-name.sh \
|
||||
cgroup-network-helper.sh \
|
||||
$(NULL)
|
||||
|
||||
include $(top_srcdir)/build/subst.inc
|
||||
SUFFIXES = .in
|
||||
|
||||
dist_plugins_SCRIPTS = \
|
||||
cgroup-name.sh \
|
||||
cgroup-network-helper.sh \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
cgroup-name.sh.in \
|
||||
cgroup-network-helper.sh.in \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,49 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
CLEANFILES = \
|
||||
charts.d.plugin \
|
||||
$(NULL)
|
||||
|
||||
include $(top_srcdir)/build/subst.inc
|
||||
SUFFIXES = .in
|
||||
|
||||
dist_libconfig_DATA = \
|
||||
charts.d.conf \
|
||||
$(NULL)
|
||||
|
||||
dist_plugins_SCRIPTS = \
|
||||
charts.d.dryrun-helper.sh \
|
||||
charts.d.plugin \
|
||||
loopsleepms.sh.inc \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
charts.d.plugin.in \
|
||||
README.md \
|
||||
$(NULL)
|
||||
|
||||
dist_charts_SCRIPTS = \
|
||||
$(NULL)
|
||||
|
||||
dist_charts_DATA = \
|
||||
$(NULL)
|
||||
|
||||
userchartsconfigdir=$(configdir)/charts.d
|
||||
dist_userchartsconfig_DATA = \
|
||||
$(NULL)
|
||||
|
||||
# Explicitly install directories to avoid permission issues due to umask
|
||||
install-exec-local:
|
||||
$(INSTALL) -d $(DESTDIR)$(userchartsconfigdir)
|
||||
|
||||
chartsconfigdir=$(libconfigdir)/charts.d
|
||||
dist_chartsconfig_DATA = \
|
||||
$(NULL)
|
||||
|
||||
include ap/Makefile.inc
|
||||
include apcupsd/Makefile.inc
|
||||
include example/Makefile.inc
|
||||
include libreswan/Makefile.inc
|
||||
include opensips/Makefile.inc
|
||||
include sensors/Makefile.inc
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,9 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
||||
|
|
@ -28,7 +28,7 @@ static struct debugfs_module {
|
|||
{ .name = NULL, .enabled = CONFIG_BOOLEAN_NO, .func = NULL}
|
||||
};
|
||||
|
||||
#ifdef HAVE_CAPABILITY
|
||||
#ifdef HAVE_SYS_CAPABILITY_H
|
||||
static int debugfs_check_capabilities()
|
||||
{
|
||||
cap_t caps = cap_get_proc();
|
||||
|
@ -182,7 +182,7 @@ int main(int argc, char **argv)
|
|||
// FIXME: remove debugfs_check_sys_permission() after https://github.com/netdata/netdata/issues/15048 is fixed
|
||||
if (!debugfs_check_capabilities() && !debugfs_am_i_running_as_root() && !debugfs_check_sys_permission()) {
|
||||
uid_t uid = getuid(), euid = geteuid();
|
||||
#ifdef HAVE_CAPABILITY
|
||||
#ifdef HAVE_SYS_CAPABILITY_H
|
||||
netdata_log_error(
|
||||
"debugfs.plugin should either run as root (now running with uid %u, euid %u) or have special capabilities. "
|
||||
"Without these, debugfs.plugin cannot access /sys/kernel/debug. "
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,42 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
include $(top_srcdir)/build/subst.inc
|
||||
SUFFIXES = .in
|
||||
|
||||
userebpfconfigdir=$(configdir)/ebpf.d
|
||||
|
||||
# Explicitly install directories to avoid permission issues due to umask
|
||||
install-exec-local:
|
||||
$(INSTALL) -d $(DESTDIR)$(userebpfconfigdir)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
||||
|
||||
ebpfconfigdir=$(libconfigdir)/ebpf.d
|
||||
dist_libconfig_DATA = \
|
||||
ebpf.d.conf \
|
||||
$(NULL)
|
||||
|
||||
dist_ebpfconfig_DATA = \
|
||||
ebpf.d/ebpf_kernel_reject_list.txt \
|
||||
ebpf.d/cachestat.conf \
|
||||
ebpf.d/dcstat.conf \
|
||||
ebpf.d/disk.conf \
|
||||
ebpf.d/fd.conf \
|
||||
ebpf.d/filesystem.conf \
|
||||
ebpf.d/hardirq.conf \
|
||||
ebpf.d/mdflush.conf \
|
||||
ebpf.d/mount.conf \
|
||||
ebpf.d/network.conf \
|
||||
ebpf.d/oomkill.conf \
|
||||
ebpf.d/process.conf \
|
||||
ebpf.d/shm.conf \
|
||||
ebpf.d/softirq.conf \
|
||||
ebpf.d/sync.conf \
|
||||
ebpf.d/swap.conf \
|
||||
ebpf.d/vfs.conf \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,24 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
CLEANFILES = \
|
||||
ioping.plugin \
|
||||
$(NULL)
|
||||
|
||||
include $(top_srcdir)/build/subst.inc
|
||||
SUFFIXES = .in
|
||||
|
||||
dist_plugins_SCRIPTS = \
|
||||
ioping.plugin \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
ioping.plugin.in \
|
||||
README.md \
|
||||
$(NULL)
|
||||
|
||||
dist_libconfig_DATA = \
|
||||
ioping.conf \
|
||||
$(NULL)
|
|
@ -44,7 +44,7 @@ static void config_dir_print_available(void) {
|
|||
|
||||
void log_job_command_line_help(const char *name) {
|
||||
printf("\n");
|
||||
printf("Netdata log2journal " PACKAGE_VERSION "\n");
|
||||
printf("Netdata log2journal " VERSION "\n");
|
||||
printf("\n");
|
||||
printf("Convert logs to systemd Journal Export Format.\n");
|
||||
printf("\n");
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,13 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
SUBDIRS = \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
gperf-config.txt \
|
||||
functions-table.md \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,229 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
CLEANFILES = \
|
||||
python.d.plugin \
|
||||
$(NULL)
|
||||
|
||||
include $(top_srcdir)/build/subst.inc
|
||||
SUFFIXES = .in
|
||||
|
||||
dist_libconfig_DATA = \
|
||||
python.d.conf \
|
||||
$(NULL)
|
||||
|
||||
dist_plugins_SCRIPTS = \
|
||||
python.d.plugin \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
python.d.plugin.in \
|
||||
README.md \
|
||||
$(NULL)
|
||||
|
||||
dist_python_SCRIPTS = \
|
||||
$(NULL)
|
||||
|
||||
dist_python_DATA = \
|
||||
$(NULL)
|
||||
|
||||
userpythonconfigdir=$(configdir)/python.d
|
||||
dist_userpythonconfig_DATA = \
|
||||
$(NULL)
|
||||
|
||||
# Explicitly install directories to avoid permission issues due to umask
|
||||
install-exec-local:
|
||||
$(INSTALL) -d $(DESTDIR)$(userpythonconfigdir)
|
||||
|
||||
pythonconfigdir=$(libconfigdir)/python.d
|
||||
dist_pythonconfig_DATA = \
|
||||
$(NULL)
|
||||
|
||||
include adaptec_raid/Makefile.inc
|
||||
include alarms/Makefile.inc
|
||||
include am2320/Makefile.inc
|
||||
include anomalies/Makefile.inc
|
||||
include beanstalk/Makefile.inc
|
||||
include bind_rndc/Makefile.inc
|
||||
include boinc/Makefile.inc
|
||||
include ceph/Makefile.inc
|
||||
include changefinder/Makefile.inc
|
||||
include dovecot/Makefile.inc
|
||||
include example/Makefile.inc
|
||||
include exim/Makefile.inc
|
||||
include fail2ban/Makefile.inc
|
||||
include gearman/Makefile.inc
|
||||
include go_expvar/Makefile.inc
|
||||
include haproxy/Makefile.inc
|
||||
include hddtemp/Makefile.inc
|
||||
include hpssa/Makefile.inc
|
||||
include icecast/Makefile.inc
|
||||
include ipfs/Makefile.inc
|
||||
include litespeed/Makefile.inc
|
||||
include megacli/Makefile.inc
|
||||
include memcached/Makefile.inc
|
||||
include monit/Makefile.inc
|
||||
include nvidia_smi/Makefile.inc
|
||||
include nsd/Makefile.inc
|
||||
include openldap/Makefile.inc
|
||||
include oracledb/Makefile.inc
|
||||
include pandas/Makefile.inc
|
||||
include postfix/Makefile.inc
|
||||
include puppet/Makefile.inc
|
||||
include rethinkdbs/Makefile.inc
|
||||
include retroshare/Makefile.inc
|
||||
include riakkv/Makefile.inc
|
||||
include samba/Makefile.inc
|
||||
include sensors/Makefile.inc
|
||||
include smartd_log/Makefile.inc
|
||||
include spigotmc/Makefile.inc
|
||||
include squid/Makefile.inc
|
||||
include tomcat/Makefile.inc
|
||||
include tor/Makefile.inc
|
||||
include traefik/Makefile.inc
|
||||
include uwsgi/Makefile.inc
|
||||
include varnish/Makefile.inc
|
||||
include w1sensor/Makefile.inc
|
||||
include zscores/Makefile.inc
|
||||
|
||||
pythonmodulesdir=$(pythondir)/python_modules
|
||||
dist_pythonmodules_DATA = \
|
||||
python_modules/__init__.py \
|
||||
$(NULL)
|
||||
|
||||
basesdir=$(pythonmodulesdir)/bases
|
||||
dist_bases_DATA = \
|
||||
python_modules/bases/__init__.py \
|
||||
python_modules/bases/charts.py \
|
||||
python_modules/bases/collection.py \
|
||||
python_modules/bases/loaders.py \
|
||||
python_modules/bases/loggers.py \
|
||||
$(NULL)
|
||||
|
||||
bases_framework_servicesdir=$(basesdir)/FrameworkServices
|
||||
dist_bases_framework_services_DATA = \
|
||||
python_modules/bases/FrameworkServices/__init__.py \
|
||||
python_modules/bases/FrameworkServices/ExecutableService.py \
|
||||
python_modules/bases/FrameworkServices/LogService.py \
|
||||
python_modules/bases/FrameworkServices/MySQLService.py \
|
||||
python_modules/bases/FrameworkServices/SimpleService.py \
|
||||
python_modules/bases/FrameworkServices/SocketService.py \
|
||||
python_modules/bases/FrameworkServices/UrlService.py \
|
||||
$(NULL)
|
||||
|
||||
third_partydir=$(pythonmodulesdir)/third_party
|
||||
dist_third_party_DATA = \
|
||||
python_modules/third_party/__init__.py \
|
||||
python_modules/third_party/ordereddict.py \
|
||||
python_modules/third_party/lm_sensors.py \
|
||||
python_modules/third_party/mcrcon.py \
|
||||
python_modules/third_party/boinc_client.py \
|
||||
python_modules/third_party/monotonic.py \
|
||||
python_modules/third_party/filelock.py \
|
||||
$(NULL)
|
||||
|
||||
pythonyaml2dir=$(pythonmodulesdir)/pyyaml2
|
||||
dist_pythonyaml2_DATA = \
|
||||
python_modules/pyyaml2/__init__.py \
|
||||
python_modules/pyyaml2/composer.py \
|
||||
python_modules/pyyaml2/constructor.py \
|
||||
python_modules/pyyaml2/cyaml.py \
|
||||
python_modules/pyyaml2/dumper.py \
|
||||
python_modules/pyyaml2/emitter.py \
|
||||
python_modules/pyyaml2/error.py \
|
||||
python_modules/pyyaml2/events.py \
|
||||
python_modules/pyyaml2/loader.py \
|
||||
python_modules/pyyaml2/nodes.py \
|
||||
python_modules/pyyaml2/parser.py \
|
||||
python_modules/pyyaml2/reader.py \
|
||||
python_modules/pyyaml2/representer.py \
|
||||
python_modules/pyyaml2/resolver.py \
|
||||
python_modules/pyyaml2/scanner.py \
|
||||
python_modules/pyyaml2/serializer.py \
|
||||
python_modules/pyyaml2/tokens.py \
|
||||
$(NULL)
|
||||
|
||||
pythonyaml3dir=$(pythonmodulesdir)/pyyaml3
|
||||
dist_pythonyaml3_DATA = \
|
||||
python_modules/pyyaml3/__init__.py \
|
||||
python_modules/pyyaml3/composer.py \
|
||||
python_modules/pyyaml3/constructor.py \
|
||||
python_modules/pyyaml3/cyaml.py \
|
||||
python_modules/pyyaml3/dumper.py \
|
||||
python_modules/pyyaml3/emitter.py \
|
||||
python_modules/pyyaml3/error.py \
|
||||
python_modules/pyyaml3/events.py \
|
||||
python_modules/pyyaml3/loader.py \
|
||||
python_modules/pyyaml3/nodes.py \
|
||||
python_modules/pyyaml3/parser.py \
|
||||
python_modules/pyyaml3/reader.py \
|
||||
python_modules/pyyaml3/representer.py \
|
||||
python_modules/pyyaml3/resolver.py \
|
||||
python_modules/pyyaml3/scanner.py \
|
||||
python_modules/pyyaml3/serializer.py \
|
||||
python_modules/pyyaml3/tokens.py \
|
||||
$(NULL)
|
||||
|
||||
python_urllib3dir=$(pythonmodulesdir)/urllib3
|
||||
dist_python_urllib3_DATA = \
|
||||
python_modules/urllib3/__init__.py \
|
||||
python_modules/urllib3/_collections.py \
|
||||
python_modules/urllib3/connection.py \
|
||||
python_modules/urllib3/connectionpool.py \
|
||||
python_modules/urllib3/exceptions.py \
|
||||
python_modules/urllib3/fields.py \
|
||||
python_modules/urllib3/filepost.py \
|
||||
python_modules/urllib3/response.py \
|
||||
python_modules/urllib3/poolmanager.py \
|
||||
python_modules/urllib3/request.py \
|
||||
$(NULL)
|
||||
|
||||
python_urllib3_utildir=$(python_urllib3dir)/util
|
||||
dist_python_urllib3_util_DATA = \
|
||||
python_modules/urllib3/util/__init__.py \
|
||||
python_modules/urllib3/util/connection.py \
|
||||
python_modules/urllib3/util/request.py \
|
||||
python_modules/urllib3/util/response.py \
|
||||
python_modules/urllib3/util/retry.py \
|
||||
python_modules/urllib3/util/selectors.py \
|
||||
python_modules/urllib3/util/ssl_.py \
|
||||
python_modules/urllib3/util/timeout.py \
|
||||
python_modules/urllib3/util/url.py \
|
||||
python_modules/urllib3/util/wait.py \
|
||||
$(NULL)
|
||||
|
||||
python_urllib3_packagesdir=$(python_urllib3dir)/packages
|
||||
dist_python_urllib3_packages_DATA = \
|
||||
python_modules/urllib3/packages/__init__.py \
|
||||
python_modules/urllib3/packages/ordered_dict.py \
|
||||
python_modules/urllib3/packages/six.py \
|
||||
$(NULL)
|
||||
|
||||
python_urllib3_backportsdir=$(python_urllib3_packagesdir)/backports
|
||||
dist_python_urllib3_backports_DATA = \
|
||||
python_modules/urllib3/packages/backports/__init__.py \
|
||||
python_modules/urllib3/packages/backports/makefile.py \
|
||||
$(NULL)
|
||||
|
||||
python_urllib3_ssl_match_hostnamedir=$(python_urllib3_packagesdir)/ssl_match_hostname
|
||||
dist_python_urllib3_ssl_match_hostname_DATA = \
|
||||
python_modules/urllib3/packages/ssl_match_hostname/__init__.py \
|
||||
python_modules/urllib3/packages/ssl_match_hostname/_implementation.py \
|
||||
$(NULL)
|
||||
|
||||
python_urllib3_contribdir=$(python_urllib3dir)/contrib
|
||||
dist_python_urllib3_contrib_DATA = \
|
||||
python_modules/urllib3/contrib/__init__.py \
|
||||
python_modules/urllib3/contrib/appengine.py \
|
||||
python_modules/urllib3/contrib/ntlmpool.py \
|
||||
python_modules/urllib3/contrib/pyopenssl.py \
|
||||
python_modules/urllib3/contrib/securetransport.py \
|
||||
python_modules/urllib3/contrib/socks.py \
|
||||
$(NULL)
|
||||
|
||||
python_urllib3_securetransportdir=$(python_urllib3_contribdir)/_securetransport
|
||||
dist_python_urllib3_securetransport_DATA = \
|
||||
python_modules/urllib3/contrib/_securetransport/__init__.py \
|
||||
python_modules/urllib3/contrib/_securetransport/bindings.py \
|
||||
python_modules/urllib3/contrib/_securetransport/low_level.py \
|
||||
$(NULL)
|
|
@ -1,14 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
CLEANFILES = \
|
||||
slabinfo.plugin \
|
||||
$(NULL)
|
||||
|
||||
include $(top_srcdir)/build/subst.inc
|
||||
SUFFIXES = .in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,23 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
||||
|
||||
statsdconfigdir=$(libconfigdir)/statsd.d
|
||||
dist_statsdconfig_DATA = \
|
||||
example.conf \
|
||||
k6.conf \
|
||||
asterisk.conf \
|
||||
$(NULL)
|
||||
|
||||
userstatsdconfigdir=$(configdir)/statsd.d
|
||||
dist_userstatsdconfig_DATA = \
|
||||
$(NULL)
|
||||
|
||||
# Explicitly install directories to avoid permission issues due to umask
|
||||
install-exec-local:
|
||||
$(INSTALL) -d $(DESTDIR)$(userstatsdconfigdir)
|
|
@ -1,16 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
systemd-journal-self-signed-certs.sh \
|
||||
forward_secure_sealing.md \
|
||||
active_journal_centralization_guide_no_encryption.md \
|
||||
passive_journal_centralization_guide_no_encryption.md \
|
||||
passive_journal_centralization_guide_self_signed_certs.md \
|
||||
$(NULL)
|
||||
|
||||
dist_libconfig_DATA = \
|
||||
$(NULL)
|
|
@ -1,20 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
CLEANFILES = \
|
||||
tc-qos-helper.sh \
|
||||
$(NULL)
|
||||
|
||||
include $(top_srcdir)/build/subst.inc
|
||||
SUFFIXES = .in
|
||||
|
||||
dist_plugins_SCRIPTS = \
|
||||
tc-qos-helper.sh \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
tc-qos-helper.sh.in \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,55 +1,131 @@
|
|||
/* This file was generated by CMAKE from config.cmake.h.in */
|
||||
|
||||
#define VERSION "@NETDATA_VERSION@"
|
||||
#define likely(x) __builtin_expect(!!(x), 1)
|
||||
#define unlikely(x) __builtin_expect(!!(x), 0)
|
||||
|
||||
#define CONFIGURE_COMMAND "cmake"
|
||||
#define __always_unused __attribute__((unused))
|
||||
#define __maybe_unused __attribute__((unused))
|
||||
|
||||
#define NETDATA_USER "@NETDATA_USER@"
|
||||
// platform
|
||||
#cmakedefine COMPILED_FOR_FREEBSD
|
||||
#cmakedefine COMPILED_FOR_LINUX
|
||||
#cmakedefine COMPILED_FOR_MACOS
|
||||
|
||||
/* Using a bundled copy of protobuf */
|
||||
// #undef BUNDLED_PROTOBUF
|
||||
#define HAVE_PROTOBUF 1
|
||||
|
||||
#define likely(x) @LIKELY_MACRO@
|
||||
#define unlikely(x) @UNLIKELY_MACRO@
|
||||
|
||||
/* La boring stuff */
|
||||
#cmakedefine HAVE_STRUCT_TIMESPEC
|
||||
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE 1
|
||||
#endif
|
||||
// checked headers
|
||||
|
||||
#cmakedefine HAVE_NETINET_IN_H
|
||||
#cmakedefine HAVE_RESOLV_H
|
||||
#cmakedefine HAVE_NETDB_H
|
||||
#cmakedefine HAVE_SYS_PRCTL_H
|
||||
#cmakedefine HAVE_SYS_STAT_H
|
||||
#cmakedefine HAVE_SYS_VFS_H
|
||||
#cmakedefine HAVE_SYS_STATFS_H
|
||||
#cmakedefine HAVE_LINUX_MAGIC_H
|
||||
#cmakedefine HAVE_SYS_MOUNT_H
|
||||
#cmakedefine HAVE_SYS_STATVFS_H
|
||||
#cmakedefine HAVE_INTTYPES_H
|
||||
#cmakedefine HAVE_STDINT_H
|
||||
#cmakedefine HAVE_SYS_CAPABILITY_H
|
||||
|
||||
#cmakedefine HAVE_CAPABILITY
|
||||
#cmakedefine HAVE_PROTOBUF
|
||||
#cmakedefine BUNDLED_PROTOBUF
|
||||
#cmakedefine HAVE_MONGOC
|
||||
|
||||
// checked symbols
|
||||
|
||||
#cmakedefine MAJOR_IN_SYSMACROS
|
||||
#cmakedefine MAJOR_IN_MKDEV
|
||||
#cmakedefine HAVE_CLOCK_GETTIME
|
||||
#cmakedefine HAVE_STRERROR_R
|
||||
#cmakedefine HAVE_SETNS
|
||||
|
||||
#cmakedefine HAVE_SYSTEMD
|
||||
#cmakedefine HAVE_SD_JOURNAL_OS_ROOT
|
||||
#cmakedefine HAVE_SD_JOURNAL_OPEN_FILES_FD
|
||||
#cmakedefine HAVE_SD_JOURNAL_RESTART_FIELDS
|
||||
#cmakedefine HAVE_SD_JOURNAL_GET_SEQNUM
|
||||
#cmakedefine ENABLE_SYSTEMD_DBUS
|
||||
|
||||
// checked source compilation
|
||||
#cmakedefine STRERROR_R_CHAR_P
|
||||
|
||||
#cmakedefine MAJOR_IN_MKDEV
|
||||
#cmakedefine MAJOR_IN_SYSMACROS
|
||||
// enabled features
|
||||
|
||||
#cmakedefine HAVE_CRYPTO
|
||||
#cmakedefine ENABLE_OPENSSL
|
||||
#cmakedefine ENABLE_CLOUD
|
||||
#cmakedefine ENABLE_ACLK
|
||||
#cmakedefine ENABLE_ML
|
||||
#cmakedefine ENABLE_EXPORTING_MONGODB
|
||||
#cmakedefine ENABLE_H2O
|
||||
#cmakedefine ENABLE_DBENGINE
|
||||
#cmakedefine ENABLE_HTTPS
|
||||
#cmakedefine ENABLE_LZ4
|
||||
#cmakedefine ENABLE_ZSTD
|
||||
#cmakedefine ENABLE_BROTLI
|
||||
#cmakedefine STORAGE_WITH_MATH
|
||||
|
||||
#cmakedefine ENABLE_LOGSMANAGEMENT
|
||||
#cmakedefine ENABLE_LOGSMANAGEMENT_TESTS
|
||||
#cmakedefine ENABLE_PROMETHEUS_REMOTE_WRITE
|
||||
|
||||
/* they are defined as REQUIRED in CMakeLists.txt */
|
||||
// enabled plugins
|
||||
|
||||
#cmakedefine ENABLE_PLUGIN_DEBUGFS
|
||||
#cmakedefine ENABLE_PLUGIN_APPS
|
||||
#cmakedefine ENABLE_PLUGIN_FREEIPMI
|
||||
#cmakedefine ENABLE_PLUGIN_NFACCT
|
||||
#cmakedefine ENABLE_PLUGIN_XENSTAT
|
||||
#cmakedefine ENABLE_PLUGIN_PERF
|
||||
#cmakedefine ENABLE_PLUGIN_SLABINFO
|
||||
#cmakedefine ENABLE_PLUGIN_CUPS
|
||||
#cmakedefine ENABLE_PLUGIN_CGROUP_NETWORK
|
||||
#cmakedefine ENABLE_PLUGIN_EBPF
|
||||
|
||||
// enabled bundling
|
||||
|
||||
#cmakedefine ENABLE_BUNDLED_JSONC
|
||||
#cmakedefine ENABLE_BUNDLED_YAML
|
||||
#cmakedefine ENABLE_BUNDLED_PROTOBUF
|
||||
|
||||
// directory paths
|
||||
|
||||
#cmakedefine CACHE_DIR "@CACHE_DIR@"
|
||||
#cmakedefine CONFIG_DIR "@CONFIG_DIR@"
|
||||
#cmakedefine LIBCONFIG_DIR "@LIBCONFIG_DIR@"
|
||||
#cmakedefine LOG_DIR "@LOG_DIR@"
|
||||
#cmakedefine PLUGINS_DIR "@PLUGINS_DIR@"
|
||||
#cmakedefine WEB_DIR "@WEB_DIR@"
|
||||
#cmakedefine VARLIB_DIR "@VARLIB_DIR@"
|
||||
|
||||
// config command, user and version
|
||||
|
||||
#cmakedefine CONFIGURE_COMMAND "@CONFIGURE_COMMAND@"
|
||||
#cmakedefine NETDATA_USER "@NETDATA_USER@"
|
||||
|
||||
#cmakedefine VERSION "@GIT_DESCRIBE_OUTPUT@"
|
||||
|
||||
#define ENABLE_JSONC 1
|
||||
|
||||
#cmakedefine ENABLE_ML
|
||||
#cmakedefine HAVE_LIBYAML
|
||||
|
||||
#cmakedefine HAVE_LIBBPF
|
||||
// /* Enable GNU extensions on systems that have them. */
|
||||
// #ifndef _GNU_SOURCE
|
||||
// # define _GNU_SOURCE 1
|
||||
// #endif
|
||||
|
||||
/* NSA spy stuff */
|
||||
#define ENABLE_HTTPS 1
|
||||
#cmakedefine01 HAVE_X509_VERIFY_PARAM_set1_host
|
||||
// #cmakedefine HAVE_CRYPTO
|
||||
|
||||
#cmakedefine ENABLE_ACLK
|
||||
#define ENABLE_DBENGINE
|
||||
#define ENABLE_COMPRESSION // pkg_check_modules(LIBLZ4 REQUIRED liblz4)
|
||||
#cmakedefine ENABLE_APPS_PLUGIN
|
||||
// #cmakedefine ENABLE_PROMETHEUS_REMOTE_WRITE
|
||||
|
||||
// /* NSA spy stuff */
|
||||
// #define ENABLE_HTTPS 1
|
||||
// #cmakedefine01 HAVE_X509_VERIFY_PARAM_set1_host
|
||||
|
||||
#define __always_unused @ALWAYS_UNUSED_MACRO@
|
||||
#define __maybe_unused @MAYBE_UNUSED_MACRO@
|
||||
#define HAVE_CRYPTO
|
||||
#define HAVE_X509_VERIFY_PARAM_set1_host 1
|
||||
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE 1
|
||||
#endif
|
||||
|
|
2270
configure.ac
2270
configure.ac
File diff suppressed because it is too large
Load diff
|
@ -1,34 +1,31 @@
|
|||
Source: netdata
|
||||
Build-Depends: debhelper (>= 9.20160709),
|
||||
dh-autoreconf,
|
||||
Build-Depends: debhelper (>= 10),
|
||||
dpkg-dev (>= 1.13.19),
|
||||
zlib1g-dev,
|
||||
uuid-dev,
|
||||
bison,
|
||||
cmake,
|
||||
curl,
|
||||
flex,
|
||||
libcups2-dev,
|
||||
libcurl4-openssl-dev,
|
||||
libelf-dev,
|
||||
libuv1-dev,
|
||||
liblz4-dev,
|
||||
libssl-dev,
|
||||
libmnl-dev,
|
||||
libjson-c-dev,
|
||||
libyaml-dev,
|
||||
libcups2-dev,
|
||||
libipmimonitoring-dev,
|
||||
libjson-c-dev,
|
||||
liblz4-dev,
|
||||
libmnl-dev,
|
||||
libmongoc-dev,
|
||||
libnetfilter-acct-dev,
|
||||
libsnappy-dev,
|
||||
libpcre2-dev,
|
||||
libprotobuf-dev,
|
||||
libprotoc-dev,
|
||||
libsnappy-dev,
|
||||
libssl-dev,
|
||||
libsystemd-dev,
|
||||
cmake,
|
||||
autogen,
|
||||
autoconf,
|
||||
automake,
|
||||
libuv1-dev,
|
||||
libyaml-dev,
|
||||
pkg-config,
|
||||
curl,
|
||||
protobuf-compiler,
|
||||
bison,
|
||||
flex
|
||||
uuid-dev,
|
||||
zlib1g-dev
|
||||
Section: net
|
||||
Priority: optional
|
||||
Maintainer: Netdata Builder <bot@netdata.cloud>
|
||||
|
@ -134,8 +131,7 @@ Description: Compiled eBPF legacy code for the Netdata eBPF plugin
|
|||
|
||||
Package: netdata-plugin-pythond
|
||||
Architecture: all
|
||||
Depends: ${shlibs:Depends},
|
||||
netdata (= ${source:Version})
|
||||
Depends: netdata (= ${source:Version})
|
||||
Pre-Depends: adduser
|
||||
Suggests: sudo
|
||||
Conflicts: netdata (<< ${source:Version})
|
||||
|
@ -207,6 +203,16 @@ Description: The systemd-journal collector for the Netdata Agent
|
|||
This plugin allows the Netdata Agent to present logs from the systemd
|
||||
journal on Netdata Cloud or the local Agent dashboard.
|
||||
|
||||
Package: netdata-plugin-xenstat
|
||||
Architecture: amd64 arm64
|
||||
Depends: ${shlibs:Depends},
|
||||
netdata (= ${source:Version})
|
||||
Pre-Depends: adduser
|
||||
Conflicts: netdata (<< ${source:Version})
|
||||
Description: The xenstat plugin for the Netdata Agent
|
||||
This plugin allows the Netdata Agent to collect metrics from the Xen
|
||||
Hypervisor.
|
||||
|
||||
Package: netdata-plugin-logs-management
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends},
|
||||
|
|
14
contrib/debian/netdata-plugin-xenstat.postinst
Normal file
14
contrib/debian/netdata-plugin-xenstat.postinst
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
configure|reconfigure)
|
||||
chown root:netdata /usr/libexec/netdata/plugins.d/xenstat.plugin
|
||||
chmod -f 4750 /usr/libexec/netdata/plugins.d/xenstat.plugin
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
13
contrib/debian/netdata-plugin-xenstat.preinst
Normal file
13
contrib/debian/netdata-plugin-xenstat.preinst
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
install)
|
||||
if ! getent group netdata > /dev/null; then
|
||||
addgroup --quiet --system netdata
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
|
@ -4,26 +4,41 @@
|
|||
# the location of plugins in /usr/lib
|
||||
TOP = $(CURDIR)/debian/netdata
|
||||
TEMPTOP = $(CURDIR)/debian/tmp
|
||||
BUILDDIR = $(CURDIR)/debian/build
|
||||
|
||||
BASE_CONFIG = system/netdata.conf
|
||||
|
||||
SYSTEMD_VERSION = $(shell /bin/sh -c "systemd --version 2>&1 | head -n 1 | cut -f 2 -d ' '")
|
||||
|
||||
ifeq ($(shell test $(SYSTEMD_VERSION) -ge 235 && echo "1"), 1)
|
||||
SYSTEMD_UNIT = system/systemd/netdata.service.v235
|
||||
SYSTEMD_UNIT = $(BUILDDIR)/system/systemd/netdata.service.v235
|
||||
else
|
||||
SYSTEMD_UNIT = system/systemd/netdata.service
|
||||
SYSTEMD_UNIT = $(BUILDDIR)/system/systemd/netdata.service
|
||||
endif
|
||||
|
||||
ifeq ($(shell test ${DEB_TARGET_ARCH} != "amd64" && echo "1"), 1)
|
||||
HAVE_EBPF = 0
|
||||
EBPF_CONFIG = --disable-ebpf
|
||||
EBPF_CONFIG = -DENABLE_PLUGIN_EBPF=Off
|
||||
else
|
||||
HAVE_EBPF = 1
|
||||
EBPF_CONFIG = -DENABLE_PLUGIN_EBPF=On
|
||||
endif
|
||||
|
||||
ifeq ($(shell test ${DEB_TARGET_ARCH} != "amd64" && echo "1"), 1)
|
||||
ifeq ($(shell test ${DEB_TARGET_ARCH} != "arm64" && echo "1"), 1)
|
||||
HAVE_XENSTAT = 0
|
||||
XENSTAT_CONFIG = -DENABLE_PLUGIN_XENSTAT=Off
|
||||
else
|
||||
HAVE_XENSTAT = 1
|
||||
XENSTAT_CONFIG = -DENABLE_PLUGIN_XENSTAT=On
|
||||
endif
|
||||
else
|
||||
HAVE_XENSTAT = 1
|
||||
XENSTAT_CONFIG = -DENABLE_PLUGIN_XENSTAT=On
|
||||
endif
|
||||
|
||||
%:
|
||||
dh $@
|
||||
dh $@ --builddirectory=$(BUILDDIR)
|
||||
|
||||
override_dh_installinit:
|
||||
echo "SystemD Version: $(SYSTEMD_VERSION)"
|
||||
|
@ -38,10 +53,33 @@ override_dh_auto_configure:
|
|||
packaging/bundle-libbpf.sh . ${TOP}/usr/libexec/netdata/plugins.d; \
|
||||
packaging/bundle-ebpf-co-re.sh . ${TOP}/usr/libexec/netdata/plugins.d; \
|
||||
fi
|
||||
autoreconf -ivf
|
||||
dh_auto_configure -- --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib \
|
||||
--libexecdir=/usr/libexec --with-user=netdata --with-math --with-zlib --with-webdir=/var/lib/netdata/www \
|
||||
--disable-dependency-tracking $(EBPF_CONFIG)
|
||||
dh_auto_configure -- -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=/ \
|
||||
-DENABLE_ACLK=On \
|
||||
-DENABLE_CLOUD=On \
|
||||
-DENABLE_DBENGINE=On \
|
||||
-DENABLE_H2O=On \
|
||||
-DENABLE_ML=On \
|
||||
-DENABLE_PLUGIN_APPS=On \
|
||||
-DENABLE_PLUGIN_CGROUP_NETWORK=On \
|
||||
-DENABLE_PLUGIN_DEBUGFS=On \
|
||||
$(EBPF_CONFIG) \
|
||||
-DENABLE_PLUGIN_FREEIPMI=On \
|
||||
-DENABLE_PLUGIN_LOCAL_LISTENERS=On \
|
||||
-DENABLE_PLUGIN_NFACCT=On \
|
||||
-DENABLE_PLUGIN_PERF=On \
|
||||
-DENABLE_PLUGIN_SLABINFO=On \
|
||||
-DENABLE_PLUGIN_SYSTEMD_JOURNAL=On \
|
||||
-DENABLE_PLUGIN_LOGS_MANAGEMENT=On \
|
||||
$(XENSTAT_CONFIG) \
|
||||
-DENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE=On \
|
||||
-DENABLE_EXPORTER_MONGODB=On \
|
||||
-DENABLE_BUNDLED_PROTOBUF=Off \
|
||||
-DENABLE_BUNDLED_JSONC=Off \
|
||||
-DENABLE_BUNDLED_YAML=Off
|
||||
|
||||
override_dh_auto_test:
|
||||
true
|
||||
|
||||
override_dh_install:
|
||||
cp -v $(BASE_CONFIG) debian/netdata.conf
|
||||
|
@ -140,6 +178,13 @@ override_dh_install:
|
|||
mv -f $(TEMPTOP)/usr/lib/netdata/conf.d/logsmanagement.d/ \
|
||||
$(TOP)-plugin-logs-management/usr/lib/netdata/conf.d/logsmanagement.d/
|
||||
|
||||
# Add xenstat plugin install rules
|
||||
if [ $(HAVE_XENSTAT) -eq 1 ]; then \
|
||||
mkdir -p $(TOP)-plugin-xenstat/usr/libexec/netdata/plugins.d/ ; \
|
||||
mv -f $(TEMPTOP)/usr/libexec/netdata/plugins.d/xenstat.plugin \
|
||||
$(TOP)-plugin-xenstat/usr/libexec/netdata/plugins.d/xenstat.plugin; \
|
||||
fi
|
||||
|
||||
# Set the rest of the software in the main package
|
||||
#
|
||||
cp -rp $(TEMPTOP)/usr $(TOP)
|
||||
|
@ -231,11 +276,16 @@ override_dh_fixperms:
|
|||
# systemd-journal
|
||||
chmod 4750 $(TOP)-plugin-systemd-journal/usr/libexec/netdata/plugins.d/systemd-journal.plugin
|
||||
|
||||
# systemd-journal
|
||||
# xenstat
|
||||
if [ $(HAVE_XENSTAT) -eq 1 ]; then \
|
||||
chmod 4750 $(TOP)-plugin-xenstat/usr/libexec/netdata/plugins.d/xenstat.plugin; \
|
||||
fi
|
||||
|
||||
# logs-management
|
||||
chmod 4750 $(TOP)-plugin-logs-management/usr/libexec/netdata/plugins.d/logs-management.plugin
|
||||
|
||||
override_dh_installlogrotate:
|
||||
cp system/logrotate/netdata debian/netdata.logrotate
|
||||
cp $(BUILDDIR)/system/logrotate/netdata debian/netdata.logrotate
|
||||
dh_installlogrotate
|
||||
|
||||
override_dh_installdeb:
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
CLEANFILES = \
|
||||
anonymous-statistics.sh \
|
||||
$(NULL)
|
||||
|
||||
include $(top_srcdir)/build/subst.inc
|
||||
SUFFIXES = .in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
config/README.md \
|
||||
anonymous-statistics.sh.in \
|
||||
get-kubernetes-labels.sh.in \
|
||||
$(NULL)
|
||||
|
||||
dist_plugins_SCRIPTS = \
|
||||
anonymous-statistics.sh \
|
||||
system-info.sh \
|
||||
get-kubernetes-labels.sh \
|
||||
$(NULL)
|
|
@ -69,17 +69,12 @@ typedef enum __attribute__((packed)) {
|
|||
BIB_LIB_LZ4,
|
||||
BIB_LIB_ZSTD,
|
||||
BIB_LIB_ZLIB,
|
||||
BIB_LIB_JUDY,
|
||||
BIB_LIB_DLIB,
|
||||
BIB_LIB_PROTOBUF,
|
||||
BIB_LIB_OPENSSL,
|
||||
BIB_LIB_LIBDATACHANNEL,
|
||||
BIB_LIB_JSONC,
|
||||
BIB_LIB_LIBCAP,
|
||||
BIB_LIB_LIBCRYPTO,
|
||||
BIB_LIB_LIBM,
|
||||
BIB_LIB_JEMALLOC,
|
||||
BIB_LIB_TCMALLOC,
|
||||
BIB_PLUGIN_APPS,
|
||||
BIB_PLUGIN_LINUX_CGROUPS,
|
||||
BIB_PLUGIN_LINUX_CGROUP_NETWORK,
|
||||
|
@ -655,23 +650,6 @@ static struct {
|
|||
.json = "zlib",
|
||||
.value = NULL,
|
||||
},
|
||||
[BIB_LIB_JUDY] = {
|
||||
.category = BIC_LIBS,
|
||||
.type = BIT_BOOLEAN,
|
||||
.analytics = NULL,
|
||||
.print = "Judy (high-performance dynamic arrays and hashtables)",
|
||||
.json = "judy",
|
||||
.status = true,
|
||||
.value = "bundled",
|
||||
},
|
||||
[BIB_LIB_DLIB] = {
|
||||
.category = BIC_LIBS,
|
||||
.type = BIT_BOOLEAN,
|
||||
.analytics = NULL,
|
||||
.print = "dlib (robust machine learning toolkit)",
|
||||
.json = "dlib",
|
||||
.value = NULL,
|
||||
},
|
||||
[BIB_LIB_PROTOBUF] = {
|
||||
.category = BIC_LIBS,
|
||||
.type = BIT_BOOLEAN,
|
||||
|
@ -720,30 +698,6 @@ static struct {
|
|||
.json = "libcrypto",
|
||||
.value = NULL,
|
||||
},
|
||||
[BIB_LIB_LIBM] = {
|
||||
.category = BIC_LIBS,
|
||||
.type = BIT_BOOLEAN,
|
||||
.analytics = "libm",
|
||||
.print = "libm (mathematical functions)",
|
||||
.json = "libm",
|
||||
.value = NULL,
|
||||
},
|
||||
[BIB_LIB_JEMALLOC] = {
|
||||
.category = BIC_LIBS,
|
||||
.type = BIT_BOOLEAN,
|
||||
.analytics = "jemalloc",
|
||||
.print = "jemalloc",
|
||||
.json = "jemalloc",
|
||||
.value = NULL,
|
||||
},
|
||||
[BIB_LIB_TCMALLOC] = {
|
||||
.category = BIC_LIBS,
|
||||
.type = BIT_BOOLEAN,
|
||||
.analytics = "tcmalloc",
|
||||
.print = "TCMalloc",
|
||||
.json = "tcmalloc",
|
||||
.value = NULL,
|
||||
},
|
||||
[BIB_PLUGIN_APPS] = {
|
||||
.category = BIC_PLUGINS,
|
||||
.type = BIT_BOOLEAN,
|
||||
|
@ -1203,17 +1157,8 @@ __attribute__((constructor)) void initialize_build_info(void) {
|
|||
#ifdef HAVE_CRYPTO
|
||||
build_info_set_status(BIB_LIB_LIBCRYPTO, true);
|
||||
#endif
|
||||
#ifdef STORAGE_WITH_MATH
|
||||
build_info_set_status(BIB_LIB_LIBM, true);
|
||||
#endif
|
||||
#ifdef ENABLE_JEMALLOC
|
||||
build_info_set_status(BIB_LIB_JEMALLOC, true);
|
||||
#endif
|
||||
#ifdef ENABLE_TCMALLOC
|
||||
build_info_set_status(BIB_LIB_TCMALLOC, true);
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_APPS_PLUGIN
|
||||
#ifdef ENABLE_PLUGIN_APPS
|
||||
build_info_set_status(BIB_PLUGIN_APPS, true);
|
||||
#endif
|
||||
#ifdef HAVE_SETNS
|
||||
|
@ -1225,28 +1170,28 @@ __attribute__((constructor)) void initialize_build_info(void) {
|
|||
build_info_set_status(BIB_PLUGIN_IDLEJITTER, true);
|
||||
build_info_set_status(BIB_PLUGIN_BASH, true);
|
||||
|
||||
#ifdef ENABLE_DEBUGFS_PLUGIN
|
||||
#ifdef ENABLE_PLUGIN_DEBUGFS
|
||||
build_info_set_status(BIB_PLUGIN_DEBUGFS, true);
|
||||
#endif
|
||||
#ifdef HAVE_CUPS
|
||||
#ifdef ENABLE_PLUGIN_CUPS
|
||||
build_info_set_status(BIB_PLUGIN_CUPS, true);
|
||||
#endif
|
||||
#ifdef HAVE_LIBBPF
|
||||
#ifdef ENABLE_PLUGIN_EBPF
|
||||
build_info_set_status(BIB_PLUGIN_EBPF, true);
|
||||
#endif
|
||||
#ifdef HAVE_FREEIPMI
|
||||
#ifdef ENABLE_PLUGIN_FREEIPMI
|
||||
build_info_set_status(BIB_PLUGIN_FREEIPMI, true);
|
||||
#endif
|
||||
#ifdef HAVE_NFACCT
|
||||
#ifdef ENABLE_PLUGIN_NFACCT
|
||||
build_info_set_status(BIB_PLUGIN_NFACCT, true);
|
||||
#endif
|
||||
#ifdef ENABLE_PERF_PLUGIN
|
||||
#ifdef ENABLE_PLUGIN_PERF
|
||||
build_info_set_status(BIB_PLUGIN_PERF, true);
|
||||
#endif
|
||||
#ifdef ENABLE_SLABINFO
|
||||
#ifdef ENABLE_PLUGIN_SLABINFO
|
||||
build_info_set_status(BIB_PLUGIN_SLABINFO, true);
|
||||
#endif
|
||||
#ifdef HAVE_LIBXENSTAT
|
||||
#ifdef ENABLE_PLUGIN_XENSTAT
|
||||
build_info_set_status(BIB_PLUGIN_XEN, true);
|
||||
#endif
|
||||
#ifdef HAVE_XENSTAT_VBD_ERROR
|
||||
|
|
0
daemon/get-kubernetes-labels.sh.in
Normal file → Executable file
0
daemon/get-kubernetes-labels.sh.in
Normal file → Executable file
|
@ -1,15 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
SUBDIRS = \
|
||||
engine \
|
||||
ram \
|
||||
sqlite \
|
||||
contexts \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,11 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
SUBDIRS = \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,11 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
SUBDIRS = \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -2,6 +2,7 @@
|
|||
#ifndef DBENGINE_CACHE_H
|
||||
#define DBENGINE_CACHE_H
|
||||
|
||||
#include "datafile.h"
|
||||
#include "../rrd.h"
|
||||
|
||||
// CACHE COMPILE TIME CONFIGURATION
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
#include "metric.h"
|
||||
#include "cache.h"
|
||||
#include "rrddiskprotocol.h"
|
||||
|
||||
typedef int32_t REFCOUNT;
|
||||
#define REFCOUNT_DELETING (-100)
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
SUBDIRS = \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,4 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
|
@ -1,23 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
MAINTAINERCLEANFILES= $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
config.puml \
|
||||
registry.puml \
|
||||
netdata-for-ephemeral-nodes.xml \
|
||||
netdata-proxies-example.xml \
|
||||
netdata-overview.xml \
|
||||
data_structures/netdata_config.svg \
|
||||
data_structures/registry.svg \
|
||||
data_structures/rrd.svg \
|
||||
data_structures/web.svg \
|
||||
data_structures/src/netdata_config.xml \
|
||||
data_structures/src/registry.xml \
|
||||
data_structures/src/rrd.xml \
|
||||
data_structures/src/web.xml \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_SCRIPTS = \
|
||||
build.sh \
|
||||
$(NULL)
|
|
@ -1,29 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
SUBDIRS = \
|
||||
tests \
|
||||
graphite \
|
||||
json \
|
||||
opentsdb \
|
||||
prometheus \
|
||||
aws_kinesis \
|
||||
pubsub \
|
||||
mongodb \
|
||||
$(NULL)
|
||||
|
||||
dist_libconfig_DATA = \
|
||||
exporting.conf \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
TIMESCALE.md \
|
||||
WALKTHROUGH.md \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_SCRIPTS = \
|
||||
nc-exporting.sh \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -51,7 +51,7 @@ void analytics_exporting_connectors(BUFFER *b)
|
|||
buffer_strcat(b, "OpenTSDBHTTP");
|
||||
break;
|
||||
case EXPORTING_CONNECTOR_TYPE_PROMETHEUS_REMOTE_WRITE:
|
||||
#if ENABLE_PROMETHEUS_REMOTE_WRITE
|
||||
#ifdef ENABLE_PROMETHEUS_REMOTE_WRITE
|
||||
buffer_strcat(b, "PrometheusRemoteWrite");
|
||||
#endif
|
||||
break;
|
||||
|
@ -66,7 +66,7 @@ void analytics_exporting_connectors(BUFFER *b)
|
|||
#endif
|
||||
break;
|
||||
case EXPORTING_CONNECTOR_TYPE_MONGODB:
|
||||
#if HAVE_MONGOC
|
||||
#ifdef HAVE_MONGOC
|
||||
buffer_strcat(b, "MongoDB");
|
||||
#endif
|
||||
break;
|
||||
|
@ -95,7 +95,7 @@ static void exporting_clean_engine()
|
|||
aws_sdk_shutdown();
|
||||
#endif
|
||||
|
||||
#if ENABLE_PROMETHEUS_REMOTE_WRITE
|
||||
#ifdef ENABLE_PROMETHEUS_REMOTE_WRITE
|
||||
if (engine->protocol_buffers_initialized)
|
||||
protocol_buffers_shutdown();
|
||||
#endif
|
||||
|
|
|
@ -311,7 +311,7 @@ static inline void disable_instance(struct instance *instance)
|
|||
|
||||
#include "exporting/prometheus/prometheus.h"
|
||||
#include "exporting/opentsdb/opentsdb.h"
|
||||
#if ENABLE_PROMETHEUS_REMOTE_WRITE
|
||||
#ifdef ENABLE_PROMETHEUS_REMOTE_WRITE
|
||||
#include "exporting/prometheus/remote_write/remote_write.h"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
|
@ -5,7 +5,7 @@
|
|||
#include "json/json.h"
|
||||
#include "opentsdb/opentsdb.h"
|
||||
|
||||
#if ENABLE_PROMETHEUS_REMOTE_WRITE
|
||||
#ifdef ENABLE_PROMETHEUS_REMOTE_WRITE
|
||||
#include "prometheus/remote_write/remote_write.h"
|
||||
#endif
|
||||
|
||||
|
@ -13,11 +13,11 @@
|
|||
#include "aws_kinesis/aws_kinesis.h"
|
||||
#endif
|
||||
|
||||
#if ENABLE_EXPORTING_PUBSUB
|
||||
#ifdef ENABLE_EXPORTING_PUBSUB
|
||||
#include "pubsub/pubsub.h"
|
||||
#endif
|
||||
|
||||
#if HAVE_MONGOC
|
||||
#ifdef HAVE_MONGOC
|
||||
#include "mongodb/mongodb.h"
|
||||
#endif
|
||||
|
||||
|
@ -61,7 +61,7 @@ int init_connectors(struct engine *engine)
|
|||
return 1;
|
||||
break;
|
||||
case EXPORTING_CONNECTOR_TYPE_PROMETHEUS_REMOTE_WRITE:
|
||||
#if ENABLE_PROMETHEUS_REMOTE_WRITE
|
||||
#ifdef ENABLE_PROMETHEUS_REMOTE_WRITE
|
||||
if (init_prometheus_remote_write_instance(instance) != 0)
|
||||
return 1;
|
||||
#endif
|
||||
|
@ -79,7 +79,7 @@ int init_connectors(struct engine *engine)
|
|||
#endif
|
||||
break;
|
||||
case EXPORTING_CONNECTOR_TYPE_MONGODB:
|
||||
#if HAVE_MONGOC
|
||||
#ifdef HAVE_MONGOC
|
||||
if (init_mongodb_instance(instance) != 0)
|
||||
return 1;
|
||||
#endif
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,12 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
SUBDIRS = \
|
||||
remote_write \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,14 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
CLEANFILES = \
|
||||
remote_write.pb.cc \
|
||||
remote_write.pb.h \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
remote_write.proto \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -31,7 +31,7 @@ static int exporting_tls_is_enabled(EXPORTING_CONNECTOR_TYPE type __maybe_unused
|
|||
* @return Always returns 0.
|
||||
*/
|
||||
int exporting_discard_response(BUFFER *buffer, struct instance *instance) {
|
||||
#if NETDATA_INTERNAL_CHECKS
|
||||
#ifdef NETDATA_INTERNAL_CHECKS
|
||||
char sample[1024];
|
||||
const char *s = buffer_tostring(buffer);
|
||||
char *d = sample, *e = &sample[sizeof(sample) - 1];
|
||||
|
@ -391,7 +391,7 @@ void simple_connector_worker(void *instance_p)
|
|||
#endif
|
||||
}
|
||||
|
||||
#if ENABLE_PROMETHEUS_REMOTE_WRITE
|
||||
#ifdef ENABLE_PROMETHEUS_REMOTE_WRITE
|
||||
if (instance->config.type == EXPORTING_CONNECTOR_TYPE_PROMETHEUS_REMOTE_WRITE)
|
||||
clean_prometheus_remote_write(instance);
|
||||
#endif
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
|
@ -1,106 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
SUBDIRS = \
|
||||
notifications \
|
||||
$(NULL)
|
||||
|
||||
CLEANFILES = \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
||||
|
||||
userhealthconfigdir=$(configdir)/health.d
|
||||
dist_userhealthconfig_DATA = \
|
||||
$(NULL)
|
||||
|
||||
# Explicitly install directories to avoid permission issues due to umask
|
||||
install-exec-local:
|
||||
$(INSTALL) -d $(DESTDIR)$(userhealthconfigdir)
|
||||
|
||||
healthconfigdir=$(libconfigdir)/health.d
|
||||
dist_healthconfig_DATA = \
|
||||
health.d/adaptec_raid.conf \
|
||||
health.d/anomalies.conf \
|
||||
health.d/apcupsd.conf \
|
||||
health.d/bcache.conf \
|
||||
health.d/beanstalkd.conf \
|
||||
health.d/bind_rndc.conf \
|
||||
health.d/boinc.conf \
|
||||
health.d/btrfs.conf \
|
||||
health.d/ceph.conf \
|
||||
health.d/cgroups.conf \
|
||||
health.d/cpu.conf \
|
||||
health.d/cockroachdb.conf \
|
||||
health.d/consul.conf \
|
||||
health.d/disks.conf \
|
||||
health.d/dnsmasq_dhcp.conf \
|
||||
health.d/dns_query.conf \
|
||||
health.d/docker.conf \
|
||||
health.d/elasticsearch.conf \
|
||||
health.d/entropy.conf \
|
||||
health.d/exporting.conf \
|
||||
health.d/file_descriptors.conf \
|
||||
health.d/geth.conf \
|
||||
health.d/ioping.conf \
|
||||
health.d/gearman.conf \
|
||||
health.d/go.d.plugin.conf \
|
||||
health.d/haproxy.conf \
|
||||
health.d/hdfs.conf \
|
||||
health.d/httpcheck.conf \
|
||||
health.d/ipc.conf \
|
||||
health.d/ipfs.conf \
|
||||
health.d/ipmi.conf \
|
||||
health.d/isc_dhcpd.conf \
|
||||
health.d/kubelet.conf \
|
||||
health.d/linux_power_supply.conf \
|
||||
health.d/load.conf \
|
||||
health.d/mdstat.conf \
|
||||
health.d/megacli.conf \
|
||||
health.d/memcached.conf \
|
||||
health.d/memory.conf \
|
||||
health.d/ml.conf \
|
||||
health.d/mysql.conf \
|
||||
health.d/net.conf \
|
||||
health.d/netfilter.conf \
|
||||
health.d/nvme.conf \
|
||||
health.d/pihole.conf \
|
||||
health.d/plugin.conf \
|
||||
health.d/ping.conf \
|
||||
health.d/postgres.conf \
|
||||
health.d/portcheck.conf \
|
||||
health.d/processes.conf \
|
||||
health.d/python.d.plugin.conf \
|
||||
health.d/qos.conf \
|
||||
health.d/ram.conf \
|
||||
health.d/redis.conf \
|
||||
health.d/retroshare.conf \
|
||||
health.d/riakkv.conf \
|
||||
health.d/scaleio.conf \
|
||||
health.d/softnet.conf \
|
||||
health.d/synchronization.conf \
|
||||
health.d/swap.conf \
|
||||
health.d/systemdunits.conf \
|
||||
health.d/timex.conf \
|
||||
health.d/tcp_conn.conf \
|
||||
health.d/tcp_listen.conf \
|
||||
health.d/tcp_mem.conf \
|
||||
health.d/tcp_orphans.conf \
|
||||
health.d/tcp_resets.conf \
|
||||
health.d/udp_errors.conf \
|
||||
health.d/unbound.conf \
|
||||
health.d/upsd.conf \
|
||||
health.d/vcsa.conf \
|
||||
health.d/vernemq.conf \
|
||||
health.d/vsphere.conf \
|
||||
health.d/web_log.conf \
|
||||
health.d/whoisquery.conf \
|
||||
health.d/windows.conf \
|
||||
health.d/x509check.conf \
|
||||
health.d/zfs.conf \
|
||||
health.d/dbengine.conf \
|
||||
$(NULL)
|
|
@ -1,52 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
CLEANFILES = \
|
||||
alarm-notify.sh \
|
||||
$(NULL)
|
||||
|
||||
include $(top_srcdir)/build/subst.inc
|
||||
SUFFIXES = .in
|
||||
|
||||
dist_libconfig_DATA = \
|
||||
health_alarm_notify.conf \
|
||||
health_email_recipients.conf \
|
||||
$(NULL)
|
||||
|
||||
dist_plugins_SCRIPTS = \
|
||||
alarm-notify.sh \
|
||||
alarm-email.sh \
|
||||
alarm-test.sh \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
alarm-notify.sh.in \
|
||||
README.md \
|
||||
$(NULL)
|
||||
|
||||
include alerta/Makefile.inc
|
||||
include awssns/Makefile.inc
|
||||
include discord/Makefile.inc
|
||||
include email/Makefile.inc
|
||||
include flock/Makefile.inc
|
||||
include gotify/Makefile.inc
|
||||
include irc/Makefile.inc
|
||||
include kavenegar/Makefile.inc
|
||||
include messagebird/Makefile.inc
|
||||
include msteams/Makefile.inc
|
||||
include ntfy/Makefile.inc
|
||||
include opsgenie/Makefile.inc
|
||||
include pagerduty/Makefile.inc
|
||||
include pushbullet/Makefile.inc
|
||||
include pushover/Makefile.inc
|
||||
include rocketchat/Makefile.inc
|
||||
include slack/Makefile.inc
|
||||
include smstools3/Makefile.inc
|
||||
include syslog/Makefile.inc
|
||||
include telegram/Makefile.inc
|
||||
include twilio/Makefile.inc
|
||||
include web/Makefile.inc
|
||||
include matrix/Makefile.inc
|
||||
include custom/Makefile.inc
|
|
@ -1,45 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
SUBDIRS = \
|
||||
adaptive_resortable_list \
|
||||
aral \
|
||||
avl \
|
||||
buffer \
|
||||
buffered_reader \
|
||||
clocks \
|
||||
completion \
|
||||
config \
|
||||
datetime \
|
||||
dictionary \
|
||||
ebpf \
|
||||
eval \
|
||||
facets \
|
||||
functions_evloop \
|
||||
json \
|
||||
july \
|
||||
health \
|
||||
line_splitter \
|
||||
locks \
|
||||
log \
|
||||
onewayalloc \
|
||||
popen \
|
||||
procfile \
|
||||
simple_pattern \
|
||||
socket \
|
||||
statistical \
|
||||
storage_number \
|
||||
string \
|
||||
threads \
|
||||
url \
|
||||
uuid \
|
||||
worker_utilization \
|
||||
tests \
|
||||
$(NULL)
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
gorilla/README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -5,15 +5,14 @@
|
|||
|
||||
#include "../libnetdata.h"
|
||||
|
||||
#ifndef HAVE_STRUCT_TIMESPEC
|
||||
#ifndef HAVE_CLOCK_GETTIME
|
||||
struct timespec {
|
||||
time_t tv_sec; /* seconds */
|
||||
long tv_nsec; /* nanoseconds */
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_CLOCKID_T
|
||||
typedef int clockid_t;
|
||||
#ifndef HAVE_CLOCK_GETTIME
|
||||
#endif
|
||||
|
||||
typedef uint64_t nsec_t;
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -6,6 +6,7 @@
|
|||
#include <dlfcn.h>
|
||||
#include <sys/utsname.h>
|
||||
|
||||
#include "ebpf.h"
|
||||
#include "../libnetdata.h"
|
||||
|
||||
char *ebpf_user_config_dir = CONFIG_DIR;
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,7 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -11,10 +11,6 @@ extern "C" {
|
|||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#if defined(ENABLE_BROTLIENC) && defined(ENABLE_BROTLIDEC)
|
||||
#define ENABLE_BROTLI 1
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_OPENSSL
|
||||
#define ENABLE_HTTPS 1
|
||||
#endif
|
||||
|
@ -189,7 +185,7 @@ extern "C" {
|
|||
|
||||
#include <zlib.h>
|
||||
|
||||
#ifdef HAVE_CAPABILITY
|
||||
#ifdef HAVE_SYS_CAPABILITY_H
|
||||
#include <sys/capability.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,9 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
systemd-cat-native.md \
|
||||
$(NULL)
|
|
@ -436,7 +436,7 @@ cleanup:
|
|||
static int help(void) {
|
||||
fprintf(stderr,
|
||||
"\n"
|
||||
"Netdata systemd-cat-native " PACKAGE_VERSION "\n"
|
||||
"Netdata systemd-cat-native " VERSION "\n"
|
||||
"\n"
|
||||
"This program reads from its standard input, lines in the format:\n"
|
||||
"\n"
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
|
@ -1,8 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
README.md \
|
||||
$(NULL)
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue