]>
git.ipfire.org Git - thirdparty/collectd.git/log
Andrew Bays [Tue, 18 Jun 2019 16:29:47 +0000 (12:29 -0400)]
clang formatting
Andrew Bays [Tue, 18 Jun 2019 16:29:03 +0000 (12:29 -0400)]
Align with new util library locations
Andrew Bays [Tue, 13 Nov 2018 15:04:19 +0000 (10:04 -0500)]
Styling + optimizations
Andrew Bays [Fri, 19 Oct 2018 14:05:30 +0000 (10:05 -0400)]
Handled interrupted socket reads
Andrew Bays [Fri, 19 Oct 2018 12:11:10 +0000 (08:11 -0400)]
More styling + remove superfluous dequeue thread error logic
Andrew Bays [Thu, 18 Oct 2018 23:11:27 +0000 (19:11 -0400)]
Additional mutex + styling changes
Andrew Bays [Wed, 17 Oct 2018 14:20:39 +0000 (10:20 -0400)]
Use a separate dequeue thread to dispatch notifications
Andrew Bays [Mon, 15 Oct 2018 17:47:17 +0000 (13:47 -0400)]
Remove types.db entry and change RegexProcess conf option name
Andrew Bays [Fri, 12 Oct 2018 18:10:32 +0000 (14:10 -0400)]
Use long type for most PID values
Andrew Bays [Fri, 12 Oct 2018 17:48:47 +0000 (13:48 -0400)]
clang formatting
Andrew Bays [Fri, 12 Oct 2018 17:47:43 +0000 (13:47 -0400)]
Drain netlink socket before sleeping, then filter repeated process start msgs
Andrew Bays [Tue, 19 Jun 2018 15:23:01 +0000 (11:23 -0400)]
Procevent RPM specfile
Andrew Bays [Tue, 27 Mar 2018 14:06:18 +0000 (10:06 -0400)]
Check ignorelist during init
Andrew Bays [Fri, 23 Mar 2018 11:08:55 +0000 (07:08 -0400)]
Fix mutex lock in read_event
Andrew Bays [Tue, 13 Feb 2018 17:44:21 +0000 (12:44 -0500)]
Use ignorelist_t and fix leaks
Andrew Bays [Mon, 5 Feb 2018 20:39:22 +0000 (15:39 -0500)]
payload logic clean-up + leak fixes
Andrew Bays [Tue, 23 Jan 2018 19:19:07 +0000 (14:19 -0500)]
Clarify wanted netlink proc msgs
Andrew Bays [Thu, 11 Jan 2018 21:00:19 +0000 (16:00 -0500)]
Procevent plugin notifications
Andrew Bays [Wed, 13 Dec 2017 17:50:13 +0000 (12:50 -0500)]
check fscanf return value in process_check
Andrew Bays [Wed, 13 Dec 2017 14:39:59 +0000 (09:39 -0500)]
procevent plugin initial commit
Andrew Bays [Wed, 4 Sep 2019 17:18:21 +0000 (13:18 -0400)]
Fix clang formatting in grpc.cc
Andrew Bays [Wed, 4 Sep 2019 17:14:35 +0000 (13:14 -0400)]
Remove duplicate author entry
Andrew Bays [Wed, 4 Sep 2019 17:12:23 +0000 (13:12 -0400)]
Fix merge conflicts
Andrew Bays [Mon, 17 Jun 2019 11:51:42 +0000 (07:51 -0400)]
Cast cdtime_t to unsigned long long when necessary
Andrew Bays [Mon, 17 Jun 2019 11:23:14 +0000 (07:23 -0400)]
Attempt to align with new util library locations
Andrew Bays [Fri, 14 Jun 2019 17:03:04 +0000 (13:03 -0400)]
clang formatting, again
Andrew Bays [Fri, 14 Jun 2019 17:01:59 +0000 (13:01 -0400)]
Bump CI for connectivity plugin
Andrew Bays [Fri, 9 Nov 2018 12:19:00 +0000 (07:19 -0500)]
Styling/optimization cleanup + proper use of cdtime
Andrew Bays [Tue, 6 Nov 2018 18:15:52 +0000 (13:15 -0500)]
use cdtime + snprintf cleanup + other styling/cleanup
Andrew Bays [Mon, 5 Nov 2018 15:17:20 +0000 (10:17 -0500)]
More styling + ignorelist create check
Andrew Bays [Fri, 19 Oct 2018 14:05:44 +0000 (10:05 -0400)]
Handled interrupted socket reads
Andrew Bays [Fri, 19 Oct 2018 12:10:49 +0000 (08:10 -0400)]
More styling + remove superfluous dequeue thread error logic
Andrew Bays [Thu, 18 Oct 2018 23:02:28 +0000 (19:02 -0400)]
octo code review changes
Andrew Bays [Wed, 17 Oct 2018 16:44:22 +0000 (12:44 -0400)]
Use a separate dequeue thread to dispatch notifications
Andrew Bays [Tue, 19 Jun 2018 15:20:31 +0000 (11:20 -0400)]
Add libmnl-devel req for connectivity
Andrew Bays [Tue, 19 Jun 2018 15:06:39 +0000 (11:06 -0400)]
Spec file typo fixes
Andrew Bays [Tue, 19 Jun 2018 14:56:09 +0000 (10:56 -0400)]
Connectivity RPM specfile
Andrew Bays [Thu, 8 Feb 2018 21:14:43 +0000 (16:14 -0500)]
Properly detect which interfaces to monitor
Andrew Bays [Thu, 8 Feb 2018 17:37:29 +0000 (12:37 -0500)]
Use ignorelist + malloc fix + conf clarification
Andrew Bays [Mon, 5 Feb 2018 16:52:54 +0000 (11:52 -0500)]
monitor all interfaces by default
Andrew Bays [Thu, 1 Feb 2018 20:13:15 +0000 (15:13 -0500)]
snake case for iface list + payload simplification
Andrew Bays [Tue, 23 Jan 2018 19:55:15 +0000 (14:55 -0500)]
Clarify wanted netlink interface msgs
Andrew Bays [Thu, 18 Jan 2018 14:20:11 +0000 (09:20 -0500)]
connectivity notifications
Andrew Bays [Wed, 13 Dec 2017 17:21:57 +0000 (12:21 -0500)]
connectivity plugin initial commit
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
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
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
Benoit Plessis [Mon, 2 Sep 2019 08:35:03 +0000 (10:35 +0200)]
Use correct coding style
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
Bart De Vos [Fri, 30 Aug 2019 07:33:07 +0000 (09:33 +0200)]
Changelog: processes plugin: get # processes running from /proc/stat
Bart De Vos [Fri, 30 Aug 2019 07:29:10 +0000 (09:29 +0200)]
processes: update code style
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
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.
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
Michal Kobylinski [Fri, 23 Aug 2019 14:53:32 +0000 (14:53 +0000)]
fixed code format
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>
Robert Dietrich [Thu, 22 Aug 2019 13:10:36 +0000 (15:10 +0200)]
code formatting via format.sh
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)
Robert Dietrich [Thu, 22 Aug 2019 12:41:47 +0000 (14:41 +0200)]
replaced bit-shift with respective define
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
Robert Dietrich [Thu, 22 Aug 2019 11:57:25 +0000 (13:57 +0200)]
fixed nvml plugin config
Matthias Runge [Thu, 22 Aug 2019 09:50:53 +0000 (11:50 +0200)]
Merge pull request #3261 from ffontaine/master
configure.ac: fix typo
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
Duane Waddle [Sun, 18 Aug 2019 22:33:48 +0000 (17:33 -0500)]
write_http no longer writes http response to stdout
Robert Dietrich [Wed, 21 Aug 2019 17:56:18 +0000 (19:56 +0200)]
use GPU index as plugin instance
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>
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
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
Ruben Kerkhof [Tue, 13 Aug 2019 09:45:08 +0000 (11:45 +0200)]
treewide: fix a few missing include guards
found with LGTM
Ruben Kerkhof [Tue, 13 Aug 2019 09:44:47 +0000 (11:44 +0200)]
browser.js: declare a few vars used as locals
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
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
Ruben Kerkhof [Tue, 13 Aug 2019 09:25:09 +0000 (11:25 +0200)]
collection3: remove unused variable
Ruben Kerkhof [Tue, 13 Aug 2019 09:21:34 +0000 (11:21 +0200)]
collectd_network.py: remove unused import
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
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
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.
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
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>
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>
Bart De Vos [Wed, 7 Aug 2019 14:29:46 +0000 (16:29 +0200)]
fix number of running processes
scanning /proc/*/stat AND computing other process stats takes too much
time. Consequently, the number of running processes based on the occurences
of 'R' as character indicating the running state is typically zero. Due
to processes are actually changing state during the evaluation of it's
stat(s).
The 'procs_running' number in /proc/stat on the other hand is more
accurate, and can be retrieved in one single 'read' call.
In the unlikely case that procs_running can not be retrieved from
/proc/stat, (read interrupted prior to reading up to 'procs_running'
the value '1' assumed, since this plugin is at least being executed.
Fabrice Fontaine [Tue, 6 Aug 2019 07:36:13 +0000 (09:36 +0200)]
configure.ac: fix activation of snmp_agent
If netsnmp library has been built without mib loading support (through
--disable-mib-loading), build of snmp_agent fails on:
src/snmp_agent.c: In function 'snmp_agent_get_asn_type':
src/snmp_agent.c:160:47: error: dereferencing pointer to incomplete type 'struct tree'
return (node != NULL) ? mib_to_asn_type(node->type) : 0;
struct tree is defined in net-snmp/libray/parse.h which is included by
net-snmp/mib_api.h only if NETSNMP_DISABLE_MIB_LOADING is not set.
To fix this error, check for get_tree function in netsnmp library in
addition to init_agent in netsnmpagent library
Fixes:
- http://autobuild.buildroot.org/results/
6d7ac28f154f83208f949c62d28411855f1817f8
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Matthias Runge [Tue, 6 Aug 2019 11:08:12 +0000 (13:08 +0200)]
Merge pull request #3237 from ccin2p3/f/temp-fix-ssnprintf
fix ssnprintf wrapper
Christian Bartolomäus [Wed, 31 Jul 2019 18:43:44 +0000 (20:43 +0200)]
Fix indentation of some closing curlies
anaudx [Tue, 30 Jul 2019 12:15:22 +0000 (14:15 +0200)]
Merge pull request #3238 from ccin2p3/f/syslog-debug-level
Don't fail if syslog loglevel doesn't match
Fᴀʙɪᴇɴ Wᴇʀɴʟɪ [Tue, 30 Jul 2019 10:35:31 +0000 (12:35 +0200)]
Don't fail if syslog loglevel doesn't match
This makes the log message more consistent with the behaviour,
and also is consistent with pre-
3b9c7b21b4ddfcf59a0147bc9e91e8889ca78d56 behaviour
Change-Id: I0e8aa2f5c44cb5b4142001954f4544c4157125c9
Fixes: #3236
Fᴀʙɪᴇɴ Wᴇʀɴʟɪ [Mon, 29 Jul 2019 07:54:27 +0000 (09:54 +0200)]
fix https://github.com/collectd/collectd/issues/3232
Change-Id: Idab2c4ffa242a73b651f1b056f85f905e356c5ac
Takuro Ashie [Fri, 26 Jul 2019 02:19:11 +0000 (11:19 +0900)]
match_regex: Accept all data types of meta data
match_regex currently accepts only string type of meta data, but
there is no reason to reject other data types since they can be
easily stringified by meta_data_as_string().
Accepting all data type will provide more benefit, for example
the following config can distinguish that data is local or remote,
the previous match_regex outputs many error logs for this config
though:
<Match "regex">
MetaData "network:received" "true"
</Match>
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Matthias Runge [Wed, 24 Jul 2019 07:51:14 +0000 (09:51 +0200)]
Add Changelog for collectd-5.9.1
(cherry picked from commit
47f8966a2ea076a918d0d1383765621651337881 )
collectd bot [Wed, 24 Jul 2019 07:30:27 +0000 (09:30 +0200)]
Auto-Merge pull request #3229 from mrunge/cppflags_backport
Automatically merged due to "Automerge" label
Matthias Runge [Wed, 24 Jul 2019 07:27:54 +0000 (09:27 +0200)]
Merge pull request #3230 from ryan-mccabe/collectd-5.9
Backport fixes for collectd#3225 to collectd-5.9
Pavel Rochnyack [Mon, 22 Jul 2019 17:10:56 +0000 (00:10 +0700)]
virt plugin: Remove strdup() from MetadataXPath implementation
Issue: #2805
Issue: #3225
Pavel Rochnyack [Mon, 22 Jul 2019 16:45:18 +0000 (23:45 +0700)]
virt: Fix memory leak with libvirt MetadataXPath enabled
Issue: #3225
collectd bot [Tue, 23 Jul 2019 14:16:15 +0000 (16:16 +0200)]
Auto-Merge pull request #3228 from rpv-tomsk/issue-3215
Automatically merged due to "Automerge" label
Dagobert Michelsen [Mon, 8 Jul 2019 11:23:18 +0000 (13:23 +0200)]
Fix bug that leads to CPPFLAGS gets overridden with CFLAGS when libxxms is enabled
(cherry picked from commit
e4c981472890655a5113d5b3bd643f62f19d0139 )
Dagobert Michelsen [Tue, 23 Jul 2019 11:11:03 +0000 (13:11 +0200)]
Fix typo in src/network.c
(cherry picked from commit
262212d3e5db97743c9ff47897778a84049e4bae )
Matthias Runge [Tue, 23 Jul 2019 11:45:12 +0000 (13:45 +0200)]
Merge pull request #3207 from dago/cppflagsbugs
Fix bug that leads to CPPFLAGS gets overridden with CFLAGS when libxm…
Dagobert Michelsen [Tue, 23 Jul 2019 11:19:51 +0000 (13:19 +0200)]
Fix formatting in src/network.c
Dagobert Michelsen [Tue, 23 Jul 2019 11:11:03 +0000 (13:11 +0200)]
Fix typo in src/network.c
Pavel Rochnyack [Mon, 22 Jul 2019 17:10:56 +0000 (00:10 +0700)]
virt plugin: Remove strdup() from MetadataXPath implementation
Issue: #2805
Issue: #3225