mirror of
https://github.com/netdata/netdata.git
synced 2025-04-17 11:12:42 +00:00
Add SPDX-License-Identifier headers to most files.
This tags all the files that I can clearly identify as being part of Netdata and not a local copy of a third party package that we're redistributing.
This commit is contained in:
parent
1feb09ad46
commit
e8915e2653
341 changed files with 345 additions and 34 deletions
Dockerfile.alpineMakefile.am
charts.d
ap.chart.shapache.chart.shapcupsd.chart.shcpu_apps.chart.shcpufreq.chart.shexample.chart.shexim.chart.shhddtemp.chart.shlibreswan.chart.shload_average.chart.shmem_apps.chart.shmysql.chart.shnginx.chart.shnut.chart.shopensips.chart.shphpfpm.chart.shpostfix.chart.shsensors.chart.shsquid.chart.shtomcat.chart.sh
conf.d
contrib
installer
kickstart-static64.shkickstart.shmakeself
Makefile.ambuild-x86_64-static.shbuild.shfunctions.shinstall-alpine-packages.shinstall-or-update.sh
netdata-installer.shnetdata.spec.injobs
10-prepare-destination.install.sh50-bash-4.4.18.install.sh50-curl-7.60.0.install.sh50-fping-4.0.install.sh70-netdata-git.install.sh99-makeself.install.sh
makeself-header.shmakeself.shpost-installer.shrun-all-jobs.shnode.d
Makefile.amfronius.node.jsnamed.node.js
node_modules
sma_webbox.node.jssnmp.node.jsstiebeleltron.node.jspackaging
plugins.d
Makefile.amalarm-email.shalarm-notify.shalarm-test.shcgroup-name.shcgroup-network-helper.shcharts.d.dryrun-helper.shcharts.d.pluginfping.pluginloopsleepms.sh.incnode.d.pluginpython.d.plugintc-qos-helper.sh
profile
Makefilebenchmark-dictionary.cbenchmark-line-parsing.cbenchmark-procfile-parser.cbenchmark-registry.cbenchmark-strcmp.cstatsd-stress.ctest-eval.c
python.d
Makefile.amapache.chart.pybeanstalk.chart.pybind_rndc.chart.pyceph.chart.pychrony.chart.pycouchdb.chart.pycpufreq.chart.pycpuidle.chart.pydns_query_time.chart.pydnsdist.chart.pydovecot.chart.pyelasticsearch.chart.pyexample.chart.pyexim.chart.pyfail2ban.chart.pyfreeradius.chart.pygo_expvar.chart.pyhaproxy.chart.pyhddtemp.chart.py
|
@ -1,3 +1,4 @@
|
|||
# SPDX-License-Identifier: GPL-3.0+
|
||||
FROM alpine:edge as builder
|
||||
|
||||
# Install prerequisites
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#
|
||||
# Copyright (C) 2015 Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
#
|
||||
AUTOMAKE_OPTIONS=foreign dist-bzip2 dist-xz 1.10
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
|
||||
# _update_every is a special variable - it holds the number of seconds
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
|
||||
# the URL to download apache status info
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
|
||||
apcupsd_ip=
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
# THIS PLUGIN IS OBSOLETE
|
||||
# USE apps.plugin INSTEAD
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
|
||||
# if this chart is called X.chart.sh, then all functions and global variables
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
|
||||
# if this chart is called X.chart.sh, then all functions and global variables
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
# Contributed by @jsveiga with PR #480
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
# contributed by @paulfantom with PR #511
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2018 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
|
||||
# _update_every is a special variable - it holds the number of seconds
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
|
||||
load_average_update_every=5
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
|
||||
mem_apps_apps=
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
|
||||
# http://dev.mysql.com/doc/refman/5.0/en/server-status-variables.html
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
|
||||
# if this chart is called X.chart.sh, then all functions and global variables
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016-2017 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
|
||||
# a space separated list of UPS names
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
|
||||
opensips_opts="fifo get_statistics all"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
# Contributed by @safeie with PR #276
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
|
||||
# the postqueue command
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
|
||||
# sensors docs
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
|
||||
squid_host=
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# no need for shebang - this file is loaded from charts.d.plugin
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
#
|
||||
# Contributed by @jgeromero with PR #277
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#
|
||||
# Copyright (C) 2015 Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
#
|
||||
MAINTAINERCLEANFILES= $(srcdir)/Makefile.in
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# SPDX-License-Identifier: GPL-3.0+
|
||||
MAINTAINERCLEANFILES= $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
MODE="${1}"
|
||||
MY_PORT="${2}"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# no shebang necessary - this is a library to be sourced
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# make sure we have a UID
|
||||
[ -z "${UID}" ] && UID="$(id -u)"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
umask 022
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
#
|
||||
# Run me with:
|
||||
#
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# SPDX-License-Identifier: GPL-3.0+
|
||||
MAINTAINERCLEANFILES= $(srcdir)/Makefile.in
|
||||
|
||||
dist_noinst_DATA = \
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
. $(dirname "$0")/../installer/functions.sh || exit 1
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# parse command line arguments
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# this script should be running in alpine linux
|
||||
# install the required packages
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
. $(dirname "${0}")/functions.sh
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
. $(dirname "${0}")/../functions.sh "${@}" || exit 1
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
. $(dirname "${0}")/../functions.sh "${@}" || exit 1
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
. $(dirname "${0}")/../functions.sh "${@}" || exit 1
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
. $(dirname "${0}")/../functions.sh "${@}" || exit 1
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
. ${NETDATA_MAKESELF_PATH}/functions.sh "${@}" || exit 1
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
. $(dirname "${0}")/../functions.sh "${@}" || exit 1
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# SPDX-License-Identifier: GPL-3.0+
|
||||
cat << EOF > "$archname"
|
||||
#!/bin/sh
|
||||
# This script was generated using Makeself $MS_VERSION
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
#
|
||||
# Makeself version 2.3.x
|
||||
# by Stephane Peter <megastep@megastep.org>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# This script is started using the shell of the system
|
||||
# and executes our 'install-or-update.sh' script
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
LC_ALL=C
|
||||
umask 002
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
export PATH="${PATH}:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
|
||||
uniquepath() {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# SPDX-License-Identifier: GPL-3.0+
|
||||
%global contentdir %{_datadir}/netdata
|
||||
|
||||
# This is temporary and should eventually be resolved. This bypasses
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# SPDX-License-Identifier: GPL-3.0+
|
||||
MAINTAINERCLEANFILES= $(srcdir)/Makefile.in
|
||||
|
||||
dist_node_DATA = \
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
"use strict";
|
||||
// SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
// This program will connect to one or more Fronius Symo Inverters.
|
||||
// to get the Solar Power Generated (current, today).
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
'use strict';
|
||||
// SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
// collect statistics from bind (named) v9.10+
|
||||
//
|
||||
|
|
2
node.d/node_modules/netdata.js
generated
vendored
2
node.d/node_modules/netdata.js
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
// netdata
|
||||
// real-time performance and health monitoring, done right!
|
||||
// (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
// GPL v3+
|
||||
// SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
var url = require('url');
|
||||
var http = require('http');
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
'use strict';
|
||||
// SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
// This program will connect to one or more SMA Sunny Webboxes
|
||||
// to get the Solar Power Generated (current, today, total).
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
'use strict';
|
||||
// SPDX-License-Identifier: GPL-3.0+
|
||||
// netdata snmp module
|
||||
// This program will connect to one or more SNMP Agents
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
'use strict';
|
||||
// SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
// This program will connect to one Stiebel Eltron ISG for heatpump heating
|
||||
// to get the heat pump metrics.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
#
|
||||
# check-files
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# When run from the top-level repository, performs a complete clean
|
||||
# and maintainer-mode rebuild of the FireHOL package.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
packaging_check_init() {
|
||||
version_check=
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
#
|
||||
# release-msg
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# When provided with a git repo, which has been used to produce a
|
||||
# distribution tar.gz (with make dist) and the resultant tar-file,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
#
|
||||
# update-tags
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#
|
||||
# Copyright (C) 2015 Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
#
|
||||
MAINTAINERCLEANFILES= $(srcdir)/Makefile.in
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# OBSOLETE - REPLACED WITH
|
||||
# alarm-notify.sh
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2017 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
#
|
||||
# Script to send alarm notifications for netdata
|
||||
#
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2017 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
#
|
||||
# Script to test alarm notifications for netdata
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
#
|
||||
# Script to find a better name for cgroups
|
||||
#
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# detect container and virtual machine interfaces
|
||||
#
|
||||
# (C) 2017 Costa Tsaousis
|
||||
# GPL v3+
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
#
|
||||
# This script is called as root (by cgroup-network), with either a pid, or a cgroup path.
|
||||
# It tries to find all the network interfaces that belong to the same cgroup.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# will stop the script for any error
|
||||
set -e
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# no need for shebang - this file is included from other scripts
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
LOOPSLEEP_DATE="$(which date 2>/dev/null || command -v date 2>/dev/null)"
|
||||
if [ -z "$LOOPSLEEP_DATE" ]
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
// netdata
|
||||
// real-time performance and health monitoring, done right!
|
||||
// (C) 2017 Costa Tsaousis <costa@tsaousis.gr>
|
||||
// GPL v3+
|
||||
// SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
// --------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # '''
|
|||
# Description:
|
||||
# Author: Pawel Krupa (paulfantom)
|
||||
# Author: Ilya Mashchenko (l2isbad)
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# netdata
|
||||
# real-time performance and health monitoring, done right!
|
||||
# (C) 2017 Costa Tsaousis <costa@tsaousis.gr>
|
||||
# GPL v3+
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
#
|
||||
# This script is a helper to allow netdata collect tc data.
|
||||
# tc output parsing has been implemented in C, inside netdata
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
COMMON_CFLAGS=-I ../src/ -I ../
|
||||
PROFILE_CFLAGS=-O1 -ggdb -Wall -Wextra
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
/* SPDX-License-Identifier: GPL-3.0+ */
|
||||
/*
|
||||
* 1. build netdata (as normally)
|
||||
* 2. cd profile/
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* SPDX-License-Identifier: GPL-3.0+ */
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* SPDX-License-Identifier: GPL-3.0+ */
|
||||
#include "config.h"
|
||||
#include "common.h"
|
||||
#include "clocks.h"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* SPDX-License-Identifier: GPL-3.0+ */
|
||||
|
||||
/*
|
||||
* compile with
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* SPDX-License-Identifier: GPL-3.0+ */
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* SPDX-License-Identifier: GPL-3.0+ */
|
||||
#include <stdlib.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* SPDX-License-Identifier: GPL-3.0+ */
|
||||
|
||||
/*
|
||||
* 1. build netdata (as normally)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# SPDX-License-Identifier: GPL-3.0+
|
||||
MAINTAINERCLEANFILES= $(srcdir)/Makefile.in
|
||||
CLEANFILES = \
|
||||
python-modules-installer.sh \
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: apache netdata python.d module
|
||||
# Author: Pawel Krupa (paulfantom)
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
from bases.FrameworkServices.UrlService import UrlService
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: beanstalk netdata python.d module
|
||||
# Author: l2isbad
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
try:
|
||||
import beanstalkc
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: bind rndc netdata python.d module
|
||||
# Author: l2isbad
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
import os
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: ceph netdata python.d module
|
||||
# Author: Luis Eduardo (lets00)
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
try:
|
||||
import rados
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: chrony netdata python.d module
|
||||
# Author: Dominik Schloesser (domschl)
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
from bases.FrameworkServices.ExecutableService import ExecutableService
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# Description: couchdb netdata python.d module
|
||||
# Author: wohali <wohali@apache.org>
|
||||
# Thanks to l2isbad for good examples :)
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
from collections import namedtuple, defaultdict
|
||||
from json import loads
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: cpufreq netdata python.d module
|
||||
# Author: Pawel Krupa (paulfantom) and Steven Noonan (tycho)
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
import glob
|
||||
import os
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: cpuidle netdata python.d module
|
||||
# Author: Steven Noonan (tycho)
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
import glob
|
||||
import os
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: dns_query_time netdata python.d module
|
||||
# Author: l2isbad
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
from random import choice
|
||||
from threading import Thread
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
from json import loads
|
||||
from bases.FrameworkServices.UrlService import UrlService
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: dovecot netdata python.d module
|
||||
# Author: Pawel Krupa (paulfantom)
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
from bases.FrameworkServices.SocketService import SocketService
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: elastic search node stats netdata python.d module
|
||||
# Author: l2isbad
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
from collections import namedtuple
|
||||
from json import loads
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: example netdata python.d module
|
||||
# Author: Pawel Krupa (paulfantom)
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
from random import SystemRandom
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: exim netdata python.d module
|
||||
# Author: Pawel Krupa (paulfantom)
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
from bases.FrameworkServices.ExecutableService import ExecutableService
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: fail2ban log netdata python.d module
|
||||
# Author: l2isbad
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
import bisect
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: freeradius netdata python.d module
|
||||
# Author: l2isbad
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
from re import findall
|
||||
from subprocess import Popen, PIPE
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: go_expvar netdata python.d module
|
||||
# Author: Jan Kral (kralewitz)
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
from __future__ import division
|
||||
import json
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: haproxy netdata python.d module
|
||||
# Author: l2isbad, ktarasz
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
from collections import defaultdict
|
||||
from re import compile as re_compile
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Description: hddtemp netdata python.d module
|
||||
# Author: Pawel Krupa (paulfantom)
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
|
||||
import os
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue