[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'
Florian Forster
octo at verplant.org
Thu Dec 22 06:54:51 CET 2016
.gitignore | 31 +-
.travis.yml | 5 +-
ChangeLog | 70 ++
Makefile.am | 1968 ++++++++++++++++++++++++++++++++++++-
README | 8 +
bindings/Makefile.am | 69 --
bindings/java/Makefile.am | 53 -
configure.ac | 218 ++--
m4/.gitignore | 1 +
proto/Makefile.am | 1 -
src/Makefile.am | 1523 ----------------------------
src/collectd.conf.pod | 33 +-
src/daemon/Makefile.am | 105 --
src/daemon/utils_random.c | 4 +-
src/daemon/utils_random.h | 4 +-
src/email.c | 6 +-
src/intel_rdt.c | 20 +-
src/libcollectdclient/Makefile.am | 20 -
src/liboconfig/Makefile.am | 8 -
src/netlink.c | 40 +-
src/processes.c | 2 +-
src/target_set.c | 7 +-
src/tcpconns.c | 80 +-
src/utils_cmd_getthreshold.c | 67 +-
src/virt.c | 65 +-
src/write_prometheus.c | 4 +-
src/write_tsdb.c | 109 +-
version-gen.sh | 2 +-
28 files changed, 2487 insertions(+), 2036 deletions(-)
New commits:
commit 7269bf71e30f0a70a9eb954f6b0a6fe1b10eb6e5
Merge: 43a4db3 94aeb39
Author: Florian Forster <octo at collectd.org>
Date: Thu Dec 22 06:52:43 2016 +0100
Merge remote-tracking branch 'github/pr/2059'
commit 43a4db3b3209f497a0ba408aebf8aee385c6262d
Merge: 2959477 c5cfdb0
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Wed Dec 21 18:56:48 2016 +0100
Merge pull request #2085 from rubenk/non-recursive-make
Switch to non-recursive make
commit c5cfdb069b8c43ea7478ff0fb8c617da52325937
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Mon Dec 5 22:20:15 2016 +0100
Switch to non-recursive make
Recursive make caused various dependency issues, mainly with linked
libraries or objects from other directories. Switch to a single Makefile
to solve this. An addded benefit is that this should speed up the build.
It also opens up the possibility to improve on our directory layout.
commit 295947714f23935be771c98f1071564d5567d33a
Merge: d2bd6ba e60fc45
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Sat Dec 17 18:56:47 2016 +0100
Merge branch 'collectd-5.7'
commit e60fc4513bd3107cd001447377f4ce89e1585ccb
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Sat Dec 17 17:44:47 2016 +0100
Fix parallel build
Fixes #2110
commit d2bd6ba8ae2dac6f13040eca06c765e598cf2e3a
Merge: c1b5ab5 e8c2ddd
Author: Florian Forster <ff at octo.it>
Date: Sat Dec 17 11:39:08 2016 +0100
Auto-Merge pull request #2053 from nuclearcat/master
Automatically merged due to "Automerge" label
commit e8c2ddd8dd3019c3741489418f4f183870cfde2a
Author: Denys Fedoryshchenko <nuclearcat at nuclearcat.com>
Date: Wed Nov 30 04:07:40 2016 +0000
Suggestions
commit 85cfd5f85fd7ddd4395f9cd1bacd7a228b252a74
Author: Denys Fedoryshchenko <nuclearcat at nuclearcat.com>
Date: Tue Nov 29 00:28:30 2016 +0000
More appropriate metric
commit 1f308ce7f49a2cef83b70ade2072f391b7ae261e
Author: Denys Fedoryshchenko <nuclearcat at nuclearcat.com>
Date: Tue Nov 29 00:24:56 2016 +0000
Removing double reference
commit a9e98d673b55124c3ffeff2761a8884fa343c59b
Author: Denys Fedoryshchenko <nuclearcat at nuclearcat.com>
Date: Thu Nov 24 01:20:25 2016 +0000
Adding support of drops value monitoring
commit 7e9462557c1fab6d9c72e58ac5f25952288b883e
Merge: e400750 55c1bf4
Author: Florian Forster <ff at octo.it>
Date: Fri Dec 16 19:39:06 2016 +0100
Auto-Merge pull request #2111 from octo/cid/157643
Automatically merged due to "Automerge" label
commit e40075040c17ab9826fab713bcf8ee4518b0778a
Author: Florian Forster <octo at collectd.org>
Date: Fri Dec 16 18:42:13 2016 +0100
src/utils_cmd_getthreshold.c: Fix formatting.
commit 55c1bf4105459ff39906f108aa8ad3f99cc0504b
Author: Florian Forster <octo at collectd.org>
Date: Fri Dec 16 18:38:34 2016 +0100
set target: Avoid casting negative int to size_t.
CID: 157643
commit e37293e6675221d07b2fbda7751aae0b23c6cb6b
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Thu Dec 15 23:22:59 2016 +0100
update README to mention write_prometheus & support lib
commit a9a54042102f9be27b2d1f7e1fc4658064686667
Merge: ed23f1a 872f146
Author: Florian Forster <ff at octo.it>
Date: Thu Dec 15 11:44:10 2016 +0100
Auto-Merge pull request #2096 from rubenk/target-set-plug-leak
Automatically merged due to "Automerge" label
commit ed23f1abff83bc7ae34b6d89d70b5a88f8da7432
Merge: 82f94c7 7f24a5e
Author: Florian Forster <ff at octo.it>
Date: Thu Dec 15 11:27:40 2016 +0100
Auto-Merge pull request #2092 from rubenk/prometheus-plug-leak
Automatically merged due to "Automerge" label
commit c1b5ab55e129112e18c8c77f24bc8231747147d6
Merge: 27f2019 c502181
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Tue Dec 13 16:36:26 2016 +0100
Merge pull request #2100 from mojaves/pr-virt-disconnect-on-inst0
virt plugin: handle disconnect on inst#0
commit c5021819bb8d330bb3976bda5399abacb32ccb9f
Author: Francesco Romani <fromani at redhat.com>
Date: Tue Dec 13 16:34:24 2016 +0100
virt plugin: Use lv_disconnect on shutdown
Avoiding duplication of the code and let's use
the new lv_disconnect() helper in the lv_shutdown() callback.
Signed-off-by: Francesco Romani <fromani at redhat.com>
commit d11224e04dde09a1964835162f6915acc7aec934
Author: Francesco Romani <fromani at redhat.com>
Date: Mon Dec 12 12:05:11 2016 +0100
virt plugin: handle disconnect on inst#0
Only one virt reader instance should take care of connection
handling (connection/disconnection) to avoid races and plugin
data corruption, potentially crashing collectd.
This bug cannot be triggered with instances=1 (default settings).
Signed-off-by: Francesco Romani <fromani at redhat.com>
commit 27f2019ddab0d4e93a8c99ee87065fe6a836056e
Merge: 9922385 5903e6d
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Tue Dec 13 16:18:42 2016 +0100
Merge pull request #2101 from mojaves/pr-virt-open-on-init
virt plugin: Open connection on init()
commit 5903e6d5414b1a9580a63c29afff1788cec6c91e
Author: Francesco Romani <fromani at redhat.com>
Date: Mon Dec 12 16:07:25 2016 +0100
virt plugin: fail init with no libvirt connection
Even though we handle disconnection and reconnection
in the read() callback, we expect the libvirt connection
to be available most of the time, including the init()
stage.
Thus, let's fail init() if the connection is not available.
Signed-off-by: Francesco Romani <fromani at redhat.com>
commit b2541eb463165a5973fedb5d51eab8288fcd7ebc
Author: Francesco Romani <fromani at redhat.com>
Date: Mon Dec 12 12:03:43 2016 +0100
virt plugin: Open connection on init()
If we use more than one reader instance, we can spot errors like
this in the system logs:
Dec 12 09:59:24 $HOST collectd[19338]: reading number of
domains: invalid connection pointer in virConnectNumOfDomains
Dec 12 09:59:24 benji.rokugan.lan collectd[19338]: read-function of
plugin `virt-2' failed. Will suspend it for 20.000 seconds.
This causes unnecessary delay in the sampling of libvirt.
The reason for this is just one instance (always #0) takes care
of establishing the libvirt connection.
But this could be done safely in the plugin init callback: according
to doc, this function is called at least once before all the read
instances.
Signed-off-by: Francesco Romani <fromani at redhat.com>
commit 99223854596c75bf1e1ecac0e1b53198a1329b12
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Mon Dec 12 12:34:25 2016 +0100
Align dots in ./configure output
commit 82f94c7cd55852aab1f1bd5116eaabf1dfb65c98
Author: Florian Forster <octo at collectd.org>
Date: Mon Dec 12 08:57:37 2016 +0100
Bump version to 5.7.0; Update ChangeLog.
commit 7d8948f9d931d8acb3da197c5317a9f382657cd7
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Sun Dec 11 16:15:01 2016 +0100
utils_random.{c,h}: fix build warning
utils_random.c:53:8: warning: no previous prototype for function 'cdrand_d' [-Wmissing-prototypes]
double cdrand_d() {
^
./utils_random.h:32:8: note: this declaration is not a prototype; add 'void' to make it a prototype for a zero-parameter function
double cdrand_d();
^
void
utils_random.c:64:10: warning: no previous prototype for function 'cdrand_u' [-Wmissing-prototypes]
uint32_t cdrand_u() {
^
./utils_random.h:40:10: note: this declaration is not a prototype; add 'void' to make it a prototype for a zero-parameter function
uint32_t cdrand_u();
^
void
2 warnings generated.
commit b5b9a852bb358e55036cd560aac8870e6a436bac
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Sun Dec 11 15:04:15 2016 +0100
configure.ac: fixup some style issues
I missed these in 865f2eb3
commit a86a24f96efb2a940b12f0c066c8ed591864ba10
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Sun Dec 11 14:34:26 2016 +0100
configure.ac: fix indentation
commit 9745ec058e034cff437b5b8425e9fa0319b64b7a
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Fri Dec 9 19:38:11 2016 +0100
Travis: install libmicrohttpd
For the write_prometheus plugin
commit 36d8ddfe576877b3170e575b175f01a6d3914bfc
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Fri Dec 9 19:31:58 2016 +0100
Travis: install libgps
commit 53fe2607f003d7592027beee3e6c9ed238066900
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Fri Dec 9 18:52:20 2016 +0100
Travis: install lua libs
commit c16a39e78325d0f670aa69d1574f25424b4174e5
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Fri Dec 9 18:34:42 2016 +0100
travis.yml: remove unrecognized option
configure: WARNING: unrecognized options: --with-python
commit 872f146a794e43a3a4969927d55e22be8f2c8ee1
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Fri Dec 9 18:15:29 2016 +0100
target_set: plug leak on error
CID 157645
commit 91590b1ae7c43a3c251407c947a973cbf58d7ba4
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Fri Dec 9 17:20:43 2016 +0100
email plugin: initialize structure
CID 38125
commit 7d38f289053cc7907e18026519fb37b29f3a45a4
Merge: 73e4935 756a144
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Fri Dec 9 17:00:25 2016 +0100
Merge pull request #2093 from mojaves/pr-virt-domain-tag-fix
virt plugin: fix error path in lv_domain_get_tag
commit 756a1440c886c0571374187add8bc244a8cfb59a
Author: Francesco Romani <fromani at redhat.com>
Date: Fri Dec 9 16:22:03 2016 +0100
virt plugin: fix error path in lv_domain_get_tag
Document the return value and fix the error path of
lv_domain_get_tag
Signed-off-by: Francesco Romani <fromani at redhat.com>
commit 7f24a5e470b7cac59fcdb56df27021ffb122ba1f
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Fri Dec 9 15:41:18 2016 +0100
write_prometheus: plug a small leak
Found by scan-build
commit 73e49352aa8c5e5ec47918dba93b508b481fe431
Merge: 464c896 ef3c388
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Thu Dec 8 22:16:49 2016 +0100
Merge pull request #2089 from maryamtahhan/upstream_intelRdt
intel_rdt: fix plugin based on new version of libpqos
commit 464c89681dae3bdf9b30470469161da6ac5aeb37
Merge: c6baff4 f2530ff
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Thu Dec 8 22:13:29 2016 +0100
Merge pull request #2088 from landryb/fix/2061
Fix processes and tcpconns plugins on OpenBSD
commit ef3c388980a1f84840db8acc8b8ef480cebe3f3e
Author: Korynkevych, RomanX <romanx.korynkevych at intel.com>
Date: Tue Dec 6 12:13:37 2016 +0000
intel_rdt: reset pqos monitoring groups on initialization.
Monitoring groups fail to start when intel_rdt plugin has unpredictably
stopped without unsubscribing from the pqos library. Reset pqos monitoring
groups registers after pqos library is initialized.
Change-Id: I231ba44e531deb8791f34730e7572bfe0cbd825d
Signed-off-by: Korynkevych, RomanX <romanx.korynkevych at intel.com>
commit 2c3aa395cf8f5779341685f99377774c145d6f38
Author: Korynkevych, RomanX <romanx.korynkevych at intel.com>
Date: Wed Nov 23 13:33:44 2016 +0000
rdtmon: Use pqos callback to redirect pqos library messages to collectd.
Change-Id: I142e8940878926adf7752eabbad34a6c37cca1d4
Signed-off-by: Korynkevych, RomanX <romanx.korynkevych at intel.com>
commit f2530ffcb0fb19c69215878c8ffe363d2d01ed50
Author: Jeremie Courreges-Anglas <jca at openbsd.org>
Date: Thu Dec 8 10:57:53 2016 +0100
Fix tcpconns plugin on OpenBSD by using kvm_getfiles() interface (#2061)
Starting with OpenBSD 6.1, access to kvm device is restricted by default,
and tcpconns plugin used the kvm_nlist() interface which needs specific
privileges to access kernel memory. kvm_getfiles() doesn't need these
privileges, and is the interface used by netstat(1) to list connections.
commit b088d09dfda9b42c5c31b12a1b77101dffdf8c5a
Author: Jeremie Courreges-Anglas <jca at openbsd.org>
Date: Thu Dec 8 10:55:04 2016 +0100
Use kvm_openfiles with KVM_NO_FILES on OpenBSD (#2061)
Starting with OpenBSD 6.1, access to kvm device is restricted by default,
and processes plugin doesnt need specific privileges on it.
Fixes 'permission denied' error messages with the kern.allowkmem sysctl
defaulting to 0.
commit 94aeb39cab64a16b34ca81653e06b10224828ad3
Author: Florian Forster <octo at collectd.org>
Date: Tue Nov 29 09:22:51 2016 +0100
write_tsdb plugin: Simplify the ResolveInterval configuration.
The defaults have been set to the more reasonable 1*interval.
commit 3ecf7e10afa607f13f0e9b52e17b151dba1ddc52
Author: Florian Forster <octo at collectd.org>
Date: Tue Nov 29 09:15:48 2016 +0100
write_tsdb plugin: Use cdrand_range().
Also rename the global variables to match the config options.
commit d903c891496de59ae432df3a5bf085c09c883021
Author: Florian Forster <octo at collectd.org>
Date: Tue Nov 29 08:56:42 2016 +0100
collectd.conf(5): s/TSDN/TSDB/
commit 8cc1b61d20ad521faf7ffe1cd4670685374c9c0e
Author: Florian Forster <octo at collectd.org>
Date: Mon Nov 28 11:02:53 2016 +0100
write_tsdb plugin: Rename options to "Resolve{Interval,Jitter}".
commit 269ee450433e15290dc50724acba62f2c58d6c36
Author: Florian Forster <octo at collectd.org>
Date: Mon Nov 28 10:47:23 2016 +0100
write_tsdb plugin: Coding style fixes.
* Rename ->sock_info to ->ai.
* Use cf_utils_get_cdtime() to parse time options.
* Optimize away the use_dnsrandomttl global variable.
commit b8bcabba154bec2e9f33f830cc588b4e57841699
Author: Yves Mettier <ymettier at free.fr>
Date: Mon Oct 26 16:59:45 2015 +0000
write_tsdb : Add a random TTL before querying the DNS again
commit f14a69e3e2b7ba0c3be2c28a9c4f0e07d2599df7
Author: Yves Mettier <ymettier at free.fr>
Date: Wed Oct 14 17:25:13 2015 +0100
Bugfix on write_tsdb configuration parser
commit 259ebe3df647b554f52ba9d49cd018b9698297bd
Author: Yves Mettier <ymettier at free.fr>
Date: Wed Oct 14 15:32:56 2015 +0100
Prevent DNS flood when TSDB is not available
More information about the collectd-changes
mailing list