]>
git.ipfire.org Git - thirdparty/collectd.git/log
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
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>
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
Christian Tacke [Sat, 6 Jun 2020 12:39:43 +0000 (14:39 +0200)]
collection3: Show instance for Current/Voltage
Instead of just {type_instance} (which is sometimes empty for
some data), show {instance}. This one contains the former
and is more informative.
Kamil Wiatrowski [Thu, 28 May 2020 13:58:19 +0000 (14:58 +0100)]
netlink plugin: increase socket buffer size
Set socket buffer size so it is big enough to hold
all nested VFs data. Check sriov_totalvfs to estimate
buffer size.
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
Kamil Wiatrowski [Mon, 18 May 2020 13:14:01 +0000 (14:14 +0100)]
netlink plugin: add unit tests for VF part
Add unit tests for VF part of netlink plugin.
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
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.
Kamil Wiatrowski [Wed, 22 Apr 2020 12:31:45 +0000 (13:31 +0100)]
netlink plugin: collect VFs info and stats
Add collecting of VF data for selected interfaces from netlink.
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
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