]>
git.ipfire.org Git - thirdparty/collectd.git/log
Riham Aldakkak [Tue, 21 Sep 2021 06:32:57 +0000 (08:32 +0200)]
Report MemAvailable when present in meminfo (#3916)
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>
Matthias Runge [Thu, 9 Sep 2021 16:33:31 +0000 (18:33 +0200)]
Create build.yml (#3911)
* Create build.yml
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.
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>
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>
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
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
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
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
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
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
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
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
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.
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
Matthias Runge [Fri, 3 Sep 2021 05:52:09 +0000 (07:52 +0200)]
Merge pull request #3904 from mrunge/travis
Remove integration with travis
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
Carlos Peón Costa [Tue, 24 Aug 2021 15:14:27 +0000 (17:14 +0200)]
Trigger Build
carlospeon [Fri, 26 Mar 2021 11:40:22 +0000 (12:40 +0100)]
Add TimePrecision configuration option.
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
Matthias Runge [Mon, 23 Aug 2021 09:43:52 +0000 (11:43 +0200)]
Remove integration with travis
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)
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.
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`.
tonypelle [Wed, 4 Aug 2021 19:55:39 +0000 (12:55 -0700)]
Ran clang-format on write_stackdriver.c
tonypelle [Wed, 4 Aug 2021 19:22:44 +0000 (12:22 -0700)]
Increase buffer size for oauth access token to 2048
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
Paul [Fri, 18 Jun 2021 12:48:29 +0000 (14:48 +0200)]
ChangeLog: python: Fix compile-time errors about deprecation via ifdefs.
Bas Stottelaar [Wed, 16 Jun 2021 21:50:41 +0000 (23:50 +0200)]
nginx: document 'Socket' option
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
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
Craig Gowing [Thu, 15 Apr 2021 07:36:09 +0000 (08:36 +0100)]
Fix #3472 - Correct LD flags for various libs
Matthias Runge [Mon, 29 Mar 2021 14:19:54 +0000 (16:19 +0200)]
Drop el6 from testing
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>
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>
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 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
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 [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 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:41:43 +0000 (10:41 +0200)]
.cirrus.yml: Remove Debian Jessie.
Regular support for Jessie ended in 2018, LTS in June 2020.
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
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
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
Matthias Runge [Thu, 30 Jul 2020 15:01:07 +0000 (17:01 +0200)]
Merge pull request #3504 from efuss/snmp_count
Add a Count option to snmp plugin
Kamil Wiatrowski [Tue, 28 Jul 2020 13:13:30 +0000 (14:13 +0100)]
netlink plugin: additional chck for older netlink (kernel) versions
Add a safe check if VF statistics are supported by netlink.
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
sranga4 [Mon, 27 Jul 2020 17:11:25 +0000 (10:11 -0700)]
Merge pull request #3494 from lukeyeager/infiniband
New plugin: infiniband
Luke Yeager [Mon, 27 Jul 2020 16:15:56 +0000 (09:15 -0700)]
infiniband: replace hard-coded constant with variable
Luke Yeager [Fri, 24 Jul 2020 22:33:57 +0000 (15:33 -0700)]
infiniband: revert the merge of ib_lid and ib_sm_lid
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