]>
git.ipfire.org Git - thirdparty/collectd.git/log
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.
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
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
Luke Yeager [Thu, 23 Jul 2020 21:05:28 +0000 (14:05 -0700)]
infiniband: run clang-format
Luke Yeager [Thu, 23 Jul 2020 20:59:21 +0000 (13:59 -0700)]
infiniband: add more comments to define each attribute
Luke Yeager [Thu, 23 Jul 2020 20:49:14 +0000 (13:49 -0700)]
infiniband: consolidate ib_sm_lid and ib_lid
ib_sm_lid becomes type="ib_lid", type_instance="sm"
Luke Yeager [Thu, 23 Jul 2020 20:47:52 +0000 (13:47 -0700)]
infiniband: constrain the range of GAUGE types more closely
Luke Yeager [Thu, 23 Jul 2020 16:58:31 +0000 (09:58 -0700)]
infiniband: relicense to MIT
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
Edgar Fuß [Tue, 14 Jul 2020 16:51:02 +0000 (18:51 +0200)]
Allow non-DS_COUNTER values for Count option
Allow the value to be of an type other than DS_COUNTER when using the Count option.
I'm sure this can be done more elgantly.
Edgar Fuß [Mon, 13 Jul 2020 14:37:10 +0000 (16:37 +0200)]
Indentation changes
Mechanical indentation changes intentionally exempted from the last commit (to facilitate review).
Edgar Fuß [Mon, 13 Jul 2020 14:35:12 +0000 (16:35 +0200)]
Add a Count option to snmp plugin (minus indent)
Add a Count option to the snmp plugin allowing to gather the number of table entries (matching given criteria) rather than their values.
This is especially useful in combination with the recently introduced Filter options.
Example: Count number of total/connected stations on a (Lancom) Access Point.
Indentation changes to existing code are deferred to the next commit in order ease review.
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 19:27:38 +0000 (21:27 +0200)]
Add pagesize/getpagesize() for NetBSD case
In the NetBSD case (has sysctlbyname(), but prefers sysctl()), declare pagesize, #include <unistd.h> and call getpagesize().
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.
Edgar Fuß [Thu, 9 Jul 2020 14:31:23 +0000 (16:31 +0200)]
clang-format
Re-order #includes for the sake of appeasing clang-format. Fortunately, it still compiles that way.
Edgar Fuß [Thu, 9 Jul 2020 14:30:02 +0000 (16:30 +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:04:01 +0000 (13:04 +0200)]
clang-format
Apply clang-format.
Edgar Fuß [Thu, 9 Jul 2020 11:01:30 +0000 (13:01 +0200)]
clang-format
Apply clang-format.
Edgar Fuß [Thu, 9 Jul 2020 11:00:17 +0000 (13:00 +0200)]
clang-format
Apply clang-format. Makes part of the code harder to read.
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ß [Thu, 9 Jul 2020 10:54:48 +0000 (12:54 +0200)]
clang-format
Partly apply clang-format. Makes part of the code harder to read. Do not re-order sys/types.h.
Edgar Fuß [Thu, 9 Jul 2020 10:52:56 +0000 (12:52 +0200)]
clang-format
Partly apply clang-format. Do not re-order sys/types.h.
Edgar Fuß [Thu, 9 Jul 2020 10:51:06 +0000 (12:51 +0200)]
clang-format
Apply clang-format.
Edgar Fuß [Thu, 9 Jul 2020 10:49:08 +0000 (12:49 +0200)]
clang-format
Apply clang-format. Makes parts of the code harder to read.
Edgar Fuß [Thu, 9 Jul 2020 10:42:22 +0000 (12:42 +0200)]
Revert re-ordering of pagesize definition
Revert a re-ordering of #ifdef'd block that may have lead to pagesize being defined, but unused.
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 17:22:04 +0000 (19:22 +0200)]
Implement processes plugin on NetBSD
Implement the processes plugin on NetBSD.
Written by Håvard Eidnes <he@NetBSD.org>
Edgar Fuß [Wed, 8 Jul 2020 17:20:45 +0000 (19:20 +0200)]
Implement memory plugin for NetBSD
Add a port of the memory plugin for NetBSD using VM_UVMEXP2, and preferring sysctl over sysctlbyname.
Written by Håvard Eidnes <he@NetBSD.org>
Edgar Fuß [Wed, 8 Jul 2020 17:19:02 +0000 (19:19 +0200)]
Implement irq plugin for NetBSD
Implement the irq plugin for NetBSD.
Written by Håvard Eidnes <he@NetBSD.org>
Edgar Fuß [Wed, 8 Jul 2020 17:17:34 +0000 (19:17 +0200)]
Implement entropy plugin for NetBSD
Provide a NetBSD implementation for graphing available entropy.
This version tries to keep /dev/urandom open (for repeated use), instead of constantly re-opening/closing it, since the latter will needlessly reduce the kernel's entropy estimate.
Written by Håvard Eidnes <he@NetBSD.org>
Edgar Fuß [Wed, 8 Jul 2020 17:10:22 +0000 (19:10 +0200)]
Implement cpu plugin for NetBSD
Implement the cpu plugin for NetBSD
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:30:39 +0000 (18:30 +0200)]
Remove use of undefined suppress_warning variable
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
Luke Yeager [Tue, 23 Jun 2020 22:51:28 +0000 (15:51 -0700)]
infiniband plugin: initial commit
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>