]>
git.ipfire.org Git - thirdparty/collectd.git/log
Matthias Runge [Fri, 19 Feb 2021 20:48:59 +0000 (21:48 +0100)]
Merge branch 'collectd-6.0' into mlsr/collectd6-protocols
Matthias Runge [Mon, 15 Feb 2021 15:52:04 +0000 (16:52 +0100)]
Merge pull request #3833 from manuelluis/mlsr/collectd6-buddyinfo
[collectd 6] buddyinfo: migration to v6.0
Matthias Runge [Mon, 15 Feb 2021 15:22:27 +0000 (16:22 +0100)]
Merge branch 'collectd-6.0' into mlsr/collectd6-buddyinfo
Manuel Luis Sanmartín Rozada [Fri, 12 Feb 2021 21:09:06 +0000 (22:09 +0100)]
Filter selected zones
Matthias Runge [Fri, 29 Jan 2021 14:28:27 +0000 (15:28 +0100)]
Merge pull request #3808 from manuelluis/mlsr/collectd6-users
[collectd 6] users: migration to v6.0
Matthias Runge [Fri, 29 Jan 2021 14:15:18 +0000 (15:15 +0100)]
Merge branch 'collectd-6.0' into mlsr/collectd6-users
Manuel Luis Sanmartín Rozada [Wed, 27 Jan 2021 21:40:39 +0000 (22:40 +0100)]
[collectd 6] buddyinfo: migration to v6.0
Matthias Runge [Mon, 25 Jan 2021 17:22:05 +0000 (18:22 +0100)]
Merge pull request #3807 from manuelluis/mlsr/collectd6-uptime
[collectd 6] uptime: migration to v6.0
Manuel Luis Sanmartín Rozada [Wed, 20 Jan 2021 23:49:57 +0000 (00:49 +0100)]
[collectd 6] protocols: migration to v6.0
Manuel Luis Sanmartín Rozada [Wed, 20 Jan 2021 22:29:30 +0000 (23:29 +0100)]
[collectd 6] users: migration to v6.0
Manuel Luis Sanmartín Rozada [Wed, 20 Jan 2021 22:19:31 +0000 (23:19 +0100)]
[collectd 6] uptime: migration to v6.0
Florian Forster [Mon, 19 Oct 2020 08:56:08 +0000 (10:56 +0200)]
Merge branches 'v6/interface' and 'v6/memory' into collectd-6.0
Florian Forster [Sat, 3 Oct 2020 06:43:54 +0000 (08:43 +0200)]
interface plugin: Convert to the v6 API.
Fixes: #3641
Florian Forster [Mon, 28 Sep 2020 11:03:06 +0000 (13:03 +0200)]
memory plugin: Implement absolute/percentage reporting.
This also migrates the new NetBSD code to using metric_family_t.
Fixes: #3667
Florian Forster [Tue, 22 Sep 2020 09:54:57 +0000 (11:54 +0200)]
Merge pull request #3586 from octo/merge-main-into-6
Merge main into collectd-6.0
Florian Forster [Fri, 18 Sep 2020 21:06:45 +0000 (23:06 +0200)]
CI: disale building the gRPC plugin.
Florian Forster [Fri, 18 Sep 2020 19:32:15 +0000 (21:32 +0200)]
strbuf: Use <stdbool.h> instead of _Bool.
C++, e.g. the gRPC plugin, cannot deal with _Bool.
Florian Forster [Tue, 22 Sep 2020 09:01:50 +0000 (11:01 +0200)]
Merge branch 'main' into collectd-6.0
Florian Forster [Mon, 21 Sep 2020 08:00:49 +0000 (10:00 +0200)]
Merge pull request #3559 from octo/remove_label_t
daemon: Fix the build on Solaris.
Florian Forster [Sat, 19 Sep 2020 20:03:30 +0000 (22:03 +0200)]
format_graphite: Add special case for NAN to gr_format_values.
Florian Forster [Sat, 19 Sep 2020 19:39:53 +0000 (21:39 +0200)]
common: Add special case for NAN to format_values.
Matthias Runge [Tue, 15 Sep 2020 08:58:13 +0000 (10:58 +0200)]
Merge pull request #3573 from octo/ci/buster
.cirrus.yml: Add Debian Buster.
Florian Forster [Tue, 15 Sep 2020 06:06:08 +0000 (08:06 +0200)]
Merge pull request #3571 from carlospeon/buffer
write_influx_udp: build influxdb points outside de mutex.
Florian Forster [Mon, 14 Sep 2020 14:55:15 +0000 (16:55 +0200)]
Merge pull request #3556 from octo/remove-xmms
Remove the "XMMS" plugin.
Florian Forster [Mon, 14 Sep 2020 06:36:40 +0000 (08:36 +0200)]
.cirrus.yml: Add Debian Buster.
Florian Forster [Mon, 14 Sep 2020 07:54:48 +0000 (09:54 +0200)]
Merge branch 'collectd-5.12' into main
Florian Forster [Mon, 14 Sep 2020 07:45:54 +0000 (09:45 +0200)]
message_parser: Ensure "collectd.h" is included first.
Florian Forster [Mon, 14 Sep 2020 06:07:58 +0000 (08:07 +0200)]
configure.ac: the write_log plugin depends on libyajl.
Florian Forster [Mon, 7 Sep 2020 11:49:01 +0000 (13:49 +0200)]
solaris-ci.flags: Add configure flags for the Solaris CI.
Florian Forster [Tue, 1 Sep 2020 13:39:57 +0000 (15:39 +0200)]
configure.ac: Check for strnlen, implement alternative.
Solaris 10 doesn't provide a strnlen(3). Provide a simple alternative if so.
carlospeon [Thu, 18 Jun 2020 18:01:16 +0000 (20:01 +0200)]
* Build influxdb points outside de mutex.
* listen_loop cleanup.
Matthias Runge [Mon, 7 Sep 2020 09:40:31 +0000 (11:40 +0200)]
Merge pull request #3569 from ffontaine/main
src/netlink.c: remove REG_NOERROR
Fabrice Fontaine [Sun, 6 Sep 2020 12:17:23 +0000 (14:17 +0200)]
src/netlink.c: remove REG_NOERROR
REG_NOERROR is used since version 5.12.0 and
https://github.com/collectd/collectd/commit/
f7fd32e5209e188db7985a42054252fc4cbfe7c1
However, REG_NOERROR is not defined by musl, even GNU regex do not
mention REG_NOERROR, so just remove it to avoid the following build
failure:
src/netlink.c: In function 'check_ignorelist':
src/netlink.c:243:51: error: 'REG_NOERROR' undeclared (first use in this function); did you mean 'REG_NOTBOL'?
if (regexec(i->rdevice, dev, 0, NULL, 0) != REG_NOERROR)
^~~~~~~~~~~
REG_NOTBOL
Fixes:
- http://autobuild.buildroot.org/results/
cd4d75888b5259b028132dd224be34f69bcbb702
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Matthias Runge [Thu, 3 Sep 2020 14:41:29 +0000 (16:41 +0200)]
Merge pull request #3567 from octo/cleanfiles_types_grpc
Makefile.am: Add types.grpc.pb.{cc,h} to CLEANFILES.
Florian Forster [Thu, 3 Sep 2020 14:03:50 +0000 (16:03 +0200)]
Makefile.am: Add types.grpc.pb.{cc,h} to CLEANFILES.
Florian Forster [Thu, 3 Sep 2020 12:07:30 +0000 (14:07 +0200)]
Merge pull request #3566 from octo/test_plugin_intel_rdt
Makefile.am: Link test_plugin_intel_rdt with libpqos.
Florian Forster [Thu, 3 Sep 2020 11:41:28 +0000 (13:41 +0200)]
Makefile.am: Link test_plugin_intel_rdt with libpqos.
Florian Forster [Thu, 3 Sep 2020 11:25:41 +0000 (13:25 +0200)]
Merge pull request #3565 from kwiatrox/release_5_12_kw
Update changelog and version number for release 5.12.
Kamil Wiatrowski [Thu, 3 Sep 2020 09:33:44 +0000 (10:33 +0100)]
Update changelog and version number for release 5.12.
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
Florian Forster [Thu, 3 Sep 2020 07:38:44 +0000 (09:38 +0200)]
Merge pull request #3564 from octo/snmp_agent
snmp_agent plugin: Fix strncat() truncation warning.
Florian Forster [Thu, 3 Sep 2020 07:11:07 +0000 (09:11 +0200)]
snmp_agent plugin: Fix strncat() truncation warning.
Fixes:
```
src/snmp_agent.c:965:9: error: ‘strncat’ output may be truncated copying between 0 and 127 bytes from a string of length 127 [-Werror=stringop-truncation]
strncat(out, str, DATA_MAX_NAME_LEN - strlen(out) - 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
Florian Forster [Mon, 17 Aug 2020 15:27:50 +0000 (17:27 +0200)]
Merge pull request #2470 from dothebart/curl_jolokia_2
Add client interface for the jolokia.org JMX client.
Florian Forster [Tue, 1 Sep 2020 08:45:19 +0000 (10:45 +0200)]
Remove the "XMMS" plugin.
Florian Forster [Wed, 2 Sep 2020 14:59:45 +0000 (16:59 +0200)]
Merge pull request #3557 from octo/remove-ascent
Remove the "ascent" plugin.
Florian Forster [Wed, 2 Sep 2020 08:31:55 +0000 (10:31 +0200)]
Merge pull request #3560 from mrunge/inclusive_lang
Rewrite problematic language where possible
Matthias Runge [Wed, 2 Sep 2020 06:09:18 +0000 (08:09 +0200)]
Do not change counter/gauge names for now
This is a change to be committed for 6.0.
Matthias Runge [Tue, 1 Sep 2020 16:19:36 +0000 (18:19 +0200)]
Replace master/slave with primary/replica.
For now, I did not change the configuration for the mysql plugin.
Matthias Runge [Tue, 1 Sep 2020 15:58:34 +0000 (17:58 +0200)]
Replace deny-list with blocklist and strip dashes
Matthias Runge [Tue, 1 Sep 2020 15:25:47 +0000 (17:25 +0200)]
Rewrite problematic language where possible
This patch leaves out rewrite master/slave from mysql and also
master from snmp.
Florian Forster [Tue, 1 Sep 2020 13:07:03 +0000 (15:07 +0200)]
daemon: Include "collectd.h" first.
Fixes "macro redefined: _FILE_OFFSET_BITS" errors.
Florian Forster [Tue, 1 Sep 2020 12:53:36 +0000 (14:53 +0200)]
daemon: Explicitly cast function pointers.
This fixes the following warnings:
```
"src/daemon/plugin.c", line 439: warning: assignment type mismatch:
pointer to function(void) returning void "=" pointer to void
"src/daemon/plugin.c", line 533: warning: assignment type mismatch:
pointer to function(void) returning int "=" pointer to void
"src/daemon/plugin.c", line 540: warning: assignment type mismatch:
pointer to function(pointer to struct user_data_s {pointer to void data, pointer to function(..) returning void free_func}) returning int "=" pointer to void
"src/daemon/plugin.c", line 1716: warning: assignment type mismatch:
pointer to function(void) returning int "=" pointer to void
"src/daemon/plugin.c", line 1784: warning: assignment type mismatch:
pointer to function(void) returning int "=" pointer to void
"src/daemon/plugin.c", line 1789: warning: assignment type mismatch:
pointer to function(pointer to struct user_data_s {pointer to void data, pointer to function(..) returning void free_func}) returning int "=" pointer to void
"src/daemon/plugin.c", line 1835: warning: assignment type mismatch:
pointer to function(pointer to const struct metric_family_s {pointer to char name, pointer to char help, enum {METRIC_TYPE_UNTYPED(2), METRIC_TYPE_GAUGE(1), METRIC_TYPE_COUNTER(0)} type, struct {..} metric}, pointer to struct user_data_s {pointer to void data, pointer to function(..) returning void free_func}) returning int "=" pointer to void
"src/daemon/plugin.c", line 1872: warning: assignment type mismatch:
pointer to function(pointer to const struct metric_family_s {pointer to char name, pointer to char help, enum {METRIC_TYPE_UNTYPED(2), METRIC_TYPE_GAUGE(1), METRIC_TYPE_COUNTER(0)} type, struct {..} metric}, pointer to struct user_data_s {pointer to void data, pointer to function(..) returning void free_func}) returning int "=" pointer to void
"src/daemon/plugin.c", line 1899: warning: assignment type mismatch:
pointer to function(unsigned long long, pointer to const char, pointer to struct user_data_s {pointer to void data, pointer to function(..) returning void free_func}) returning int "=" pointer to void
"src/daemon/plugin.c", line 1944: warning: assignment type mismatch:
pointer to function(void) returning int "=" pointer to void
"src/daemon/plugin.c", line 1986: warning: assignment type mismatch:
pointer to function(pointer to const struct metric_family_s {pointer to char name, pointer to char help, enum {METRIC_TYPE_UNTYPED(2), METRIC_TYPE_GAUGE(1), METRIC_TYPE_COUNTER(0)} type, struct {..} metric}, pointer to struct user_data_s {pointer to void data, pointer to function(..) returning void free_func}) returning int "=" pointer to void
"src/daemon/plugin.c", line 2342: warning: assignment type mismatch:
pointer to function(pointer to const struct notification_s {int severity, unsigned long long time, array[256] of char message, array[128] of char host, array[128] of char plugin, array[128] of char plugin_instance, array[128] of char type, array[128] of char type_instance, pointer to struct notification_meta_s {..} meta}, pointer to struct user_data_s {pointer to void data, pointer to function(..) returning void free_func}) returning int "=" pointer to void
"src/daemon/plugin.c", line 2382: warning: assignment type mismatch:
pointer to function(int, pointer to const char, pointer to struct user_data_s {pointer to void data, pointer to function(..) returning void free_func}) returning void "=" pointer to void
```
Florian Forster [Tue, 1 Sep 2020 12:33:47 +0000 (14:33 +0200)]
daemon: Remove the label_t type.
It caused problems on Solaris, which also has a "label_t" type and was not used
in the API.
Florian Forster [Tue, 1 Sep 2020 12:23:59 +0000 (14:23 +0200)]
Merge pull request #3558 from octo/solaris/signed-char
libcollectdclient: Don't initialize a char with 0xF8.
Matthias Runge [Tue, 1 Sep 2020 10:00:45 +0000 (12:00 +0200)]
Merge pull request #3555 from octo/ci/remove-jessie
.cirrus.yml: Remove Debian Jessie.
Florian Forster [Tue, 1 Sep 2020 09:00:14 +0000 (11:00 +0200)]
libcollectdclient: Don't initialize a char with 0xF8.
Fixes the following warning:
```
"src/libcollectdclient/network_parse.c", line 261: warning: initializer does not fit or is out of range: 248
```
Florian Forster [Tue, 1 Sep 2020 08:54:15 +0000 (10:54 +0200)]
Remove the "ascent" plugin.
Florian Forster [Tue, 1 Sep 2020 08:41:43 +0000 (10:41 +0200)]
.cirrus.yml: Remove Debian Jessie.
Regular support for Jessie ended in 2018, LTS in June 2020.
Florian Forster [Tue, 1 Sep 2020 08:16:09 +0000 (10:16 +0200)]
Merge pull request #3506 from octo/metric-label-support
[Epic] Metric label support
Florian Forster [Mon, 31 Aug 2020 14:46:31 +0000 (16:46 +0200)]
Makefile.am: Remove left-over comment.
Matthias Runge [Mon, 31 Aug 2020 14:33:50 +0000 (16:33 +0200)]
Merge pull request #3549 from octo/infiniband-build
Makefile.am: Remove undefined symbol "BUILD_WITH_INFINIBAND_LIBS".
Matthias Runge [Mon, 31 Aug 2020 14:29:15 +0000 (16:29 +0200)]
Merge pull request #3552 from octo/merge-511-512
Merge 5.11 into 5.12
Florian Forster [Mon, 31 Aug 2020 14:07:15 +0000 (16:07 +0200)]
Merge branch 'collectd-5.11' into merge-511-512
Florian Forster [Sun, 30 Aug 2020 16:32:54 +0000 (18:32 +0200)]
Merge pull request #3548 from Self-Perfection/mariadb_10.05_compatibility
mysql: Compatibility with MariaDB >= 10.5
Dagobert Michelsen [Sun, 30 Aug 2020 12:35:58 +0000 (14:35 +0200)]
Merge pull request #3543 from dago/fix-network-test
Fix network test
Florian Forster [Sun, 30 Aug 2020 07:19:39 +0000 (09:19 +0200)]
network plugin: Simplify initialization of sockent_t.
Florian Forster [Sun, 30 Aug 2020 06:41:37 +0000 (08:41 +0200)]
Makefile.am: Remove undefined symbol "BUILD_WITH_INFINIBAND_LIBS".
Luke Yeager [Mon, 10 Aug 2020 17:07:09 +0000 (10:07 -0700)]
infiniband: fix build
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.
Self-Perfection [Sat, 29 Aug 2020 19:46:21 +0000 (22:46 +0300)]
mysql: Compatibility with MariaDB >= 10.5
In MariaDB 10.5 information_schema.innodb_metrics was cleaned:
https://github.com/MariaDB/server/commit/
d09aec7a15ab4be539d2b110742af544fa6b139f
String column 'status' was replaced with boolean column 'enabled'.
Therefore we need to modify request for fetching data from that table.
Fixes #3533
Kamil Wiatrowski [Fri, 28 Aug 2020 13:20:53 +0000 (15:20 +0200)]
Merge pull request #3547 from bkjg/fix-leaks-curl
Fix memory leak in curl plugin
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.
Dagobert Michelsen [Thu, 27 Aug 2020 11:52:11 +0000 (13:52 +0200)]
Empty initializer when gcrypt is absent produces compile error with Sun Studio
sranga4 [Wed, 26 Aug 2020 15:21:26 +0000 (08:21 -0700)]
Merge pull request #3516 from lukeyeager/fix-ib-build
infiniband: fix build
Florian Forster [Fri, 21 Aug 2020 10:08:09 +0000 (12:08 +0200)]
Merge pull request #3536 from yath/dupcase
Remove duplicate switch case.
Sebastian Schmidt [Fri, 21 Aug 2020 09:02:18 +0000 (11:02 +0200)]
Remove duplicate switch case.
The empty 'f' case probably used to be wrapped in its own #if
COLLECT_DAEMON, but that apparently somehow got lost and gcc 9.3
complains about the duplicate case. Therefore, just wrap the
config->daemonize assignment into #if/#endif, like for the other cases.
ChangeLog: collectd: Build fix
Florian Forster [Mon, 17 Aug 2020 15:27:50 +0000 (17:27 +0200)]
Merge pull request #2470 from dothebart/curl_jolokia_2
Add client interface for the jolokia.org JMX client.
Florian Forster [Mon, 17 Aug 2020 15:16:46 +0000 (17:16 +0200)]
daemon: Use EXIT_SUCCESS and EXIT_FAILURE when calling exit_usage().
Florian Forster [Mon, 17 Aug 2020 15:16:11 +0000 (17:16 +0200)]
daemon: Accept the same command line arguments, even when compiled with --disable-daemon.
Rodion Vynnychenko [Tue, 10 Feb 2015 12:02:51 +0000 (14:02 +0200)]
Ignore -f when compiled with --disable-daemon
Matthias Runge [Mon, 17 Aug 2020 14:13:48 +0000 (16:13 +0200)]
Merge pull request #3520 from octo/contributing
docs/CONTRIBUTING.md: Rename "master" to "main".
Florian Forster [Thu, 13 Aug 2020 07:19:55 +0000 (09:19 +0200)]
docs/CONTRIBUTING.md: Rename "master" to "main".
NikolayTsvetkov [Wed, 12 Aug 2020 11:56:26 +0000 (13:56 +0200)]
Merge pull request #3518 from pllopis/slurm2002
slurm: compatibility with Slurm >= 20.02
Pablo Llopis [Wed, 12 Aug 2020 09:20:32 +0000 (11:20 +0200)]
slurm: compatibility with Slurm >= 20.02
Luke Yeager [Mon, 10 Aug 2020 17:07:09 +0000 (10:07 -0700)]
infiniband: fix build
Florian Forster [Mon, 10 Aug 2020 07:46:01 +0000 (09:46 +0200)]
daemon: Remove uc_get_rate_by_name_vl().
The implementation has already been removed.
Florian Forster [Mon, 10 Aug 2020 06:35:36 +0000 (08:35 +0200)]
cmds: Disable the GETVAL test relying on the default host behavior.
Florian Forster [Mon, 10 Aug 2020 06:35:10 +0000 (08:35 +0200)]
Makefile.am: Link libcommon with libmetric.
Florian Forster [Fri, 31 Jul 2020 06:53:17 +0000 (08:53 +0200)]
cmds: Change GETVAL to use parse_legacy_identifier().
Florian Forster [Fri, 31 Jul 2020 06:54:47 +0000 (08:54 +0200)]
common: Fix a memory leak in plugin_value_list_to_metric_family().
The temporary metric_t needs to be reset, otherwise the labels leak.
Florian Forster [Thu, 30 Jul 2020 16:35:00 +0000 (18:35 +0200)]
daemon, common: Move plugin_value_list_to_metric_family().
Florian Forster [Thu, 30 Jul 2020 16:31:19 +0000 (18:31 +0200)]
common: Implement parse_legacy_identifier().
Matthias Runge [Wed, 5 Aug 2020 06:24:28 +0000 (08:24 +0200)]
Merge pull request #3499 from efuss/netbsd-memory
Add memory plugin implementation for NetBSD
sranga4 [Fri, 31 Jul 2020 13:48:18 +0000 (06:48 -0700)]
Merge pull request #3487 from kwiatrox/netlink_vf_stats
Netlink plugin: add option to read VF stats
Florian Forster [Thu, 30 Jul 2020 16:21:06 +0000 (18:21 +0200)]
common: Add a "data_source" return argument to parse_identifier_vl().
sranga4 [Thu, 30 Jul 2020 16:06:57 +0000 (09:06 -0700)]
Merge pull request #3476 from ChristianTacke/pr/coll3_types
collection3: Show instance for Current/Voltage
sranga4 [Thu, 30 Jul 2020 15:57:49 +0000 (08:57 -0700)]
Merge pull request #3497 from efuss/netbsd-entropy
Add entropy plugin implementation for NetBSD
sranga4 [Thu, 30 Jul 2020 15:55:01 +0000 (08:55 -0700)]
Merge pull request #3500 from efuss/netbsd-processes
Add processes plugin implementation for NetBSD
sranga4 [Thu, 30 Jul 2020 15:49:08 +0000 (08:49 -0700)]
Merge pull request #3498 from efuss/netbsd-irq
Add irq plugin implementation for NetBSD
Matthias Runge [Thu, 30 Jul 2020 15:04:34 +0000 (17:04 +0200)]
Merge pull request #3496 from efuss/netbsd-cpu
Add cpu plugin implementation for NetBSD
Matthias Runge [Thu, 30 Jul 2020 15:02:34 +0000 (17:02 +0200)]
Merge pull request #3495 from efuss/netbsd-nfs2
Fix nfs plugin implementation for NetBSD