[collectd-changes] collectd, the system statistics collection daemon: Changes to 'ff/netcmd'
Florian Forster
octo at verplant.org
Fri Jan 27 16:30:12 CET 2012
Rebased ref, commits from common ancestor:
commit b974a158152b5a741643eed914981ac01bc22be5
Author: Florian Forster <octo at collectd.org>
Date: Fri Oct 7 17:03:52 2011 +0200
src/collectd.conf.in: Fix netcmd example port.
Change-Id: Ia1ae53d1dbc4052c4171404a28631607a7a4055b
commit e9ede96cf6e1b969a7461c2b9c09d7210bdb965c
Author: Florian Forster <octo at collectd.org>
Date: Thu Sep 8 13:49:09 2011 -0400
netcmd plugin: Add work-around for GCC warning.
Change-Id: Iec6ffaf77e4ef3be90a677d3c51804affcf532cc
commit 81365b62717f7ef209164393ba8aa74e398b19db
Author: Florian Forster <octo at huhu.verplant.org>
Date: Thu Apr 7 18:16:16 2011 +0200
netcmd plugin: First version with working TLS.
commit 2aae80903294fb486f0f2c80fc67cf070d18648f
Author: Florian Forster <octo at huhu.verplant.org>
Date: Thu Apr 7 02:09:47 2011 +0200
netcmd plugin: Implemented a fgets(3)-like wrapper around gnutls_record_recv(3).
commit 59a062a84e50b4e3654c364e1afd20f3fd97e591
Author: Florian Forster <octo at collectd.org>
Date: Thu Mar 31 16:32:44 2011 -0700
netcmd plugin: Some more work towards a working TLS setup.
commit 8361a120459e8804f48848441619a2c4f2e78d16
Author: Florian Forster <octo at collectd.org>
Date: Sun Mar 27 18:22:44 2011 -0700
netcmd plugin: Re-indented the entire file. Switched to "complex" config.
commit b14c13d01a0c978ec0b954a1ba331d34d1c10d26
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date: Mon Mar 23 21:24:49 2009 +0100
netcmd plugin: Added a first version of a control socket plugin.
commit dba49453a9ca7ece471c3136b56b8440e7cc7fbe
Merge: 3dffa6f fc5c43d
Author: Florian Forster <github at nospam.verplant.org>
Date: Wed Jan 25 11:55:24 2012 -0800
Merge pull request #12 from ChrisLundquist/as/mongodb
Write MongoDB plugin: New plugin to write statistics to MongoDB, a NoSQL database using JSON documents.
commit fc5c43d7db4f05aae907eec5b0c5121bcf650709
Author: Florian Forster <octo at collectd.org>
Date: Wed Jan 25 11:51:13 2012 +0100
write_mongodb plugin: Fix a format-string error.
Change-Id: Ia18cfa8ea7ef8536957c0807112620d2e0e2a976
commit 44733bbe7d0585c9e459132053bd372ce0ba1630
Author: Florian Forster <octo at collectd.org>
Date: Wed Jan 25 11:47:37 2012 +0100
write_mongodb plugin: Fix the use of {CPP,LD}FLAGS.
Change-Id: Ieb8467d3c1d0fac819864ff873594432170289d3
commit ca039cc92a09714cc2a4a1d05673bff34d395edc
Author: Florian Forster <octo at collectd.org>
Date: Wed Jan 25 11:24:28 2012 +0100
write_mongodb plugin: Update copyright header.
Change-Id: Ie939a7f3df1db9fc2aa3493028e3b3d74cdaeb61
commit 830b900e1f2473904f15eb29475a1f857a017ba1
Author: Chris Lundquist <chris.lundquist at bluebox.net>
Date: Tue Jan 24 11:57:06 2012 -0800
remove more commented out code
commit b9cd6ea32dd72d250727db1b76e4bc978d005574
Author: Chris Lundquist <clundquist at bluebox.net>
Date: Fri Jan 20 14:29:31 2012 -0800
We have to convert CDTime to seconds since epoch
commit e315325cacd8463b32fc61f91abf05c66de7fc8c
Author: Chris Lundquist <chris.lundquist at bluebox.net>
Date: Mon Jan 16 09:44:37 2012 -0800
remove commented out code
commit 731f60bad6b6b051731f88051fa32876f2be6a45
Author: Chris Lundquist <clundquist at bluebox.net>
Date: Mon Jan 16 21:10:46 2012 -0800
Ok it is posting to the local server
commit 575200360174d98b14f7377a7aa74ae702960bcb
Author: Chris Lundquist <clundquist at bluebox.net>
Date: Mon Jan 16 16:13:13 2012 -0800
added more debugging. cleaned up commented lines
commit f9d98b27fd63f050f2dc2a825fe3aa130aaab841
Author: Chris Lundquist <clundquist at bluebox.net>
Date: Fri Jan 13 14:33:29 2012 -0800
compiles cleanly. libmongoc doesn't have an install target, will try to commit one there instead of having to hack the directory stucture to please ./configure.
commit 13322bb3c3253dce20bd0241c3725d27dc1fd732
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date: Sat Nov 6 11:53:42 2010 +0100
configure.in: Improve check for libmongoc (aka. mongo-c-driver)
commit e853b1cad4b79bcab0a2ba000ec78d97fee1b1f3
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date: Wed Nov 3 15:19:26 2010 +0100
write_mongodb plugin: Rename the "write_mongo" plugin.
commit 212ef86c9038207108837448ec4eafd8d4ab0cb9
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date: Wed Nov 3 15:13:28 2010 +0100
write_mongo plugin: Build fixes.
Enable the "write_mongo" plugin when the library is available. Move the
"MONGO_HAVE_STDINT" define into the .c file. Avoid the poisoned "strcpy".
commit 26e39b822919e7fd701e8c6c80f01ee3e3ffec19
Author: Akkarit Sangpetch <asangpet at andrew.cmu.edu>
Date: Sat Oct 2 11:49:43 2010 -0400
Fix plugin and type instance field name, also free bson object buffer
commit 4ce283aaf014d2fa76984ed1fcaccbf5ad8ed08c
Author: Akkarit Sangpetch <asangpet at andrew.cmu.edu>
Date: Wed Nov 3 14:01:11 2010 +0100
Add write_mongo plugin support for mongodb output (based on write_redis)
commit d896b012f9386cab398c579601f90606c90fb542
Author: Ryan Cox <ryan.a.cox at gmail.com>
Date: Wed Nov 3 14:04:09 2010 +0100
configure.in: Check for libmongoc.
commit 3dffa6fb50c66249fb3da7592c7a9385edb74677
Merge: e770968 26fbc23
Author: Florian Forster <octo at collectd.org>
Date: Sat Jan 21 18:26:17 2012 +0100
Merge branch 'collectd-5.0'
commit 26fbc23e518dcc74502ae3b2495112adc3840879
Merge: 88b1625 696d1c7
Author: Florian Forster <octo at collectd.org>
Date: Sat Jan 21 18:25:37 2012 +0100
Merge branch 'collectd-4.10' into collectd-5.0
Change-Id: I8fea9338ac6490b2a76530a58c6bd36ec17d021a
commit 696d1c76aa4fbea29299c3c75a48b8d605b5cda8
Author: Florian Forster <octo at collectd.org>
Date: Sat Jan 21 18:24:45 2012 +0100
Update ChangeLog.
Change-Id: I7361ea08e1695b2928463150df36d385aa51299c
commit 77460335ec305aa4fbd8218c6e5c1c849fbef9c0
Author: Florian Forster <octo at collectd.org>
Date: Sat Jan 21 18:21:46 2012 +0100
oracle plugin: Fix a memory leak.
Parameters must be freed using OCIDescriptorFree. D'oh!
Thanks to Rena Vetterling for helping me hunt down this problem!
Change-Id: Ic374ae13085c8d2afbdf9a3c0ceef92b485e7723
commit f6fa5e18f901664a445699b54cf0afe5a3078176
Author: Florian Forster <octo at collectd.org>
Date: Sat Jan 21 18:01:24 2012 +0100
oracle plugin: Improve the error printing function.
Change-Id: Ie52c80bd4a686b403037c97383176adf3e701419
commit 88b1625f74df1e410f05d7acb865b3b06c534bac
Author: Florian Forster <octo at collectd.org>
Date: Sat Jan 21 14:01:34 2012 +0100
Bump version to 5.0.2; Update ChangeLog.
Change-Id: I8e564e51d9e9f3dc847811fd0d51fbf0079c20ba
commit 488c2ca9e3f6f6082f192bdd5d737c6cd1298ba2
Merge: 3b9261d df920b8
Author: Florian Forster <octo at collectd.org>
Date: Sat Jan 21 13:07:50 2012 +0100
Merge branch 'collectd-4.10' into collectd-5.0
Conflicts:
ChangeLog
src/df.c
src/plugin.h
version-gen.sh
Change-Id: Id7a31088cdb3371534d5c1e6a690464f3343543d
commit df920b8327302ac74385d34dae671d988c752495
Author: Florian Forster <octo at collectd.org>
Date: Sat Jan 21 13:04:28 2012 +0100
Bump version to 4.10.5; Update ChangeLog.
Change-Id: I900278064970e0c2d2bf471f4f80c7672aa8211f
commit ca65f66c3cdbbb8af941d3624b85757355f38ad8
Author: Toni Ylenius <toniylenius at gmail.com>
Date: Fri Jan 6 18:13:56 2012 +0200
df: Set negative free space values to zero.
Some file systems (eg. UFS) may report negative free spave values.
Previously this caused underflow, but now it is prevented by setting
negative values to zero.
Change-Id: I821adb8a6d7a40dcbd6c65ab3541fbcd714f8aba
Conflicts:
src/df.c
commit bf160b5fd74ac8553512a5d05682093faafd34f9
Author: Florian Forster <octo at collectd.org>
Date: Wed Nov 23 14:40:58 2011 +0100
network plugin: Use the new plugin_dispatch_values_secure().
Change-Id: I2cc65a36366c6c714cd79c2905879bce313efe31
commit f4523a21e913449db2dbf79de3568b396b179ca1
Author: Florian Forster <octo at collectd.org>
Date: Wed Nov 23 14:28:27 2011 +0100
src/plugin.[ch]: Add plugin_dispatch_values_secure().
Change-Id: I1f7403b2e82edd099f0168d0a0735cd18f8ce05a
commit ba7ad8653e3c5d0eedbe65c4cd92359f5d2308e3
Author: Florian Forster <octo at collectd.org>
Date: Wed Nov 23 14:28:01 2011 +0100
src/meta_data.[ch]: Add meta_data_clone().
Change-Id: I8449e27c908cbe75ea4ea3b8dd4df556f9aec9e7
commit 71a05435a3035522b614b20934d72c1972bae8dd
Merge: 40dfca3 6dd84de
Author: Florian Forster <octo at collectd.org>
Date: Sat Jan 21 11:14:53 2012 +0100
Merge "Fix case when availrmem < freemem" into collectd-4.10
commit 6dd84deb4b8503d0ee913c272214e45097171cba
Author: Fabien Wernli <cpan at faxm0dem.org>
Date: Fri Dec 9 16:30:30 2011 +0100
Fix case when availrmem < freemem
Change-Id: I03b188afeb2357e7b8c426bd0c6daff06fda2c4f
Conflicts:
src/memory.c
commit e770968a686963a3c8373cd6cd38b13964433029
Merge: da193ed 34e98f7
Author: Florian Forster <github at nospam.verplant.org>
Date: Wed Jan 18 07:17:47 2012 -0800
Merge pull request #16 from pyr/master
GenericJMX plugin: Allow attribute to call operations.
commit 34e98f730536d6dda7cf3781dbd66ff1c27b5913
Author: Pierre-Yves Ritschard <pyr at spootnik.org>
Date: Wed Jan 18 16:05:27 2012 +0100
respect provided format
commit 389ce9b7b93da5a136f51d602722a6840e1e55ae
Author: Pierre-Yves Ritschard <pyr at spootnik.org>
Date: Wed Jan 18 16:02:52 2012 +0100
as per octo's request, provide details on nulls
commit ed4e3a66c88dca6f8f675bb37931bb785a10cdd2
Author: Pierre-Yves Ritschard <pyr at spootnik.org>
Date: Wed Jan 18 13:57:11 2012 +0100
Allow `Attribute` to query an MBean operation
MBeans provide two entities to the outside world:
* Attributes
* Operations
The former is a simple key/value lookup, while the latter
triggers a method call and yields the result.
Operations have signatures, they can be fed an array of
parameters. For now, calls are triggered assuming
there are no parameters. Later a separate keyword
`Operation` can be introduced, taking a list of
`Parameter` directives specifying type and values
to feed to the MBean operation.
commit da193ed2803653fb2a06d70d64dd7568e8399cb8
Merge: 35e61a3 0701716
Author: Florian Forster <github at nospam.verplant.org>
Date: Wed Jan 18 03:08:14 2012 -0800
Merge pull request #14 from insom/master
Add persistent 'OKAY' notifications.
commit 3b9261df9f7426c4b823a801671aaaba30fda6d9
Merge: 3e38e29 b3bb5e8
Author: Florian Forster <github at nospam.verplant.org>
Date: Wed Jan 18 03:01:04 2012 -0800
Merge pull request #13 from insom/improved-migration
Migration: Ensure destination directories exist when moving RRDs
commit 40dfca383199dfd178b3359f69d5732732f29b29
Author: Sven Trenkel <collectd at semidefinite.de>
Date: Tue Jan 17 01:56:03 2012 +0000
python: Fixed memory leaks during dispatch.
commit 0701716aeedbcfaccf29b3e0c7d2371055f84df9
Author: Aaron Brady <bradya at gmail.com>
Date: Wed Mar 2 23:10:26 2011 +0000
Added "PersistOK" option to threshold to send notifications, even for OKAYs.
commit b3bb5e85375bae10ea5d6ff5c205a069d5d26654
Author: Aaron Brady <bradya at gmail.com>
Date: Sun Jan 15 13:16:37 2012 +0000
Migration: Ensure destination directories exist when moving RRDs
If you have not run collectd 5 before, then when type instances
are migrated to plugin instances the destination directories
may not already exist. For example:
mv "./test/df/df-mnt-dlna.rrd" "./test/df-mnt-dlna/df.rrd"
This one-liner does a mkdir -p of the destination before
attempting to move the file.
commit 35e61a32d7a7ea1ba049c837af2eb20851838211
Author: Jason Stelzer <jstelzer at monetate.com>
Date: Thu Jan 5 09:45:53 2012 -0500
Updated the redhat spec so 5.0.1 would build.
Change-Id: I3f4f8e520b0be0226cd0ff5e3da5ff5dd090065c
commit 7e6f12dfba76b295d40e835d310d69d625ede88e
Author: Florian Forster <octo at collectd.org>
Date: Mon Dec 19 15:17:39 2011 +0100
src/common.c: parse_value: Be more verbose about parsing problems.
Change-Id: I784ec4ee9a1e89a82fdc9da54ed1fafd3d9c3e57
commit 3e38e2981592bf0ba87f8c63ec8a4c29ec9ef702
Author: Florian Forster <octo at collectd.org>
Date: Wed Dec 14 13:02:16 2011 +0100
collectd-perl(5): Fix example Perl script.
Thanks to Sergey for catching this!
Change-Id: I4bbb609079734cd54d68f77681ea742b4eb83239
commit 4e613c118e301a1a6a70336cd7b65bf18b4bc7b0
Author: Fabien Wernli <cpan at faxm0dem.org>
Date: Tue Oct 25 15:15:16 2011 +0200
This improves solaris memory plugin granularity.
Locked memory is now only tracking non-kernel locked memory.
We add kernel and unusable memory.
Source: http://www.brendangregg.com/K9Toolkit/swapinfo
Change-Id: I4f4d281e991068dc845d8c3615d285fc2a3296c8
commit 59a008e0aeb9c2b5a8303b06220ddc043b73f117
Author: Fabien Wernli <cpan at faxm0dem.org>
Date: Thu Oct 27 17:14:06 2011 +0200
use 64bit counters if available
commit d17101b05797e7437814a674c2ed23b6f2f15511
Merge: 83d47bf 7f88689
Author: Florian Forster <octo at collectd.org>
Date: Fri Nov 25 10:48:22 2011 +0100
Merge "Fix file:// not working as return code is 0 and not 200, as fixed beforehand in curl_json. Remove mention of http in documention as file also works now (and ftp most likely too)" into collectd-4.10
commit 7f88689783624f3555b714d6489c5f0ca4ab7e86
Author: Fabien Wernli <cpan at faxm0dem.org>
Date: Fri Nov 4 11:25:59 2011 +0100
Fix file:// not working as return code is 0 and not 200, as fixed
beforehand in curl_json.
Remove mention of http in documention as file also works now (and ftp most likely too)
Change-Id: Iccb35e6b8c831f555dc5bbd17fa8d04672e13eb3
commit 83d47bfa3295f837c3fa3fa3e31855a236d43530
Merge: 7b2265a e7a7587
Author: Florian Forster <octo at collectd.org>
Date: Thu Nov 24 15:43:21 2011 +0100
Merge "interface plugin: Fix for bogus interfaces under Solaris." into collectd-4.10
commit d97854a1f1a7b69c0e8b1ca83f4a240f7d3a9d6d
Merge: 30d9db0 bda3bcd
Author: Florian Forster <octo at collectd.org>
Date: Thu Nov 24 14:41:54 2011 +0100
Merge "irq plugin: Use the standard ignorelist for filtering interrupts."
commit 588500667f994648222900562b1f5c6ca56ab27e
Author: Florian Forster <octo at collectd.org>
Date: Fri Oct 14 22:42:26 2011 +0200
ChangeLog: Remove blank line.
Change-Id: Ief9cabb148d75b79e0764d629c571ee9dc3d7d3b
commit 2652653c3db161442d28709d79c3f2d81ab571ee
Merge: 42ed9d3 7b2265a
Author: Florian Forster <octo at collectd.org>
Date: Fri Oct 14 22:42:09 2011 +0200
Merge branch 'collectd-4.10' into collectd-5.0
Conflicts:
ChangeLog
Change-Id: I65f02dbcad46460f18f356bc8d32eb15a7a352c2
commit 7b2265a744ca9a3c7c042748b542deae1b6b39c6
Author: Florian Forster <octo at collectd.org>
Date: Fri Oct 14 22:41:21 2011 +0200
ChangeLog: Add thanks to Peter Green.
Change-Id: Ie392f7dfc7d637c92e286b0bf6d5d32877f70f76
commit 42ed9d31639cc7dcb3d558c0be08106a21b319d4
Author: Florian Forster <octo at collectd.org>
Date: Fri Oct 7 17:36:10 2011 +0200
Bump version to 5.0.1; Update ChangeLog.
Change-Id: I01466d5fb5c0d5c08a48d7c7e7a81239960a2d3c
commit 0cdc4e286b41b6800ab8b371aa391ecbd0fd628a
Merge: 61fba41 9fbe348
Author: Florian Forster <octo at collectd.org>
Date: Fri Oct 7 17:27:06 2011 +0200
Merge branch 'collectd-4.10' into collectd-5.0
Conflicts:
ChangeLog
src/collectd.conf.in
src/curl_json.c
version-gen.sh
Change-Id: I313c0d3c73d47481baa0a3b38bcdf508f1d4f8d8
commit 9fbe348af96fa4a44fbdc1bd96fa98344f06c760
Author: Florian Forster <octo at collectd.org>
Date: Fri Oct 7 17:21:57 2011 +0200
Bump version to 4.10.4; Update ChangeLog.
Change-Id: Ie23cf45f929c52e94e968c7129d24aca7a287dd5
commit 30d9db08c7608d1a9edf00c72d8728212a39bb82
Author: Scott Lyons <scottalyons at gmail.com>
Date: Mon Sep 5 17:04:25 2011 -0400
AMQP plugin: My kingdom for a few semicolons
Change-Id: I08621fd2381e064f1006728162c22cfd12c48cc6
commit e7a75874a24c1bf19931d5b4b423a0daa7f9be6b
Author: Eddy Geez <eddygeez at gmail.com>
Date: Sat Sep 3 09:10:21 2011 -0400
interface plugin: Fix for bogus interfaces under Solaris.
Under newer versions of Solaris, the method for finding network interfaces
results in 'collectd' gathering statistics on an interface called 'mac', along
with 16 interfaces named 'wrsmd0' through 'wrsmd15' (which are for WCI Remote
Shared Memory). The 'mac' interface is especially problematic because it
occurs multiple times, which results in warnings from rrdtool about insertions
with the same timestamp.
Change-Id: I1ae070ecbc820da25c0f0ad457aba80213339fd2
Signed-off-by: Florian Forster <octo at collectd.org>
commit f04b1af033df4e2d46ca85280430a7e61ae48b1a
Author: Florian Forster <octo at collectd.org>
Date: Fri Sep 2 18:41:05 2011 -0400
collectd.conf.in: Use the "Globals" option for perl and python.
Change-Id: Icaccaab601b91bc829c4da94c5344e0d766735bd
commit fbbe935e9a9d81fb2bda9b764c277226e5ff8117
Author: Aurelien Reynaud <collectd at wattapower.net>
Date: Thu Oct 14 21:18:47 2010 +0200
Add RPM .spec file and startup script for AIX
Change-Id: Ic6187891e2014d84f8b2926df1c8b2012f26923f
Signed-off-by: Aurelien Reynaud <collectd at wattapower.net>
Signed-off-by: Florian Forster <octo at collectd.org>
commit a647c3cf89a0221e4803887bd3731042edf5498f
Merge: 66bdee8 aadd789
Author: Florian Forster <octo at collectd.org>
Date: Sat Sep 3 00:48:47 2011 +0200
Merge "curl_json plugin: Be more clever building the type instance." into collectd-4.10
commit bda3bcdf4eeddb0198cfbaac8f682bf651be7a7e
Author: Florian Forster <octo at collectd.org>
Date: Thu Sep 1 21:40:24 2011 -0400
irq plugin: Use the standard ignorelist for filtering interrupts.
Change-Id: I7d15318c3c1d519d5e7bc715566a9b298f087bcc
commit f538eec45e95ee6238754324e6d84d97108af540
Merge: 95b08a8 61fba41
Author: Florian Forster <octo at collectd.org>
Date: Thu Sep 1 21:34:00 2011 -0400
Merge branch 'collectd-5.0'
commit 61fba41289decabc1a18c855fcd462fece9ab983
Merge: a709b78 66bdee8
Author: Florian Forster <octo at collectd.org>
Date: Thu Sep 1 21:28:05 2011 -0400
Merge branch 'collectd-4.10' into collectd-5.0
Conflicts:
src/irq.c
Change-Id: Ie6c78234f07cc5b7bac7e6914813e9545ce1b1af
commit 66bdee8d4c974e893826335977e1cc52410380eb
Author: Bostjan Skufca <bostjan at a2o.si>
Date: Thu Sep 1 20:35:38 2011 -0400
irq plugin: Implement collection of non-numeric interrupts.
Hi all!
I've created a patch that enables collectd to collect all irqs present in
/proc/interrupts, with numeric and string names (NMI, LOC, RES, etc).
Two notices:
a) Unfortunately I was unable to build collectd from git repo (build.sh
failures), therefore I created this patch for latest stable release: 4.10.1
b) I am fairly unexperienced in C programming, so please inform me gently of my
mistakes:) But I am already using a patched version and it works fine.
Any feedback on code quality or recommendations are welcome.
Change-Id: Ia17bd953921051dfe53e838b76672adbef9e73c3
Signed-off-by: Florian Forster <octo at collectd.org>
commit ee8d2556d47139e04e8ace20b2fb383bec545a7b
Author: Sebastian Harl <sh at tokkee.org>
Date: Wed Aug 24 18:26:12 2011 +0200
processes plugin: Fixed handling of ProcessMatch regexes containing spaces.
Previously, something like 'ProcessMatch name "My Regex"' would have been
interpreted as three values. This was caused by using the old, non-complex
config interface which joins all config values using a space and passing the
resulting string to the plugin. The processes plugin used to use strsplit() to
re-gain a list of all values, obviously ignoring any quoting that might exist.
This has been fixed by using the complex config interface, which passes all
values as an array of strings and thus honoring the quoting handled by
liboconfig.
commit a709b786e18b745526873780c0eabfed10a31d2a
Merge: b5f6849 99ee393
Author: Florian Forster <octo at collectd.org>
Date: Sat Aug 27 21:48:12 2011 +0200
Merge "exec plugin: Fixed incorrect typecast of 64-bit timestamp to unsigned int (collectd-5.0)" into collectd-5.0
commit 99ee393e8e9ca3604348d591f3de5801ca8f98f7
Author: Alexander Kovalenko <alexanderk23 at gmail.com>
Date: Sat Aug 27 22:20:22 2011 +0400
exec plugin: Fixed incorrect typecast of 64-bit timestamp to unsigned int (collectd-5.0)
Change-Id: Ia99285c8158828760e74083ed6ea54112fa8a156
Signed-off-by: Alexander Kovalenko <alexanderk23 at gmail.com>
Signed-off-by: Florian Forster <octo at collectd.org>
commit aadd789f6b154f24ea8af09c59a7d98512873806
Author: Florian Forster <octo at collectd.org>
Date: Sat Aug 27 15:29:42 2011 -0400
curl_json plugin: Be more clever building the type instance.
When the key of the parent object is empty, don't use it. The previous code led
to type instances starting with a dash, e.g. "-foo".
Also, be more verbose when unable to resolve types.
Change-Id: Ib5f55efe1acc1e819ac3189b6780a4e998bf9c9f
commit b5f684989b328f7dac9fd5bc7a98455c25ddb3bb
Author: Florian Forster <octo at collectd.org>
Date: Wed Aug 24 18:26:59 2011 +0200
Varnish plugin: Fix gauge vs. derive issues.
Some of the values are submitted using the wrong submit function.
Change-Id: Icf82844e54605d46cce8e41d2678aa4bca1cb2c1
commit f4c495df1843f5e87f16d122fdc78531ceb2773d
Merge: caf8a03 ca86420
Author: Florian Forster <octo at collectd.org>
Date: Fri Aug 26 14:37:25 2011 +0200
Merge "fix xff excessive rounding" into collectd-4.10
commit caf8a03d3ae4b912d20b65a4ab6155ef48adfc28
Author: Sebastian Harl <sh at tokkee.org>
Date: Thu Aug 12 22:12:47 2010 +0200
.gitignore: Added collectdctl.
commit 0471475841a912322c50200c5fb7a45b790ad576
Author: jbergstroem <bugs at bergstroem.nu>
Date: Wed Aug 24 16:25:29 2011 +0200
Correct a missing yajl1/2 check
Change-Id: Ie3e0380721d88e54cb5630e1c3ecb613790b32b3
commit 95b08a826445423b00297d0db8cfb9676b5f676d
Author: Manuel Luis SanmartÃn Rozada <manuel.luis at gmail.com>
Date: Mon Jun 6 14:14:27 2011 +0200
tcpconns plugin: add support for AIX
Hi.
In AIX there is a undocumented function/syscall in libc: netinfo
returns a structure with the state of the tcp connections.
I didn't found the description or info abut this syscall, I guess is
something like this:
int netinfo (int proto, void *data, int *size, int n);
and the struct something like this: (with some work we can guess the
unknow remaining bytes)
struct netinfo_header {
unsigned int proto;
unsigned int size;
struct netinfo_entry e[];
};
struct netinfo_entry {
uint32_t unknow1;
uint32_t unknow2;
uint16_t dstport;
uint16_t unknow3;
struct in6_addr dstaddr;
uint16_t srcport;
uint16_t unknow4;
struct in6_addr srcaddr;
uint32_t unknow01[4];
uint32_t unknow02[2];
uint16_t so_options;
uint16_t unknow02a;
uint16_t so_q0len;
uint16_t so_qlen;
uint16_t so_qlimit;
uint16_t so_dqlen;
uint32_t unknow03[4];
struct {
uint32_t sb_hiwat;
uint32_t unknow01;
uint32_t unknow02;
uint32_t unknow03;
uint32_t sb_mbmax;
uint32_t unknow04;
uint32_t sb_lowat;
uint16_t sb_flags;
uint16_t unknow05;
} rcvbuf;
uint32_t unknow07;
uint32_t unknow08[2];
uint32_t unknow09;
struct {
uint32_t sb_hiwat;
uint32_t unknow01;
uint32_t unknow02;
uint32_t unknow03;
uint32_t sb_mbmax;
uint32_t unknow04;
uint32_t sb_lowat;
uint16_t sb_flags;
uint16_t unknow05;
} sndbuf;
uint32_t unknow11;
uint32_t so_uid;
uint16_t so_special;
uint16_t so_special2;
uint16_t tcp_state;
uint16_t unknow12;
uint32_t tcp_flags;
uint32_t tcp_mss;
uint32_t unknow15;
};
Signed-off-by: Florian Forster <octo at collectd.org>
commit 1ded46e8eb7b0884edc0ab6efeff3991a12f3129
Author: Xavier Mehrenberger <xavier.mehrenberger at gmail.com>
Date: Sat Jun 11 23:01:57 2011 +0200
src/plugin.c: add info to 'Invalid value list' error message
Signed-off-by: Florian Forster <octo at collectd.org>
commit 10f561d1ca417bf14c396d7cd169f4f40ec49b81
Author: Peter Warasin <peter at endian.com>
Date: Mon Jun 27 20:10:51 2011 +0200
collectd_unixsock.py: Fix infinite wait.
raise a KeyError if getval() or getthreshold() unixsock returns replies an
error because of request of an unknown identifier
Signed-off-by: Florian Forster <octo at collectd.org>
commit 9b967a770f38099336c3652986d93c8b4d610a36
Merge: 514a9fe 4b962d3
Author: Florian Forster <octo at collectd.org>
Date: Sun Aug 21 16:51:36 2011 +0200
Merge branch 'collectd-5.0'
Conflicts:
configure.in
src/owniptc/libiptc.c
Change-Id: I0ab8fc1accd476f5d1a243b1a155eac4b751cd8c
commit 4b962d32365228d8984759d36269904527927cf3
Author: Florian Forster <octo at collectd.org>
Date: Sun Aug 21 16:50:29 2011 +0200
rrdtool plugin: Fix warning about unused variable "stepsize".
Change-Id: Ibd4dd3f17db62b10b96c59f37b66941ddc5ea7b0
commit ba2ee9aec4c0454eed8f29b4c6ce96c6fc372346
Merge: cf9ac77 b96e6dd
Author: Florian Forster <octo at collectd.org>
Date: Sun Aug 21 16:43:22 2011 +0200
Merge branch 'collectd-4.10' into collectd-5.0
Conflicts:
src/curl_json.c
src/libvirt.c
Change-Id: I0852495b416435fa3cfd36068d967e0cd5ff689f
commit b96e6dd0fe5583ca809b66b2519e74081c79e4f3
Author: Florian Forster <octo at collectd.org>
Date: Sun Aug 21 16:40:23 2011 +0200
configure: Link with ip4tc and ip6tc, too.
This solves this problem:
octo at leeloo:/tmp $ gcc -o conftest -g -O2 conftest.c -liptc -ldl
/usr/bin/ld: /tmp/ccuJEDqP.o: undefined reference to symbol 'iptc_init'
/usr/bin/ld: note: 'iptc_init' is defined in DSO /lib64/libip4tc.so.0 so try adding it to the linker command line
/lib64/libip4tc.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
Why the iptables plugin compiles without this is beyond me.
Change-Id: If615bee0c9524d907ca1834d5c337ed50c625c5b
commit ca86420e6801c5e97cc40176cce27d2b0125a430
Author: Francois-Xavier Bourlet <fx at dotcloud.com>
Date: Sun Aug 21 11:05:40 2011 +0200
fix xff excessive rounding
Hi,
When generating arguments for rrd_create, the previous
format string "%.1f", was rounding up the value too aggressively.
ex: for xff==0.9999 the result would be -> 1.0 (invalid value for xff!)
The new format string is "%.10f", which lead up to 10 digits after the
dot, enough to be close to the double type limit, and so handling
correctly the previous example.
Change-Id: I7c6cc55b0d43beb5ef351bb04b67f4628249c737
commit e82cc54af25806a47ba17a9002f1d536408bdfaa
Author: Florian Forster <octo at collectd.org>
Date: Tue Aug 16 08:51:59 2011 +0200
configure.in: Add AC_CONFIG_AUX_DIR for libltdl.
commit ba9b76d4be49c6a45b32a508c48e828a583b6dfc
Author: Florian Forster <octo at collectd.org>
Date: Tue Aug 16 08:51:21 2011 +0200
mysql plugin: Remove sideeffect-free function call.
commit 6c4ad411cc83a68086bebc24e814c3aea1cb8096
Author: Florian Forster <octo at collectd.org>
Date: Tue Aug 16 08:50:40 2011 +0200
notify_email plugin: Remove useless function and fix indentation.
commit 61a1fa91ba73e4fe3a34949f77c5f017056f2b7a
Author: Peter Green <plugwash at p10link.net>
Date: Tue Aug 16 08:48:52 2011 +0200
Many build fixes that turned up with GCC 4.6.
Signed-off-by: Florian Forster <octo at collectd.org>
commit 7274cb052668eab0cd7dcb5d48d4dec75ae707b3
Author: Colin Patrick McCabe <cmccabe at alumni.cmu.edu>
Date: Wed Jul 27 10:00:30 2011 -0700
src/csv.c: use a bigger buffer
The CSV plugin formerly used a relatively small output buffer. If you
had a large dataset, you would always get error -1 because the line
length was be too long. This patch extends the buffer.
Signed-off-by: Colin McCabe <colin.mccabe at dreamhost.com>
Signed-off-by: Florian Forster <octo at huhu.verplant.org>
commit cf9ac771ade7c5ba75ab13d2b4f2482983994840
Author: Florian Forster <octo at huhu.verplant.org>
Date: Thu Jul 7 16:59:13 2011 +0200
src/utils_format_json.c: Correctly format the time of value lists.
Users should get epoch, not our internal format.
commit 5ec7a37c81d6f64f35b1f35e2f0e3157e83f2718
Author: Florian Forster <octo at collectd.org>
Date: Tue Jul 5 16:28:10 2011 +0200
curl_json plugin: Add compatibility code for libyajl v2.
Thanks to "spupykin" of the Arch Linux project on whose patch this commit is
loosely based.
commit 514a9fe8450efe2091d5671c3f7c67a8745b232e
Author: Florian Forster <octo at collectd.org>
Date: Fri Jun 17 16:37:31 2011 +0200
AMQP plugin: Fix printing of interval_g.
commit 5caecf5ba53ad31fa0626591c1ccc91fb47af955
Author: Sebastian Harl <sh at tokkee.org>
Date: Fri Jun 17 10:29:13 2011 +0200
rrdcached plugin: Handle boolean config options as well.
This was lost previously when changing to the complex config callback.
commit ccc69cc64e79170e09eb3eae9cb9d2d22c6f06e6
Author: Sebastian Harl <sh at tokkee.org>
Date: Fri Jun 17 10:25:48 2011 +0200
rrdcached plugin: Register write/flush only if DaemonAddress has been given.
Else, the write callback would remove itself on the first call. This
operation, however, is not thread-safe as access to the write list is not
synchronized. Thus, removing the callback at that point leads to random
segfaults.
commit 887bc2aa36a2b48ab28b0b0138bd55411efe55e6
Author: Sebastian Harl <sh at tokkee.org>
Date: Fri Jun 17 10:20:17 2011 +0200
rrdcached plugin: Handle configuration using a "complex config" callback.
This allows to handle all of the configuration in one go and execute some
action once after doing so.
commit e4517555fbb51d317ac4ca76dc8cfb3b8c1f5410
Author: Sebastian Harl <sh at tokkee.org>
Date: Fri Jun 17 09:25:05 2011 +0200
threshold: Don't register missing/write callbacks unless we have thresholds.
The checking is fairly expensive, so don't do that unless really necessary.
commit 27769fc777da38494c3f8e2297af9099fbec0bc0
Author: Sebastian Harl <sh at tokkee.org>
Date: Fri Jun 17 09:24:02 2011 +0200
avl tree: Report size of the tree and make that available in _get_size().
commit f2f52fa0700944578af732abf40fc40f3f65d0a6
Author: Sebastian Harl <sh at tokkee.org>
Date: Fri Jun 17 09:05:48 2011 +0200
threshold plugin: Dont check for interesting values if there are no thresholds.
commit bb29e8566cd82952561d91e741f36acb07bfb2a3
Author: Sebastian Harl <sh at tokkee.org>
Date: Thu Jun 16 11:42:20 2011 +0200
amqp plugin: Fixed format strings when printing 'interval_g'.
commit 698837f250f754e93cfec3fcd7461f272c91f6f5
Author: Sebastian Harl <sh at tokkee.org>
Date: Thu Jun 16 11:11:40 2011 +0200
configure: Removed last traces of 'owniptc'.
E.g., autoconf still tried to generated src/owniptc/Makefile in AC_OUTPUT(),
which obviously fails if owniptc is no longer there.
commit e35f3c5c634216860f14586a7d17232022d8b588
Author: Mike Flisher <mike.flisher at gmail.com>
Date: Sun May 22 17:39:29 2011 +0200
Various plugins: Set the cURL option "CURLOPT_NOSIGNAL".
This fixes problems with version 7.21.2 (and later) of libcurl that are due to
collectd being a multi-threaded program.
Signed-off-by: Florian Forster <octo at collectd.org>
commit 36d3cd820b5f977fcd349250a22a932f5af5a062
Author: Sebastian Harl <sh at tokkee.org>
Date: Mon May 16 15:08:41 2011 +0200
collectd-nagios: Sort LISTVAL output.
Also, output the data for each host in a separate "section", printing the
hostname as the heading and leaving it out from any further output.
This way, the strings may directly be used as options for -H and -n.
commit 59e3b2dd5837c850db73ead1e7215f0738124f68
Author: Sebastian Harl <sh at tokkee.org>
Date: Mon May 16 15:07:18 2011 +0200
libcollectdclient: Added `lcc_sort_identifiers()'.
This function may be used to sort an array of lcc_identifier_t objects.
commit ea651b1fceaf83b85aca918a89ce45818ff42f93
Author: Sebastian Harl <sh at tokkee.org>
Date: Mon May 16 14:43:34 2011 +0200
collectd-nagios: Select a single host in LISTVAL output when -H has been used.
commit 03326eeaf8819d87786b132b80a0e772a9c5e2b0
Author: Sebastian Harl <sh at tokkee.org>
Date: Mon May 16 14:39:53 2011 +0200
collectd-nagios: Let '-n LIST' list all available datasets.
commit e7a699dcfa222133a6a0cfac1132702852a6f3bd
Author: Rafal Lesniak <lesniak at sra.uni-hannover.de>
Date: Fri May 13 17:15:54 2011 +0200
src/meta_data.c: Free a leaking mutex.
This problem primarily manifested on FreeBSD but may well effect other
systems as well.
Thanks to Tomas Krasnican for reporting this problem.
Signed-off-by: Florian Forster <octo at collectd.org>
commit cd88e32b08f73bb8aba6f9b1ff0f3928a137f372
Author: Florian Forster <octo at huhu.verplant.org>
Date: Mon May 9 23:36:17 2011 +0200
df plugin: Improve error message.
commit e61872d4b1325cb8d54f4cdb16f185fcfe2710a7
Author: Florian Forster <octo at huhu.verplant.org>
Date: Wed Apr 27 17:29:33 2011 +0200
contrib/migrate-4-5.px: "df" does not have COUNTER DSTs.
commit 57b6a7ec7693cf8f111d9d4ab486eb5509c99836
Author: Florian Forster <octo at collectd.org>
Date: Sat Apr 23 08:31:08 2011 -0700
contrib/migrate-4-5.px: Remove useless "OutDir" option.
commit 99364c70a7039ed496dbe429fb86ee41e464fc76
Author: Florian Forster <octo at collectd.org>
Date: Sun Apr 3 09:17:26 2011 -0700
iptables plugin: Remove the shipped version of libiptc.
Since libiptc is now publicly available as a shared library, we don't really
have any need to ship it with collectd anymore.
commit e6bfb0e87a4751459ff1920bb57acfcfd5661454
Author: Samuli Suominen <ssuominen at gentoo.org>
Date: Mon Mar 28 02:16:33 2011 +0200
notify_desktop plugin: Add compatibility code for libnotify 0.7.
The current code in src/notify_desktop.c is not compatible with the new
libnotify 0.7 API
This:
notification = notify_notification_new (summary, n->message, NULL, NULL);
Should now be:
notification = notify_notification_new (summary, n->message, NULL;
As in, one argument less for notify_notification_new.
But we can't just remove it or it'll break compability with libnotify
0.4.x and 0.5.x.
This piece of code sets dummy NOTIFY_CHECK_VERSION for libnotify-0.4.x,
because NOTIFY_CHECK_VERSION was added only in 0.5.x:
#ifndef NOTIFY_CHECK_VERSION
#define NOTIFY_CHECK_VERSION(x,y,z) 0
#endif
Then we can freely use NOTIFY_CHECK_VERSION, and it will work with all
of 0.4, 0.5 and 0.7 series:
#if NOTIFY_CHECK_VERSION (0, 7, 0)
do something cool
#endif
I'm attaching the working patch. It's been tested with all of the
mentioned versions, as well as it's in active use at Gentoo Linux.
Thanks, Samuli
Signed-off-by: Florian Forster <octo at huhu.verplant.org>
commit 5f2db377613d8f9d586fcadad706345af1afdc37
Author: Florian Forster <octo at collectd.org>
Date: Sun Mar 27 11:58:40 2011 -0700
src/collectd.h: Define "_Bool" to "int" if the C compiler doesn't know the type.
More information about the collectd-changes
mailing list