]>
git.ipfire.org Git - thirdparty/collectd.git/log
Barbara Kaczorowska [Fri, 28 Aug 2020 10:20:26 +0000 (10:20 +0000)]
Fix memory leak in curl plugin
This commit will add the patch that fixes the memory leak in curl
plugin. Before when AddressFamily field was set in config file in
variable af was pointer to value of this field and it wasn't freed at
the end. Now this bug is fixed.
Matthias Runge [Fri, 24 Jul 2020 10:03:32 +0000 (12:03 +0200)]
Merge pull request #3514 from bzed/write_prometheus_lmhttpd
w_prometheus: fix libmicrohttpd api change
Bernd Zeimetz [Fri, 24 Jul 2020 09:29:14 +0000 (11:29 +0200)]
Run contrib/format.sh src/write_prometheus.c.
Fixing things I did not touch.
Bernd Zeimetz [Fri, 24 Jul 2020 08:57:28 +0000 (10:57 +0200)]
w_prometheus: fix libmicrohttpd api change
Closes #3511
sranga4 [Wed, 22 Jul 2020 19:37:30 +0000 (12:37 -0700)]
Merge pull request #3510 from p-zak/nvme_smart
NVMe extension for SMART plugin
Matthias Runge [Wed, 22 Jul 2020 14:27:22 +0000 (16:27 +0200)]
Merge pull request #3512 from pvxe/libmicrohttpd_fix
capabilities: conditionalize mhd callback return type
Pawel Zak [Wed, 22 Jul 2020 10:31:22 +0000 (12:31 +0200)]
Fixed CI issues and addressed comments from review
sstrehla [Tue, 21 Jul 2020 08:03:26 +0000 (10:03 +0200)]
Fixed typo in collectd.conf.pod
Replaced strncasecmp with strcasecmp in smart.c
sstrehla [Mon, 20 Jul 2020 10:52:48 +0000 (12:52 +0200)]
Added explicit cast to unsigned long before pointer cast in ioctl mock function
sstrehla [Sat, 18 Jul 2020 21:26:39 +0000 (23:26 +0200)]
va_list struct is now properly closed
fixed typos in smart_test.c
Replaced magic number of intel vid with define
Replaced magic string with const char* with better defined name
grammar fixes in smart.c
Jose M. Guisado Gomez [Sat, 18 Jul 2020 10:44:19 +0000 (12:44 +0200)]
capabilities.c: run format.sh
Jose M. Guisado Gomez [Sat, 18 Jul 2020 10:25:21 +0000 (12:25 +0200)]
capabilities: conditionalize mhd callback return type
libmicrohttpd introduced an API change with respect its callback
return types. Now its signature says that an enum must be returned
instead of an int. This causes collectd to not finish compilation
because of the compiler warnings this arised (in addition to -Werror)
Add conditional compiling so systems with microhttpd >=0.9.71 can
compile collectd with -Werror
Fixes #3511
Pawel Zak [Fri, 17 Jul 2020 13:48:02 +0000 (15:48 +0200)]
NVMe SMART - makefile adjustments
Pawel Zak [Fri, 17 Jul 2020 13:48:02 +0000 (15:48 +0200)]
NVMe SMART - makefile adjustments
Kotlowski, Bartlomiej [Fri, 3 Jul 2020 10:15:59 +0000 (03:15 -0700)]
Add NVMe attributies to SMART plugin
Matthias Runge [Fri, 17 Jul 2020 07:12:55 +0000 (09:12 +0200)]
Merge pull request #3502 from efuss/netbsd-netstat_udp
Add a (currently NetBSD-only) netstat_udp plugin
sranga4 [Fri, 10 Jul 2020 19:13:06 +0000 (12:13 -0700)]
Merge pull request #3503 from paweltox/upstream_intel_rdt_fix_PSWD6320
intel_rdt: correct value metrics reported by the plugin
Edgar Fuß [Thu, 9 Jul 2020 14:32:03 +0000 (16:32 +0200)]
clang-format
Re-order #includes for the sake of appeasing clang-format. Fortunately, it still compiles that way.
Matthias Runge [Thu, 9 Jul 2020 11:42:42 +0000 (13:42 +0200)]
Merge pull request #3486 from feckert/pr/
20200624 -ubi
ubi: fix data source type
Matthias Runge [Thu, 9 Jul 2020 11:37:53 +0000 (13:37 +0200)]
Merge pull request #3501 from efuss/netbsd-swap
Add swap plugin implementation for NetBSD
Edgar Fuß [Thu, 9 Jul 2020 11:01:30 +0000 (13:01 +0200)]
clang-format
Apply clang-format.
Edgar Fuß [Thu, 9 Jul 2020 10:56:47 +0000 (12:56 +0200)]
clang-format
Partly apply clang-format. Makes part of the code harder to read. Do not re-order sys/types.h
Edgar Fuß [Wed, 8 Jul 2020 17:23:26 +0000 (19:23 +0200)]
Implement swap plugin on NetBSD
Extend swap plugin support for NetBSD, and add per-swap-device reporting for HAVE_SWAPCTL_THREE_ARGS.
Written by Håvard Eidnes <he@NetBSD.org>
Edgar Fuß [Wed, 8 Jul 2020 16:52:18 +0000 (18:52 +0200)]
Add a (NetBSD-only) netstat_udp plugin
Add a plugin which reports the UDP summary statistics.
Useful for busyish DNS name servers.
Written by Håvard Eidnes <he@NetBSD.org>
Edgar Fuß [Wed, 8 Jul 2020 16:26:16 +0000 (18:26 +0200)]
Add BUILD_NETBSD definition
Edgar Fuß [Wed, 8 Jul 2020 16:22:13 +0000 (18:22 +0200)]
Merge pull request #1 from collectd/master
Sync with upstream
bkotlowski [Mon, 6 Jul 2020 12:09:35 +0000 (12:09 +0000)]
Add missing licences headers and fix overflown integer during conversion
Kotlowski, Bartlomiej [Fri, 3 Jul 2020 10:15:59 +0000 (03:15 -0700)]
Add NVMe attributies to SMART plugin
Florian Eckert [Wed, 24 Jun 2020 11:02:15 +0000 (13:02 +0200)]
ubi: correct code style with contrib/format.sh
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Wed, 24 Jun 2020 10:56:33 +0000 (12:56 +0200)]
ubi: fix data source type
Currently the values are stored in the ubi plugin as data source type
`counter`. But this makes no sense, because the values change very slowly
and I don't want to know the rate of change. It is better to store the
value as data source type `gauge`. Then I can see the current value.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
sranga4 [Fri, 19 Jun 2020 19:12:44 +0000 (12:12 -0700)]
Merge pull request #3479 from mhumpula/processes
processes: increase reading buffer for /proc/stat
Michal Humpula [Thu, 11 Jun 2020 14:37:09 +0000 (16:37 +0200)]
processes: increase reading buffer for /proc/stat
If machine has high number of CPUs or interrupts or both, the /proc/stat
can easily grow over current buffer size 4kB. On my current machine (64
cores, ~300 interrupts) the /proc/stat has 12kB of data. And since the
`procs_running` line is after the interrupts it is never read.
Increasing the size to 64KB so it will accommodate even heavier machines.
Kamil Wiatrowski [Wed, 17 Jun 2020 10:44:44 +0000 (12:44 +0200)]
Merge pull request #3480 from kwiatrox/intel_pmu_fix
intel_pmu: fix crash after specifying incorrect HardwareEvents
Kamil Wiatrowski [Thu, 26 Mar 2020 13:34:10 +0000 (14:34 +0100)]
intel_pmu plugin: fix crash after specifying incorrect HardwareEvents names
If HardwareEvents group consisted of events that can't be resolved collectd
could crash.
Change-Id: Ia66732037161bce5fbff73dc635eb40fd1ad8eed
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
Michał Aleksiński [Wed, 6 May 2020 10:27:55 +0000 (10:27 +0000)]
intel_rdt: correct value metrics reported by the plugin
Matthias Runge [Sat, 6 Jun 2020 17:37:17 +0000 (19:37 +0200)]
Merge pull request #3263 from duckfez/http_output_fix
write_http no longer writes http response to stdout
Florian Forster [Wed, 20 May 2020 07:46:25 +0000 (09:46 +0200)]
Merge pull request #3463 from miesi/master
mysql: report slave_io_running and slave_sql_running
Thomas Mieslinger [Wed, 20 May 2020 06:13:13 +0000 (08:13 +0200)]
run format.sh to comply with coding style
Thomas Mieslinger [Wed, 20 May 2020 06:09:02 +0000 (08:09 +0200)]
replace long if else with compact code
Thomas Mieslinger [Wed, 20 May 2020 06:07:12 +0000 (08:07 +0200)]
replace slave_running with generic bool
Thomas Mieslinger [Wed, 13 May 2020 19:30:20 +0000 (21:30 +0200)]
mysql: report slave status running io and sql
Florian Forster [Tue, 12 May 2020 07:04:47 +0000 (09:04 +0200)]
Merge pull request #3458 from octo/man-types-db
types.db(5): Improve wording and document conventions.
Florian Forster [Mon, 11 May 2020 07:36:28 +0000 (09:36 +0200)]
types.db(5): Improve wording and document conventions.
Matthias Runge [Wed, 6 May 2020 17:01:31 +0000 (19:01 +0200)]
Merge pull request #3398 from mbakhoff/sensu-source
write_sensu: add the IncludeSource option
Matthias Runge [Wed, 6 May 2020 16:55:41 +0000 (18:55 +0200)]
Merge pull request #3443 from octo/sensors-man
collectd.conf(5): Document the format expected by "sensors"' ignore list.
Florian Forster [Sat, 2 May 2020 20:31:37 +0000 (22:31 +0200)]
Merge pull request #3452 from maciejsszmigiero/mqtt-reconnect-fix
MQTT: Resubscribe after a reconnect
Maciej S. Szmigiero [Fri, 1 May 2020 19:08:17 +0000 (21:08 +0200)]
Fix code style issues in src/mqtt.c
This is an automated code style fix generated by running
"contrib/format.sh src/mqtt.c".
No functional change intended.
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Maciej S. Szmigiero [Fri, 1 May 2020 18:15:20 +0000 (20:15 +0200)]
MQTT: Resubscribe after a reconnect
After losing our connection to a MQTT broker our subscription will be gone,
too, so we need to subscribe to our topic once again after reconnecting,
otherwise collectd will not receive any MQTT messages anymore.
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Florian Forster [Tue, 28 Apr 2020 16:47:28 +0000 (18:47 +0200)]
Merge pull request #3450 from hightea/zk-add-mntr-fields
Zookeeper - Add missing 3.5 mntr fields
Théophane Charbonnier [Tue, 28 Apr 2020 13:04:42 +0000 (15:04 +0200)]
Zookeeper - Add missing 3.5 mntr fields
Add missing zk_last_proposal_size , zk_min_proposal_size and zk_max_proposal_size mntr fields (available since zk 3.5) to handled fields
Florian Forster [Tue, 28 Apr 2020 10:57:23 +0000 (12:57 +0200)]
Merge pull request #3446 from F4-Group/handle-full-stat-name
Add target in category for varnish 6
Charly Koza [Mon, 27 Apr 2020 09:57:39 +0000 (11:57 +0200)]
Add backend name in vbe stat
Charly Koza [Fri, 24 Apr 2020 09:14:04 +0000 (11:14 +0200)]
Split stat key on dot, extract target for SMA/SMF and use it in category
For example, this adds v0 and Transient for SMA, allowing to monitor
cache size properly
Fixes https://github.com/collectd/collectd/issues/2206
Florian Forster [Mon, 27 Apr 2020 15:44:16 +0000 (17:44 +0200)]
Merge pull request #3445 from F4-Group/varnish6-support
Add varnish 6 support
Charly Koza [Thu, 23 Apr 2020 14:34:16 +0000 (16:34 +0200)]
Restrict workers stats to versions before v6
Ismael Puerto [Sat, 28 Dec 2019 00:19:31 +0000 (01:19 +0100)]
Update counters for MSE 3.0 - varnish plugin
Ismael Puerto [Fri, 27 Dec 2019 23:43:57 +0000 (00:43 +0100)]
Add counter for vmod-goto, only for Varnish Plus 6
Ismael Puerto [Mon, 23 Dec 2019 00:18:57 +0000 (00:18 +0000)]
VSM only apply for Varnish 4 or 5
Charly Koza [Thu, 23 Apr 2020 14:02:48 +0000 (16:02 +0200)]
Add varnish 6 new values
Extracted from https://github.com/collectd/collectd/pull/3360
Florian Forster [Mon, 27 Apr 2020 11:22:45 +0000 (13:22 +0200)]
Merge pull request #3410 from mbakhoff/amqp-failover
amqp: allow multiple hosts for failover
Märt Bakhoff [Mon, 27 Apr 2020 09:22:04 +0000 (12:22 +0300)]
amqp: improve example conf
Florian Forster [Sun, 26 Apr 2020 19:59:14 +0000 (21:59 +0200)]
Merge pull request #3441 from maciejsszmigiero/disk-plugin-udev-rule
Provide an udev rule with ID_SERIAL based, disk plugin usable ID attribute.
Charly Koza [Thu, 23 Apr 2020 14:00:24 +0000 (16:00 +0200)]
Update conf files
Charly Koza [Thu, 23 Apr 2020 13:52:00 +0000 (15:52 +0200)]
Add varnish 6 support
Matthias Runge [Thu, 23 Apr 2020 06:22:24 +0000 (08:22 +0200)]
Merge pull request #2730 from viulian/master
adding mosquitto_loop after mosquitto_publish, otherwise qos=1 messag…
Florian Forster [Thu, 23 Apr 2020 05:42:50 +0000 (07:42 +0200)]
collectd.conf(5): Document the format expected by "sensors"' ignore list.
This question recently came up on the mailing list.
Maciej S. Szmigiero [Sun, 19 Apr 2020 15:57:07 +0000 (17:57 +0200)]
Provide an udev rule with ID_SERIAL based, disk plugin usable ID attribute
Disk plugin UdevNameAttr option is very useful for making sure that the
same disk always ends in the same RRD file no matter which particular
device node it ends being assigned by the OS.
However, using the most fitting ID_SERIAL udev attribute for this purpose
results in data about the whole disk and each partition being mixed
together incorrectly, since this attribute has exactly the same value for
the whole disk device node and its particular partition nodes.
Let's introduce an ID_COLLECTD attribute instead which differentiates
between the whole disk and its particular partitions in a new udev rule
file provided in "contrib" directory.
To warn users about the issue let's also add a relevant note to the
UdevNameAttr option description.
Based on Stewart Adam's workaround from
https://github.com/collectd/collectd/issues/823
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Maciej S. Szmigiero [Sun, 19 Apr 2020 14:34:13 +0000 (16:34 +0200)]
Code files don't need execute permission
Some .c files had execute permission bit set needlessly.
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Matthias Runge [Wed, 15 Apr 2020 08:31:31 +0000 (10:31 +0200)]
Merge pull request #3439 from ffontaine/master
src/dpdk_telemetry.c: fix build on musl
Fabrice Fontaine [Tue, 14 Apr 2020 12:49:19 +0000 (14:49 +0200)]
src/dpdk_telemetry.c: fix build on musl
Include unistd.h instead of sys/unistd.h to fix the following build
failure on musl:
src/dpdk_telemetry.c:43:10: fatal error: sys/unistd.h: No such file or directory
#include <sys/unistd.h>
^~~~~~~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/
aafb8c72f147fefc7a988c45e4dc17de48b07a95
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Dagobert Michelsen [Thu, 9 Apr 2020 14:30:49 +0000 (16:30 +0200)]
Merge pull request #2841 from elfiesmelfie/feat_mdevents
New plugin to read RAID events
Matthias Runge [Thu, 9 Apr 2020 13:31:16 +0000 (15:31 +0200)]
Merge pull request #3432 from ryan-mccabe/master
amqp1: Add options to limit send queue length
Duane Waddle [Sun, 5 Apr 2020 16:18:12 +0000 (11:18 -0500)]
clang-format
Duane Waddle [Sun, 5 Apr 2020 16:12:32 +0000 (11:12 -0500)]
write_http: improved logging of server response
Ryan McCabe [Mon, 23 Mar 2020 19:49:35 +0000 (15:49 -0400)]
amqp1: Add option to limit internal send queue length
ChangeLog: amqp1 plugin: Add option to limit internal send queue length.
Add a config option to control the internal plugin send queue
length: SendQueueLimit
If SendQueueLimit is set to an integer greater than 0, the send queue
in the amqp1 plugin will be constrained to that number of entries to
avoid unbounded memory use in the case that there is no amqp1
connection. If a new message is queued when the queue has reached
maximum length, the oldest message in the queue will be discarded.
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
Matthias Runge [Tue, 24 Mar 2020 14:21:15 +0000 (15:21 +0100)]
Merge pull request #3433 from collectd/collectd-5.9
Fix memory leak in write_riemann
Duane Waddle [Mon, 23 Mar 2020 01:25:58 +0000 (20:25 -0500)]
Merge branch 'http_output_fix' into http_fix_2
Duane Waddle [Sat, 21 Mar 2020 23:04:48 +0000 (18:04 -0500)]
Merge pull request #1 from collectd/master
Pull in upstream master
Pavel Rochnyak [Thu, 19 Mar 2020 11:25:08 +0000 (18:25 +0700)]
Merge pull request #3425 from rpv-tomsk/openvpn
openvpn plugin: Fix parsing empty fields
Pavel Rochnyak [Wed, 18 Mar 2020 20:41:56 +0000 (03:41 +0700)]
Merge pull request #3427 from kkepka/update-master-with-5.11-changelog
Update master with 5.11 changelog
Kepka, Krzysztof [Wed, 18 Mar 2020 16:59:18 +0000 (17:59 +0100)]
Merge remote-tracking branch 'community/collectd-5.11' into update-master-with-5.11-changelog
kkepka [Wed, 18 Mar 2020 13:04:13 +0000 (14:04 +0100)]
Merge pull request #3421 from mrunge/collectd-5.11
Prepare collectd-5.11 release
Matthias Runge [Tue, 17 Mar 2020 10:35:12 +0000 (11:35 +0100)]
Replace all github handles with real names
where possible and get the ChangeLog file in sync with
the wiki. Also add persons to the AUTHORS file, when not already
included.
Pavel Rochnyack [Tue, 17 Mar 2020 12:28:23 +0000 (19:28 +0700)]
openvpn plugin: Fix parsing empty fields
Closes: #3424
Matthias Runge [Mon, 16 Mar 2020 17:20:17 +0000 (18:20 +0100)]
Update collectd.spec file to 5.11.0
Matthias Runge [Mon, 16 Mar 2020 17:13:55 +0000 (18:13 +0100)]
Merge branch 'collectd-5.11' of github.com:mrunge/collectd into collectd-5.11
Matthias Runge [Mon, 16 Mar 2020 17:10:46 +0000 (18:10 +0100)]
Replace github usernames with real names
Pavel Rochnyak [Mon, 16 Mar 2020 16:05:14 +0000 (23:05 +0700)]
Use real name instead of Github account
Matthias Runge [Mon, 16 Mar 2020 14:18:24 +0000 (15:18 +0100)]
Prepare collectd-5.11 release
Matthias Runge [Sat, 14 Mar 2020 12:38:06 +0000 (13:38 +0100)]
Merge pull request #3346 from ccin2p3/f/specfile
specfile: Add support for EL8
Ruben Kerkhof [Fri, 13 Mar 2020 20:08:27 +0000 (21:08 +0100)]
Merge pull request #3402 from ZhouyangJia/master
Add error handling for PyType_Ready
Ruben Kerkhof [Fri, 13 Mar 2020 16:21:58 +0000 (17:21 +0100)]
Merge branch 'master' into f/specfile
Ruben Kerkhof [Fri, 13 Mar 2020 16:17:54 +0000 (17:17 +0100)]
Merge pull request #3417 from collectd/collectd-5.11
Merge 5.11 into master
Matthias Runge [Fri, 13 Mar 2020 15:42:52 +0000 (16:42 +0100)]
Merge pull request #3408 from rubenk/collectd-5.11
Merge 5.10 branch into 5.11
Ruben Kerkhof [Fri, 13 Mar 2020 15:20:33 +0000 (16:20 +0100)]
Merge remote-tracking branch 'origin/collectd-5.10' into collectd-5.11
Matthias Runge [Fri, 13 Mar 2020 14:40:15 +0000 (15:40 +0100)]
Merge pull request #3416 from rubenk/5.10/collectd-pod-whitespace
collectd.conf.pod: remove trailing whitespaces
Matthias Runge [Fri, 13 Mar 2020 14:29:25 +0000 (15:29 +0100)]
Merge pull request #3415 from rubenk/5.10/collectd-conf-remove-trailing-whitespace
Remove trailing whitespace in collectd.conf
Ruben Kerkhof [Fri, 13 Mar 2020 14:24:18 +0000 (15:24 +0100)]
Merge pull request #3414 from mrunge/collectd-5.11-revert-3360
Collectd 5.11 revert 3360
Ruben Kerkhof [Fri, 13 Mar 2020 14:23:00 +0000 (15:23 +0100)]
collectd.conf.pod: remove trailing whitespaces
Ruben Kerkhof [Fri, 13 Mar 2020 14:17:46 +0000 (15:17 +0100)]
Remove trailing whitespace in collectd.conf