[collectd-changes] collectd, the system statistics collection daemon: Changes to 'rc/mongodb'

Florian Forster octo at verplant.org
Sat Nov 6 09:09:07 CET 2010


Rebased ref, commits from common ancestor:
commit e82a9aa78f4ce58be77660794b63c0d4d6ddbeda
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Nov 3 18:52:08 2010 +0100

    mongodb plugin: Refactored many of the other handle_* functions.

commit 241ed2da0efe721c4ede99acd48d6258fbea3f33
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Nov 3 15:52:53 2010 +0100

    mongodb plugin: Refactor the "handle_opcounters" function.

commit a766c7cddb06c68371089030b2cccc5581fbe7a8
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Nov 3 14:58:58 2010 +0100

    mongodb plugin: Various updated and fixes.
    
    The plugin builds now with the "mongo-c-driver".

commit df501beba0ce4424a245593191863aa958cbd39d
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Nov 3 14:15:57 2010 +0100

    src/Makefile.am: Add the MongoDB plugin.

commit 82ab64c1fbad111601a51489b1b7c57cb4994d15
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Nov 3 14:15:37 2010 +0100

    mongodb plugin: Rename the "mongo" plugin.

commit 044b8b1caa89050b39312b38327a71df9acd003d
Author: Ryan Cox <ryan.a.cox at gmail.com>
Date:   Wed Nov 3 14:06:17 2010 +0100

    mongo plugin: Initial checkin.

commit 0272917854026afc18cbe56f847caf5c3d0177b7
Author: Ryan Cox <ryan.a.cox at gmail.com>
Date:   Wed Nov 3 14:04:09 2010 +0100

    configure.in: Check for libmongoc.

commit 65dba471769a4e69bc505c758015ffdfb76a6053
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sun Oct 31 17:07:40 2010 +0100

    src/collectd.h: Do not include <stdbool.h> here.

commit debf97972666d688bace07d1b5ee3ef958ac7cee
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sun Oct 31 12:52:31 2010 +0100

    network plugin: Don't use the "true" and "false" macros from <stdbool.h>.
    
    They cause more trouble with other includes that they are worth.

commit 02a570b9e233010777e502db11e569cc4f40984c
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Sat Oct 30 14:03:02 2010 +0200

    Various plugins: Don't call "time(2)" in the plugins to set vl.time.
    
    vl.time is initialized to zero instead and the current time is filled in
    by dispatch_values().

commit 2047b2b31f53bc2e02f40eb86d10f1e7c403a8ff
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Thu Sep 30 08:35:33 2010 +0200

    network plugin: Increase default buffer size to 1452.

commit 58217009d8028d2e5d654c8b76562f59e28c9c30
Merge: 969ad2b923dace5c109093e22aa16a0f110d924e bec423a136b879dc53e9123f7e8b94c7ef6097a2
Author: Florian Forster <octo at noris.net>
Date:   Wed Sep 29 17:06:00 2010 +0200

    Merge branch 'kr/ctxt'

commit bec423a136b879dc53e9123f7e8b94c7ef6097a2
Author: Florian Forster <octo at collectd.org>
Date:   Wed Sep 29 17:04:53 2010 +0200

    contextswitch plugin: Some coding style changes.

commit 5faee1b80e2718c7c12801439af1a6a6729c0b8d
Author: Florian Forster <octo at collectd.org>
Date:   Wed Sep 29 17:04:20 2010 +0200

    contextswitch plugin: Add copyright and author information.

commit 969ad2b923dace5c109093e22aa16a0f110d924e
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Mon Sep 27 14:05:52 2010 +0200

    mysql plugin: Remove some inactive (legacy) code.

commit 1c1e96413620974fb664fc0aa3e6c3ea92b0220d
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Mon Sep 27 11:45:01 2010 +0200

    apache plugin: Remove legacy code.
    
    Configurations without an "<Instance />" block are not supported
    anymore. The documentation and default config have been adapted.

commit 5e9a90b4d135d9ba420d9afe051cfb59e49a3e5f
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Sep 24 18:51:14 2010 +0200

    curl_json plugin: Improve error handling.

commit 94321ee8e25e7efe9033b4d2b547cd71b64dea40
Author: Manuel Luis Sanmartín Rozada <manuel.luis at gmail.com>
Date:   Wed Sep 8 11:01:23 2010 +0200

    PATCH apache.c: support IBM HTTP Server.
    
    IBM HTTP Server is a version of apache 2 that comes with Websphere.
    IBM change the server name header to:
    
    Server: IBM_HTTP_Server
    
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit c7d185a1dd33899855b6f9a71bf7b4c0b6362493
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Sat Sep 4 22:30:44 2010 +0200

    nginx plugin: Make the cURL callback code easier to understand.

commit 2c4059f3b4da4adceb0547bd2d7e2d69c20e1169
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sun Aug 29 09:56:31 2010 +0200

    perl plugin: Remove the deprecated "plugin_flush_{all,one}" functions.

commit 3ea3b96ec7fe3e2f907bfe6e471d1eaf35b49eee
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sun Aug 29 09:50:59 2010 +0200

    perl plugin: Remove deprecated compatibility code from "Collectd_plugin_dispatch_values".

commit 052b3cc13d9ce2cfffa31a9e97ea9a4def8bbaf7
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sun Aug 29 09:39:09 2010 +0200

    src/types.db: Remove the "mysql_qcache" and "mysql_threads" types.
    
    Use the "v5upgrade" taret to preserve compatibility.

commit 1538fa84b575c8cc8fc19345c7bc597a2069f19d
Author: Kimo Rosenbaum <kimo at Kimo-Rosenbaums-MacBook-Pro.local>
Date:   Tue Aug 24 13:27:03 2010 -0700

    add support for sysctlbyname: vm.stats.sys.v_swtch

commit d1c3baabf0c7bf65f699fb66db5b2aea92d1f5e7
Merge: 959e4e77abe00cd4e081a6555df00cbde86e0ce8 97addf1e406c75be500ae020635f3cb389f206e0
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Thu Aug 19 15:02:48 2010 +0200

    Merge branch 'collectd-4.10'

commit 97addf1e406c75be500ae020635f3cb389f206e0
Merge: c15dbfc3739f7c3bbd8171797eaef55749008bfa 69149f2f18463f82a567ca27ff1eb2fc4bb8dc3d
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Thu Aug 19 15:02:41 2010 +0200

    Merge branch 'collectd-4.9' into collectd-4.10

commit 69149f2f18463f82a567ca27ff1eb2fc4bb8dc3d
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Thu Aug 19 15:00:26 2010 +0200

    src/utils_heap.c: Fix calculation of the parent's index.
    
    This resulted in the "upwards" reheap function to return prematurely,
    leaving the heap condition violated.

commit 959e4e77abe00cd4e081a6555df00cbde86e0ce8
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Thu Aug 19 09:59:34 2010 +0200

    collectd-nagios: Remove forgotten commend.

commit 1731be96ba72786f4f69d4f752d2f99c6d774b4c
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Thu Aug 19 09:57:54 2010 +0200

    collectd-nagios: Remove unnecessary includes.
    
    The UNIX socket is now handled in the library, no need for including
    those files anymore.

commit 9f28473ab8e8b93c1bf19a72f02bb4e799dd7eed
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Aug 18 10:22:36 2010 +0200

    collectdctl: Reorder includes and set strict C99/POSIX mode.
    
    This enables NAN on some systems, e.g. old Linux boxes.

commit 8ddd37a8d389a9c183394c87b299845709222e67
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Aug 18 10:22:11 2010 +0200

    collectdctl: Fix comparison with uninitialized variable.

commit e216f303206f269ba89bb4be32ffcb7eb15ca289
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Aug 18 10:21:49 2010 +0200

    collectdctl: Fix problems with strict aliasing.

commit b53110ef99e3d6a5e2f8e79b8f068cfe96a1accb
Merge: e7be1d7ea062e8d4d59c04c42e63d655188dc597 c15dbfc3739f7c3bbd8171797eaef55749008bfa
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 18:53:38 2010 +0200

    Merge branch 'collectd-4.10'

commit c15dbfc3739f7c3bbd8171797eaef55749008bfa
Merge: 0fe0b565ea84fb2363411366905c7cfb492cd709 b76b0341b759e4e2dbb2abd46d60b8decdf2fd6d
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 18:53:29 2010 +0200

    Merge branch 'collectd-4.9' into collectd-4.10

commit b76b0341b759e4e2dbb2abd46d60b8decdf2fd6d
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 18:52:36 2010 +0200

    src/plugin.c: Improve an info message.
    
    Based on a patch by Sebastian, which didn't use the handy "FORMAT_VL"
    macro.

commit e7be1d7ea062e8d4d59c04c42e63d655188dc597
Merge: 97a1b92446be5e0ebb68d25ec8b94743f2ac12fb e76aaa05606e1dfb443a4e4c7028c0ee6ed558e3
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 18:43:37 2010 +0200

    Merge branch 'ad/redis'

commit e76aaa05606e1dfb443a4e4c7028c0ee6ed558e3
Merge: 7983affe67549ba8d84606f5ada0b98325687d13 3e2a37d253db4eb286445e696029506c1bcec34a
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 18:43:33 2010 +0200

    Merge branch 'ff/redis' into ad/redis

commit 3e2a37d253db4eb286445e696029506c1bcec34a
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 16:45:42 2010 +0200

    write_redis plugin: Add all identifiers to a "set".
    
    This should make it easy for front-ends to discover available metrics.

commit b79847972128878c67655b9a0c89b481861ee45a
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 16:09:55 2010 +0200

    write_redis plugin: Use an "append" macro to fill the values buffer.
    
    This way we don't have to copy the entire buffer, which is hopefully
    faster.

commit 53181fa3b5a91f47e51d01d56b34906f8b244a1b
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 15:54:15 2010 +0200

    write_redis plugin: Fix copyright information.

commit 7983affe67549ba8d84606f5ada0b98325687d13
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 15:50:26 2010 +0200

    redis plugin: Add default configuration.

commit ab81f781b1baad179f2c96abf54138d8a7d43cc9
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 15:48:25 2010 +0200

    redis plugin: Improve the types used for storing information.

commit e8d81d7d47826dbb0e0549ab1c1d5a50add51037
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 15:20:59 2010 +0200

    redis plugin: Use a linked list rather than an AVL tree.
    
    Since the main purpose of the data structure is to iterate over it, using
    an AVL tree here is less efficient than a linked list. Also, it's easier
    to read.

commit b1bd5d71df61b00507bfab19bcc7fd6562a2d88a
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Tue Aug 17 08:07:35 2010 +0200

    collectd.conf(5): Document he "Derive*" and "AbsoluteSet" DSTypes of the tail plugin.

commit 459c30811590c42d0d47922199577f0b61f54962
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Tue Aug 17 08:05:38 2010 +0200

    src/utils_match.c: Use strtoull(3) for counter and absolute data sources.

commit fd4a555fed0d88033e2e5bbe3c84f9847fd1ec22
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Mon Aug 16 10:32:27 2010 +0200

    src/utils_match.h: Fix a bug preventing derive values from being handled correctly.
    
    Due to the bit-wise check, the value for derive (0x30) matches the check
    for gauge (0x10), too. This commit fixes the behavior by assigning other
    numeric values to the defines.

commit 3d96322c6330132dd67312b72cb62df10a7f09cf
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Aug 13 23:15:48 2010 +0200

    src/configfile.c: Continue parsing config files if stat'ing one file fails.

commit 97a1b92446be5e0ebb68d25ec8b94743f2ac12fb
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Aug 11 15:45:01 2010 +0200

    src/utils_db_query.[ch]: Remove legacy code.
    
    The "legacy mode" supported an old configuration schema of the
    PostgreSQL plugin. This commit removes it, so only the recommended
    configuration remains possible.

commit f3706b0b8792e7340225d7667f69ffb7b178c08e
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 10 13:26:45 2010 +0200

    write_redis plugin: Add a new plugin writing collectd data to an instance of Redis.

commit fe3dc1b1d500cf1593009ef70487c3eb29cec57f
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 10 11:18:42 2010 +0200

    collectd.conf(5): Improve the "Redis plugin" documentation a bit.

commit b591eca287a75abd96523d0ac10304cd18881c7b
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 10 11:08:03 2010 +0200

    configure.in: Reorder the library checks alphabetically.

commit acc9dfa25b7c0c2eedd28c3861f7ef7fc82945ed
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 10 10:54:31 2010 +0200

    redis plugin: Simplify configuration handling.

commit d6ef3dad2f3dc9d7c35a9bbb563e52c3f0c1ec7c
Author: Andres J. Diaz <ajdiaz at connectical.com>
Date:   Mon Aug 9 10:45:06 2010 +0200

    Fix a number of minor bugs.
    
    - The Port configuration option is a string, not a number. Fix
      documentation.
    
    - Fix a bad status assignement in port parser.
    
    - Remove default node. Now node is mandatory to prevent
      duplicates in tree.
    
    - Update configuration example too.

commit a92f88f0d5e0b0f6b80de5c569cd3d20a5572b95
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Tue Aug 10 09:35:00 2010 +0200

    collectdctl: Explicitly cast "long" to "int". This might be a problem on 32bit architectures.

commit 71ddf90efc69ccf8fef77a9a2ac5e4acf35a69bf
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Aug 9 22:04:54 2010 +0200

    collectdctl: Added support for ‘U’ (undef) values in ‘putval’.

commit 3b3051fbd83550316eb4b4535c4d2f764e855418
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Aug 9 22:03:02 2010 +0200

    libcollectdclient: Fixed handling of ‘U’ (undef) in ‘PUTVAL’.

commit 4da9a97a7024960ef8210e10b76204ef2fdaf979
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Aug 9 21:57:05 2010 +0200

    collectdctl: Improved error reporting.

commit 666394e4a4fe8efe6a98266b9dbac32e30064f45
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Aug 9 21:54:09 2010 +0200

    collectdctl: Added support for the ‘putval’ command.

commit d004b7065d9f89486aa7f955c3ac340fec4b5055
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Aug 9 21:29:07 2010 +0200

    libcollectdclient: Added missing element to LCC_VALUE_LIST_INIT.

commit 58744510fe0d5d67150779bfa93609fa94eaa2b7
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Aug 9 17:39:24 2010 +0200

    collectdctl: Moved examples section from help output to manpage.

commit d0d5d5fa42cd77042d4c3077bb67cfeb8c9cd701
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Aug 9 17:26:11 2010 +0200

    collectdctl: ‘flush’ now supports multiple plugins/identifiers.
    
    … just like the ‘unixsock’ plugin does.

commit 00f1c765cad57d9ccd5263421611b56dfa8e94c4
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Aug 9 00:10:22 2010 +0200

    collectdctl(1): Updated the manpage according to the latest changes.

commit 5b4655df8b9d8e60d0502b0c6ecdcb05e99f7fc7
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Aug 8 23:27:16 2010 +0200

    collectdctl: Improved error reporting.

commit 1252d60cdbd86328ecb815e978dbfa380c29b385
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Aug 8 23:23:40 2010 +0200

    collectdctl: Added ‘listval’ command.

commit ef3517dc3971eaf3986331b532f201e52dea7817
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Aug 8 22:22:11 2010 +0200

    Renamed ‘collectd-flush’ to ‘collectdctl’ (collectd control interface).

commit bbe79aeced66b646bb84aa38f7458e720ad18e1c
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Aug 8 22:18:06 2010 +0200

    collectd-flush: Added ‘getval’ to the help output.

commit dfdde4f67574cc6c02ca4bb26a1b54b3b7250fcd
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Aug 8 22:15:15 2010 +0200

    collectd-flush: Added support for the ‘getval’ command.

commit 677cdefc79b8317c0013521f7f9e3eff7af7c282
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Aug 8 21:49:11 2010 +0200

    collectd-flush: Moved connection handling out of ‘flush()’.

commit 91c09b4a499872e92c845859b912dcc049fdf712
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Aug 8 21:41:45 2010 +0200

    collectd-flush: Switched to a command based syntax.
    
    Basically, the command line now looks similar to the ‘unixsock’ text protocol,
    i.e., a command is specified as first non-option argument followed by any
    options of that command as defined by the protocol.

commit 74ba45134a428c971bc9274b17e8d8bd210156e3
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Sun Aug 8 10:59:15 2010 +0200

    curl json: Fix checking the response code.

commit 79f6d0d0005c09481208f9c99328a3754db2aaf7
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sat Aug 7 13:30:42 2010 +0200

    src/Makefile: Build and ship (in the tarball) the collectd-flush manpage.

commit 97367866d955981cfe3adbed9294eb31dc8ba1c4
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sat Aug 7 09:51:08 2010 +0200

    collectd-flush: Include version and author information in usage output.
    
    Just like the other tools.

commit 68215bd134573588e4f99558ff59640470c90faa
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sat Aug 7 09:48:16 2010 +0200

    collectd-flush: Determine default socket from configured localstatedir.

commit 8856d7def89bebef924ef90d04a0baf088744bbc
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sat Aug 7 09:43:33 2010 +0200

    collectd-flush: Do not use ‘getopt_long()’.
    
    This is a GNU extension and, thus, not portable.
    
    Also, pimped the usage output a bit.

commit 552e81eebd54e4dc7a5d290a1ec4be769bef4a24
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sat Aug 7 09:16:50 2010 +0200

    collectd-flush: Simplified ‘usage()’ a bit.

commit 1a9c26bffc5ae9c7d54c4e2b841b248098010b56
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Aug 6 14:59:56 2010 +0200

    src/utils_cmd_putval.[ch]: Implement "create_putval".

commit 75a0b125784546894d2d5ecb5d21b6a26dbd640b
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Aug 6 14:40:55 2010 +0200

    write_http plugin: Move "wh_value_list_to_string" to src/common.[ch].

commit 135331b30a334a934e12c6026432ec144e56b887
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Fri Aug 6 09:04:24 2010 +0200

    collectd-flush: Minor coding style changes.

commit 5c0727dbeb52470e6ec903165f03754a9c6d9b6d
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Fri Aug 6 08:59:46 2010 +0200

    collectd-flush: Add a missing "break" in a "switch" case.

commit 9563e45d953145c33bf5c23e1d5023c96b3bbd57
Author: Hakon-Dugstad.Johnsen at telenor.com <Hakon-Dugstad.Johnsen at telenor.com>
Date:   Thu Aug 5 16:40:18 2010 +0200

    Update Makefile.am to build collectd-flush
    
    As I am no automake expert, I basically copied
    the lines for collectd-nagios and changed them
    to collectd-flush. It works, but maybe there could
    be better ways to do it. I don't know. :)
    
    As I said in the previous mail:
    If this message is not properly encoded as utf-8, something wrong must have
    happened with my mailer. If that's the case, I'm sorry.  The only non-ascii character
    in the patch is the second character of my name, which is an &aring;.
    
    Signed-off-by: HÃ¥kon J Dugstad Johnsen <hakon-dugstad.johnsen at telenor.com>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit 35ad86ccb95a7808ad2cf7ad266292cb877c5eb8
Author: Hakon-Dugstad.Johnsen at telenor.com <Hakon-Dugstad.Johnsen at telenor.com>
Date:   Thu Aug 5 16:37:45 2010 +0200

    Add collectd-flush command line utility.
    
    collectd-flush is a small command-line utility which uses libcollectdclient
    to flush collectd through the unixsock plugin. As far as I know, there is
    no easy way to work with unix sockets from the shell, so if someone
    wanted to flush collectd without this program, they would need to do it
    through some other language (or restart the deamon).
    
    I am no C wizard, so please bear with me if I have
    done something a stupid way. :)
    The code is based on/inspired by collectd-nagios.
    
    If this message is not properly encoded as utf-8, something wrong must have
    happened with my mailer. If that's the case, I'm sorry.  The only non-ascii character
    in the patch is the second character of my name, which is an &aring;.
    
    Signed-off-by: HÃ¥kon J Dugstad Johnsen <hakon-dugstad.johnsen at telenor.com>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit 0fe0b565ea84fb2363411366905c7cfb492cd709
Author: Garret Heaton <powdahound at gmail.com>
Date:   Mon Jul 19 18:56:31 2010 -0700

    Fix incorrect error logging.
    
    Was calling sys.stderror instead of sys.stderr.

commit 47d5efe6eae80527119114892aa539d5bfd925df
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Aug 4 14:43:38 2010 +0200

    redis plugin: Use "sizeof" rather than repeating the size.

commit 66124ee0d4b7677b2243c6a722eaad621d694f46
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Aug 4 14:40:04 2010 +0200

    curl_json plugin: Use a more descriptive define as return value.

commit 272fd122c536588e4d196ee098705c482aee13e3
Author: Florian Forster <octo at noris.net>
Date:   Wed Aug 4 11:49:06 2010 +0200

    redis plugin: Whitespace fixes.
    
    I've re-indented the entire plugin because indentation was all over the
    place. Sorry, if this breaks any patches for you. I'm not usually a
    friend of doing this, but I felt it'd be best to do this early on to
    annoy the smallest possible number of people.

commit ef30456d00ad45d734a17877aeb97d3dc7fd3e21
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Aug 4 11:36:04 2010 +0200

    redis plugin: Fix typos preventing a successful build.

commit 799410cb4a38cf6c6e85eb3c86d050a4010d8c54
Author: Andres J. Diaz <ajdiaz at connectical.com>
Date:   Fri Jul 30 16:06:48 2010 +0200

    Add redis plugin.
    
    This commit adds a new redis plugin, which connect to a number of redis
    server and get information about their status, using the libcredis > 0.2.2
    library. The plugin get the following information:
    
    * bgsave_in_progress
    * change_since_last_save
    * connected_clients
    * connected_slaves
    * total_command_processed
    * total_connection_received
    * uptime_in_seconds
    * used_memory
    
    Here is an example of configuration file:
    
    <Plugin redis>
    	<Node example>
    		Host "localhost"
    		Timeout 2000
    	</Node>
    </Plugin>
    
    And the output of rrdtool plugin must be something similar to this:
    
    redis-example/bgsave_in_progress.rrd
    redis-example/changes_since_last_save.rrd
    redis-example/connected_clients.rrd
    redis-example/connected_slaves.rrd
    redis-example/total_commands_processed.rrd
    redis-example/total_connections_received.rrd
    redis-example/uptime_in_seconds.rrd
    redis-example/used_memory.rrd
    
    Enjoy! :)

commit 5c3e14a2937c7b1b14e6377b1285a36815ca5111
Author: Sebastian Harl <sh at tokkee.org>
Date:   Wed Jul 28 22:42:48 2010 +0200

    collectd-perl(5): Mention that "Globals" should be enabled.

commit 4944b8e57d6b08f0434382e64f9687e0fd1cc682
Author: Sebastian Harl <sh at tokkee.org>
Date:   Wed Jul 28 22:42:23 2010 +0200

    collectd.conf(5): Documents LoadPlugin's "Globals" option.

commit 8c697f28b19df736da174a4fa750fb1ca95c56dc
Author: Garret Heaton <powdahound at gmail.com>
Date:   Mon Jul 19 18:56:31 2010 -0700

    Fix incorrect error logging.
    
    Was calling sys.stderror instead of sys.stderr.

commit b16fd65efea0f4073c967f9c93237585fcc7b88c
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Jul 13 13:58:34 2010 +0200

    curl_json plugin: Use the "number" callback of libyajl.
    
    The "integer" callback only works with "long"s, which are 32bit on
    x86 and other 32bit architectures. The "number" callback gets the raw
    string for us to parse ourselves – honoring the data source type in the
    process.
    
    The "integer" and "double" callbacks have been removed, since they are not
    used if the "number" callback is present.




More information about the collectd-changes mailing list