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

Florian Forster octo at verplant.org
Sat Nov 6 12:18:18 CET 2010


 AUTHORS                                          |    7 +
 README                                           |   15 +
 bindings/perl/lib/Collectd.pm                    |   29 -
 configure.in                                     |   67 ++
 contrib/collection3/etc/collection.conf          |   10 +
 contrib/collection3/lib/Collectd/Graph/Common.pm |    4 +-
 src/Makefile.am                                  |   21 +
 src/amqp.c                                       |  939 ++++++++++++++++++++++
 src/apache.c                                     |   55 +-
 src/collectd-perl.pod                            |   22 -
 src/collectd-python.pod                          |   18 +-
 src/collectd.conf.in                             |   25 +-
 src/collectd.conf.pod                            |  161 ++++-
 src/collectd.h                                   |   19 -
 src/contextswitch.c                              |   36 +-
 src/curl.c                                       |    2 -
 src/curl_json.c                                  |   48 +-
 src/df.c                                         |   10 +-
 src/lpar.c                                       |  273 +++++++
 src/match_value.c                                |    9 +
 src/memcachec.c                                  |    1 -
 src/memcached.c                                  |    3 -
 src/mysql.c                                      |   46 +-
 src/netapp.c                                     |   92 ++-
 src/network.c                                    |   30 +-
 src/nginx.c                                      |   17 +-
 src/notify_email.c                               |   45 +-
 src/perl.c                                       |   25 +-
 src/plugin.c                                     |    4 +-
 src/plugin.h                                     |    4 +-
 src/python.c                                     |    4 +
 src/rrdtool.c                                    |    4 +-
 src/ted.c                                        |    1 -
 src/types.db                                     |    5 +-
 src/utils_cache.c                                |    2 +-
 src/utils_match.c                                |    2 +-
 src/utils_tail.c                                 |    9 +
 37 files changed, 1778 insertions(+), 286 deletions(-)

New commits:
commit da69316b56551acab689af78809ec88d48a601cd
Merge: 6624c959628fa1188f8cfa4789da1eccccc5f5e4 a898c17330d9a2039bcdb8f7e6dbedba516a6cd8
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Nov 6 12:15:44 2010 +0100

    Merge branch 'master' into ff/netlib

commit a898c17330d9a2039bcdb8f7e6dbedba516a6cd8
Merge: 2bd3d909fc730c69cfce902ea5bf3fbb18352f1a 171d6a4bd5e05b56be83860701d35bfe1373d6a7
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Nov 6 12:11:23 2010 +0100

    Merge branch 'collectd-4.10'

commit 171d6a4bd5e05b56be83860701d35bfe1373d6a7
Merge: 72c467f5e8be1a24976d0808a8bdcaa85c6ef9d9 b86dd62eef146a35d43b60efa20d30756ce78d00
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Nov 6 12:08:20 2010 +0100

    Merge branch 'collectd-4.9' into collectd-4.10
    
    Conflicts:
    	src/collectd.conf.in
    	src/python.c

commit b86dd62eef146a35d43b60efa20d30756ce78d00
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Nov 6 09:58:57 2010 +0100

    README: Add libperfstat as an optional dependency.

commit 2bd3d909fc730c69cfce902ea5bf3fbb18352f1a
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Nov 6 09:58:25 2010 +0100

    AUTHORS: Add Aurélien Reynaud

commit 44a8f56d76f2ccd0dc736bdebafd3d18ce7a1858
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Nov 6 09:55:29 2010 +0100

    README: Add the "LPAR" plugin.

commit fbb822b876e877c69be066ceca693769d4a9618a
Merge: 626041ce6fa004ce49c183f35147f762a63cf302 584b130e51fc0e8214c8b4499b404e8728356fd9
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Nov 6 09:40:05 2010 +0100

    Merge branch 'ar/lpar'

commit 584b130e51fc0e8214c8b4499b404e8728356fd9
Author: Aurelien Reynaud <collectd at wattapower.net>
Date:   Thu Oct 14 22:09:29 2010 +0200

    lpar plugin: rename NS_TO_TICKS() macro to CLOCKTICKS_TO_TICKS()
    
    Signed-off-by: Aurelien Reynaud <collectd at wattapower.net>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit 98290217039439918c6271a187a2451f16a09b60
Author: Aurelien Reynaud <collectd at wattapower.net>
Date:   Thu Oct 14 22:09:28 2010 +0200

    lpar plugin: update commen t regarding poll_idle vs pool_busy
    
    Signed-off-by: Aurelien Reynaud <collectd at wattapower.net>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit 74dbb25f6756bceced459c3fefbdbc678739004a
Author: Aurelien Reynaud <collectd at wattapower.net>
Date:   Thu Oct 14 22:09:27 2010 +0200

    lpar plugin: check for donation support in libperfstat
    
    Signed-off-by: Aurelien Reynaud <collectd at wattapower.net>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit 626041ce6fa004ce49c183f35147f762a63cf302
Merge: dd44390f19bd8c8c4646666c2e289ed94ee52f92 5ff3a8f355e0b8aec99a8f251b17835af54e6515
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Nov 6 09:04:39 2010 +0100

    Merge branch 'sp/amqp'

commit 5ff3a8f355e0b8aec99a8f251b17835af54e6515
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Nov 6 09:04:25 2010 +0100

    AUTHORS: Add Sebastien Pahl.

commit 144b79a116c4d71e6172caad176db6f014c9b7fd
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Nov 6 09:00:00 2010 +0100

    amqp plugin: Document the lock required to hold when calling "camqp_write_locked".

commit d820ed4de7563bea066c80d3f172fdbe0f524304
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Nov 6 08:53:02 2010 +0100

    amqp plugin: Rename the "shutdown" function to avoid problems with shutdown(2).

commit 841dcbf6829850f2ef96c4242499369a0559304e
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Sat Nov 6 08:43:51 2010 +0100

    amqp plugin: Fix order of includes.

commit dd44390f19bd8c8c4646666c2e289ed94ee52f92
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Nov 6 08:42:48 2010 +0100

    src/types.db: Add type "current_sessions".

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 a81756879d5872e75cdf4f25dbd69e4bdedd8634
Author: Sven Trenkel <collectd at semidefinite.de>
Date:   Mon Oct 11 13:35:39 2010 +0200

    netapp plugin: Fixed a bug that prevented the configured interval to be passed on to the dispatch function.

commit 89578615b8f268f2150f786567eb433b6fcbc7e4
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Oct 6 14:32:56 2010 +0200

    lpar plugin: Calculate "pool busy" from "pool idle", not the other way around.

commit 72c467f5e8be1a24976d0808a8bdcaa85c6ef9d9
Merge: 2e4b4e1aaea45c4e1df80c23a549ca7af8871f35 df7ef4fa703e56bd33459c2099d2f43391ab36a0
Author: Florian Forster <octo at noris.net>
Date:   Wed Oct 6 10:11:10 2010 +0200

    Merge remote branch 'trenkel/collectd-4.10' into collectd-4.10

commit df7ef4fa703e56bd33459c2099d2f43391ab36a0
Author: Sven Trenkel <collectd at semidefinite.de>
Date:   Tue Oct 5 01:26:22 2010 +0200

    Fixed epic documentation fail. Python3 and meta-data support was added with 4.10 but is still listed as missing.

commit b26f349d681c60cdad4c4dbde0ea6adfbe7d741a
Author: Sven Trenkel <collectd at semidefinite.de>
Date:   Fri Oct 1 02:41:38 2010 +0200

    Add sys.argv. Not too many programs consider the possibility that it might not exist resulting in unhandled exceptions.

commit bdc070621a45ebe7274a8125b32240abadaca9a0
Author: Sven Trenkel <collectd at semidefinite.de>
Date:   Thu Sep 30 12:59:21 2010 +0200

    Fixed possible memory leak in case of broken match_value configs.

commit 2e4b4e1aaea45c4e1df80c23a549ca7af8871f35
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Thu Sep 30 09:23:22 2010 +0200

    src/types.db: Remove unused type "pinba_view".

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 d7ca6a64067a4e01a5e47044a6a80323d0138bee
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Sep 29 17:56:58 2010 +0200

    src/utils_cache.c: Replace a left-over hard-coded default of "2" with "timeout_g".

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 95c65d827f3d75657bac91755e1bdbaeb8b4b91a
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Sep 24 11:52:52 2010 +0200

    curl_json plugin: Restore struct when handling error.

commit 5c8d44f831b549cfd6e47db39181fd5a1d9cd5b2
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Sep 15 17:21:40 2010 +0200

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

commit ddeeba4c8179448e3045403823f327254c781257
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Sun Sep 12 08:21:08 2010 +0200

    lpar plugin: Use a global "perfstat_partition_total_t" struct.

commit 391525575021816a6b90a771af704d5f16184538
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Sun Sep 12 08:07:38 2010 +0200

    lpar plugin: Account "idle" pool time rather than "max".

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 8341769294c500d8b0aa8e689aa0cfc72a63a09b
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Sep 11 11:24:14 2010 +0200

    lpar plugin: Explain donations a bit more.

commit 3d1f7d99659e43efae646f18602c5f0360f255a8
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Sep 11 11:18:47 2010 +0200

    lpar plugin: Rename the "system" metric (from "sys").

commit 13cbf9d48f26083e29e07c1b59ad1d67b6efa147
Author: Aurelien Reynaud <collectd at wattapower.net>
Date:   Sat Jun 19 20:03:52 2010 +0200

    Fix errno thread-safety under AIX
    
    Unlike Linux or Solaris, errno under AIX is not thread-safe by
    default.
    
    This patch sets _THREAD_SAFE_ERRNO when AIX is detected in order to
    force the thread-safe implementation of errno. Without this, calls
    like stat() in the rrdtool plugin fail with errno incorrectly set,
    leading to the inability to create previously absent rrd files.
    
    Maybe _THREAD_SAFE should be set instead, to prevent other possible
    threads-related problems, but this is enough to scratch my current
    itch...
    
    Here is the relevant part of /usr/include/errno.h on AIX:
    
     #if defined(_THREAD_SAFE) || defined(_THREAD_SAFE_ERRNO)
     /*
      * Per thread errno is provided by the threads provider. Both the extern
      * int
      * and the per thread value must be maintained by the threads library.
      */
     extern  int     *_Errno( void );
     #define errno   (*_Errno())
    
     #else
    
     extern int errno;
    
     #endif  /* _THREAD_SAFE || _THREAD_SAFE_ERRNO */
    
    Signed-off-by: Aurelien Reynaud <collectd at wattapower.net>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit 7134cf10f759b177fa0410dcc9caeaaf09dd0336
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Sep 11 11:04:44 2010 +0200

    lpar plugin: Introduce a "NS_TO_TICKS" macro.
    
    This makes the code easier to read, IMHO.

commit 75efef3359f6565c8833563414367b89fbeacc46
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Sep 11 11:04:04 2010 +0200

    lpar plugin: Move / add comments.

commit 3451d2486faf938b9e78dafcdf8c30ed375af19f
Author: Aurélien Reynaud <aurelien at wattapower.net>
Date:   Thu Sep 9 22:43:16 2010 +0200

    lpar plugin update
    
    Hello,
    
    here is a new patch against ar/lpar with the following features :
    
    - get back to the original implementation with gauges only. A new type
    "vcpu" is created (it was "lpar_pcpu" in the original)
    
    - I tried to keep as much as possible of your changes, but some have
    been reverted (the init function is back) because it was simpler for me
    to port my previous code rather than adapt it to the current form. Feel
    free to change them again
    
    - the "consumed" metric might seem superfluous at first sight as it
    could be calculated in the frontend in the general case. But I thought
    it might come in handy when dealing with dedicated partitions, where
    donated and stolen values are no easy concepts. Not everyone wants to
    dig into the code and the APIs to find out what they mean and whether
    they should be added to or substracted from other values...
    
    As a side note, one  of the changes you introduced was better checking
    of the return status from perfstat_partition_total() using errno. This
    reminded me that under AIX errno is by default unsafe to use in a
    multithreaded environment (which collectd is). I posted a fix ("Fix
    errno thread-safety under AIX") on Sat, 19 Jun 2010, which if I am not
    mistaken has not been merged yet.
    
    Best regards,
    
    Aurélien Reynaud
    
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit abca4ca8259e09e4a195d1741e8aec32fa800b62
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Sun Sep 5 10:12:02 2010 +0200

    collection3: Add graph for "ps_disk_octets".

commit 9ff8f5da48f2602881d64ab6a1c3e38f929bc418
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Sun Sep 5 09:42:40 2010 +0200

    notify_email plugin: Check for "session == NULL" and return gracefully.
    
    I don't know how libesmtp handles NULL pointers and I don't want to take
    my chances.

commit a12cb627513a24de25401d3e0e29763db724bf5c
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Sun Sep 5 09:36:55 2010 +0200

    notify_email plugin: Serialize all accesses to libesmtp using a mutex.

commit c111c711510ee3903a01df61db0fdf74ad27297f
Author: Jerome Oufella <jerome.oufella at savoirfairelinux.com>
Date:   Wed Sep 1 14:35:58 2010 -0400

    collection3: fix multiple hosts selection issue
    
    When selecting multiple hosts in collection3's hosts list, and with some
    plugins only (the ones that use a specific resource name such as memory
    or tcpconns), the resulting graph list will be limited to one single
    graph (instead of one per host).
    
    This patch addresses this issue by modifying the name of the hash key
    in the group_files_by_plugin_instance function, making it less prone
    to name collisions by prefixing it by the host name.
    
    Comments and enhancements will be welcome.
    
    Signed-off-by: Jerome Oufella <jerome.oufella at savoirfairelinux.com>
    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 fc562e3e9264474183b430f71972cca6434691b3
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Sep 3 12:48:26 2010 +0200

    lpar plugin: Fix error handling of the "perfstat_partition_total" function.
    
    According to the documentation the function returns -1 on error. The
    code now assumes anything but one (the number of structures filled) as
    error.

commit 51f35f06cdcae02cc5c71baab2ac6a85d155d5a0
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Sep 3 12:22:25 2010 +0200

    lpar plugin: Document why comsumed ticks may be larger than entitled ticks.

commit 5f1725febf9aaa48fae42058d875202882bd7147
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Sep 3 11:05:37 2010 +0200

    lpar plugin: Refactor reading of "shared partitions".
    
    Especially calculating the ticks unavailable to the partition has been
    improved. The "pool statistics" may need some further work.
    
    The code has been written without an AIX machine at hand, so it's
    absolutely untested and may not even compile. Sorry.

commit 609adfb86b92992c086113a8f4adbb84077165f2
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Sep 3 09:39:13 2010 +0200

    lpar plugin: Use booleans for the config options.

commit 3e375cba6873e0e5d47de4b16058cbd5ceb96184
Author: Aurélien Reynaud <collectd at wattapower.net>
Date:   Wed Sep 1 22:28:38 2010 +0200

    lpar plugin: new attempt
    
    Hello Florian,
    
    here is a new version of my lpar plugin. I tried to address the
    shortcomings of the previous attempt:
    
    - Minimum and maximum proc capacity are gone, being static values
    - The plugin now uses the cpu type for every value, so there is no need
    anymore for the lpar_cpu type
    - This also means there is no need anymore to compute rates in the
    plugin, so the code is IMHO much more elegant
    - There is a config option "ReportBySerial", as described in my previous
    email
    - We now use pool_busy_time directly instead of computing it from total
    and idle
    
    The patch is against the current 4.10 branch, rather than against
    ar/lpar, because it is more of a complete rewrite than just fixes. I
    could provide a patch against ar/lpar however if you prefer so.
    
    Regards,
    
    Aurélien Reynaud
    
    Signed-off-by: Florian Forster <octo at leeloo.lan.home.verplant.org>

commit f3feef5de90c0c926ee76c96972c4ce4b8b5c838
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Aug 18 11:31:38 2010 +0200

    lpar plugin: Use the "cpu" type for the general CPU statistics.

commit 2254a769156fd0461e2fc5e33dedf17c16c53057
Author: Aurélien Reynaud <collectd at wattapower.net>
Date:   Tue Aug 10 20:37:53 2010 +0200

    New plugin - lpar
    
    Hello,
    
    here is a patch against 4.10 adding a new plugin "lpar".
    
    LPAR stands for Logical PARtitions, which is the virtualization solution
    for IBM high-end power systems running AIX.
    
    The standard cpu plugin shows cpu usage as a percentage of each cpu
    available to the system, but in an LPAR the number of cpus and their
    apparent power can vary according to the load of every LPAR sharing the
    same hardware and to the policy set by the admin.
    
    This new plugin allows to monitor real (physical) CPU usage of the
    virtualized system, as well as some other metrics specific to IBM's
    partitioning solution.
    
    Regards,
    
    Aurélien Reynaud
    
    --
    Love is like PI - natural, irrational, endless, and very important.
    
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit e8de3553e10b89417e93af7f0929c08eced84dd4
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Sep 1 20:36:40 2010 +0200

    network plugin: Use the complain mechanism to inform the user about ignored signatures.

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 7a58a2fc82acfec330a6dd1f8f051b60120039c3
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Aug 23 19:02:06 2010 +0200

    src/utils_tail: Remove newline characters at the end of a line.
    
    The tool is supposed to work line-based, so a) the newline character is
    implicit and b) imho, does not belong to the string which is then further
    processed.
    
    Also, this allows '$' to match the end of a line when applying a regex to the
    line, no matter if the REG_NEWLINE flag has been used when compiling the regex
    or not.

commit a0f552b023917a5b5dac834a5b8d1ef5b82f27f5
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Aug 23 18:56:02 2010 +0200

    utils_match: Let '^' and '$' affect lines rather than the full string.
    
    The regcomp() flag REG_NEWLINE is required for that, even though regex(7)
    might make people think otherwise.

commit bb3db398b2d67b169a24d942a82d708478507fb2
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Fri Aug 20 08:22:00 2010 +0200

    src/collectd.conf.in: Move "TimeToLive" before the "Server" and "Listen" statements.
    
    Thanks to Renaud Chaput for pointing this out!

commit c93443fba5ae325325db311850ff0d6d9f7135e3
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Tue Aug 10 09:20:54 2010 +0200

    amqp plugin: Warn about incorrectly used "ExchangeType" option in "Publish" block, too.

commit 2abbb577c90594481a457f4266660611dde19d48
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sun Aug 8 14:45:27 2010 +0200

    amqp plugin: Enable the "ExchangeType" option in Publish blocks, too.

commit e7dd0871e794b87c586fc12d89f5ad56b40f8d29
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sun Aug 8 14:36:30 2010 +0200

    collectd.conf(5): Add missing blank line.

commit 770c3bc953340c1d0a49571b928f82ba26d8de2b
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Sun Aug 8 14:30:50 2010 +0200

    collectd.conf(5): Finish documenting the AMQP plugin.

commit 24e77fc50dc3be8de8cfc4f640140275538b40f7
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sun Aug 8 11:46:38 2010 +0200

    collectd.conf(5): Started documenting the AMQP plugin.

commit a5d42f913d160a25e921b94008285a5da7009680
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Aug 6 17:06:11 2010 +0200

    amqp plugin: Use the content type to determine how to decode received messages.
    
    The "Format" config option is now only valid in "Publish" blocks.

commit b96f58e73819f3928919dfa2da63829fcae92f86
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Aug 6 15:45:13 2010 +0200

    amqp plugin: Improve handling of the "routing key".
    
    If no routing key is configured, the publish code will now create one based
    on the value's identifier. The subscribing code will no longer use a
    default but use an empty routing key if nothing was configured.

commit 28144b13e832d39bc10143ef4f5097868688f299
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Aug 6 15:12:07 2010 +0200

    amqp plugin: Implement parsing of "PUTVAL" data.
    
    Data transmission via AMQP works now! \o/

commit 2193369303b99a35fe09d14632d66c00e20755c6
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Aug 6 15:01:40 2010 +0200

    amqp plugin: Implement the "Format" config option.
    
    By default, the publishing code now creates "command" (i.e. PUTVAL) output.
    For now this is easier to parse, so use this for the subscribing code.
    (For now, anyways. I guess JSON will come later, too.)

commit 91ca6eb3c01b7f9bbcfd624dfbfcb8910dc65098
Merge: cacfb7e267c2d39c03d49a0157fc6cf23940126d 1a9c26bffc5ae9c7d54c4e2b841b248098010b56
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Aug 6 15:02:57 2010 +0200

    Merge branch 'master' into sp/amqp

commit cacfb7e267c2d39c03d49a0157fc6cf23940126d
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Aug 6 14:10:46 2010 +0200

    amqp plugin: Only accept the "Persistent" option in "Publish" blocks.

commit 8e5560102a213ae360472f6bb12cab0f92d682e1
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Aug 6 13:54:34 2010 +0200

    amqp plugin: Add a debug message.

commit 57a91595dd2cd80c5709efcb54b7a33b723ff813
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Fri Aug 6 13:54:23 2010 +0200

    amqp plugin: Enable the "StoreRates" option only when configuring a "Publish" block.

commit 111f69addbf605ff94a4e3bf6c63163e8736c9a4
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Thu Aug 5 15:01:03 2010 +0200

    amqp plugin: First step towards subscribing to data via AMQP.

commit a490b1a3fea37d2734860c168910e42cbf8b54b0
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Thu Aug 5 11:25:17 2010 +0200

    amqp plugin: Use the "camqp" prefix for all functions.
    
    The library uses the "amqp" prefix, so we should use something else.

commit 4e0e66e22701ed7c4bba5c80b551e4db6c85182d
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Thu Aug 5 11:18:53 2010 +0200

    amqp plugin: Implement publishing to multiple brokers.

commit 618d674b857ae9686ccf629364dd4c713ca6f559
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Thu Aug 5 09:32:47 2010 +0200

    amqp plugin: Chose (hopefully sane) default values for all config options.

commit c263b200ab614c02ff68d47c20f709f1298712f3
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Thu Aug 5 09:32:20 2010 +0200

    src/collectd.conf.in: Add missing config options of the AMQP plugin.

commit 2b29e86e6e340312edca22781ad857a35302b197
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Aug 4 23:22:00 2010 +0200

    amqp plugin: Added some comments. Rewrapped lines of the license header.

commit 8a9e3f8c8d93c70d6c75e7bfe654ae24a744b88b
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Aug 4 23:08:50 2010 +0200

    amqp plugin: Implement the "StoreRates" option.

commit 3ae42434d74ae3c815b252f393bd0cfe59be83b9
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Aug 4 23:08:16 2010 +0200

    amqp plugin: Put the connecting code into a separate function.

commit 7a34772b386b6c1483b7709efac631fd8a9aa699
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Aug 4 22:45:17 2010 +0200

    amqp plugin: Initialize the port number to 5672.

commit 5d9bf07d558e228bc7c83ed3fc3f0666e7133ee4
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Aug 4 22:44:15 2010 +0200

    amqp plugin: Let the user chose the delivery method.
    
    Use "volatile" by default, but enable the user to switch to "persistent" if
    it is important that no value is lost.

commit adc387a3aad391700eb1bae48f1d95a804ea4e8a
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Aug 4 19:31:44 2010 +0200

    amqp plugin: Implement persistent connection handling.
    
    A connection is now opened on the first value to be written and is kept
    open for as long as possible. This is hopefully much more efficient than
    opening a new connection for each value.
    
    The value_list_t is now converted to JSON first, before locking the
    global connection object, in order to hold the lock for the least
    possible time.

commit bc016773bc8aac7604bdf11bc44077067836104e
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Aug 4 19:00:50 2010 +0200

    amqp plugin: Add error messages and give saner example config values.

commit d82c71c029e21136db909e77267f1038424a117f
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Aug 4 18:05:06 2010 +0200

    src/collectd.conf.in: Add the AMQP plugin.

commit 41c8215f02d83d1f90013e33c3b61b70443a32e7
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Aug 4 17:59:31 2010 +0200

    amqp plugin: Adapt to the new syntax of "format_json_value_list".

commit 8608851b0f56e3ddba06efa63820c265608d8b84
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Mon Mar 22 20:07:31 2010 +0100

    README: Add the amqp plugin and the librabbitmq dependency.

commit 3e77c9e8f960390d7d9baf4e9a29f8472a2590c6
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Mon Mar 22 20:01:39 2010 +0100

    configure.in: Move the checks for librabbitmq …
    
    … so the checks are roughly alphabetical. "Roughly", because the leading
    "lib" is ignored when sorting.

commit 0ee0ac98af046bdf2a4000b43e5dedc4a61e9d73
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Mon Mar 22 20:00:17 2010 +0100

    amqp plugin: Use the global (and widely used) "sfree" macro …
    
    … rather than the private "config_free" function.

commit 7785e123a4d5b7624e963c6a05614471b7de6073
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Mon Mar 22 19:58:33 2010 +0100

    amqp plugin: Use "service_name_to_port_number" to parse the "Port" config option.

commit 76cc183820029c42951e7a0988270e6dfba874a0
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Mon Mar 22 19:56:13 2010 +0100

    amqp plugin: Explain numeric arguments to "amqp_login" and "amqp_basic_publish".

commit ed499c0211e32587d6b2e07ada690e5116d57f28
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Mon Mar 22 19:52:09 2010 +0100

    amqp plugin: Fix a typo.

commit 0bb6bfa69e29b1fada1dd11443c6e6cb540b0e47
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Mon Mar 22 19:51:57 2010 +0100

    src/Makefile.am: Fix librabbitmq CPP- and LD-flags.

commit cd423f6a7706e7445ca56d7221e8cc84f6d466cc
Author: Sebastien Pahl <sebastien.pahl at gmail.com>
Date:   Tue Feb 9 17:15:55 2010 +0100

    First implentation of an amqp output plugin
    
    It's ugly for now but it works.




More information about the collectd-changes mailing list