]> git.ipfire.org Git - thirdparty/collectd.git/log
thirdparty/collectd.git
3 years agointel_rdt: Added oprion to disable IPC monitoring 3774/head
Michał Aleksiński [Wed, 16 Sep 2020 08:34:45 +0000 (09:34 +0100)] 
intel_rdt: Added oprion to disable IPC monitoring

3 years agointel_rdt: Added memory bandwidth total metric
Michał Aleksiński [Mon, 7 Sep 2020 07:38:22 +0000 (08:38 +0100)] 
intel_rdt: Added memory bandwidth total metric

3 years agoAllo trusty to fail
Matthias Runge [Thu, 25 Nov 2021 12:58:49 +0000 (13:58 +0100)] 
Allo trusty to fail

It is not supported anymore and we should not trust it.

3 years agoRemove DES support in snmp plugin
Ruben Kerkhof [Tue, 6 Jul 2021 08:22:36 +0000 (10:22 +0200)] 
Remove DES support in snmp plugin

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
3 years agobug#3924 fix
Supali [Tue, 5 Oct 2021 14:31:49 +0000 (20:01 +0530)] 
bug#3924 fix

3 years agoSet the buffer size to the new maximum length for a digest.
minfrin [Mon, 1 Nov 2021 09:54:59 +0000 (11:54 +0200)] 
Set the buffer size to the new maximum length for a digest.

3 years agoChangeLog: snmp plugin: Add support for SHA224, SHA256, SHA384 and SHA512.
minfrin [Mon, 25 Oct 2021 14:39:35 +0000 (16:39 +0200)] 
ChangeLog: snmp plugin: Add support for SHA224, SHA256, SHA384 and SHA512.

3 years agoFix #3051: Convert Coding Style from wiki to markdown
Erik Westrup [Fri, 8 Oct 2021 16:05:35 +0000 (18:05 +0200)] 
Fix #3051: Convert Coding Style from wiki to markdown

Convert
https://collectd.org/wiki/index.php/Coding_style
revision "10:19, 30 October 2018" to markdown.

Fixes #3051

3 years agoMerge pull request #3772 from p-zak/ras_plugin
Kamil Wiatrowski [Fri, 8 Oct 2021 15:01:25 +0000 (17:01 +0200)] 
Merge pull request #3772 from p-zak/ras_plugin

New input plugin for RAS (Reliability, Availability and Serviceability)

3 years agoNew input plugin for RAS (Reliability, Availability and Serviceability) 3772/head
Pawel Zak [Thu, 5 Nov 2020 16:39:04 +0000 (17:39 +0100)] 
New input plugin for RAS (Reliability, Availability and Serviceability)

3 years agoNew input plugin for RAS (Reliability, Availability and Serviceability)
Pawel Zak [Thu, 5 Nov 2020 16:28:50 +0000 (17:28 +0100)] 
New input plugin for RAS (Reliability, Availability and Serviceability)

3 years agoMerge pull request #3775 from kwiatrox/pmu_updated20
Kamil Wiatrowski [Thu, 7 Oct 2021 14:18:48 +0000 (16:18 +0200)] 
Merge pull request #3775 from kwiatrox/pmu_updated20

Updated version of Intel PMU plugin

3 years agointel_pmu 2.0 - updates in collectd.conf.pod 3775/head
Kamil Wiatrowski [Wed, 28 Oct 2020 15:39:52 +0000 (15:39 +0000)] 
intel_pmu 2.0 - updates in collectd.conf.pod

Change-Id: I5f0d4c289c5264933cd1a2c43dd6ca0933f94e6a
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
3 years agointel_pmu 2.0 - change parameter name to AggregateUncorePMUs
Kamil Wiatrowski [Mon, 12 Oct 2020 13:58:31 +0000 (14:58 +0100)] 
intel_pmu 2.0 - change parameter name to AggregateUncorePMUs

Change plugin parameter name from DispatchMultiPmu to AggregateUncorePMUs

Change-Id: I0303da83bef6cbae69f0cf327dc990dc5db22c52
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
3 years agointel_pmu 2.0 - remove type from type instance
Kamil Wiatrowski [Fri, 4 Sep 2020 13:45:46 +0000 (14:45 +0100)] 
intel_pmu 2.0 - remove type from type instance

Remove type from type_instance for uncore events.

Change-Id: Ia003fdb4bdadceab8a52efde0e311335fc047e89
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
3 years agointel_pmu 2.0 - address review comments
Kamil Wiatrowski [Wed, 2 Sep 2020 12:29:24 +0000 (13:29 +0100)] 
intel_pmu 2.0 - address review comments

Improvements in plugin documentation in collectd.conf.pod
and other small fixes.

Change-Id: Iba5a762afce054b9c0f7adb29120bf37750ec98b
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
3 years agointel_pmu 2.0 - unit tests
Pawel Tomaszewski [Thu, 27 Aug 2020 12:35:40 +0000 (13:35 +0100)] 
intel_pmu 2.0 - unit tests

Signed-off-by: Pawel Tomaszewski <pawelx.tomaszewski@intel.com>
3 years agointel_pmu 2.0 - fix format
Pawel Tomaszewski [Thu, 27 Aug 2020 12:35:40 +0000 (13:35 +0100)] 
intel_pmu 2.0 - fix format

Signed-off-by: Pawel Tomaszewski <pawelx.tomaszewski@intel.com>
3 years agointel_pmu 2.0 - memory leak fixed for unit tests
Kamil Wiatrowski [Wed, 26 Aug 2020 14:21:00 +0000 (15:21 +0100)] 
intel_pmu 2.0 - memory leak fixed for unit tests

Format intel_pmu_test with format.sh script.

Change-Id: Id72eddd0493b55365205ad9c8820b3cba786dae5
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
Signed-off-by: Pawel Tomaszewski <pawelx.tomaszewski@intel.com>
3 years agointel_pmu 2.0 - apply formatting on intel_pmu unit tests.
Kamil Wiatrowski [Wed, 26 Aug 2020 14:21:00 +0000 (15:21 +0100)] 
intel_pmu 2.0 - apply formatting on intel_pmu unit tests.

Format intel_pmu_test with format.sh script.

Change-Id: Id72eddd0493b55365205ad9c8820b3cba786dae5
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
3 years agointel_pmu 2.0 - unit tests
Pawel Tomaszewski [Wed, 26 Aug 2020 13:17:02 +0000 (14:17 +0100)] 
intel_pmu 2.0 - unit tests

Signed-off-by: Pawel Tomaszewski <pawelx.tomaszewski@intel.com>
3 years agointel_pmu 2.0 - bugfix & more verbose warning messages
Pawel Tomaszewski [Fri, 21 Aug 2020 14:28:41 +0000 (15:28 +0100)] 
intel_pmu 2.0 - bugfix & more verbose warning messages

Fixed issue on HardwareEvents option set to "All".
Warning messages are more verbose when max number of opened files is reached and max number of events per group is reached.

Signed-off-by: Pawel Tomaszewski <pawelx.tomaszewski@intel.com>
3 years agointel_pmu 2.0 - update collectd.conf.pod
Kamil Wiatrowski [Tue, 18 Aug 2020 12:41:43 +0000 (13:41 +0100)] 
intel_pmu 2.0 - update collectd.conf.pod

Update collectd.conf.pod for new version of intel_pmu.

Change-Id: I297e6c3909a54d2a24737517bde2b0e4b192e7fe
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
3 years agointel_pmu 2.0 - add name of pmu to plugin instance
Kamil Wiatrowski [Thu, 13 Aug 2020 13:40:28 +0000 (14:40 +0100)] 
intel_pmu 2.0 - add name of pmu to plugin instance

Update plugin_instance and type_instance with more information.

Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
3 years agointel_pmu 2.0 - Provide option to choose all events from EventList
Pawel Tomaszewski [Wed, 12 Aug 2020 13:22:44 +0000 (14:22 +0100)] 
intel_pmu 2.0 - Provide option to choose all events from EventList

While HardwareEvents option is set to "All" plugin
reads all available events from EventList and collects
statistics for them.

Signed-off-by: Pawel Tomaszewski <pawelx.tomaszewski@intel.com>
3 years agointel_pmu 2.0 - Provide more data with metric
Kamil Wiatrowski [Tue, 11 Aug 2020 14:04:30 +0000 (15:04 +0100)] 
intel_pmu 2.0 - Provide more data with metric

Improve readability of scaled value with more data provided by metric,
use multivalued type (pmu_counter) to provide clearly the data:
scaled value, raw value, time enabled and time running.

Change-Id: Id9201123a5de647bba412f09145b8dbb169987ba
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
3 years agointel_pmu 2.0 - updated version of plugin
Kamil Wiatrowski [Thu, 9 Jul 2020 14:40:54 +0000 (15:40 +0100)] 
intel_pmu 2.0 - updated version of plugin

Make it possible to register for multiple read callbacks [read threads].
Split cores grouping per multiple read callbacks.

Change-Id: I372797c77ebbf6314f379395a56f1760ccdf14a8
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
3 years agoReplace travis CI with GHA (#3913)
Emma Foley [Mon, 4 Oct 2021 09:32:28 +0000 (10:32 +0100)] 
Replace travis CI with GHA (#3913)

* [githubactions] Use collectd-ci container to run tests

Uses containers for collectd provided by collectd/ci-docker [1]
Repeats what travis was using for building collectd

* checks out branch
* installs dependencies (already in containers)
* runs the script commands from travis (pkg-config, confgure, make)

[1] https://github.com/collectd/ci-docker

[githubactions] Add config flags to builds

* [githubactions] Add a job for experimental OSes

* [GHA] update actions for new distro containers in collectd/ci-docker

* Mark ``make check`` as optional for now

it is not passing reliably, and is being marked as optional until it is

Co-authored-by: BarometerExperimental <barometer-experimental@container>
3 years agoFeature-redfish: enabling libredfish logging on collectd debug mode (#3907)
Mathieu STOFFEL [Mon, 27 Sep 2021 14:37:05 +0000 (16:37 +0200)] 
Feature-redfish: enabling libredfish logging on collectd debug mode (#3907)

Changelog: enabling libredfish logging on collectd debug mode

In order for `libredfish` to log internal information, which are more
than useful to debugging purposes, a printing function has to be
registered through a hook : a global function pointer named `gDebugFunc`.

The `plugin_log` function is registered as the logging function through
the aforementioned hook by the `redfish_init` function, when the
`--enable-debug` option is specified to the `configure` script.

3 years agoFeature/collectd nagios perfdata (#3879)
Fabien Wernli [Mon, 27 Sep 2021 07:02:20 +0000 (09:02 +0200)] 
Feature/collectd nagios perfdata (#3879)

* Changelog: Improve perfdata output for collectd-nagios

Now we also include thresholds in performance data:

```
OKAY: 0 critical, 0 warning, 1 okay | shortterm=0.360000;1.000000;2.000000;;
```

Change-Id: I7b71ac623d3f88dd57d8fb55bc469e6f4f46e0d0

Change-Id: I4f8f1884b553af49d9535d331bc96c9c4e513772

* Allocate warning/critical threshold strings dynamically

Change-Id: I756c60264fd23af64fe713dd360316507176471a

3 years agoFic smart_test.c for big endian. (#3799)
Bernd Zeimetz [Tue, 21 Sep 2021 08:44:27 +0000 (10:44 +0200)] 
Fic smart_test.c for big endian. (#3799)

get_vendor_id from smart.c assumes that VENDOR_ID is le16, so we
need to convert it into le16 in the fake-ioctl function in smart_test.c.

Fixes #3791

Signed-off-by: Bernd Zeimetz <bernd@bzed.de>
3 years agoFix #3831 by adding commas to the infiniband types (ib_octets, ib_packets) (#3832)
Nathan Ward [Tue, 21 Sep 2021 08:41:11 +0000 (20:41 +1200)] 
Fix #3831 by adding commas to the infiniband types (ib_octets, ib_packets) (#3832)

3 years agoadd CounterGauge option in statsd (#3914)
Casey Tucker [Tue, 21 Sep 2021 08:39:17 +0000 (01:39 -0700)] 
add CounterGauge option in statsd (#3914)

3 years agoReport MemAvailable when present in meminfo (#3916)
Riham Aldakkak [Tue, 21 Sep 2021 06:32:57 +0000 (08:32 +0200)] 
Report MemAvailable when present in meminfo (#3916)

3 years agommc plugin: initial checkin (#3887)
Florian Eckert [Mon, 13 Sep 2021 13:00:46 +0000 (15:00 +0200)] 
mmc plugin: initial checkin (#3887)

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
3 years agoCreate build.yml (#3911)
Matthias Runge [Thu, 9 Sep 2021 16:33:31 +0000 (18:33 +0200)] 
Create build.yml (#3911)

* Create build.yml

3 years agoImplement support for multiple Server entries in write_influxdb_udp
Paul [Sat, 4 Sep 2021 15:39:23 +0000 (17:39 +0200)] 
Implement support for multiple Server entries in write_influxdb_udp

-creates one socket for each Server row in the CFG: e.g.

LoadPlugin write_influxdb_udp
<Plugin write_influxdb_udp>
  Server "some.host.tld" "8585"
  Server "some.host.tld" "8686"
  Server "192.0.2.1" "8001"
  Server "192.0.2.5" "8007"
  Server "2001:db8::19" "5000"
</Plugin>

Tested on 5.13 and 6.0 code-base.

3 years agoubi: add percent evaluation for the bad blocks
Florian Eckert [Fri, 12 Mar 2021 10:07:45 +0000 (11:07 +0100)] 
ubi: add percent evaluation for the bad blocks

So far the plugin contains the evaluation of the maximum erase count
from `/sys/class/ubi/ubi<x>/max_ec` and the evaluation of bad physical
erase block count from `/sys/class/ubi/ubi<x>/bad_peb_count`.

For each ubi device, the reserved physical erase blocks are also displayed.
The value is shown in `/sys/class/ubi/ubi<x>/reserved_for_bad`.

If the defekt erase blocks are now used with the reserved erase blocks,
we can calculate who many percent of the flash is defekt.

With this information we can now create a notify that is triggered at a
certain percentage.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
3 years agoubi: perpartion for percentage evaluation of the bad blocks
Florian Eckert [Thu, 11 Mar 2021 16:53:16 +0000 (17:53 +0100)] 
ubi: perpartion for percentage evaluation of the bad blocks

This change prepares the ubi plugin to add the bad block evaluation in
percent.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
3 years agoMerge pull request #3793 from clear-code/fix-broken-config-test
Matthias Runge [Mon, 6 Sep 2021 13:34:24 +0000 (15:34 +0200)] 
Merge pull request #3793 from clear-code/fix-broken-config-test

Fix broken "-t" option of collectd

3 years agoMerge pull request #3889 from basilfx/feature/nut_plugin_real_power
Matthias Runge [Mon, 6 Sep 2021 12:28:30 +0000 (14:28 +0200)] 
Merge pull request #3889 from basilfx/feature/nut_plugin_real_power

nut: expose more (real)power

3 years agoMerge pull request #3874 from ApplianSys/fix_netsnmp_linking
Matthias Runge [Mon, 6 Sep 2021 12:27:34 +0000 (14:27 +0200)] 
Merge pull request #3874 from ApplianSys/fix_netsnmp_linking

Fix #3472 - Correct LD flags for various libs

3 years agoMerge pull request #3906 from collectd/collectd-5.13
Matthias Runge [Mon, 6 Sep 2021 12:26:33 +0000 (14:26 +0200)] 
Merge pull request #3906 from collectd/collectd-5.13

merge collectd 5.13 branch to main

3 years agoMerge pull request #3867 from carlospeon/main
Matthias Runge [Sat, 4 Sep 2021 19:17:06 +0000 (21:17 +0200)] 
Merge pull request #3867 from carlospeon/main

write_influxdb_udp: add TimePrecision configuration option

3 years agoMerge pull request #3901 from matsKNY/pr-fix_configure_ac_redfish_typo
Matthias Runge [Fri, 3 Sep 2021 05:58:36 +0000 (07:58 +0200)] 
Merge pull request #3901 from matsKNY/pr-fix_configure_ac_redfish_typo

Fix-configure.ac: typing error for the CPPFLAGS of libredfish

3 years agoMerge pull request #3884 from basilfx/feature/nginx_unix_socket_path
Matthias Runge [Fri, 3 Sep 2021 05:57:40 +0000 (07:57 +0200)] 
Merge pull request #3884 from basilfx/feature/nginx_unix_socket_path

nginx plugin: Add support for UNIX domain sockets

3 years agoMerge pull request #3878 from ccin2p3/redhat_spec_5.12.0
Matthias Runge [Fri, 3 Sep 2021 05:56:35 +0000 (07:56 +0200)] 
Merge pull request #3878 from ccin2p3/redhat_spec_5.12.0

Update RedHat specfile to 5.12.0

3 years agoMerge pull request #3886 from systemcrash/fix_python_deprecation
Matthias Runge [Fri, 3 Sep 2021 05:55:45 +0000 (07:55 +0200)] 
Merge pull request #3886 from systemcrash/fix_python_deprecation

ChangeLog: python: Fix compile-time errors about deprecation via ifdefs.

3 years agoMerge pull request #3898 from tonypelle/google_oauth_fix
Matthias Runge [Fri, 3 Sep 2021 05:54:30 +0000 (07:54 +0200)] 
Merge pull request #3898 from tonypelle/google_oauth_fix

Increase buffer size for oauth access token to 2048

3 years agoMerge pull request #3904 from mrunge/travis
Matthias Runge [Fri, 3 Sep 2021 05:52:09 +0000 (07:52 +0200)] 
Merge pull request #3904 from mrunge/travis

Remove integration with travis

3 years agoMerge pull request #3903 from jenny-cheung/main
Matthias Runge [Fri, 3 Sep 2021 05:51:34 +0000 (07:51 +0200)] 
Merge pull request #3903 from jenny-cheung/main

Fix a small error due to the unreleased lock for

3 years agoTrigger Build 3867/head
Carlos Peón Costa [Tue, 24 Aug 2021 15:14:27 +0000 (17:14 +0200)] 
Trigger Build

3 years agoAdd TimePrecision configuration option.
carlospeon [Fri, 26 Mar 2021 11:40:22 +0000 (12:40 +0100)] 
Add TimePrecision configuration option.

3 years agoMerge pull request #3868 from mrunge/ci_test 3906/head
Matthias Runge [Tue, 24 Aug 2021 14:40:25 +0000 (16:40 +0200)] 
Merge pull request #3868 from mrunge/ci_test

Drop el6 from testing

3 years agoRemove integration with travis 3904/head
Matthias Runge [Mon, 23 Aug 2021 09:43:52 +0000 (11:43 +0200)] 
Remove integration with travis

3 years agoMerge pull request #3784 from kenhys/drop-centos6
Matthias Runge [Mon, 23 Aug 2021 09:39:08 +0000 (11:39 +0200)] 
Merge pull request #3784 from kenhys/drop-centos6

cirrus: drop CentOS6 (EOL)

3 years agoFix a small error due to the unreleased lock 3903/head
jenny [Mon, 23 Aug 2021 09:22:43 +0000 (17:22 +0800)] 
Fix a small error due to the unreleased lock

Fix a small error due to the unreleased lock by add pthread_mutex_unlock(&perl_threads->mutex) before program exit.

3 years agoFix-configure.ac: typing error for the CPPFLAGS of libredfish 3901/head
Mathieu Stoffel [Fri, 20 Aug 2021 11:54:35 +0000 (13:54 +0200)] 
Fix-configure.ac: typing error for the CPPFLAGS of libredfish

Probably a copy/paste error: `LIBHIREDFISH_CPPFLAGS` was used instead of
`LIBREDFISH_CPPFLAGS`.

4 years agoRan clang-format on write_stackdriver.c 3898/head
tonypelle [Wed, 4 Aug 2021 19:55:39 +0000 (12:55 -0700)] 
Ran clang-format on write_stackdriver.c

4 years agoIncrease buffer size for oauth access token to 2048
tonypelle [Wed, 4 Aug 2021 19:22:44 +0000 (12:22 -0700)] 
Increase buffer size for oauth access token to 2048

4 years agonut: expose more (real)power 3889/head
Bas Stottelaar [Thu, 24 Jun 2021 20:49:45 +0000 (22:49 +0200)] 
nut: expose more (real)power

According to [1], there are multiple fields that can indicate the
(real)power. Expose the ones under the `ups` and `input` key.

Note: naming of the type instances are based on how `output.power`
and `output.realpower` are exposed.

[1] https://networkupstools.org/docs/developer-guide.chunked/apas01.html

4 years agoChangeLog: python: Fix compile-time errors about deprecation via ifdefs. 3886/head
Paul [Fri, 18 Jun 2021 12:48:29 +0000 (14:48 +0200)] 
ChangeLog: python: Fix compile-time errors about deprecation via ifdefs.

4 years agonginx: document 'Socket' option 3884/head
Bas Stottelaar [Wed, 16 Jun 2021 21:50:41 +0000 (23:50 +0200)] 
nginx: document 'Socket' option

4 years agonginx: add support for unix domain sockets
Bas Stottelaar [Wed, 16 Jun 2021 21:49:38 +0000 (23:49 +0200)] 
nginx: add support for unix domain sockets

Support for UNIX domain socket was introduced in NGINX version 0.8.21
[1]. One can use this to create option to have the stub_status plugin
reachable via a socket-only server.

[1] http://nginx.org/en/docs/http/ngx_http_core_module.html#listen

4 years agoUpdate RedHat specfile to 5.12.0 3878/head
Fᴀʙɪᴇɴ Wᴇʀɴʟɪ [Wed, 5 May 2021 08:01:28 +0000 (10:01 +0200)] 
Update RedHat specfile to 5.12.0

* Remove netstat_udp
* Add infiniband and mdevents

Change-Id: Ib9afd72f37e3bee4e5a7cba216ff11708ba5988f

4 years agoFix #3472 - Correct LD flags for various libs 3874/head
Craig Gowing [Thu, 15 Apr 2021 07:36:09 +0000 (08:36 +0100)] 
Fix #3472 - Correct LD flags for various libs

4 years agoDrop el6 from testing 3868/head
Matthias Runge [Mon, 29 Mar 2021 14:19:54 +0000 (16:19 +0200)] 
Drop el6 from testing

4 years agoFix broken "-t" option of collectd 3793/head
Takuro Ashie [Thu, 17 Dec 2020 06:35:13 +0000 (15:35 +0900)] 
Fix broken "-t" option of collectd

"-t" option should test config file but it always returns 0 with no
message even if a broken config file is specified.

Signed-off-by: Takuro Ashie <ashie@clear-code.com>
4 years agocirrus: drop CentOS6 3784/head
Kentaro Hayashi [Sat, 5 Dec 2020 04:05:57 +0000 (13:05 +0900)] 
cirrus: drop CentOS6

It had been reached EOL at November 30th, 2020.
There is no security updates available anymore.

ref. https://wiki.centos.org/About/Product

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
4 years agoMerge pull request #3573 from octo/ci/buster coverity_scan
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.

4 years agoMerge pull request #3571 from carlospeon/buffer
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.

4 years ago.cirrus.yml: Add Debian Buster. 3573/head
Florian Forster [Mon, 14 Sep 2020 06:36:40 +0000 (08:36 +0200)] 
.cirrus.yml: Add Debian Buster.

4 years agoMerge branch 'collectd-5.12' into main
Florian Forster [Mon, 14 Sep 2020 07:54:48 +0000 (09:54 +0200)] 
Merge branch 'collectd-5.12' into main

4 years ago* Build influxdb points outside de mutex. 3571/head
carlospeon [Thu, 18 Jun 2020 18:01:16 +0000 (20:01 +0200)] 
* Build influxdb points outside de mutex.
* listen_loop cleanup.

4 years agoMerge pull request #3569 from ffontaine/main
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

4 years agosrc/netlink.c: remove REG_NOERROR 3569/head
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>
4 years agoMerge pull request #3567 from octo/cleanfiles_types_grpc collectd-5.12.0
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.

4 years agoMakefile.am: Add types.grpc.pb.{cc,h} to CLEANFILES. 3567/head
Florian Forster [Thu, 3 Sep 2020 14:03:50 +0000 (16:03 +0200)] 
Makefile.am: Add types.grpc.pb.{cc,h} to CLEANFILES.

4 years agoMerge pull request #3566 from octo/test_plugin_intel_rdt
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.

4 years agoMakefile.am: Link test_plugin_intel_rdt with libpqos. 3566/head
Florian Forster [Thu, 3 Sep 2020 11:41:28 +0000 (13:41 +0200)] 
Makefile.am: Link test_plugin_intel_rdt with libpqos.

4 years agoMerge pull request #3565 from kwiatrox/release_5_12_kw
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.

4 years agoUpdate changelog and version number for release 5.12. 3565/head
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>
4 years agoMerge pull request #3564 from octo/snmp_agent
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.

4 years agosnmp_agent plugin: Fix strncat() truncation warning. 3564/head
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);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

4 years agoMerge pull request #2470 from dothebart/curl_jolokia_2
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.

4 years agoMerge pull request #3560 from mrunge/inclusive_lang
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

4 years agoDo not change counter/gauge names for now 3560/head
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.

4 years agoReplace master/slave with primary/replica.
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.

4 years agoReplace deny-list with blocklist and strip dashes
Matthias Runge [Tue, 1 Sep 2020 15:58:34 +0000 (17:58 +0200)] 
Replace deny-list with blocklist and strip dashes

4 years agoRewrite problematic language where possible
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.

4 years agoMerge pull request #3558 from octo/solaris/signed-char
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.

4 years agoMerge pull request #3555 from octo/ci/remove-jessie
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.

4 years agolibcollectdclient: Don't initialize a char with 0xF8. 3558/head
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
```

4 years ago.cirrus.yml: Remove Debian Jessie. 3555/head
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.

4 years agoMerge pull request #3549 from octo/infiniband-build
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".

4 years agoMerge pull request #3552 from octo/merge-511-512
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

4 years agoMerge branch 'collectd-5.11' into merge-511-512 3552/head
Florian Forster [Mon, 31 Aug 2020 14:07:15 +0000 (16:07 +0200)] 
Merge branch 'collectd-5.11' into merge-511-512

4 years agoMerge pull request #3548 from Self-Perfection/mariadb_10.05_compatibility
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

4 years agoMerge pull request #3543 from dago/fix-network-test
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

4 years agonetwork plugin: Simplify initialization of sockent_t. 3543/head
Florian Forster [Sun, 30 Aug 2020 07:19:39 +0000 (09:19 +0200)] 
network plugin: Simplify initialization of sockent_t.