From e8915e26537615282003d6baf094d59712c9b4f1 Mon Sep 17 00:00:00 2001 From: "Austin S. Hemmelgarn" Date: Thu, 31 May 2018 15:33:12 -0400 Subject: 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. --- Dockerfile.alpine | 1 + Makefile.am | 1 + charts.d/ap.chart.sh | 2 +- charts.d/apache.chart.sh | 2 +- charts.d/apcupsd.chart.sh | 2 +- charts.d/cpu_apps.chart.sh | 2 +- charts.d/cpufreq.chart.sh | 2 +- charts.d/example.chart.sh | 2 +- charts.d/exim.chart.sh | 2 +- charts.d/hddtemp.chart.sh | 2 +- charts.d/libreswan.chart.sh | 2 +- charts.d/load_average.chart.sh | 2 +- charts.d/mem_apps.chart.sh | 2 +- charts.d/mysql.chart.sh | 2 +- charts.d/nginx.chart.sh | 2 +- charts.d/nut.chart.sh | 2 +- charts.d/opensips.chart.sh | 2 +- charts.d/phpfpm.chart.sh | 2 +- charts.d/postfix.chart.sh | 2 +- charts.d/sensors.chart.sh | 2 +- charts.d/squid.chart.sh | 2 +- charts.d/tomcat.chart.sh | 2 +- conf.d/Makefile.am | 1 + contrib/Makefile.am | 1 + contrib/nc-backend.sh | 1 + installer/functions.sh | 1 + kickstart-static64.sh | 1 + kickstart.sh | 1 + makeself/Makefile.am | 1 + makeself/build-x86_64-static.sh | 1 + makeself/build.sh | 1 + makeself/functions.sh | 1 + makeself/install-alpine-packages.sh | 1 + makeself/install-or-update.sh | 1 + makeself/jobs/10-prepare-destination.install.sh | 1 + makeself/jobs/50-bash-4.4.18.install.sh | 1 + makeself/jobs/50-curl-7.60.0.install.sh | 1 + makeself/jobs/50-fping-4.0.install.sh | 1 + makeself/jobs/70-netdata-git.install.sh | 1 + makeself/jobs/99-makeself.install.sh | 1 + makeself/makeself-header.sh | 1 + makeself/makeself.sh | 1 + makeself/post-installer.sh | 1 + makeself/run-all-jobs.sh | 1 + netdata-installer.sh | 1 + netdata.spec.in | 1 + node.d/Makefile.am | 1 + node.d/fronius.node.js | 1 + node.d/named.node.js | 1 + node.d/node_modules/netdata.js | 2 +- node.d/sma_webbox.node.js | 1 + node.d/snmp.node.js | 1 + node.d/stiebeleltron.node.js | 1 + packaging/check-files | 1 + packaging/git-build | 1 + packaging/packaging.functions | 1 + packaging/release-msg | 1 + packaging/tar-compare | 1 + packaging/update-tags | 1 + plugins.d/Makefile.am | 1 + plugins.d/alarm-email.sh | 1 + plugins.d/alarm-notify.sh | 2 +- plugins.d/alarm-test.sh | 2 +- plugins.d/cgroup-name.sh | 2 +- plugins.d/cgroup-network-helper.sh | 2 +- plugins.d/charts.d.dryrun-helper.sh | 1 + plugins.d/charts.d.plugin | 1 + plugins.d/fping.plugin | 1 + plugins.d/loopsleepms.sh.inc | 1 + plugins.d/node.d.plugin | 2 +- plugins.d/python.d.plugin | 1 + plugins.d/tc-qos-helper.sh | 2 +- profile/Makefile | 1 + profile/benchmark-dictionary.c | 2 +- profile/benchmark-line-parsing.c | 1 + profile/benchmark-procfile-parser.c | 1 + profile/benchmark-registry.c | 1 + profile/benchmark-strcmp.c | 1 + profile/statsd-stress.c | 1 + profile/test-eval.c | 1 + python.d/Makefile.am | 1 + python.d/apache.chart.py | 1 + python.d/beanstalk.chart.py | 1 + python.d/bind_rndc.chart.py | 1 + python.d/ceph.chart.py | 1 + python.d/chrony.chart.py | 1 + python.d/couchdb.chart.py | 1 + python.d/cpufreq.chart.py | 1 + python.d/cpuidle.chart.py | 1 + python.d/dns_query_time.chart.py | 1 + python.d/dnsdist.chart.py | 1 + python.d/dovecot.chart.py | 1 + python.d/elasticsearch.chart.py | 1 + python.d/example.chart.py | 1 + python.d/exim.chart.py | 1 + python.d/fail2ban.chart.py | 1 + python.d/freeradius.chart.py | 1 + python.d/go_expvar.chart.py | 1 + python.d/haproxy.chart.py | 1 + python.d/hddtemp.chart.py | 1 + python.d/httpcheck.chart.py | 1 + python.d/icecast.chart.py | 1 + python.d/ipfs.chart.py | 1 + python.d/isc_dhcpd.chart.py | 1 + python.d/mdstat.chart.py | 1 + python.d/memcached.chart.py | 1 + python.d/mongodb.chart.py | 1 + python.d/mysql.chart.py | 1 + python.d/nginx.chart.py | 1 + python.d/nginx_plus.chart.py | 1 + python.d/nsd.chart.py | 1 + python.d/ntpd.chart.py | 1 + python.d/ovpn_status_log.chart.py | 1 + python.d/phpfpm.chart.py | 1 + python.d/portcheck.chart.py | 1 + python.d/postfix.chart.py | 1 + python.d/postgres.chart.py | 1 + python.d/powerdns.chart.py | 1 + python.d/puppet.chart.py | 1 + python.d/python-modules-installer.sh.in | 1 + python.d/python_modules/base.py | 1 + python.d/python_modules/bases/FrameworkServices/ExecutableService.py | 1 + python.d/python_modules/bases/FrameworkServices/LogService.py | 1 + python.d/python_modules/bases/FrameworkServices/MySQLService.py | 1 + python.d/python_modules/bases/FrameworkServices/SimpleService.py | 1 + python.d/python_modules/bases/FrameworkServices/SocketService.py | 1 + python.d/python_modules/bases/FrameworkServices/UrlService.py | 1 + python.d/python_modules/bases/charts.py | 1 + python.d/python_modules/bases/collection.py | 1 + python.d/python_modules/bases/loaders.py | 1 + python.d/python_modules/bases/loggers.py | 1 + python.d/rabbitmq.chart.py | 1 + python.d/redis.chart.py | 1 + python.d/retroshare.chart.py | 1 + python.d/samba.chart.py | 1 + python.d/sensors.chart.py | 1 + python.d/smartd_log.chart.py | 1 + python.d/spigotmc.chart.py | 1 + python.d/springboot.chart.py | 1 + python.d/squid.chart.py | 1 + python.d/tomcat.chart.py | 1 + python.d/traefik.chart.py | 1 + python.d/unbound.chart.py | 1 + python.d/varnish.chart.py | 1 + python.d/web_log.chart.py | 1 + src/adaptive_resortable_list.c | 1 + src/adaptive_resortable_list.h | 1 + src/appconfig.c | 1 + src/appconfig.h | 1 + src/apps_plugin.c | 1 + src/avl.c | 1 + src/avl.h | 1 + src/backend_prometheus.c | 1 + src/backend_prometheus.h | 1 + src/backends.c | 1 + src/backends.h | 1 + src/cgroup-network.c | 1 + src/clocks.c | 1 + src/clocks.h | 1 + src/common.c | 1 + src/common.h | 1 + src/daemon.c | 1 + src/daemon.h | 1 + src/dictionary.c | 1 + src/dictionary.h | 1 + src/eval.c | 1 + src/eval.h | 1 + src/freebsd_devstat.c | 1 + src/freebsd_getifaddrs.c | 1 + src/freebsd_getmntinfo.c | 1 + src/freebsd_ipfw.c | 1 + src/freebsd_kstat_zfs.c | 1 + src/freebsd_sysctl.c | 1 + src/freeipmi_plugin.c | 1 + src/global_statistics.c | 1 + src/global_statistics.h | 1 + src/health.c | 1 + src/health.h | 1 + src/health_config.c | 1 + src/health_json.c | 1 + src/health_log.c | 1 + src/inlined.h | 1 + src/ipc.c | 1 + src/ipc.h | 1 + src/locks.c | 1 + src/locks.h | 1 + src/log.c | 1 + src/log.h | 1 + src/macos_fw.c | 1 + src/macos_mach_smi.c | 1 + src/macos_sysctl.c | 1 + src/main.c | 1 + src/main.h | 1 + src/plugin_checks.c | 1 + src/plugin_checks.h | 1 + src/plugin_freebsd.c | 1 + src/plugin_freebsd.h | 1 + src/plugin_idlejitter.c | 1 + src/plugin_idlejitter.h | 1 + src/plugin_macos.c | 1 + src/plugin_macos.h | 1 + src/plugin_nfacct.c | 1 + src/plugin_nfacct.h | 1 + src/plugin_proc.c | 1 + src/plugin_proc.h | 1 + src/plugin_proc_diskspace.c | 1 + src/plugin_proc_diskspace.h | 1 + src/plugin_tc.c | 1 + src/plugin_tc.h | 1 + src/plugins_d.c | 1 + src/plugins_d.h | 1 + src/popen.c | 1 + src/popen.h | 1 + src/proc_diskstats.c | 1 + src/proc_interrupts.c | 1 + src/proc_loadavg.c | 1 + src/proc_meminfo.c | 1 + src/proc_net_dev.c | 1 + src/proc_net_ip_vs_stats.c | 1 + src/proc_net_netstat.c | 1 + src/proc_net_rpc_nfs.c | 1 + src/proc_net_rpc_nfsd.c | 1 + src/proc_net_sctp_snmp.c | 1 + src/proc_net_snmp.c | 1 + src/proc_net_snmp6.c | 1 + src/proc_net_sockstat.c | 1 + src/proc_net_sockstat6.c | 1 + src/proc_net_softnet_stat.c | 1 + src/proc_net_stat_conntrack.c | 1 + src/proc_net_stat_synproxy.c | 1 + src/proc_self_mountinfo.c | 1 + src/proc_self_mountinfo.h | 1 + src/proc_softirqs.c | 1 + src/proc_spl_kstat_zfs.c | 1 + src/proc_stat.c | 1 + src/proc_sys_kernel_random_entropy_avail.c | 1 + src/proc_uptime.c | 1 + src/proc_vmstat.c | 1 + src/procfile.c | 1 + src/procfile.h | 1 + src/registry.c | 1 + src/registry.h | 1 + src/registry_db.c | 1 + src/registry_init.c | 1 + src/registry_internals.c | 1 + src/registry_internals.h | 1 + src/registry_log.c | 1 + src/registry_machine.c | 1 + src/registry_machine.h | 1 + src/registry_person.c | 1 + src/registry_person.h | 1 + src/registry_url.c | 1 + src/registry_url.h | 1 + src/rrd.c | 1 + src/rrd.h | 1 + src/rrd2json.c | 1 + src/rrd2json.h | 1 + src/rrd2json_api_old.c | 1 + src/rrd2json_api_old.h | 1 + src/rrdcalc.c | 1 + src/rrdcalctemplate.c | 1 + src/rrddim.c | 1 + src/rrddimvar.c | 1 + src/rrdfamily.c | 1 + src/rrdhost.c | 1 + src/rrdpush.c | 1 + src/rrdpush.h | 1 + src/rrdset.c | 1 + src/rrdsetvar.c | 1 + src/rrdvar.c | 1 + src/signals.c | 1 + src/signals.h | 1 + src/simple_pattern.c | 1 + src/simple_pattern.h | 1 + src/socket.c | 1 + src/socket.h | 1 + src/statistical.c | 1 + src/statistical.h | 1 + src/statsd.c | 1 + src/statsd.h | 1 + src/storage_number.c | 1 + src/storage_number.h | 1 + src/sys_devices_system_edac_mc.c | 1 + src/sys_devices_system_node.c | 1 + src/sys_fs_btrfs.c | 1 + src/sys_fs_cgroup.c | 1 + src/sys_kernel_mm_ksm.c | 1 + src/threads.c | 1 + src/threads.h | 1 + src/unit_test.c | 1 + src/unit_test.h | 1 + src/url.c | 1 + src/url.h | 1 + src/web_api_old.c | 1 + src/web_api_old.h | 1 + src/web_api_v1.c | 1 + src/web_api_v1.h | 1 + src/web_buffer.c | 1 + src/web_buffer.h | 1 + src/web_buffer_svg.c | 1 + src/web_buffer_svg.h | 1 + src/web_client.c | 1 + src/web_client.h | 1 + src/web_server.c | 1 + src/web_server.h | 1 + src/zfs_common.c | 1 + src/zfs_common.h | 1 + system/Makefile.am | 1 + system/netdata-freebsd.in | 1 + system/netdata-init-d.in | 1 + system/netdata-lsb.in | 1 + system/netdata-openrc.in | 1 + system/netdata.plist.in | 1 + system/netdata.service.in | 1 + tests/Makefile.am | 1 + tests/node.d/fronius.chart.spec.js | 3 ++- tests/node.d/fronius.parse.spec.js | 3 ++- tests/node.d/fronius.process.spec.js | 3 ++- tests/node.d/fronius.validation.spec.js | 3 ++- tests/stress.sh | 1 + tests/web/easypiechart.chart.spec.js | 2 +- tests/web/easypiechart.percentage.spec.js | 2 +- web/Makefile.am | 1 + web/dashboard.css | 1 + web/dashboard.html | 1 + web/dashboard.js | 1 + web/dashboard.slate.css | 1 + web/dashboard_info.js | 1 + web/dashboard_info_custom_example.js | 1 + web/demo.html | 1 + web/demo2.html | 1 + web/demosites.html | 1 + web/demosites2.html | 1 + web/goto-host-from-alarm.html | 1 + web/index.html | 1 + web/infographic.html | 1 + web/netdata-swagger.yaml | 1 + web/refresh-badges.js | 1 + web/registry.html | 1 + web/sitemap.xml | 1 + web/tv.html | 1 + 341 files changed, 345 insertions(+), 34 deletions(-) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index bd958116c6..c7c56d74dd 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-3.0+ FROM alpine:edge as builder # Install prerequisites diff --git a/Makefile.am b/Makefile.am index f20cfc3daf..4cf12882c0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,6 @@ # # Copyright (C) 2015 Alon Bar-Lev +# SPDX-License-Identifier: GPL-3.0+ # AUTOMAKE_OPTIONS=foreign dist-bzip2 dist-xz 1.10 ACLOCAL_AMFLAGS = -I m4 diff --git a/charts.d/ap.chart.sh b/charts.d/ap.chart.sh index ce2eefc9f1..9730a80540 100644 --- a/charts.d/ap.chart.sh +++ b/charts.d/ap.chart.sh @@ -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 -# GPL v3+ # # _update_every is a special variable - it holds the number of seconds diff --git a/charts.d/apache.chart.sh b/charts.d/apache.chart.sh index a8ac080140..7b272652dd 100644 --- a/charts.d/apache.chart.sh +++ b/charts.d/apache.chart.sh @@ -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 -# GPL v3+ # # the URL to download apache status info diff --git a/charts.d/apcupsd.chart.sh b/charts.d/apcupsd.chart.sh index 9878fd36c1..9749b7193f 100644 --- a/charts.d/apcupsd.chart.sh +++ b/charts.d/apcupsd.chart.sh @@ -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 -# GPL v3+ # apcupsd_ip= diff --git a/charts.d/cpu_apps.chart.sh b/charts.d/cpu_apps.chart.sh index 8e075831a5..a624555269 100644 --- a/charts.d/cpu_apps.chart.sh +++ b/charts.d/cpu_apps.chart.sh @@ -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 -# GPL v3+ # # THIS PLUGIN IS OBSOLETE # USE apps.plugin INSTEAD diff --git a/charts.d/cpufreq.chart.sh b/charts.d/cpufreq.chart.sh index 1c41c38f26..38dff574db 100644 --- a/charts.d/cpufreq.chart.sh +++ b/charts.d/cpufreq.chart.sh @@ -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 -# GPL v3+ # # if this chart is called X.chart.sh, then all functions and global variables diff --git a/charts.d/example.chart.sh b/charts.d/example.chart.sh index ffc98712ff..32aaffd0c7 100644 --- a/charts.d/example.chart.sh +++ b/charts.d/example.chart.sh @@ -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 -# GPL v3+ # # if this chart is called X.chart.sh, then all functions and global variables diff --git a/charts.d/exim.chart.sh b/charts.d/exim.chart.sh index 4c70f2c196..9891eb0b89 100644 --- a/charts.d/exim.chart.sh +++ b/charts.d/exim.chart.sh @@ -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 -# GPL v3+ # # Contributed by @jsveiga with PR #480 diff --git a/charts.d/hddtemp.chart.sh b/charts.d/hddtemp.chart.sh index 3aada1751e..135b6abe0d 100644 --- a/charts.d/hddtemp.chart.sh +++ b/charts.d/hddtemp.chart.sh @@ -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 -# GPL v3+ # # contributed by @paulfantom with PR #511 diff --git a/charts.d/libreswan.chart.sh b/charts.d/libreswan.chart.sh index 30632e9ce2..8078d855c5 100644 --- a/charts.d/libreswan.chart.sh +++ b/charts.d/libreswan.chart.sh @@ -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 -# GPL v3+ # # _update_every is a special variable - it holds the number of seconds diff --git a/charts.d/load_average.chart.sh b/charts.d/load_average.chart.sh index 70d3aec7a2..f7e3fdee8f 100644 --- a/charts.d/load_average.chart.sh +++ b/charts.d/load_average.chart.sh @@ -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 -# GPL v3+ # load_average_update_every=5 diff --git a/charts.d/mem_apps.chart.sh b/charts.d/mem_apps.chart.sh index 3bc65fe240..511c208c98 100644 --- a/charts.d/mem_apps.chart.sh +++ b/charts.d/mem_apps.chart.sh @@ -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 -# GPL v3+ # mem_apps_apps= diff --git a/charts.d/mysql.chart.sh b/charts.d/mysql.chart.sh index 1363d01f42..f44eebfd08 100644 --- a/charts.d/mysql.chart.sh +++ b/charts.d/mysql.chart.sh @@ -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 -# GPL v3+ # # http://dev.mysql.com/doc/refman/5.0/en/server-status-variables.html diff --git a/charts.d/nginx.chart.sh b/charts.d/nginx.chart.sh index d0df460ace..07860f868c 100644 --- a/charts.d/nginx.chart.sh +++ b/charts.d/nginx.chart.sh @@ -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 -# GPL v3+ # # if this chart is called X.chart.sh, then all functions and global variables diff --git a/charts.d/nut.chart.sh b/charts.d/nut.chart.sh index b9148272e5..36eb5587b1 100644 --- a/charts.d/nut.chart.sh +++ b/charts.d/nut.chart.sh @@ -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 -# GPL v3+ # # a space separated list of UPS names diff --git a/charts.d/opensips.chart.sh b/charts.d/opensips.chart.sh index 2a0249daed..3898584599 100644 --- a/charts.d/opensips.chart.sh +++ b/charts.d/opensips.chart.sh @@ -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 -# GPL v3+ # opensips_opts="fifo get_statistics all" diff --git a/charts.d/phpfpm.chart.sh b/charts.d/phpfpm.chart.sh index a3c69b6f02..6e18822866 100644 --- a/charts.d/phpfpm.chart.sh +++ b/charts.d/phpfpm.chart.sh @@ -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 -# GPL v3+ # # Contributed by @safeie with PR #276 diff --git a/charts.d/postfix.chart.sh b/charts.d/postfix.chart.sh index 85604fcbe2..daf91ecf1e 100644 --- a/charts.d/postfix.chart.sh +++ b/charts.d/postfix.chart.sh @@ -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 -# GPL v3+ # # the postqueue command diff --git a/charts.d/sensors.chart.sh b/charts.d/sensors.chart.sh index f21248da11..4ffff6db37 100644 --- a/charts.d/sensors.chart.sh +++ b/charts.d/sensors.chart.sh @@ -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 -# GPL v3+ # # sensors docs diff --git a/charts.d/squid.chart.sh b/charts.d/squid.chart.sh index 2c19c35d59..c28f586802 100644 --- a/charts.d/squid.chart.sh +++ b/charts.d/squid.chart.sh @@ -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 -# GPL v3+ # squid_host= diff --git a/charts.d/tomcat.chart.sh b/charts.d/tomcat.chart.sh index 4ea6ae6839..b788d29b67 100644 --- a/charts.d/tomcat.chart.sh +++ b/charts.d/tomcat.chart.sh @@ -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 -# GPL v3+ # # Contributed by @jgeromero with PR #277 diff --git a/conf.d/Makefile.am b/conf.d/Makefile.am index 7dac6cd9b4..dc2865b9c4 100644 --- a/conf.d/Makefile.am +++ b/conf.d/Makefile.am @@ -1,5 +1,6 @@ # # Copyright (C) 2015 Alon Bar-Lev +# SPDX-License-Identifier: GPL-3.0+ # MAINTAINERCLEANFILES= $(srcdir)/Makefile.in diff --git a/contrib/Makefile.am b/contrib/Makefile.am index d9250179b4..431c413ede 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-3.0+ MAINTAINERCLEANFILES= $(srcdir)/Makefile.in dist_noinst_DATA = \ diff --git a/contrib/nc-backend.sh b/contrib/nc-backend.sh index aac5c20bba..eb8f82919f 100755 --- a/contrib/nc-backend.sh +++ b/contrib/nc-backend.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: GPL-3.0+ MODE="${1}" MY_PORT="${2}" diff --git a/installer/functions.sh b/installer/functions.sh index 5e18771977..ee11460fa1 100644 --- a/installer/functions.sh +++ b/installer/functions.sh @@ -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)" diff --git a/kickstart-static64.sh b/kickstart-static64.sh index 1e1b089b8c..cc58a05dea 100755 --- a/kickstart-static64.sh +++ b/kickstart-static64.sh @@ -1,4 +1,5 @@ #!/usr/bin/env sh +# SPDX-License-Identifier: GPL-3.0+ umask 022 diff --git a/kickstart.sh b/kickstart.sh index cabe0146c9..d47517dcb8 100755 --- a/kickstart.sh +++ b/kickstart.sh @@ -1,4 +1,5 @@ #!/usr/bin/env sh +# SPDX-License-Identifier: GPL-3.0+ # # Run me with: # diff --git a/makeself/Makefile.am b/makeself/Makefile.am index 1c3bc7bcea..22e2d0298f 100644 --- a/makeself/Makefile.am +++ b/makeself/Makefile.am @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-3.0+ MAINTAINERCLEANFILES= $(srcdir)/Makefile.in dist_noinst_DATA = \ diff --git a/makeself/build-x86_64-static.sh b/makeself/build-x86_64-static.sh index 3576660935..0220a27466 100755 --- a/makeself/build-x86_64-static.sh +++ b/makeself/build-x86_64-static.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: GPL-3.0+ . $(dirname "$0")/../installer/functions.sh || exit 1 diff --git a/makeself/build.sh b/makeself/build.sh index afa4f545e5..1337b72a1c 100755 --- a/makeself/build.sh +++ b/makeself/build.sh @@ -1,4 +1,5 @@ #!/usr/bin/env sh +# SPDX-License-Identifier: GPL-3.0+ # ----------------------------------------------------------------------------- # parse command line arguments diff --git a/makeself/functions.sh b/makeself/functions.sh index 839fc3226c..139738501e 100755 --- a/makeself/functions.sh +++ b/makeself/functions.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: GPL-3.0+ # ----------------------------------------------------------------------------- diff --git a/makeself/install-alpine-packages.sh b/makeself/install-alpine-packages.sh index 87cd29669d..225f1d6d20 100755 --- a/makeself/install-alpine-packages.sh +++ b/makeself/install-alpine-packages.sh @@ -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 diff --git a/makeself/install-or-update.sh b/makeself/install-or-update.sh index eed2bc3010..6ff03acc09 100755 --- a/makeself/install-or-update.sh +++ b/makeself/install-or-update.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: GPL-3.0+ . $(dirname "${0}")/functions.sh diff --git a/makeself/jobs/10-prepare-destination.install.sh b/makeself/jobs/10-prepare-destination.install.sh index 58c8c25fd6..815c48bca9 100755 --- a/makeself/jobs/10-prepare-destination.install.sh +++ b/makeself/jobs/10-prepare-destination.install.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: GPL-3.0+ . $(dirname "${0}")/../functions.sh "${@}" || exit 1 diff --git a/makeself/jobs/50-bash-4.4.18.install.sh b/makeself/jobs/50-bash-4.4.18.install.sh index 9a8d253019..9a85d3672a 100755 --- a/makeself/jobs/50-bash-4.4.18.install.sh +++ b/makeself/jobs/50-bash-4.4.18.install.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: GPL-3.0+ . $(dirname "${0}")/../functions.sh "${@}" || exit 1 diff --git a/makeself/jobs/50-curl-7.60.0.install.sh b/makeself/jobs/50-curl-7.60.0.install.sh index ad5465065e..9c720560c7 100755 --- a/makeself/jobs/50-curl-7.60.0.install.sh +++ b/makeself/jobs/50-curl-7.60.0.install.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: GPL-3.0+ . $(dirname "${0}")/../functions.sh "${@}" || exit 1 diff --git a/makeself/jobs/50-fping-4.0.install.sh b/makeself/jobs/50-fping-4.0.install.sh index 2e22ebf8d4..bb4073a27d 100755 --- a/makeself/jobs/50-fping-4.0.install.sh +++ b/makeself/jobs/50-fping-4.0.install.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: GPL-3.0+ . $(dirname "${0}")/../functions.sh "${@}" || exit 1 diff --git a/makeself/jobs/70-netdata-git.install.sh b/makeself/jobs/70-netdata-git.install.sh index fea3a88bd6..ca1143045e 100755 --- a/makeself/jobs/70-netdata-git.install.sh +++ b/makeself/jobs/70-netdata-git.install.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: GPL-3.0+ . ${NETDATA_MAKESELF_PATH}/functions.sh "${@}" || exit 1 diff --git a/makeself/jobs/99-makeself.install.sh b/makeself/jobs/99-makeself.install.sh index 00a3b2a1af..e32f19fd0b 100755 --- a/makeself/jobs/99-makeself.install.sh +++ b/makeself/jobs/99-makeself.install.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: GPL-3.0+ . $(dirname "${0}")/../functions.sh "${@}" || exit 1 diff --git a/makeself/makeself-header.sh b/makeself/makeself-header.sh index 83131a17c2..bf222f6c8e 100755 --- a/makeself/makeself-header.sh +++ b/makeself/makeself-header.sh @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-3.0+ cat << EOF > "$archname" #!/bin/sh # This script was generated using Makeself $MS_VERSION diff --git a/makeself/makeself.sh b/makeself/makeself.sh index 2ce37a24f3..39cc1aad2e 100755 --- a/makeself/makeself.sh +++ b/makeself/makeself.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: GPL-3.0+ # # Makeself version 2.3.x # by Stephane Peter diff --git a/makeself/post-installer.sh b/makeself/post-installer.sh index 10f9863b9a..fd50f0f824 100755 --- a/makeself/post-installer.sh +++ b/makeself/post-installer.sh @@ -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 diff --git a/makeself/run-all-jobs.sh b/makeself/run-all-jobs.sh index 2ad594380e..88a23ee0ab 100755 --- a/makeself/run-all-jobs.sh +++ b/makeself/run-all-jobs.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: GPL-3.0+ LC_ALL=C umask 002 diff --git a/netdata-installer.sh b/netdata-installer.sh index 08e68fffd2..5af56dda4c 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -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() { diff --git a/netdata.spec.in b/netdata.spec.in index 529dc23830..2da669c3d8 100644 --- a/netdata.spec.in +++ b/netdata.spec.in @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-3.0+ %global contentdir %{_datadir}/netdata # This is temporary and should eventually be resolved. This bypasses diff --git a/node.d/Makefile.am b/node.d/Makefile.am index 7f67faa6aa..fbffccc741 100644 --- a/node.d/Makefile.am +++ b/node.d/Makefile.am @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-3.0+ MAINTAINERCLEANFILES= $(srcdir)/Makefile.in dist_node_DATA = \ diff --git a/node.d/fronius.node.js b/node.d/fronius.node.js index fc49e5d389..53c7d89837 100644 --- a/node.d/fronius.node.js +++ b/node.d/fronius.node.js @@ -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). diff --git a/node.d/named.node.js b/node.d/named.node.js index 02c890c603..93e7ab9b9b 100644 --- a/node.d/named.node.js +++ b/node.d/named.node.js @@ -1,4 +1,5 @@ 'use strict'; +// SPDX-License-Identifier: GPL-3.0+ // collect statistics from bind (named) v9.10+ // diff --git a/node.d/node_modules/netdata.js b/node.d/node_modules/netdata.js index 4ab8308c1f..7861c9df4c 100644 --- a/node.d/node_modules/netdata.js +++ b/node.d/node_modules/netdata.js @@ -3,7 +3,7 @@ // netdata // real-time performance and health monitoring, done right! // (C) 2016 Costa Tsaousis -// GPL v3+ +// SPDX-License-Identifier: GPL-3.0+ var url = require('url'); var http = require('http'); diff --git a/node.d/sma_webbox.node.js b/node.d/sma_webbox.node.js index 3d99943d4d..c3bbf11774 100644 --- a/node.d/sma_webbox.node.js +++ b/node.d/sma_webbox.node.js @@ -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). diff --git a/node.d/snmp.node.js b/node.d/snmp.node.js index 3e7027958b..54c708e1f6 100644 --- a/node.d/snmp.node.js +++ b/node.d/snmp.node.js @@ -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 // diff --git a/node.d/stiebeleltron.node.js b/node.d/stiebeleltron.node.js index 77317f2fb0..c7b001ac6c 100644 --- a/node.d/stiebeleltron.node.js +++ b/node.d/stiebeleltron.node.js @@ -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. diff --git a/packaging/check-files b/packaging/check-files index 347de5a40c..7d7175b200 100755 --- a/packaging/check-files +++ b/packaging/check-files @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-3.0+ # # check-files diff --git a/packaging/git-build b/packaging/git-build index 56ae21664a..612d7cd02e 100755 --- a/packaging/git-build +++ b/packaging/git-build @@ -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. diff --git a/packaging/packaging.functions b/packaging/packaging.functions index c18c8fe184..bb3d5592b0 100644 --- a/packaging/packaging.functions +++ b/packaging/packaging.functions @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-3.0+ packaging_check_init() { version_check= diff --git a/packaging/release-msg b/packaging/release-msg index 01ec381489..92678da374 100755 --- a/packaging/release-msg +++ b/packaging/release-msg @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-3.0+ # # release-msg diff --git a/packaging/tar-compare b/packaging/tar-compare index 9084316db0..27c52f6d65 100755 --- a/packaging/tar-compare +++ b/packaging/tar-compare @@ -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, diff --git a/packaging/update-tags b/packaging/update-tags index f2d641b3b9..aa11eb2395 100755 --- a/packaging/update-tags +++ b/packaging/update-tags @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-3.0+ # # update-tags diff --git a/plugins.d/Makefile.am b/plugins.d/Makefile.am index 41e6d5366f..1085d053af 100644 --- a/plugins.d/Makefile.am +++ b/plugins.d/Makefile.am @@ -1,5 +1,6 @@ # # Copyright (C) 2015 Alon Bar-Lev +# SPDX-License-Identifier: GPL-3.0+ # MAINTAINERCLEANFILES= $(srcdir)/Makefile.in diff --git a/plugins.d/alarm-email.sh b/plugins.d/alarm-email.sh index df083c6559..78791c0af6 100755 --- a/plugins.d/alarm-email.sh +++ b/plugins.d/alarm-email.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: GPL-3.0+ # OBSOLETE - REPLACED WITH # alarm-notify.sh diff --git a/plugins.d/alarm-notify.sh b/plugins.d/alarm-notify.sh index cdacfeed12..65e68f8b5e 100755 --- a/plugins.d/alarm-notify.sh +++ b/plugins.d/alarm-notify.sh @@ -3,7 +3,7 @@ # netdata # real-time performance and health monitoring, done right! # (C) 2017 Costa Tsaousis -# GPL v3+ +# SPDX-License-Identifier: GPL-3.0+ # # Script to send alarm notifications for netdata # diff --git a/plugins.d/alarm-test.sh b/plugins.d/alarm-test.sh index 9df5361a90..07ab900b33 100755 --- a/plugins.d/alarm-test.sh +++ b/plugins.d/alarm-test.sh @@ -3,7 +3,7 @@ # netdata # real-time performance and health monitoring, done right! # (C) 2017 Costa Tsaousis -# GPL v3+ +# SPDX-License-Identifier: GPL-3.0+ # # Script to test alarm notifications for netdata diff --git a/plugins.d/cgroup-name.sh b/plugins.d/cgroup-name.sh index 3c8ad7205f..c450cf960a 100755 --- a/plugins.d/cgroup-name.sh +++ b/plugins.d/cgroup-name.sh @@ -3,7 +3,7 @@ # netdata # real-time performance and health monitoring, done right! # (C) 2016 Costa Tsaousis -# GPL v3+ +# SPDX-License-Identifier: GPL-3.0+ # # Script to find a better name for cgroups # diff --git a/plugins.d/cgroup-network-helper.sh b/plugins.d/cgroup-network-helper.sh index f07059986a..a6a2482691 100755 --- a/plugins.d/cgroup-network-helper.sh +++ b/plugins.d/cgroup-network-helper.sh @@ -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. diff --git a/plugins.d/charts.d.dryrun-helper.sh b/plugins.d/charts.d.dryrun-helper.sh index 8142f9882b..1068c8844a 100755 --- a/plugins.d/charts.d.dryrun-helper.sh +++ b/plugins.d/charts.d.dryrun-helper.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: GPL-3.0+ # will stop the script for any error set -e diff --git a/plugins.d/charts.d.plugin b/plugins.d/charts.d.plugin index 9bd03fd478..544f863215 100755 --- a/plugins.d/charts.d.plugin +++ b/plugins.d/charts.d.plugin @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: GPL-3.0+ # netdata # real-time performance and health monitoring, done right! diff --git a/plugins.d/fping.plugin b/plugins.d/fping.plugin index f38a8dde09..7ea62d16c8 100755 --- a/plugins.d/fping.plugin +++ b/plugins.d/fping.plugin @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: GPL-3.0+ # netdata # real-time performance and health monitoring, done right! diff --git a/plugins.d/loopsleepms.sh.inc b/plugins.d/loopsleepms.sh.inc index f167fe4bee..7a611ea5b1 100644 --- a/plugins.d/loopsleepms.sh.inc +++ b/plugins.d/loopsleepms.sh.inc @@ -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" ] diff --git a/plugins.d/node.d.plugin b/plugins.d/node.d.plugin index b16203912d..0ccbea8305 100755 --- a/plugins.d/node.d.plugin +++ b/plugins.d/node.d.plugin @@ -11,7 +11,7 @@ // netdata // real-time performance and health monitoring, done right! // (C) 2017 Costa Tsaousis -// GPL v3+ +// SPDX-License-Identifier: GPL-3.0+ // -------------------------------------------------------------------------------------------------------------------- diff --git a/plugins.d/python.d.plugin b/plugins.d/python.d.plugin index c9b260164d..3b67163ef5 100755 --- a/plugins.d/python.d.plugin +++ b/plugins.d/python.d.plugin @@ -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 diff --git a/plugins.d/tc-qos-helper.sh b/plugins.d/tc-qos-helper.sh index cddd5127e0..5df602f6f8 100755 --- a/plugins.d/tc-qos-helper.sh +++ b/plugins.d/tc-qos-helper.sh @@ -3,7 +3,7 @@ # netdata # real-time performance and health monitoring, done right! # (C) 2017 Costa Tsaousis -# 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 diff --git a/profile/Makefile b/profile/Makefile index 0011d9fd4f..d0eda1a322 100644 --- a/profile/Makefile +++ b/profile/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-3.0+ COMMON_CFLAGS=-I ../src/ -I ../ PROFILE_CFLAGS=-O1 -ggdb -Wall -Wextra diff --git a/profile/benchmark-dictionary.c b/profile/benchmark-dictionary.c index 8ec3ae0318..d920243036 100644 --- a/profile/benchmark-dictionary.c +++ b/profile/benchmark-dictionary.c @@ -1,4 +1,4 @@ - +/* SPDX-License-Identifier: GPL-3.0+ */ /* * 1. build netdata (as normally) * 2. cd profile/ diff --git a/profile/benchmark-line-parsing.c b/profile/benchmark-line-parsing.c index 75b3c7066f..d1cc0fde28 100644 --- a/profile/benchmark-line-parsing.c +++ b/profile/benchmark-line-parsing.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0+ */ #include #include #include diff --git a/profile/benchmark-procfile-parser.c b/profile/benchmark-procfile-parser.c index b2c6d6cd27..2ec23265dd 100644 --- a/profile/benchmark-procfile-parser.c +++ b/profile/benchmark-procfile-parser.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0+ */ #include "config.h" #include "common.h" #include "clocks.h" diff --git a/profile/benchmark-registry.c b/profile/benchmark-registry.c index fd771a7a78..efab5850f0 100755 --- a/profile/benchmark-registry.c +++ b/profile/benchmark-registry.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0+ */ /* * compile with diff --git a/profile/benchmark-strcmp.c b/profile/benchmark-strcmp.c index 75b3c7066f..d1cc0fde28 100644 --- a/profile/benchmark-strcmp.c +++ b/profile/benchmark-strcmp.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0+ */ #include #include #include diff --git a/profile/statsd-stress.c b/profile/statsd-stress.c index 05a7f5de3c..977a92d39a 100644 --- a/profile/statsd-stress.c +++ b/profile/statsd-stress.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0+ */ #include #include #include diff --git a/profile/test-eval.c b/profile/test-eval.c index 7602690f82..680acc7250 100644 --- a/profile/test-eval.c +++ b/profile/test-eval.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0+ */ /* * 1. build netdata (as normally) diff --git a/python.d/Makefile.am b/python.d/Makefile.am index c1068685d7..3fed304d22 100644 --- a/python.d/Makefile.am +++ b/python.d/Makefile.am @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-3.0+ MAINTAINERCLEANFILES= $(srcdir)/Makefile.in CLEANFILES = \ python-modules-installer.sh \ diff --git a/python.d/apache.chart.py b/python.d/apache.chart.py index 789b3c0990..bc2808681e 100644 --- a/python.d/apache.chart.py +++ b/python.d/apache.chart.py @@ -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 diff --git a/python.d/beanstalk.chart.py b/python.d/beanstalk.chart.py index 8880afdd98..6c204872ed 100644 --- a/python.d/beanstalk.chart.py +++ b/python.d/beanstalk.chart.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # Description: beanstalk netdata python.d module # Author: l2isbad +# SPDX-License-Identifier: GPL-3.0+ try: import beanstalkc diff --git a/python.d/bind_rndc.chart.py b/python.d/bind_rndc.chart.py index cc96659b21..6336254e76 100644 --- a/python.d/bind_rndc.chart.py +++ b/python.d/bind_rndc.chart.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # Description: bind rndc netdata python.d module # Author: l2isbad +# SPDX-License-Identifier: GPL-3.0+ import os diff --git a/python.d/ceph.chart.py b/python.d/ceph.chart.py index fb78397d02..c87a009258 100644 --- a/python.d/ceph.chart.py +++ b/python.d/ceph.chart.py @@ -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 diff --git a/python.d/chrony.chart.py b/python.d/chrony.chart.py index 8f331fa507..93b332c227 100644 --- a/python.d/chrony.chart.py +++ b/python.d/chrony.chart.py @@ -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 diff --git a/python.d/couchdb.chart.py b/python.d/couchdb.chart.py index 558bac587e..11d6e4d9e7 100644 --- a/python.d/couchdb.chart.py +++ b/python.d/couchdb.chart.py @@ -2,6 +2,7 @@ # Description: couchdb netdata python.d module # Author: wohali # Thanks to l2isbad for good examples :) +# SPDX-License-Identifier: GPL-3.0+ from collections import namedtuple, defaultdict from json import loads diff --git a/python.d/cpufreq.chart.py b/python.d/cpufreq.chart.py index 3abde736ca..bf989bdc91 100644 --- a/python.d/cpufreq.chart.py +++ b/python.d/cpufreq.chart.py @@ -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 diff --git a/python.d/cpuidle.chart.py b/python.d/cpuidle.chart.py index d14c6aaf3d..d33174d81f 100644 --- a/python.d/cpuidle.chart.py +++ b/python.d/cpuidle.chart.py @@ -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 diff --git a/python.d/dns_query_time.chart.py b/python.d/dns_query_time.chart.py index 9a794a9c94..ae54f1006e 100644 --- a/python.d/dns_query_time.chart.py +++ b/python.d/dns_query_time.chart.py @@ -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 diff --git a/python.d/dnsdist.chart.py b/python.d/dnsdist.chart.py index b40112cbc1..74e2970483 100644 --- a/python.d/dnsdist.chart.py +++ b/python.d/dnsdist.chart.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# SPDX-License-Identifier: GPL-3.0+ from json import loads from bases.FrameworkServices.UrlService import UrlService diff --git a/python.d/dovecot.chart.py b/python.d/dovecot.chart.py index 5689f2ec9d..1a6153357b 100644 --- a/python.d/dovecot.chart.py +++ b/python.d/dovecot.chart.py @@ -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 diff --git a/python.d/elasticsearch.chart.py b/python.d/elasticsearch.chart.py index 9c2c589443..7421e1b94d 100644 --- a/python.d/elasticsearch.chart.py +++ b/python.d/elasticsearch.chart.py @@ -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 diff --git a/python.d/example.chart.py b/python.d/example.chart.py index ee7ff62fc6..36f9d9be8d 100644 --- a/python.d/example.chart.py +++ b/python.d/example.chart.py @@ -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 diff --git a/python.d/exim.chart.py b/python.d/exim.chart.py index 2e5b924ba0..dad1dada7b 100644 --- a/python.d/exim.chart.py +++ b/python.d/exim.chart.py @@ -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 diff --git a/python.d/fail2ban.chart.py b/python.d/fail2ban.chart.py index 895833f879..9971286060 100644 --- a/python.d/fail2ban.chart.py +++ b/python.d/fail2ban.chart.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # Description: fail2ban log netdata python.d module # Author: l2isbad +# SPDX-License-Identifier: GPL-3.0+ import bisect diff --git a/python.d/freeradius.chart.py b/python.d/freeradius.chart.py index 3acc58d1a5..c0150f8f99 100644 --- a/python.d/freeradius.chart.py +++ b/python.d/freeradius.chart.py @@ -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 diff --git a/python.d/go_expvar.chart.py b/python.d/go_expvar.chart.py index cbd462570e..1c1e29ce14 100644 --- a/python.d/go_expvar.chart.py +++ b/python.d/go_expvar.chart.py @@ -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 diff --git a/python.d/haproxy.chart.py b/python.d/haproxy.chart.py index 3061f5ef27..e5e502daad 100644 --- a/python.d/haproxy.chart.py +++ b/python.d/haproxy.chart.py @@ -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 diff --git a/python.d/hddtemp.chart.py b/python.d/hddtemp.chart.py index 577cab09fe..1b8104d0ae 100644 --- a/python.d/hddtemp.chart.py +++ b/python.d/hddtemp.chart.py @@ -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 diff --git a/python.d/httpcheck.chart.py b/python.d/httpcheck.chart.py index b0177ff909..94d3d29eec 100644 --- a/python.d/httpcheck.chart.py +++ b/python.d/httpcheck.chart.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # Description: http check netdata python.d module # Original Author: ccremer (github.com/ccremer) +# SPDX-License-Identifier: GPL-3.0+ import urllib3 import re diff --git a/python.d/icecast.chart.py b/python.d/icecast.chart.py index 792b99f3f6..35b82f8abb 100644 --- a/python.d/icecast.chart.py +++ b/python.d/icecast.chart.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # Description: icecast netdata python.d module # Author: Ilya Mashchenko (l2isbad) +# SPDX-License-Identifier: GPL-3.0+ import json diff --git a/python.d/ipfs.chart.py b/python.d/ipfs.chart.py index 506177e49f..bd553b42c6 100644 --- a/python.d/ipfs.chart.py +++ b/python.d/ipfs.chart.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # Description: IPFS netdata python.d module # Authors: Pawel Krupa (paulfantom), davidak +# SPDX-License-Identifier: GPL-3.0+ import json diff --git a/python.d/isc_dhcpd.chart.py b/python.d/isc_dhcpd.chart.py index eb6338452f..24ea13b577 100644 --- a/python.d/isc_dhcpd.chart.py +++ b/python.d/isc_dhcpd.chart.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # Description: isc dhcpd lease netdata python.d module # Author: l2isbad +# SPDX-License-Identifier: GPL-3.0+ import os import re diff --git a/python.d/mdstat.chart.py b/python.d/mdstat.chart.py index 35ba9058f0..756f0b94df 100644 --- a/python.d/mdstat.chart.py +++ b/python.d/mdstat.chart.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # Description: mdstat netdata python.d module # Author: l2isbad +# SPDX-License-Identifier: GPL-3.0+ import re diff --git a/python.d/memcached.chart.py b/python.d/memcached.chart.py index 4f7adfa233..4e1112f82d 100644 --- a/python.d/memcached.chart.py +++ b/python.d/memcached.chart.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # Description: memcached netdata python.d module # Author: Pawel Krupa (paulfantom) +# SPDX-License-Identifier: GPL-3.0+ from bases.FrameworkServices.SocketService import SocketService diff --git a/python.d/mongodb.chart.py b/python.d/mongodb.chart.py index fd46d3820f..e81bed84d9 100644 --- a/python.d/mongodb.chart.py +++ b/python.d/mongodb.chart.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # Description: mongodb netdata python.d module # Author: l2isbad +# SPDX-License-Identifier: GPL-3.0+ from copy import deepcopy from datetime import datetime diff --git a/python.d/mysql.chart.py b/python.d/mysql.chart.py index 4c7058b264..df2932aaa6 100644 --- a/python.d/mysql.chart.py +++ b/python.d/mysql.chart.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # Description: MySQL netdata python.d module # Auth