]>
git.ipfire.org Git - thirdparty/collectd.git/log
kkepka [Fri, 28 Feb 2020 08:57:20 +0000 (09:57 +0100)]
Merge pull request #3380 from mrunge/self_approval
Remove section about self-approve patches
Dagobert Michelsen [Thu, 27 Feb 2020 21:05:50 +0000 (22:05 +0100)]
Merge pull request #2635 from wrp/grep
Cleanup version-gen.sh
Dagobert Michelsen [Thu, 27 Feb 2020 15:00:29 +0000 (16:00 +0100)]
Merge pull request #3231 from clear-code/match-regex-accept-all-meta-types
match_regex: Accept all data types of meta data
Dagobert Michelsen [Thu, 27 Feb 2020 14:57:08 +0000 (15:57 +0100)]
Merge pull request #2528 from elratt0r/nut_power_output
nut: add readout of power
Dagobert Michelsen [Thu, 27 Feb 2020 13:48:05 +0000 (14:48 +0100)]
Merge pull request #3386 from dago/yellowpattern-error-warning-messages
Yellowpattern error warning messages
Dagobert Michelsen [Thu, 27 Feb 2020 10:22:12 +0000 (11:22 +0100)]
Merge pull request #3162 from carlospeon/master
write_influxdb_udp: new plugin to send values to InfluxDB using line protocol via udp.
Carlos Peon Costa [Tue, 21 May 2019 13:20:27 +0000 (15:20 +0200)]
New plugin to send values to InfluxDB using line protocol via udp.
Each plugin is sent as a measurement with a time precision of miliseconds
while plugin instance, type and type instance are sent as tags.
Dagobert Michelsen [Wed, 26 Feb 2020 11:41:19 +0000 (12:41 +0100)]
Merge pull request #2762 from mkauf/set_thread_name
Set the thread name before detaching the thread
Dagobert Michelsen [Wed, 26 Feb 2020 10:42:53 +0000 (11:42 +0100)]
Apply format.sh on plugin.c
Dagobert Michelsen [Wed, 26 Feb 2020 10:40:31 +0000 (11:40 +0100)]
Merge pull request #3385 from dago/fix-max-plugin-name-constant
Fix constant for max plugin name length introduced in #1034
Dagobert Michelsen [Wed, 26 Feb 2020 10:26:05 +0000 (11:26 +0100)]
Merge pull request #3083 from guillemj/pu/perl-robust-unixsock
Make the perl Unixsock module robust against socket errors and disconnects
Dagobert Michelsen [Wed, 26 Feb 2020 10:01:45 +0000 (11:01 +0100)]
Merge pull request #3190 from maclomhair/batteryfix
battery plugin: read linux sysfs charge files
Dagobert Michelsen [Wed, 26 Feb 2020 09:55:33 +0000 (10:55 +0100)]
Merge pull request #3191 from ashie/network-ipaddress-metadata-
2019062501
network plugin: Add a new metadata "network:ip_address"
Takuro Ashie [Wed, 26 Feb 2020 09:33:40 +0000 (18:33 +0900)]
network plugin: Add a new metadata "network:ip_address"
Although the telemetry data already have the "host" identifier, it
can be determined by clients. This additional metadata will help you
to detect spoofing at server side.
It will also help you to filter the data by sender's address.
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Dagobert Michelsen [Tue, 25 Feb 2020 15:11:55 +0000 (16:11 +0100)]
Fix error/warning messages to contain more information
Dagobert Michelsen [Tue, 25 Feb 2020 12:36:16 +0000 (13:36 +0100)]
Fix constant for max plugin name length
Dagobert Michelsen [Tue, 25 Feb 2020 11:58:10 +0000 (12:58 +0100)]
Merge pull request #3131 from zuckschwerdt/fix-apache
Fix apache plugin BusyWorkers/IdleWorkers update
Christian W. Zuckschwerdt [Thu, 28 Mar 2019 13:46:12 +0000 (13:46 +0000)]
Fix apache BusyWorkers/IdleWorkers
Dagobert Michelsen [Tue, 25 Feb 2020 10:23:54 +0000 (11:23 +0100)]
Merge pull request #3204 from pticon/master
UBI plugin: collect some stats about the UBIFS
Dagobert Michelsen [Tue, 25 Feb 2020 10:13:59 +0000 (11:13 +0100)]
Merge pull request #3187 from ometol/master
ipstats plugin: Count incoming, outgoing, forwarded packets (new plugin)
Dagobert Michelsen [Tue, 25 Feb 2020 10:07:46 +0000 (11:07 +0100)]
Merge branch 'master' into master
Dagobert Michelsen [Tue, 25 Feb 2020 09:37:25 +0000 (10:37 +0100)]
Merge pull request #3244 from yousong/droprate-range
types.db: fix ping_droprate range spec
Dagobert Michelsen [Tue, 25 Feb 2020 08:11:32 +0000 (09:11 +0100)]
Merge pull request #1034 from manuelluis/mlsr/autoload_match_target
Autoload matches and targets in the same way of plugins.
Dagobert Michelsen [Mon, 24 Feb 2020 13:38:14 +0000 (14:38 +0100)]
Merge pull request #3274 from htg1/upstream_dcpmm
dcpmm plugin
Dagobert Michelsen [Mon, 24 Feb 2020 13:24:13 +0000 (14:24 +0100)]
Merge pull request #3273 from reshmapattan/upstream_dpdk_telemetry
dpdk_telemetry plugin: add plugin for DPDK metrics via DPDK Telemetry library
Matthias Runge [Mon, 24 Feb 2020 07:58:11 +0000 (08:58 +0100)]
Merge pull request #3378 from dago/issue3253
Reorder conditions so that on Linux the Linux-specific code is execut…
Matthias Runge [Mon, 24 Feb 2020 07:56:54 +0000 (08:56 +0100)]
Merge pull request #3382 from dago/fix-libkstat-condition
Fix condition on libkstat existence
Dagobert Michelsen [Sun, 23 Feb 2020 20:38:31 +0000 (21:38 +0100)]
Fix condition on libkstat existence
Kamil Wiatrowski [Fri, 21 Feb 2020 17:10:29 +0000 (18:10 +0100)]
Merge pull request #3303 from asafkahlon/add-buddyinfo-plugin
buddyinfo plugin: new plugin for memory fragmentation info
Dagobert Michelsen [Fri, 21 Feb 2020 15:56:16 +0000 (16:56 +0100)]
Merge pull request #3377 from dago/efuss-netbsd-nfs
Fix of "Implement the NFS plugin for NetBSD #3333"
Dagobert Michelsen [Fri, 21 Feb 2020 15:18:55 +0000 (16:18 +0100)]
Warn user on unimplemented NFS stat requests on NetBSD
Matthias Runge [Wed, 19 Feb 2020 10:42:58 +0000 (11:42 +0100)]
Merge pull request #3379 from dago/efuss-netbsd-disk
Fix of "Native (sysctl-based) disk plugin implementation for NetBSD #3334"
Matthias Runge [Wed, 19 Feb 2020 10:41:35 +0000 (11:41 +0100)]
Merge pull request #3376 from dago/efuss-fix-3313
Efuss fix 3313
Matthias Runge [Wed, 19 Feb 2020 08:47:08 +0000 (09:47 +0100)]
Remove section about self-approve patches
We moved away from that model and every commit should go
through a review.
Dagobert Michelsen [Tue, 18 Feb 2020 16:32:53 +0000 (17:32 +0100)]
clang-format on src/disk.c
Edgar Fuß [Fri, 15 Nov 2019 18:11:42 +0000 (19:11 +0100)]
Address some clang-format issues
Remove some white space, re-order #include's.
clang-format would also like to re-format some code I didn't modify (changing indentation of /* #endif ... */ comments and normalize the line wrapping on two disk_submit() calls into a form I find harder to understand.
Edgar Fuß [Fri, 15 Nov 2019 17:57:38 +0000 (18:57 +0100)]
Fix stupid merging typo
Use #if KERNEL_xxx, not #ifdef.
Edgar Fuß [Thu, 31 Oct 2019 18:09:37 +0000 (19:09 +0100)]
Native (sysctl) NetBSD disk plugin implementation
Natively implement the disk plugin on NetBSD using sysctl().
Based on prior work by Håvard Eidnes, <he@NetBSD.org>.
Edgar Fuß [Thu, 31 Oct 2019 17:23:36 +0000 (18:23 +0100)]
Revert accidental commit to master branch
Edgar Fuß [Thu, 31 Oct 2019 16:57:48 +0000 (17:57 +0100)]
Implement NFS plugin for NetBSD
Dagobert Michelsen [Tue, 18 Feb 2020 16:19:12 +0000 (17:19 +0100)]
Reorder conditions so that on Linux the Linux-specific code is executed instead of the more generic code for getifaddrs()
Edgar Fuß [Tue, 29 Oct 2019 18:01:33 +0000 (19:01 +0100)]
Avoid $< (implied source) in non-inference rules
Spell out input files in the collectd.grpc.pb.cc, collectd.pb.cc and types.pb.cc targets instead of using $<, which may only be defined for inference rules in non-GNU (but POSIX-compilent) versions of make.
Dagobert Michelsen [Tue, 18 Feb 2020 15:56:21 +0000 (16:56 +0100)]
Apply clang-format to src/nfs.c
Dagobert Michelsen [Tue, 18 Feb 2020 15:13:35 +0000 (16:13 +0100)]
Merge pull request #3265 from n2yen/write-http-curl-stats
Allow cURL Statistics option in write-http plugin
Marco van Tol [Mon, 10 Feb 2020 19:48:13 +0000 (20:48 +0100)]
Remove unneeded warning
Matthias Runge [Thu, 6 Feb 2020 09:59:27 +0000 (10:59 +0100)]
Merge pull request #3339 from jkohen/patch-1
Expose meta_data_toc function in utils_cache.
Matthias Runge [Thu, 6 Feb 2020 09:57:01 +0000 (10:57 +0100)]
Merge pull request #3342 from zebity/master
Restrict use of sys/systl to BSD variants in alignment with gclib deprecation on Linux
Matthias Runge [Tue, 7 Jan 2020 13:53:17 +0000 (14:53 +0100)]
Merge pull request #3359 from Stackdriver/igorpeshansky-upstream-read_text_file_contents
Factor out read_text_file_contents to ensure that data read from text files is a valid C string.
Matthias Runge [Tue, 7 Jan 2020 07:52:41 +0000 (08:52 +0100)]
Merge pull request #3350 from qingling128/master
Fix unreachable clause where both tmp_plugin and tmp_plugin_instance are non-empty.
Ling Huang [Mon, 16 Dec 2019 21:35:03 +0000 (16:35 -0500)]
cosmetic changes.
Ling Huang [Wed, 27 Nov 2019 21:32:39 +0000 (16:32 -0500)]
Fix unreachable clause where both tmp_plugin and tmp_plugin_instance are non-empty.
Igor Peshansky [Thu, 19 Dec 2019 17:12:14 +0000 (12:12 -0500)]
Factor out read_text_file_contents to ensure that data read from text files is a valid C string.
TG, Hari [Wed, 18 Dec 2019 22:30:14 +0000 (14:30 -0800)]
Updated a few metrics names and descriptions to be more intuitive.
Signed-off-by: TG, Hari <hari.tg@intel.com>
Matthias Runge [Tue, 17 Dec 2019 14:35:57 +0000 (15:35 +0100)]
Merge pull request #3353 from mrunge/master
Remove grpc from Mac builds for now
Matthias Runge [Tue, 17 Dec 2019 14:35:33 +0000 (15:35 +0100)]
Merge pull request #3352 from ryan-mccabe/leak-fixes
Leak fixes
Matthias Runge [Tue, 17 Dec 2019 11:53:53 +0000 (12:53 +0100)]
Remove grpc from Mac builds for now
Matthias Runge [Mon, 9 Dec 2019 21:01:49 +0000 (22:01 +0100)]
Merge pull request #3344 from Self-Perfection/patch-2
Fix linking with Python 3.8
Nelson [Thu, 5 Dec 2019 18:01:22 +0000 (10:01 -0800)]
updates based on review comments
Ryan McCabe [Wed, 4 Dec 2019 15:33:55 +0000 (10:33 -0500)]
network: Add missing freeaddrinfo on error path.
Add a missing freeaddrinfo on an error path to fix a memory leak
in the network code.
Changelog: network: Fix memory leak.
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
Ryan McCabe [Wed, 4 Dec 2019 15:32:15 +0000 (10:32 -0500)]
amqp1: Fix leaks on error paths
Fix a few memory leaks on error paths in the amqp1 plugin.
ChangeLog: amqp1 plugin: Fix leaks on error paths.
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
Ruben Kerkhof [Mon, 25 Nov 2019 09:27:32 +0000 (10:27 +0100)]
Merge pull request #3349 from rpv-tomsk/master
daemon: Fix regression caused by #3217
Pavel Rochnyack [Sat, 23 Nov 2019 14:54:50 +0000 (21:54 +0700)]
daemon: Fix regression caused by #3217
Empty <Plugin> section can be used to autoload plugin,
which does not supports configuration callback.
Marco van Tol [Thu, 21 Nov 2019 20:39:47 +0000 (21:39 +0100)]
Rewrite to use only one config array
Alexander Meshcheryakov [Sat, 16 Nov 2019 14:53:32 +0000 (17:53 +0300)]
Fix linking with Python 3.8
Since Python 3.8 --embed flag needs to be provided to python-config to embed python.
Reference: https://bugs.python.org/issue36721
This was partially addressed in #3170 but only fixed building and not linking with python.
Edgar Fuß [Fri, 15 Nov 2019 18:45:28 +0000 (19:45 +0100)]
Address some clang-format issues
Re-format some lines to appease clang-format.
clang-format also wants to change the indentation of some #endif comments I didn't introduce and re-order #include's into a form that /does not compile/.
Zebity Spring [Sat, 9 Nov 2019 16:29:16 +0000 (03:29 +1100)]
Format BSD constrained sysctl usage
Zebity Spring [Sat, 9 Nov 2019 12:41:38 +0000 (23:41 +1100)]
Avoid using sysctl on linux & allow for OpenBSD case
Zebity Spring [Sat, 9 Nov 2019 12:05:22 +0000 (23:05 +1100)]
Avoid using sysctl on linux
Zebity Spring [Sat, 9 Nov 2019 11:43:36 +0000 (22:43 +1100)]
Avoid using sysctl on linux
Zebity Spring [Sat, 9 Nov 2019 11:31:23 +0000 (22:31 +1100)]
Avoid using sysctl on linux
Zebity Spring [Sat, 9 Nov 2019 11:26:39 +0000 (22:26 +1100)]
Avoid using sysctl on linux
Zebity Spring [Sat, 9 Nov 2019 01:42:54 +0000 (12:42 +1100)]
Merge branch 'master' of https://github.com/collectd/collectd
Zebity Spring [Sat, 9 Nov 2019 01:39:07 +0000 (12:39 +1100)]
Avoid using sysctl on linux
Zebity Spring [Fri, 8 Nov 2019 13:04:07 +0000 (00:04 +1100)]
Avoid using sysctl on linux
Ruben Kerkhof [Thu, 7 Nov 2019 20:00:40 +0000 (21:00 +0100)]
Merge pull request #3340 from ryan-mccabe/pr2365-turbostat-parsing
turbostat: Fix parsing warnings
Ryan McCabe [Thu, 7 Nov 2019 18:58:37 +0000 (13:58 -0500)]
turbostat: Fix parsing warnings
Fix warnings generated by the turbostat plugin due to trailing
characters while picking out the first number in a range.
ChangeLog: turbostat plugin: Fix parsing warnings.
PR: #2365
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
Javier Kohen [Wed, 6 Nov 2019 19:50:48 +0000 (14:50 -0500)]
Reformatted code.
Javier Kohen [Wed, 6 Nov 2019 19:47:46 +0000 (16:47 -0300)]
Update utils_cache.h
Javier Kohen [Wed, 6 Nov 2019 19:46:17 +0000 (16:46 -0300)]
Expose meta_data_toc function.
This is useful for traversing all the meta data elements in a value list, since there is no element to look up the metadata object.
For example usage, see https://github.com/Stackdriver/collectd/pull/166
Matthias Runge [Sat, 2 Nov 2019 21:12:06 +0000 (22:12 +0100)]
Merge pull request #3269 from bplessis/feature-add-snmpbulk
snmp plugin: add support for SNMP Bulk Transfer
Matthias Runge [Sat, 2 Nov 2019 21:01:07 +0000 (22:01 +0100)]
Merge pull request #3283 from zebity/master
Consistent returns from ssnprintf/__ssnprintf wrappers, add ssnprintf2 for optional error handling.
Matthias Runge [Sat, 2 Nov 2019 09:24:20 +0000 (10:24 +0100)]
Merge pull request #3331 from jkohen/patch-1
Create internal library for utils_llist
Edgar Fuß [Thu, 31 Oct 2019 17:26:45 +0000 (18:26 +0100)]
Implement NFS plugin for NetBSD
Edgar Fuß [Thu, 31 Oct 2019 17:23:36 +0000 (18:23 +0100)]
Revert accidental commit to master branch
Edgar Fuß [Thu, 31 Oct 2019 16:57:48 +0000 (17:57 +0100)]
Implement NFS plugin for NetBSD
Asaf Kahlon [Wed, 30 Oct 2019 18:13:58 +0000 (20:13 +0200)]
buddyinfo: remove redundant sfree
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Javier Kohen [Wed, 30 Oct 2019 16:36:14 +0000 (13:36 -0300)]
Create internal library for utils_llist
We plan to use this library in the write_gcm plugin in the https://github.com/Stackdriver/collectd fork. I hope it's OK with you to make this change upstream before we are ready to contribute the Stackdriver plug-in into this codebase.
Ruben Kerkhof [Wed, 30 Oct 2019 08:20:50 +0000 (09:20 +0100)]
Merge pull request #3328 from efuss/fix-3312
Fix libupsclient detection
Ruben Kerkhof [Wed, 30 Oct 2019 08:19:19 +0000 (09:19 +0100)]
Merge pull request #3329 from efuss/fix-3311
Fix libtokyotyrant handling
Asaf Kahlon [Tue, 29 Oct 2019 20:18:51 +0000 (22:18 +0200)]
buddyinfo: fix review comments
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Edgar Fuß [Tue, 29 Oct 2019 17:53:27 +0000 (18:53 +0100)]
Fix libtokyotyrant handling
In libtokyotyrant handling, set with_libtokyotyrant_ldflags to "-L$withval/lib", not "-L$withval/include".
Edgar Fuß [Tue, 29 Oct 2019 17:47:55 +0000 (18:47 +0100)]
Fix libupsclient detection
Check libupsclient $withval for being a regular file in addition to being executable/searchable. The value may be a directory name.
Ruben Kerkhof [Tue, 29 Oct 2019 14:44:50 +0000 (15:44 +0100)]
Merge pull request #3310 from yousong/mem
network,exec: fix memory issue
Ruben Kerkhof [Tue, 29 Oct 2019 14:43:42 +0000 (15:43 +0100)]
Merge pull request #3325 from ffontaine/master
configure.ac: fix protobuf/util/time_util.h detection
Fabrice Fontaine [Tue, 29 Oct 2019 09:25:07 +0000 (10:25 +0100)]
configure.ac: fix protobuf/util/time_util.h detection
Add -std=c++11 when checking gor protobuf/util/time_util.h otherwise
test will fail on:
configure:104495: checking google/protobuf/util/time_util.h usability
configure:104495: /home/br-user/autobuild/run/instance-2/output/host/bin/mips-linux-gnu-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -pthread conftest.cpp >&5
In file included from /home/br-user/autobuild/run/instance-2/output/host/opt/ext-toolchain/mips-linux-gnu/include/c++/5.3.0/atomic:38:0,
from /home/br-user/autobuild/run/instance-2/output/host/mips-buildroot-linux-gnu/sysroot/usr/include/google/protobuf/io/coded_stream.h:113,
from /home/br-user/autobuild/run/instance-2/output/host/mips-buildroot-linux-gnu/sysroot/usr/include/google/protobuf/duration.pb.h:23,
from /home/br-user/autobuild/run/instance-2/output/host/mips-buildroot-linux-gnu/sysroot/usr/include/google/protobuf/util/time_util.h:52,
from conftest.cpp:188:
/home/br-user/autobuild/run/instance-2/output/host/opt/ext-toolchain/mips-linux-gnu/include/c++/5.3.0/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
Fixes:
- http://autobuild.buildroot.net/results/
0d486edaf4c51b6438adeec61fe2c55099862acb
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Asaf Kahlon [Mon, 28 Oct 2019 20:45:36 +0000 (22:45 +0200)]
buddyinfo: fix review comments
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Zebity Spring [Thu, 24 Oct 2019 11:08:22 +0000 (22:08 +1100)]
Fix conflict from remove of ssnprintf2 and align utils/common/common.h
Ruben Kerkhof [Wed, 23 Oct 2019 11:26:51 +0000 (13:26 +0200)]
Merge pull request #3309 from rubenk/remove-lvm-plugin
Remove LVM plugin
collectd bot [Tue, 22 Oct 2019 14:28:38 +0000 (16:28 +0200)]
Auto-Merge pull request #3138 from mkauf/fix_exec_environment
Automatically merged due to "Automerge" label
Ruben Kerkhof [Wed, 16 Oct 2019 11:18:12 +0000 (13:18 +0200)]
Merge pull request #3317 from mrunge/check_fixes
Merge check fixes from 5.9 branch to master