[collectd-changes] collectd, the system statistics collection daemon: Changes to 'collectd-5.6'
Florian Forster
octo at verplant.org
Thu Jul 20 07:58:44 CEST 2017
contrib/systemd.collectd.service | 2 --
src/apache.c | 4 +++-
src/ascent.c | 4 +++-
src/bind.c | 14 ++++++++++---
src/collectd.conf.pod | 20 ++++++++++++-------
src/curl.c | 4 +++-
src/curl_json.c | 6 +++---
src/curl_xml.c | 7 ++++---
src/email.c | 4 ++--
src/exec.c | 6 +++---
src/ipc.c | 4 ++--
src/nginx.c | 7 +++----
src/openldap.c | 12 ++++++++----
src/rrdtool.c | 40 +++++++++++++++++++-------------------
src/unixsock.c | 4 ++--
src/write_http.c | 2 +-
16 files changed, 81 insertions(+), 59 deletions(-)
New commits:
commit 2739b2c65f22e459d947bdd10cb9a9807ca729e8
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date: Wed Jul 19 19:28:15 2017 +0700
rrdtool plugin: Changes after review
* Handle "CacheFlush" as a double
* Updated documentation spelling
commit f5177e4f60648ac19d785235a91235e6e401f0cb
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date: Mon Jul 17 12:26:16 2017 +0700
rrdtool plugin: Respect RandomTimeout while calling CacheFlush handler
The CacheFlush implementation does not respect RandomTimeout value.
All cache values, whose flush is deferred by RandomTimeout variance,
will be flushed. That can cause a partial or full cache flush,
depending on the value of RandomTimeout.
commit 055e37f556974bca6152bda8a1144742da371905
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date: Mon Jul 17 11:26:04 2017 +0700
rrdtool plugin: Configuration check moved to init callback
The "RandomTimeout" option value check moved from rrd_get_random_variation()
to rrd_init(). This will save few CPU cycles.
commit c1facb5733721a14454f41bab2b97f8c8ceffc8e
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date: Mon Jul 17 11:15:52 2017 +0700
rrdtool plugin: Remove excessive complain
The plugin complains `Adjusting "RandomTimeout" to 0.000 seconds.` even
if no 'CacheTimeout' was set.
commit 20115ea505208ac2f1e8b453a35284b871db1321
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date: Mon Jul 17 11:13:53 2017 +0700
rrdtool plugin: Raise interval of random_variation to match documentation
Documentation states what the actual timeout for each value is chosen randomly
between <CacheTimeout>-<RandomTimeout> and <CacheTimeout>+<RandomTimeout>.
The implementation did not match this.
commit c7cbb2af24de8b33186dd45b5731b87ea7152173
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date: Sun Jul 16 22:56:05 2017 +0700
rrdtool plugin: Fix flushing
* Value from wrong option was passed to rrd_cache_flush()
* Variable cache_flush_timeout was used as cdtime_t type time while value was set as simple seconds
* Added info message about CacheFlush ajusting
* Documentation updated
commit 2e1a81e3a2ab194db4c78a0f54fe4551b9ec34db
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Wed Jul 12 18:54:49 2017 +0200
collectd.service: remove NoNewPrivileges setting
There are various issues with it in combination with SELinux.
See https://marc.info/?l=selinux&m=149971836431361&w=2 for some
background.
commit e3c726294048849051d383244b08e6545c8cab35
Merge: eeb5444 336c5c5
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Wed Jul 12 17:44:34 2017 +0200
Merge pull request #2357 from rpv-tomsk/issue-2305
Fixed failed compilation on AIX
commit 336c5c5170b65c3983bf98e9b114759cce1de54c
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date: Tue Jul 11 11:08:56 2017 +0700
Fixed failed compilation on AIX
Caused by typo in 2761915bed8c6caea41018be3e675aa712cc0b0a / #1842.
Closes: #2305
commit eeb544426d73da7993a24372dd4cd9fb8cca9627
Merge: 24bdf52 e7a7be6
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Tue Jul 4 17:27:03 2017 +0200
Merge pull request #2341 from rpv-tomsk/issue-2328
curl plugins: Use configured URL for all poll cycles
commit e7a7be6760b7f79780e9e9ed10fa9e029a3faa38
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date: Tue Jul 4 17:31:46 2017 +0700
curl plugins: Use configured URL for all poll cycles
After redirect received, Collectd send subsequent requests to new location.
That is wrong - Collectd should use configured URL for all poll cycles, regardless of the responses received previously.
Problem was caused by libcurl issue 1631. To avoid that we set request url in each poll cycle.
Closes: #2328
commit 24bdf52decaf93359aab0364fb11420af5cd4a21
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Fri Jun 30 16:15:25 2017 +0200
email, exec and unixsock plugins: enlarge buffer for getgrnam_r result
Thanks to Jeremie Courreges-Anglas and Daniel Jakots.
commit 71f65087f9d5f42f8944fa7ce416cb0e2f7f043e
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Fri Jun 30 16:12:57 2017 +0200
email, exec and unixsock plugins: fix error handling
Diff from Jeremie Courreges-Anglas, via Daniel Jakots
commit ba6ad796636080e1daad1433802b90c07315b161
Merge: fd01cdd 3179c85
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Wed Jun 28 19:38:12 2017 +0200
Merge pull request #2331 from mfournier/ldap_unbind-segfault
openldap: check ld structure before passing it to ldap_unbind()
commit 3179c85911babea7e51902d5d72c6fe1812af4d0
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Jun 28 13:46:59 2017 +0200
openldap: check ld structure before passing it to ldap_unbind()
This prevents collectd from segfaulting when the ldap session setup
fails before opening a connection to openldap (syntax error in the URL
option for example).
commit fd01cdd0546ccbbda7f4cf5db2d0ae28e1e770cd
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Tue May 30 17:25:17 2017 +0200
Bind plugin: plug a few leaks
Fixes: #2303
More information about the collectd-changes
mailing list