[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'
Florian Forster
octo at verplant.org
Thu Feb 26 22:37:39 CET 2015
AUTHORS | 7 +
README | 8 +-
configure.ac | 39 +++--
contrib/redhat/collectd.spec | 162 +++++++++++++++-----
contrib/redhat/init.d-collectd | 27 ++--
contrib/upstart.collectd.conf | 5 +-
src/Makefile.am | 14 ++
src/bind.c | 2 +-
src/collectd-python.pod | 8 +-
src/collectd.conf.in | 23 ++-
src/collectd.conf.pod | 122 ++++++++++++---
src/cpu.c | 2 -
src/curl_json.c | 2 +
src/curl_xml.c | 2 +
src/daemon/plugin.c | 56 ++++---
src/daemon/plugin.h | 16 +-
src/daemon/types_list.c | 2 +-
src/ipmi.c | 2 +-
src/libcollectdclient/client.c | 1 +
src/memory.c | 4 +-
src/modbus.c | 153 +++++++++++++++----
src/netlink.c | 2 +-
src/python.c | 8 +-
src/pyvalues.c | 5 +-
src/snmp.c | 3 +-
src/swap.c | 4 +-
src/types.db | 2 +
src/utils_cmd_flush.c | 15 +-
src/utils_cmd_getval.c | 15 +-
src/utils_cmd_listval.c | 15 +-
src/utils_cmd_putnotif.c | 15 +-
src/utils_cmd_putval.c | 15 +-
src/virt.c | 8 +-
src/write_http.c | 51 +++++--
src/write_kafka.c | 9 +-
src/write_log.c | 81 ++++++++++
src/write_riemann.c | 8 +-
src/zookeeper.c | 322 ++++++++++++++++++++++++++++++++++++++++
38 files changed, 1025 insertions(+), 210 deletions(-)
New commits:
commit 22d5f76d3379a5f61873c52363116ee4ba67afa4
Author: Sergey <a_s_y at sama.ru>
Date: Tue Feb 24 22:13:00 2015 +0100
snmp plugin: add hostname to "csnmp_instance_list_add" error message
Fixes #939
commit dd8429c16bc57f949abb2537e003b76ad88b6f90
Merge: fd3acd0 587f01f
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Tue Feb 24 10:02:58 2015 +0100
Merge branch 'collectd-5.4'
Conflicts:
src/Makefile.am
src/write_http.c
commit 587f01f89af11c4acebbec44293528b77c779218
Merge: ecbcaad d1483d2
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Tue Feb 24 09:57:29 2015 +0100
Merge branch 'collectd-5.3' into collectd-5.4
commit d1483d2e2a9116c233aeaceba99fa58a7e6bdc87
Merge: afdbcde 89b7a6d
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Tue Feb 24 07:43:22 2015 +0100
Merge branch 'collectd-4.10' into collectd-5.3
Conflicts:
src/collectd.conf.pod
commit fd3acd001229e60a0bb34dead326d3dc003ab1fd
Merge: 4c88746 9bce34a
Author: trenkel <github at semidefinite.de>
Date: Sun Feb 15 16:34:09 2015 +0100
Merge pull request #890 from trenkel/master
Fix compiler warnings with Python3.
commit afdbcde73c266ec4123e9018c5e325c4d324bfb1
Author: Jim Radford <radford at galvanix.com>
Date: Tue Sep 17 17:52:03 2013 +0000
perl plugin: plugins are linked with *_LIBADD and LIBS not *_LIBS and LIBS
Conflicts:
src/Makefile.am
commit 9613c69afd6e5e0fad34ef8bb64f06d7211f5caf
Author: Jim Radford <radford at galvanix.com>
Date: Wed Aug 7 13:21:08 2013 -0700
libperl's ldopts include libaries and therefore should go in LIBS not LDFLAGS
Without this configure fails compile its libperl test program because
-lperl comes before the test program on the compiler command line.
Conflicts:
src/Makefile.am
commit 4c88746c9a916eb93f2ea4a2d83edd803b7ec06c
Merge: e655312 f0e6ade
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Fri Feb 6 16:31:26 2015 +0100
Merge pull request #390 from radford/libperl-ldopts
libperl's ldopts include libaries and therefore should go in LIBS not LDFLAGS
commit e6553128adbed931c8ae36036d60e357868a9ec7
Author: Eric Sandeen <sandeen at sandeen.net>
Date: Tue Jan 27 22:36:05 2015 -0600
modbus: rename register types once more
As I was looking over my config files again, ModbusRegisterType
kind of stuck out like a sore thumb.
Modbus does talk about "read holding" and "read input" as "commands";
perhaps renaming it as this patch does is more intuitive, so that all
of the Modbus register configurations start with Register.
I'm not wedded to it, but if you like it & agree, here you go.
Thanks,
-Eric
commit bbafc01fc34e6e655127135e22486f6246bd2df7
Merge: c305b2f 35d9517
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Mon Feb 2 11:41:48 2015 +0100
Merge pull request #908 from vincentbernat/fix/libstatgrab4
libstatgrab: fix detection of libstatgrab >= 0.90
commit c305b2fde172854c6ee61351bc676a9b70d85d27
Merge: 225a144 789b73a
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Mon Feb 2 11:25:03 2015 +0100
Merge pull request #902 from mfournier/write_http-node-blocks
write_http: deprecate <URL> blocks in favor of <Node>
commit f42ef7629fd32a51a9e0a782eaadedf13958b4e6
Merge: 92d1a1f 2804653
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Mon Feb 2 11:24:08 2015 +0100
Merge pull request #899 from mfournier/write_http-multiple-destionations
write_http: make callback names context-dependent
commit 92d1a1ffbef7f4251164d1d3b64832f1dd7c474a
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Jan 28 15:06:28 2015 +0100
RPM specfile: doc clarification
commit 89b7a6dfb77e5529e5089bf6593ed9fd83202429
Author: Vincent Bernat <vincent at bernat.im>
Date: Fri Jan 23 18:55:04 2015 +0100
ipmi: use SIGIO instead of SIGUSR2 to avoid conflict with JVM
Java uses SIGUSR2 to suspend/resume threads. The OpenIPMI plugins also
need a signal to resume its event loop when setting a timer. They can't
both use the same signal. We ask OpenIPMI to use SIGIO instead.
This should fix #114.
commit 225a1446eca7ec01da12b05f53fbe786942be869
Author: ciomaire <unknown at email>
Date: Mon Jan 26 14:02:11 2015 +0100
write_kafka plugin: Topic property not being set
commit be66ae49eb41cf6afead969ca1e4ee83c82d6ae5
Merge: 09f96ba 6e54524
Author: Pierre-Yves Ritschard <pyr at spootnik.org>
Date: Mon Jan 26 13:56:29 2015 +0100
Merge pull request #910 from vincentbernat/fix/ipmi-dont-use-sigusr2
ipmi: use SIGIO instead of SIGUSR2 to avoid conflict with JVM
commit 6e54524e2554cda4e87ac0a74e462045e3e2667c
Author: Vincent Bernat <vincent at bernat.im>
Date: Fri Jan 23 18:55:04 2015 +0100
ipmi: use SIGIO instead of SIGUSR2 to avoid conflict with JVM
Java uses SIGUSR2 to suspend/resume threads. The OpenIPMI plugins also
need a signal to resume its event loop when setting a timer. They can't
both use the same signal. We ask OpenIPMI to use SIGIO instead.
This should fix #114.
commit 09f96ba6f02611aa3bce9d08eabbfd5c1fcdc879
Merge: ef77268 ede8b67
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Fri Jan 23 15:07:44 2015 +0100
Merge pull request #906 from obazoud/patch-1
Wording automake
commit 8fa66d76900da4206f9066737c974dcfd2bd2e34
Author: Micha Krause <micha at noris.net>
Date: Fri Jan 23 14:24:54 2015 +0100
added doc CollectStatistics to section rrdcached
Fixes #907
Conflicts:
src/collectd.conf.pod
commit 454587041ce66b416536b45aaa3b4aa956ba9554
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Fri Jan 23 15:01:52 2015 +0100
mysql: document defaults to boolean config options
commit 35d951756b0e05db90a7ce530fb7318917ab09ed
Author: Vincent Bernat <vincent at bernat.im>
Date: Fri Jan 23 11:57:03 2015 +0100
libstatgrab: fix detection of libstatgrab >= 0.90
Ensure linking is done after compilation of the test program, otherwise
symbols cannot be found. `LDFLAGS` and `CFLAGS` are placed before the
test program on gcc command line while `LIBS` is placed after. Even if
in our case, `LDFLAGS` also contain the lib, being put before the
program while the linking phase is done with the same command leads to
`sg_init()` never found which is misinterpreted as requiring an
argument.
commit ede8b6707de63a97e7a3356686672ea47c0d7dc7
Author: Olivier Bazoud <olivier.bazoud at gmail.com>
Date: Thu Jan 22 16:57:35 2015 +0100
Wording automake
commit 789b73ad5ce9a1f3d3b255be593813fbe814f9f1
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Tue Jan 20 23:09:56 2015 +0100
write_http: consistent multi-instance support
This makes the plugin use `<Node>` blocks liks most other write plugins,
while maintaining backwards compatibility with `<URL>` blocks.
It's a follow up to #899, which was merely a fix for the release
branches.
commit bc2918029233c9925def654107dfc5cd5d4919f2
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Sat Jan 17 16:10:46 2015 +0100
write_http: make callback names context-dependent
This allows multiple destinations to work again (fixes #821), using the
same logic as other write plugins.
The callback name would now be something like:
`write_http/http://example.com/endpoint`
which is not very nice.
The next step would be to change this plugin to use `<Node>` blocks
like many others, and pass the URL as a parameter inside each instance
block. So I see this patch as the minimum required to let 5.3 and 5.4
users use this plugin with multiple destinations.
Conflicts:
src/write_http.c
commit 28046539df61bb5b29d5acf3d03d65312df0e1ee
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Sat Jan 17 16:10:46 2015 +0100
write_http: make callback names context-dependent
This allows multiple destinations to work again (fixes #821), using the
same logic as other write plugins.
The callback name would now be something like:
`write_http/http://example.com/endpoint`
which is not very nice.
The next step would be to change this plugin to use `<Node>` blocks
like many others, and pass the URL as a parameter inside each instance
block. So I see this patch as the minimum required to let 5.3 and 5.4
users use this plugin with multiple destinations.
commit ef77268059b78e11226a23b72f500238e83d399a
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Fri Jan 16 23:45:26 2015 +0100
ensure all curl-based plugins follow HTTP redirects
For the sake of consistency.
commit de9cbff39b893f445d678c0a3bc3f8fb0456f42b
Author: Eric Sandeen <sandeen at sandeen.net>
Date: Wed Dec 10 15:38:09 2014 -0600
add Modbus/RTU support to modbus plugin
This allows access to a local RS-485 serial port
via the modbus plugin by specifying i.e.
Device "/dev/ttyUSB0"
Baudrate 38400
in a <Host> block.
For now it assumes 8N1; adding another config option
to support other configurations could be done later.
Lightly tested on my local setup.
Signed-off-by: Eric Sandeen <sandeen at sandeen.net>
commit a06c934c92e1936d39e94bdb2fa8c81aba6f86ed
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Fri Jan 16 17:57:00 2015 +0100
RPM specfile: misc improvements related to perl files
Avoids installing some files in two different packages & locations. Also
avoid unnecessary dependencies on -perl and -contrib packages.
Supersedes #896.
Thanks to @faxm0dem for helping work things out !
commit 21f35cd8376a29cbea8e1d0c690b0f9125cffdcd
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Thu Jan 15 09:06:24 2015 +0100
write_riemann: defaults to use TCP and batching
Fixes #891
commit b61d5cf2a74b54554ab68a857eb01548602dc405
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Jan 14 23:40:06 2015 +0100
RPM specfile: install client tools to a dedicated package
Avoids the package containing the daemon to depend on libcollectdclient.
Fixes #879
commit dce25a5cc0a715741eb9c82c829dce07850a47a9
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Jan 14 23:30:26 2015 +0100
RPM specfile: handle new write_log plugin
commit 60786de4e8280a109077ab5ecc293f74b3b9bce3
Merge: 3ed71d2 7eafa64
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Jan 14 23:28:18 2015 +0100
Merge remote-tracking branch 'origin/pr/835'
commit f0e6ade9d038d320c9e126afbe042d134622c124
Author: Jim Radford <radford at galvanix.com>
Date: Tue Sep 17 17:52:03 2013 +0000
perl plugin: plugins are linked with *_LIBADD and LIBS not *_LIBS and LIBS
commit cd15f837a7c41bf101ae81713bdb9903566565aa
Author: Jim Radford <radford at galvanix.com>
Date: Wed Aug 7 13:21:08 2013 -0700
libperl's ldopts include libaries and therefore should go in LIBS not LDFLAGS
Without this configure fails compile its libperl test program because
-lperl comes before the test program on the compiler command line.
commit 3ed71d2774fcacdf0c88b3a6d81bd826a6893b32
Merge: 7af18f5 b5c6b48
Author: Pierre-Yves Ritschard <pyr at spootnik.org>
Date: Wed Jan 14 09:25:25 2015 +0100
Merge pull request #886 from pyr/feature/write_log
Add a write_log output plugin which logs values.
commit b5c6b484ca5a7a9bfafd7ff15ee507ed8f3b253e
Author: Pierre-Yves Ritschard <pyr at spootnik.org>
Date: Tue Jan 13 11:06:37 2015 +0100
Do not mention plugins with no options.
commit 7964abad9b2566696d84452e9abd6942367b502e
Author: Pierre-Yves Ritschard <pyr at spootnik.org>
Date: Tue Jan 13 11:05:52 2015 +0100
mention write_log in the README
commit 3db3f6f66da505789a4e0328d3c1a70c5fa1d044
Author: Pierre-Yves Ritschard <pyr at spootnik.org>
Date: Tue Jan 13 11:03:06 2015 +0100
change license
commit 9bce34a54a0e3268444a9d6d9c484f6bd566f27c
Author: Sven Trenkel <collectd at semidefinite.de>
Date: Mon Jan 12 23:22:34 2015 +0000
python: Properly init the empty string with Python3.
commit 920d5eaaa68c8e1184fa7066f8e962c3b4e384db
Author: Sven Trenkel <collectd at semidefinite.de>
Date: Fri Jan 9 21:28:24 2015 +0000
Fix compiler warnings with Python3.
https://github.com/collectd/collectd/issues/505
commit 93c899328be91c9c15a165cc7f488ccea00cf172
Author: Pierre-Yves Ritschard <pyr at spootnik.org>
Date: Thu Jan 8 11:06:04 2015 +0100
Add a write_log output plugin which logs values.
I find this to be useful when developping new input plugins,
it allows creating a very simple configuration and combined
with `-f` can be used for a very simple workflow.
I'm proposing this, since I think it could be useful for
people wanting to debug their config on local agents as well.
commit 7af18f5f02114f39f6c546447e9bf05adf009b00
Merge: ca316d9 c40bed7
Author: Pierre-Yves Ritschard <pyr at spootnik.org>
Date: Thu Jan 8 10:14:48 2015 +0100
Merge pull request #870 from ifesdjeen/bugfix/absolute-in-multivalue-dispatch
Change "plugin_dispatch_multivalue" to accept any metric type.
commit ca316d91e178412604ea8462dc60a8bc32cbfc87
Merge: 681a607 ecbcaad
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Thu Jan 8 00:18:57 2015 +0100
Merge branch 'collectd-5.4'
commit ecbcaadde7dff838f09dfb04c7eb90f126e35abf
Merge: 6c72fa0 443afca
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Thu Jan 8 00:17:37 2015 +0100
Merge branch 'collectd-5.3' into collectd-5.4
commit 443afcad2cbacaca9bb1fd7d9ea790cbeb6ff015
Merge: 7e86633 631874e
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Jan 7 23:32:21 2015 +0100
Merge branch 'collectd-4.10' into collectd-5.3
commit 7e866336a157b26d608337464c387e9aa5494230
Author: Manuel Luis Sanmartin Rozada <manuel.luis at gmail.com>
Date: Mon Mar 31 21:08:05 2014 +0200
Fix check for htonll in configure.ac
commit 681a607a4b1a95df1d53d3e6922ec70bd52f87cf
Merge: 359b83c 49193e9
Author: Pierre-Yves Ritschard <pyr at spootnik.org>
Date: Wed Jan 7 11:42:04 2015 +0100
Merge pull request #847 from mihu/bind_zone_fix
bind-plugin: fix zones iteratation upper limit
commit 631874e4161f9ac8651158aa81f0e7f8aa896ed9
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Dec 31 14:54:37 2014 +0100
types_list: fix carriage return sign
Many thanks to @NsLib for mentioning this !
commit ba55ad9ae41052b665d008f20f4b7076983446e2
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Tue Dec 23 12:59:44 2014 +0100
RPM specfile: avoid packaging some files twice
Fixes #874
commit 7eafa641985f30e73d35796cd3f23f41ecaa8562
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Mon Dec 22 16:16:12 2014 +0100
RPM specfile: revert back to sysvinit on EL6
Feedback on ca84b19de about using upstart by default on EL6 was
negative. This init system is not very well integrated on this distro,
so users would get confused.
commit 3acf4aaf170b6d9be4a4a6a1ba0719c3f9df4c68
Author: Yoga Ramalingam <yramalingam1 at bloomberg.net>
Date: Mon Dec 8 13:09:47 2014 -0500
configure: Fixed check for AM_PATH_LIBCCRYPT
commit c40bed78ba376235ff9936a855020d31398dfd48
Author: Alex Petrov <oleksandr.petrov at gmail.com>
Date: Wed Dec 17 12:43:24 2014 +0100
Change "plugin_dispatch_multivalue" to accept any metric type.
Currently, "plugin_dispatch_multivalue" works only with
"gauge_t" metric type. This commit changes it to accept a
"store_type" (one of "DS_TYPE_{GAUGE|COUTNTER|ABSOLUTE|DERIVE}").
commit 359b83ce244738d87827712e85a9b5ed7ef6adbf
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Mon Dec 15 17:25:34 2014 +0100
collectd.confpod: mention 2 new options to tail plugin
... which were added in #673
commit 9c456bcad3af8eb4ee3ab5ba4fd21dae3c3698fe
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Mon Dec 15 16:22:08 2014 +0100
collectd.conf example: mention new write_riemann options
commit b8f53c82e19189ab329bb694ecfdc98044316070
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Mon Dec 15 16:10:41 2014 +0100
collectd.conf example: remove erroneous quotes
Thanks to @ymettier for pointing that out !
commit c1318b06b424523d3704fcdfd16d3adb25d17d18
Merge: e86ddf6 7d6d1fa
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Fri Dec 12 23:13:15 2014 +0100
Merge branch 'collectd-4.10' into collectd-5.3
Conflicts:
src/libvirt.c
commit 7d6d1fa5855f053f262410e2d42968afa4514990
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Tue Dec 9 17:06:43 2014 +0100
virt plugin: only gather stats for running domains
Conflicts:
src/libvirt.c
commit 83f88a178b310d844db10057b0f17a5039ed6ddc
Merge: 467d76e 1aebd82
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Fri Dec 12 22:23:46 2014 +0100
Merge pull request #857 from Lupul/patch-1
virt plugin: Fix memory stats to use the same units
For the record, this is the same as 7bf99b36d, which got missed out from 627a050790.
commit 1aebd82fd67090823b1ee49b4bdc4ca7ec9a9b17
Author: Zollner Robert <wolfit_ro at yahoo.com>
Date: Thu Dec 11 02:18:31 2014 +0200
virt plugin: Fix memory stats to use the same units
memory_submit and memory_stats_submit should use same units "Bytes"
- Fixes: #856
commit 467d76ea1757cc591b1f215b1ae277b82d67d73c
Merge: 326cca1 19c45a0
Author: Pierre-Yves Ritschard <pyr at spootnik.org>
Date: Wed Dec 10 16:20:15 2014 +0100
Merge pull request #853 from vincentbernat/fix/kafka-unavailable-partitions
write_kafka: check for partition availability before selecting one
commit 19c45a0a9443b55aa850d57c46a73349552b9835
Author: Vincent Bernat <vincent at bernat.im>
Date: Wed Dec 10 15:41:49 2014 +0100
write_kafka: check for partition availability before selecting one
When a partition is unavailable, sending to it will just lead to a lost
metric. Therefore, after selecting the partition, check if it is
available. If not, select the next one until we tried them all.
A future iteration may use consistent hashing to avoid to double the
work done on a partition when the previous one is unavailable.
commit 326cca1a48643ef7cea54c1e03795e6819de5619
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Dec 10 00:37:52 2014 +0100
modbus: wrap long lines + indentation/alignment
commit 70c3f77dac7cfe54de0b7e0de0fc2a69516632e4
Author: Jan Vitek <vitek at vitek-ThinkPad-T500.(none)>
Date: Thu Jun 6 15:20:04 2013 +0200
added man page section for ModbusRegisterType
commit 391db29c68e197ae19af1d77fd2e330b78fbc6f2
Author: Jan Vitek <vitek at vitek-ThinkPad-T500.(none)>
Date: Thu Jun 6 15:10:10 2013 +0200
renamed Function to ModbusRegisterType
commit 8981c3905c7790dc09e92c4813abc9121b1e2630
Author: Jan Vitek <vitek at vitek-ThinkPad-T500.(none)>
Date: Fri May 31 15:34:05 2013 +0200
added possibility to choose between holding and input registers
commit 49193e9d5d7088d02a8b0ff5873b12f4a5560c33
Author: Michal Humpula <michal.humpula at heureka.cz>
Date: Tue Dec 9 13:08:36 2014 +0100
bind-plugin: fix zones iteratation upper limit
commit 56516350a05e9e070a4ac4059194fed9d5652af2
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Fri Dec 5 22:25:20 2014 +0100
add missing credits to Michael Schenck
commit c7b46a438fecf99ae632e686b11f2aaa617b1770
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Fri Dec 5 14:01:05 2014 +0100
upstart example config: clarify expect stanza ambiguity
commit 6c72fa02608cc4be8febc4ae3fec809d281536f8
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Fri Dec 5 13:52:09 2014 +0100
redhat initscript: move restart block to a function
This ensures the "condrestart" option will work.
commit 41ea3fcd65213d06b326c6a928ce40792d6ac754
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Dec 3 17:48:54 2014 +0100
RPM specfile: indentation + other minor adjustments
commit f6c89c17955223bf8c99a901ca6f901b83fa521f
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Dec 3 16:15:28 2014 +0100
netlink: ensure size_t portability in DEBUG() statement
This prevents the following error when building on 32bit systems with
gcc 4.7.2:
netlink.c: In function 'ir_read':
netlink.c:783:7: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Werror=format]
commit e86ddf6e071a6012d868202ba6aad12c056af533
Merge: b7addce 082c59b
Author: trenkel <github at semidefinite.de>
Date: Wed Dec 3 20:59:29 2014 +0100
Merge pull request #839 from yogeswaran/python
Fix Py list length check in cpy_build_meta()
commit 082c59b439105cc5c0b787346ac2bdb9ca10e5a6
Author: Yoga Ramalingam <yramalingam1 at bloomberg.net>
Date: Wed Dec 3 14:37:06 2014 -0500
Fixed indentation and decreased reference count
commit f0cb93348f16ee9bb3138d1ef977ebc796123c9d
Author: Yoga Ramalingam <yramalingam1 at bloomberg.net>
Date: Wed Dec 3 12:20:17 2014 -0500
Fix Py list length check in cpy_build_meta()
commit 0c9d41e22607daddda23785ba7afa8ffc6cb61cd
Merge: 3641c34 a574cf0
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Dec 3 16:08:50 2014 +0100
Merge pull request #834 from mfournier/zookeeper_build_error
zookeeper: initialize a variable
commit b7addce8b0293be5647fe4aa2e6545930a9beecb
Merge: 99953c7 ca450c5
Author: Pierre-Yves Ritschard <pyr at spootnik.org>
Date: Wed Dec 3 16:06:13 2014 +0100
Merge pull request #827 from yogeswaran/collectdctl
collectdctl command hangs on AIX and returns error 0 on Solaris.
commit ca450c5a11579d93326bc57e286b82db4b4c186c
Author: Yoga Ramalingam <yramalingam1 at bloomberg.net>
Date: Wed Dec 3 08:40:18 2014 -0500
Removed extra semicolon
commit ca84b19dead48022f7ad8ddeb5f59ca5743e344e
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Mon Dec 1 14:31:14 2014 +0100
RPM specfile: switch to using upstart/systemd
Favor using systemd when installing on EL7, and upstart on EL6. No
changes for EL5. Uses the upstart & systemd config files from
the contrib/ directory.
The sysv initscript used on EL5 is still available in the
collectd-contrib package, for those who prefer using the traditional
init system.
commit a574cf03dfd266e780f61515d7a0b910cc3afac1
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Dec 3 00:10:54 2014 +0100
zookeeper: initialize a variable
If the loop on line 132 doesn't iterate at least once, the function would
return the "sk" variable uninitialized.
This fixes the following build error:
cc1: warnings being treated as errors
zookeeper.c: In function 'zookeeper_read':
zookeeper.c:107: warning: 'sk' may be used uninitialized in this function
make[3]: *** [zookeeper.lo] Error 1
(caught by gcc version 4.1.2 on EL5)
commit 99953c794e42874ba91e29a97fcc525065d0a9c7
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Tue Dec 2 23:42:06 2014 +0100
RPM specfile: require package providing ltdl.h
commit 3641c34781b6e1c3cac349d0d3d0659a74fdcdbf
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Tue Dec 2 22:04:50 2014 +0100
RPM specfile: add zookeeper plugin
commit 7fbb5475454badf12b45efaf46d4109d30fd6c62
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Tue Dec 2 22:02:50 2014 +0100
zookeeper: add mention in README & AUTHORS
commit dc3671dc644234cce7a74e81221d4de0f8be7bb9
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Tue Dec 2 21:49:47 2014 +0100
reset counter type to it's initial value
It was a COUNTER, not a GAUGE before it got accidentally deleted by
6372ca6a38.
commit b7476a6b9be2840c999ffceb0859be710b5922b7
Author: Pierre-Yves Ritschard <pyr at spootnik.org>
Date: Tue Dec 2 16:59:23 2014 +0100
reintroduce counter, killed by error
commit 028a748eb9b4a7db82a200fbc36da5a681df1504
Merge: 9f472bd 6372ca6
Author: Pierre-Yves Ritschard <pyr at spootnik.org>
Date: Tue Dec 2 13:26:20 2014 +0100
Merge pull request #826 from katzj/zookeeper
Add a plugin for monitoring zookeeper
commit 5416295cbf519eee82bfc96e4ffd503562ea1189
Author: Yoga Ramalingam <yramalingam1 at bloomberg.net>
Date: Mon Dec 1 09:55:10 2014 -0500
Wrap the content of macro with do/while to make it safer as per code review comment
commit 9f5ea03c55ef747c63a258e7abdbbf07a3b1bbf7
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Mon Dec 1 09:07:30 2014 +0100
cpu: remove legacy assignment to undefiend variable
This finishes up the cleanup done by f7100301fa. It also fixes #828
(build error on Mac OS).
Many thanks to @njh for pointing that out !
commit 993900f43c19c3836a6a4e89268ffb6d17d0fce0
Author: Yoga Ramalingam <yramalingam1 at bloomberg.net>
Date: Wed Nov 12 16:07:15 2014 -0500
collectdctl command hangs on AIX and returns error 0 on Solaris.
Summary:
Problem: collectdctl command hangs on AIX and returns error 0 on Solaris.
Root cause - client (collectdctl) and server (collectd daemon) are using fprintf to communicate using Unix domain socket, Since fprintf buffers, command sent by client did not reach server, since client does not get the response, it closes the socket which forces the client to flush the command, now server receives the command, when responding, it gets socket error because the client already closed the socket.
Solution: Added flush after all fprintf calls.
Test Plan: Tested collectdctl on AIX and SunOS for listval, getval commands
Reviewers: skhajamo
Reviewed By: skhajamo
CC: arcyd
Differential Revision: https://all.phab.dev.bloomberg.com/D155584
commit 6372ca6a38b09305da1ced06fbaacf85b21a878a
Author: Jeremy Katz <jeremy at katzbox.net>
Date: Fri Nov 28 00:33:39 2014 -0500
Use generic types for a few more of the zookeeper metrics
commit a65b0ccd53255dd690a9a0968fbcdc937967280c
Author: Jeremy Katz <jeremy at katzbox.net>
Date: Fri Nov 28 00:32:32 2014 -0500
Add information to collectd.conf (5) for the zookeeper plugin
commit ff8752c6bbda5e81d5713300ac4ad60d162dedc3
Author: Jeremy Katz <jeremy at katzbox.net>
Date: Wed Nov 26 18:48:44 2014 -0500
Add a plugin for monitoring zookeeper
This adds a simple plugin to read data from Zookeeper's MNTR
command to allow for easy monitoring of Zookeeper from collectd
without requiring jmx
More information about the collectd-changes
mailing list