]> git.ipfire.org Git - thirdparty/collectd.git/log
thirdparty/collectd.git
6 years agoMore styling + ignorelist create check
Andrew Bays [Mon, 5 Nov 2018 15:17:20 +0000 (10:17 -0500)] 
More styling + ignorelist create check

6 years agoHandled interrupted socket reads
Andrew Bays [Fri, 19 Oct 2018 14:05:44 +0000 (10:05 -0400)] 
Handled interrupted socket reads

6 years agoMore styling + remove superfluous dequeue thread error logic
Andrew Bays [Fri, 19 Oct 2018 12:10:49 +0000 (08:10 -0400)] 
More styling + remove superfluous dequeue thread error logic

6 years agoocto code review changes
Andrew Bays [Thu, 18 Oct 2018 23:02:28 +0000 (19:02 -0400)] 
octo code review changes

6 years agoUse a separate dequeue thread to dispatch notifications
Andrew Bays [Wed, 17 Oct 2018 16:44:22 +0000 (12:44 -0400)] 
Use a separate dequeue thread to dispatch notifications

6 years agoAdd libmnl-devel req for connectivity
Andrew Bays [Tue, 19 Jun 2018 15:20:31 +0000 (11:20 -0400)] 
Add libmnl-devel req for connectivity

6 years agoSpec file typo fixes
Andrew Bays [Tue, 19 Jun 2018 15:06:39 +0000 (11:06 -0400)] 
Spec file typo fixes

6 years agoConnectivity RPM specfile
Andrew Bays [Tue, 19 Jun 2018 14:56:09 +0000 (10:56 -0400)] 
Connectivity RPM specfile

6 years agoProperly detect which interfaces to monitor
Andrew Bays [Thu, 8 Feb 2018 21:14:43 +0000 (16:14 -0500)] 
Properly detect which interfaces to monitor

6 years agoUse ignorelist + malloc fix + conf clarification
Andrew Bays [Thu, 8 Feb 2018 17:37:29 +0000 (12:37 -0500)] 
Use ignorelist + malloc fix + conf clarification

6 years agomonitor all interfaces by default
Andrew Bays [Mon, 5 Feb 2018 16:52:54 +0000 (11:52 -0500)] 
monitor all interfaces by default

6 years agosnake case for iface list + payload simplification
Andrew Bays [Thu, 1 Feb 2018 20:13:15 +0000 (15:13 -0500)] 
snake case for iface list + payload simplification

6 years agoClarify wanted netlink interface msgs
Andrew Bays [Tue, 23 Jan 2018 19:55:15 +0000 (14:55 -0500)] 
Clarify wanted netlink interface msgs

6 years agoconnectivity notifications
Andrew Bays [Thu, 18 Jan 2018 14:20:11 +0000 (09:20 -0500)] 
connectivity notifications

6 years agoconnectivity plugin initial commit
Andrew Bays [Wed, 13 Dec 2017 17:21:57 +0000 (12:21 -0500)] 
connectivity plugin initial commit

6 years agoMerge remote-tracking branch 'abays/procevent'
Matthias Runge [Thu, 5 Sep 2019 13:00:31 +0000 (15:00 +0200)] 
Merge remote-tracking branch 'abays/procevent'

6 years agoMore clang formatting for unrelated plugin 2623/head
Andrew Bays [Thu, 5 Sep 2019 12:25:25 +0000 (08:25 -0400)] 
More clang formatting for unrelated plugin

6 years agoAnother string formatting fix attempt
Andrew Bays [Thu, 5 Sep 2019 12:23:31 +0000 (08:23 -0400)] 
Another string formatting fix attempt

6 years agoDebian string formatting fix
Andrew Bays [Thu, 5 Sep 2019 12:14:28 +0000 (08:14 -0400)] 
Debian string formatting fix

6 years agoFix merge conflicts
Andrew Bays [Wed, 4 Sep 2019 19:51:51 +0000 (15:51 -0400)] 
Fix merge conflicts

6 years agoclang formatting
Andrew Bays [Tue, 18 Jun 2019 16:29:47 +0000 (12:29 -0400)] 
clang formatting

6 years agoAlign with new util library locations
Andrew Bays [Tue, 18 Jun 2019 16:29:03 +0000 (12:29 -0400)] 
Align with new util library locations

6 years agoStyling + optimizations
Andrew Bays [Tue, 13 Nov 2018 15:04:19 +0000 (10:04 -0500)] 
Styling + optimizations

6 years agoHandled interrupted socket reads
Andrew Bays [Fri, 19 Oct 2018 14:05:30 +0000 (10:05 -0400)] 
Handled interrupted socket reads

6 years agoMore styling + remove superfluous dequeue thread error logic
Andrew Bays [Fri, 19 Oct 2018 12:11:10 +0000 (08:11 -0400)] 
More styling + remove superfluous dequeue thread error logic

6 years agoAdditional mutex + styling changes
Andrew Bays [Thu, 18 Oct 2018 23:11:27 +0000 (19:11 -0400)] 
Additional mutex + styling changes

6 years agoUse a separate dequeue thread to dispatch notifications
Andrew Bays [Wed, 17 Oct 2018 14:20:39 +0000 (10:20 -0400)] 
Use a separate dequeue thread to dispatch notifications

6 years agoRemove types.db entry and change RegexProcess conf option name
Andrew Bays [Mon, 15 Oct 2018 17:47:17 +0000 (13:47 -0400)] 
Remove types.db entry and change RegexProcess conf option name

6 years agoUse long type for most PID values
Andrew Bays [Fri, 12 Oct 2018 18:10:32 +0000 (14:10 -0400)] 
Use long type for most PID values

6 years agoclang formatting
Andrew Bays [Fri, 12 Oct 2018 17:48:47 +0000 (13:48 -0400)] 
clang formatting

6 years agoDrain netlink socket before sleeping, then filter repeated process start msgs
Andrew Bays [Fri, 12 Oct 2018 17:47:43 +0000 (13:47 -0400)] 
Drain netlink socket before sleeping, then filter repeated process start msgs

6 years agoProcevent RPM specfile
Andrew Bays [Tue, 19 Jun 2018 15:23:01 +0000 (11:23 -0400)] 
Procevent RPM specfile

6 years agoCheck ignorelist during init
Andrew Bays [Tue, 27 Mar 2018 14:06:18 +0000 (10:06 -0400)] 
Check ignorelist during init

6 years agoFix mutex lock in read_event
Andrew Bays [Fri, 23 Mar 2018 11:08:55 +0000 (07:08 -0400)] 
Fix mutex lock in read_event

6 years agoUse ignorelist_t and fix leaks
Andrew Bays [Tue, 13 Feb 2018 17:44:21 +0000 (12:44 -0500)] 
Use ignorelist_t and fix leaks

6 years agopayload logic clean-up + leak fixes
Andrew Bays [Mon, 5 Feb 2018 20:39:22 +0000 (15:39 -0500)] 
payload logic clean-up + leak fixes

6 years agoClarify wanted netlink proc msgs
Andrew Bays [Tue, 23 Jan 2018 19:19:07 +0000 (14:19 -0500)] 
Clarify wanted netlink proc msgs

6 years agoProcevent plugin notifications
Andrew Bays [Thu, 11 Jan 2018 21:00:19 +0000 (16:00 -0500)] 
Procevent plugin notifications

6 years agocheck fscanf return value in process_check
Andrew Bays [Wed, 13 Dec 2017 17:50:13 +0000 (12:50 -0500)] 
check fscanf return value in process_check

6 years agoprocevent plugin initial commit
Andrew Bays [Wed, 13 Dec 2017 14:39:59 +0000 (09:39 -0500)] 
procevent plugin initial commit

6 years agoFix clang formatting in grpc.cc
Andrew Bays [Wed, 4 Sep 2019 17:18:21 +0000 (13:18 -0400)] 
Fix clang formatting in grpc.cc

6 years agoRemove duplicate author entry
Andrew Bays [Wed, 4 Sep 2019 17:14:35 +0000 (13:14 -0400)] 
Remove duplicate author entry

6 years agoFix merge conflicts
Andrew Bays [Wed, 4 Sep 2019 17:12:23 +0000 (13:12 -0400)] 
Fix merge conflicts

6 years agoCast cdtime_t to unsigned long long when necessary
Andrew Bays [Mon, 17 Jun 2019 11:51:42 +0000 (07:51 -0400)] 
Cast cdtime_t to unsigned long long when necessary

6 years agoAttempt to align with new util library locations
Andrew Bays [Mon, 17 Jun 2019 11:23:14 +0000 (07:23 -0400)] 
Attempt to align with new util library locations

6 years agoclang formatting, again
Andrew Bays [Fri, 14 Jun 2019 17:03:04 +0000 (13:03 -0400)] 
clang formatting, again

6 years agoBump CI for connectivity plugin
Andrew Bays [Fri, 14 Jun 2019 17:01:59 +0000 (13:01 -0400)] 
Bump CI for connectivity plugin

6 years agoStyling/optimization cleanup + proper use of cdtime
Andrew Bays [Fri, 9 Nov 2018 12:19:00 +0000 (07:19 -0500)] 
Styling/optimization cleanup + proper use of cdtime

6 years agouse cdtime + snprintf cleanup + other styling/cleanup
Andrew Bays [Tue, 6 Nov 2018 18:15:52 +0000 (13:15 -0500)] 
use cdtime + snprintf cleanup + other styling/cleanup

6 years agoMore styling + ignorelist create check
Andrew Bays [Mon, 5 Nov 2018 15:17:20 +0000 (10:17 -0500)] 
More styling + ignorelist create check

6 years agoHandled interrupted socket reads
Andrew Bays [Fri, 19 Oct 2018 14:05:44 +0000 (10:05 -0400)] 
Handled interrupted socket reads

6 years agoMore styling + remove superfluous dequeue thread error logic
Andrew Bays [Fri, 19 Oct 2018 12:10:49 +0000 (08:10 -0400)] 
More styling + remove superfluous dequeue thread error logic

6 years agoocto code review changes
Andrew Bays [Thu, 18 Oct 2018 23:02:28 +0000 (19:02 -0400)] 
octo code review changes

6 years agoUse a separate dequeue thread to dispatch notifications
Andrew Bays [Wed, 17 Oct 2018 16:44:22 +0000 (12:44 -0400)] 
Use a separate dequeue thread to dispatch notifications

6 years agoAdd libmnl-devel req for connectivity
Andrew Bays [Tue, 19 Jun 2018 15:20:31 +0000 (11:20 -0400)] 
Add libmnl-devel req for connectivity

6 years agoSpec file typo fixes
Andrew Bays [Tue, 19 Jun 2018 15:06:39 +0000 (11:06 -0400)] 
Spec file typo fixes

6 years agoConnectivity RPM specfile
Andrew Bays [Tue, 19 Jun 2018 14:56:09 +0000 (10:56 -0400)] 
Connectivity RPM specfile

6 years agoProperly detect which interfaces to monitor
Andrew Bays [Thu, 8 Feb 2018 21:14:43 +0000 (16:14 -0500)] 
Properly detect which interfaces to monitor

6 years agoUse ignorelist + malloc fix + conf clarification
Andrew Bays [Thu, 8 Feb 2018 17:37:29 +0000 (12:37 -0500)] 
Use ignorelist + malloc fix + conf clarification

6 years agomonitor all interfaces by default
Andrew Bays [Mon, 5 Feb 2018 16:52:54 +0000 (11:52 -0500)] 
monitor all interfaces by default

6 years agosnake case for iface list + payload simplification
Andrew Bays [Thu, 1 Feb 2018 20:13:15 +0000 (15:13 -0500)] 
snake case for iface list + payload simplification

6 years agoClarify wanted netlink interface msgs
Andrew Bays [Tue, 23 Jan 2018 19:55:15 +0000 (14:55 -0500)] 
Clarify wanted netlink interface msgs

6 years agoconnectivity notifications
Andrew Bays [Thu, 18 Jan 2018 14:20:11 +0000 (09:20 -0500)] 
connectivity notifications

6 years agoconnectivity plugin initial commit
Andrew Bays [Wed, 13 Dec 2017 17:21:57 +0000 (12:21 -0500)] 
connectivity plugin initial commit

6 years agoMerge pull request #2624 from abays/sysevent
Matthias Runge [Wed, 4 Sep 2019 13:07:51 +0000 (15:07 +0200)] 
Merge pull request #2624 from abays/sysevent

Red Hat NFVPE Sysevent Plugin

6 years agoRemove extraneous debug information that trigger issue with size_t variable size
Benoit Plessis [Mon, 2 Sep 2019 09:02:27 +0000 (11:02 +0200)] 
Remove extraneous debug information that trigger issue with size_t variable size

6 years agoname error in the lately added default value setting for bulk_size
Benoit Plessis [Mon, 2 Sep 2019 08:42:09 +0000 (10:42 +0200)] 
name error in the lately added default value setting for bulk_size

6 years agoUse correct coding style
Benoit Plessis [Mon, 2 Sep 2019 08:35:03 +0000 (10:35 +0200)] 
Use correct coding style

6 years agoAdd support for SNMP Bulk Transfert
Benoit Plessis [Mon, 2 Sep 2019 08:16:40 +0000 (10:16 +0200)] 
Add support for SNMP Bulk Transfert

ChangeLog: snmp plugin: support for bulk transfert has been added.

As per issue #2495 we are experiencing so long collect time for switch with high number of port so i took a try at that.

This is the first attempt, it's working but i may not have seen every failure opportunities, i tried to be the less disruptive as possible.

This mostly modify the csnmp_read_table to switch over to 'GETBULK' PDUs if conditions are ok, and handle the extra return values with the same loop.

Comments are welcome

6 years agoChangelog: processes plugin: get # processes running from /proc/stat
Bart De Vos [Fri, 30 Aug 2019 07:33:07 +0000 (09:33 +0200)] 
Changelog: processes plugin: get # processes running from /proc/stat

6 years agoprocesses: update code style
Bart De Vos [Fri, 30 Aug 2019 07:29:10 +0000 (09:29 +0200)] 
processes: update code style

6 years agoplugin: processes: return error if procs_running can not be retrieved
Bart De Vos [Fri, 30 Aug 2019 07:12:34 +0000 (09:12 +0200)] 
plugin: processes: return error if procs_running can not be retrieved

Although returning '1' is probably right, it's up to the application to
decide. The data structure for number of running processes is an 'int',
so '-1' clearly indicates something's wrong when interpreting the data.

Conflicts:
src/processes.c

6 years agoplugin: processes: use a const ref string and strlen i.s.o. magic offset
Bart De Vos [Mon, 26 Aug 2019 13:38:12 +0000 (15:38 +0200)] 
plugin: processes: use a const ref string and strlen i.s.o. magic offset

The simple parser is based on 'strstr', whereas the actual data does
include a white-space character to separate the 'id' (procs_running)
from the 'value' (a number). Yet parsing the number can off course only
take place 'after' the white-space. Subsequently, not finding a
'white-space' should be treated as an error condition.

Adding the 'white-space' in const string and defining the offset based
on 'strlen' fixes this properly.

6 years agoAllow cURL Statistics option in write-http plugin
Nelson [Fri, 23 Aug 2019 15:59:35 +0000 (08:59 -0700)] 
Allow cURL Statistics option in write-http plugin

write-http can optionally configure cURL Statistics as per other cURL based plugins

ChangeLog: write_http plugin: add ability to configure cURL Statistics

6 years agofixed code format
Michal Kobylinski [Fri, 23 Aug 2019 14:53:32 +0000 (14:53 +0000)] 
fixed code format

6 years agoNew redfish plugin
Mozejko, MarcinX [Mon, 16 Jul 2018 12:33:41 +0000 (13:33 +0100)] 
New redfish plugin

- Collect data from Redfish interface
- Use libredfish C library

redfish plugin: addressing comments from PR #2926
Add unit tests.
Fix race condition.
Fix segmentation fault.
Fix memory leaks.

ChangeLog: Redfish plugin: Collect sensor data using Redfish protocol.

Signed-off-by: Marcin Mozejko <marcinx.mozejko@intel.com>
Signed-off-by: Adrian Boczkowski <adrianx.boczkowski@intel.com>
Signed-off-by: Zoltan Szabo <zoltan.4.szabo@nokia.com>
Signed-off-by: Michal Kobylinski <michal.kobylinski@intel.com>
6 years agocode formatting via format.sh 3264/head
Robert Dietrich [Thu, 22 Aug 2019 13:10:36 +0000 (15:10 +0200)] 
code formatting via format.sh

6 years agoreplaced sizeof with NVML_DEVICE_NAME_BUFFER_SIZE (provided with nvml.h)
Robert Dietrich [Thu, 22 Aug 2019 13:00:15 +0000 (15:00 +0200)] 
replaced sizeof with NVML_DEVICE_NAME_BUFFER_SIZE (provided with nvml.h)

6 years agoreplaced bit-shift with respective define
Robert Dietrich [Thu, 22 Aug 2019 12:41:47 +0000 (14:41 +0200)] 
replaced bit-shift with respective define

6 years agoadded documentation for the two new config options of the nvml plugin
Robert Dietrich [Thu, 22 Aug 2019 12:10:28 +0000 (14:10 +0200)] 
added documentation for the two new config options of the nvml plugin

6 years agofixed nvml plugin config
Robert Dietrich [Thu, 22 Aug 2019 11:57:25 +0000 (13:57 +0200)] 
fixed nvml plugin config

6 years agoMerge pull request #3261 from ffontaine/master
Matthias Runge [Thu, 22 Aug 2019 09:50:53 +0000 (11:50 +0200)] 
Merge pull request #3261 from ffontaine/master

configure.ac: fix typo

6 years agotypes.db: fix ping_droprate range spec 3244/head
Yousong Zhou [Thu, 8 Aug 2019 08:21:20 +0000 (08:21 +0000)] 
types.db: fix ping_droprate range spec

It's always in range 0-1 since the initial support for the data source
in commit 9cc8e54618fe3f8e7af879fcc9e04d71125456fd

6 years agowrite_http no longer writes http response to stdout
Duane Waddle [Sun, 18 Aug 2019 22:33:48 +0000 (17:33 -0500)] 
write_http no longer writes http response to stdout

6 years agouse GPU index as plugin instance
Robert Dietrich [Wed, 21 Aug 2019 17:56:18 +0000 (19:56 +0200)] 
use GPU index as plugin instance

6 years agoconfigure.ac: fix typo 3261/head
Fabrice Fontaine [Wed, 21 Aug 2019 15:38:24 +0000 (17:38 +0200)] 
configure.ac: fix typo

Remove double "without" added by
commit b7818712d46e9fbac7bd9dfe93dca936c101d680

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
6 years agoMerge pull request #3241 from ffontaine/master 3249/head
Matthias Runge [Wed, 21 Aug 2019 09:15:57 +0000 (11:15 +0200)] 
Merge pull request #3241 from ffontaine/master

configure.ac: fix activation of snmp_agent

6 years agoMerge pull request #3252 from rubenk/lgtm
Ruben Kerkhof [Thu, 15 Aug 2019 08:23:53 +0000 (10:23 +0200)] 
Merge pull request #3252 from rubenk/lgtm

Fix a few issues found with LGTM

6 years agotreewide: fix a few missing include guards 3252/head
Ruben Kerkhof [Tue, 13 Aug 2019 09:45:08 +0000 (11:45 +0200)] 
treewide: fix a few missing include guards

found with LGTM

6 years agobrowser.js: declare a few vars used as locals
Ruben Kerkhof [Tue, 13 Aug 2019 09:44:47 +0000 (11:44 +0200)] 
browser.js: declare a few vars used as locals

6 years agonetlink.c: remove always true comparison
Ruben Kerkhof [Tue, 13 Aug 2019 09:28:22 +0000 (11:28 +0200)] 
netlink.c: remove always true comparison

Earlier in the function we check if fields_num >= 1

6 years agocommon.c: remove always true comparison
Ruben Kerkhof [Tue, 13 Aug 2019 09:26:50 +0000 (11:26 +0200)] 
common.c: remove always true comparison

ntohs() returns an uint16_t, which is always less than 65535

6 years agocollection3: remove unused variable
Ruben Kerkhof [Tue, 13 Aug 2019 09:25:09 +0000 (11:25 +0200)] 
collection3: remove unused variable

6 years agocollectd_network.py: remove unused import
Ruben Kerkhof [Tue, 13 Aug 2019 09:21:34 +0000 (11:21 +0200)] 
collectd_network.py: remove unused import

6 years agoMerge pull request #3246 from jplitza/zfsarc-skip-lines
Ruben Kerkhof [Mon, 12 Aug 2019 07:47:19 +0000 (09:47 +0200)] 
Merge pull request #3246 from jplitza/zfsarc-skip-lines

zfs_arc plugin: Fix skipping of leading lines

6 years agoMerge pull request #3239 from usev6/patch-1
Matthias Runge [Sat, 10 Aug 2019 12:58:40 +0000 (14:58 +0200)] 
Merge pull request #3239 from usev6/patch-1

Fix indentation of some closing curlies

6 years agozfs_arc: Fix skipping of leading lines 3246/head
Jan-Philipp Litza [Fri, 9 Aug 2019 20:06:56 +0000 (22:06 +0200)] 
zfs_arc: Fix skipping of leading lines

Probably due to a merge gone wrong, the first two lines were skipped
twice, skipping four lines in total and thus missing the "hits" and
"misses" counts.

6 years agoMerge pull request #3245 from mrunge/rdt_fix
Matthias Runge [Fri, 9 Aug 2019 05:36:37 +0000 (07:36 +0200)] 
Merge pull request #3245 from mrunge/rdt_fix

Fix compile time issues

6 years agoRDT-compile fix 3245/head
Matthias Runge [Thu, 8 Aug 2019 14:45:34 +0000 (16:45 +0200)] 
RDT-compile fix

include feedback from review, make the code easier.

Signed-off-by: Matthias Runge <mrunge@redhat.com>
6 years agoFix compile time issues
Matthias Runge [Thu, 8 Aug 2019 09:58:55 +0000 (11:58 +0200)] 
Fix compile time issues

This resolves #3242 and should also resolve #3179.

Signed-off-by: Matthias Runge <mrunge@redhat.com>