collectd.git
12 years agoZeroMQ plugin: Publishers should connect, subscribers should bind. ja/zeromq
Florian Forster [Mon, 29 Aug 2011 15:46:58 +0000 (11:46 -0400)]
ZeroMQ plugin: Publishers should connect, subscribers should bind.

Change-Id: I783df8a3604fd903500588c5a9495d49f62240c8

12 years agocollectd.conf(5): Update ZeroMQ documentation.
Florian Forster [Mon, 29 Aug 2011 13:14:11 +0000 (09:14 -0400)]
collectd.conf(5): Update ZeroMQ documentation.

Change-Id: I3e50f93f952e8797ce5d8fcc0977677b9ce90a86

13 years agozeromq plugin: Make sure the receive threads shut down cleanly.
Florian Forster [Tue, 16 Nov 2010 11:06:37 +0000 (12:06 +0100)]
zeromq plugin: Make sure the receive threads shut down cleanly.

zmq_poll() is used to have the threads check the shutdown condition
at least twice per second.

13 years agozeromq plugin: Fix shutdown code.
Florian Forster [Tue, 16 Nov 2010 10:29:44 +0000 (11:29 +0100)]
zeromq plugin: Fix shutdown code.

Wait for all the receive threads to shut down. This may actually need some
more work, since shutdown will not work if any socket doesn't receive any
values.

13 years agozeromq plugin: Add folding marker.
Florian Forster [Tue, 16 Nov 2010 10:25:03 +0000 (11:25 +0100)]
zeromq plugin: Add folding marker.

13 years agozeromq plugin: Move <arpa/inet.h> up (before "zeromq_borrowed.c").
Florian Forster [Tue, 16 Nov 2010 10:10:46 +0000 (11:10 +0100)]
zeromq plugin: Move <arpa/inet.h> up (before "zeromq_borrowed.c").

13 years agozeromq plugin: display the number of threads used
Julien Ammous [Sat, 13 Nov 2010 17:31:51 +0000 (18:31 +0100)]
zeromq plugin: display the number of threads used

13 years agozeromq plugin: Added support for High Water Mark socket option
Julien Ammous [Sat, 13 Nov 2010 17:31:06 +0000 (18:31 +0100)]
zeromq plugin: Added support for High Water Mark socket option

13 years agozeromq plugin: added notifications support
Julien Ammous [Sat, 13 Nov 2010 17:30:20 +0000 (18:30 +0100)]
zeromq plugin: added notifications support

13 years agozeromq plugin: cleanup
Julien Ammous [Sat, 13 Nov 2010 17:28:39 +0000 (18:28 +0100)]
zeromq plugin: cleanup

13 years agozeromq plugin: moved all the copy/pasted code in its own file
Julien Ammous [Sat, 13 Nov 2010 15:00:07 +0000 (16:00 +0100)]
zeromq plugin: moved all the copy/pasted code in its own file

13 years agozeromq plugin: back to working state after merging changes
Julien Ammous [Sat, 13 Nov 2010 14:49:53 +0000 (15:49 +0100)]
zeromq plugin: back to working state after merging changes

13 years agozeromq plugin: Update copyright.
Florian Forster [Sat, 6 Nov 2010 17:42:54 +0000 (18:42 +0100)]
zeromq plugin: Update copyright.

13 years agozeromq plugin: Don't distinguish between "Bind" and "Connect".
Florian Forster [Sat, 6 Nov 2010 17:39:47 +0000 (18:39 +0100)]
zeromq plugin: Don't distinguish between "Bind" and "Connect".

Instead, both, sending and receiving sockets, now use "Endpoint".

13 years agozeromq plugin: Made the configuration a lot more flexible.
Florian Forster [Sat, 6 Nov 2010 17:32:13 +0000 (18:32 +0100)]
zeromq plugin: Made the configuration a lot more flexible.

It is not possible to bind / connect each socket to multiple endpoints.
The code is not tested and probably buggy.

13 years agozeromq plugin: Make it possible to configure multiple receive threads.
Florian Forster [Sat, 6 Nov 2010 16:39:25 +0000 (17:39 +0100)]
zeromq plugin: Make it possible to configure multiple receive threads.

13 years agozeromq plugin: Rename the meta data set by the plugin.
Florian Forster [Sat, 6 Nov 2010 16:34:14 +0000 (17:34 +0100)]
zeromq plugin: Rename the meta data set by the plugin.

13 years agoconfigure.in: Move check for libzmq to its alphabetical position.
Florian Forster [Sat, 6 Nov 2010 16:33:19 +0000 (17:33 +0100)]
configure.in: Move check for libzmq to its alphabetical position.

13 years agocollectd.conf(5): Improve the documentation on the ZeroMQ plugin.
Florian Forster [Sat, 6 Nov 2010 11:26:39 +0000 (12:26 +0100)]
collectd.conf(5): Improve the documentation on the ZeroMQ plugin.

13 years agozeromq plugin: Include <arpa/inet.h> for htons().
Florian Forster [Sat, 6 Nov 2010 11:21:30 +0000 (12:21 +0100)]
zeromq plugin: Include <arpa/inet.h> for htons().

13 years agozeromq plugin: Don't use the "true" and "false" macros.
Florian Forster [Sat, 6 Nov 2010 11:19:16 +0000 (12:19 +0100)]
zeromq plugin: Don't use the "true" and "false" macros.

13 years agoMerge branch 'ff/netlib' into ja/zeromq
Florian Forster [Sat, 6 Nov 2010 11:15:52 +0000 (12:15 +0100)]
Merge branch 'ff/netlib' into ja/zeromq

13 years agoMerge branch 'master' into ff/netlib
Florian Forster [Sat, 6 Nov 2010 11:15:44 +0000 (12:15 +0100)]
Merge branch 'master' into ff/netlib

13 years agoMerge branch 'collectd-4.10'
Florian Forster [Sat, 6 Nov 2010 11:11:23 +0000 (12:11 +0100)]
Merge branch 'collectd-4.10'

13 years agoMerge branch 'collectd-4.9' into collectd-4.10
Florian Forster [Sat, 6 Nov 2010 11:08:20 +0000 (12:08 +0100)]
Merge branch 'collectd-4.9' into collectd-4.10

Conflicts:
src/collectd.conf.in
src/python.c

13 years agoREADME: Add libperfstat as an optional dependency.
Florian Forster [Sat, 6 Nov 2010 08:58:57 +0000 (09:58 +0100)]
README: Add libperfstat as an optional dependency.

13 years agoAUTHORS: Add Aurélien Reynaud
Florian Forster [Sat, 6 Nov 2010 08:58:25 +0000 (09:58 +0100)]
AUTHORS: Add Aurélien Reynaud

13 years agoREADME: Add the "LPAR" plugin.
Florian Forster [Sat, 6 Nov 2010 08:55:29 +0000 (09:55 +0100)]
README: Add the "LPAR" plugin.

13 years agoMerge branch 'ar/lpar'
Florian Forster [Sat, 6 Nov 2010 08:40:05 +0000 (09:40 +0100)]
Merge branch 'ar/lpar'

13 years agolpar plugin: rename NS_TO_TICKS() macro to CLOCKTICKS_TO_TICKS()
Aurelien Reynaud [Thu, 14 Oct 2010 20:09:29 +0000 (22:09 +0200)]
lpar plugin: rename NS_TO_TICKS() macro to CLOCKTICKS_TO_TICKS()

Signed-off-by: Aurelien Reynaud <collectd@wattapower.net>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
13 years agolpar plugin: update commen t regarding poll_idle vs pool_busy
Aurelien Reynaud [Thu, 14 Oct 2010 20:09:28 +0000 (22:09 +0200)]
lpar plugin: update commen t regarding poll_idle vs pool_busy

Signed-off-by: Aurelien Reynaud <collectd@wattapower.net>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
13 years agolpar plugin: check for donation support in libperfstat
Aurelien Reynaud [Thu, 14 Oct 2010 20:09:27 +0000 (22:09 +0200)]
lpar plugin: check for donation support in libperfstat

Signed-off-by: Aurelien Reynaud <collectd@wattapower.net>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
13 years agoMerge branch 'sp/amqp'
Florian Forster [Sat, 6 Nov 2010 08:04:39 +0000 (09:04 +0100)]
Merge branch 'sp/amqp'

13 years agoAUTHORS: Add Sebastien Pahl.
Florian Forster [Sat, 6 Nov 2010 08:04:25 +0000 (09:04 +0100)]
AUTHORS: Add Sebastien Pahl.

13 years agoamqp plugin: Document the lock required to hold when calling "camqp_write_locked".
Florian Forster [Sat, 6 Nov 2010 08:00:00 +0000 (09:00 +0100)]
amqp plugin: Document the lock required to hold when calling "camqp_write_locked".

13 years agoamqp plugin: Rename the "shutdown" function to avoid problems with shutdown(2).
Florian Forster [Sat, 6 Nov 2010 07:53:02 +0000 (08:53 +0100)]
amqp plugin: Rename the "shutdown" function to avoid problems with shutdown(2).

13 years agoamqp plugin: Fix order of includes.
Florian Forster [Sat, 6 Nov 2010 07:43:51 +0000 (08:43 +0100)]
amqp plugin: Fix order of includes.

13 years agosrc/types.db: Add type "current_sessions".
Florian Forster [Sat, 6 Nov 2010 07:42:48 +0000 (08:42 +0100)]
src/types.db: Add type "current_sessions".

13 years agosrc/collectd.h: Do not include <stdbool.h> here.
Florian Forster [Sun, 31 Oct 2010 16:07:40 +0000 (17:07 +0100)]
src/collectd.h: Do not include <stdbool.h> here.

13 years agonetwork plugin: Don't use the "true" and "false" macros from <stdbool.h>.
Florian Forster [Sun, 31 Oct 2010 11:52:31 +0000 (12:52 +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.

13 years agoVarious plugins: Don't call "time(2)" in the plugins to set vl.time.
Florian Forster [Sat, 30 Oct 2010 12:03:02 +0000 (14:03 +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().

13 years agofirst working version
Julien Ammous [Wed, 27 Oct 2010 19:30:33 +0000 (21:30 +0200)]
first working version

13 years agoadded zeromq to documentation
Julien Ammous [Wed, 27 Oct 2010 19:29:53 +0000 (21:29 +0200)]
added zeromq to documentation

13 years agoadded zeromq to the config template
Julien Ammous [Wed, 27 Oct 2010 19:29:41 +0000 (21:29 +0200)]
added zeromq to the config template

13 years agozeromq plugin: Fix a couple of bugs / glitches.
Florian Forster [Mon, 18 Oct 2010 10:36:01 +0000 (12:36 +0200)]
zeromq plugin: Fix a couple of bugs / glitches.

13 years agozeromq plugin: Add missing includes.
Florian Forster [Mon, 18 Oct 2010 09:33:59 +0000 (11:33 +0200)]
zeromq plugin: Add missing includes.

13 years agozeromq plugin: Fix copyright and author information.
Florian Forster [Mon, 18 Oct 2010 09:33:38 +0000 (11:33 +0200)]
zeromq plugin: Fix copyright and author information.

13 years agozeromq plugin: Fix the build system.
Florian Forster [Mon, 18 Oct 2010 09:19:04 +0000 (11:19 +0200)]
zeromq plugin: Fix the build system.

13 years agoadded zeromq network plugin
Julien Ammous [Sun, 10 Oct 2010 09:28:17 +0000 (11:28 +0200)]
added zeromq network plugin

13 years agonetapp plugin: Fixed a bug that prevented the configured interval to be passed on...
Sven Trenkel [Mon, 11 Oct 2010 11:35:39 +0000 (13:35 +0200)]
netapp plugin: Fixed a bug that prevented the configured interval to be passed on to the dispatch function.

13 years agolpar plugin: Calculate "pool busy" from "pool idle", not the other way around.
Florian Forster [Wed, 6 Oct 2010 12:32:56 +0000 (14:32 +0200)]
lpar plugin: Calculate "pool busy" from "pool idle", not the other way around.

13 years agoMerge remote branch 'trenkel/collectd-4.10' into collectd-4.10
Florian Forster [Wed, 6 Oct 2010 08:11:10 +0000 (10:11 +0200)]
Merge remote branch 'trenkel/collectd-4.10' into collectd-4.10

13 years agoFixed epic documentation fail. Python3 and meta-data support was added with 4.10...
Sven Trenkel [Mon, 4 Oct 2010 23:26:22 +0000 (01:26 +0200)]
Fixed epic documentation fail. Python3 and meta-data support was added with 4.10 but is still listed as missing.

13 years agoAdd sys.argv. Not too many programs consider the possibility that it might not exist...
Sven Trenkel [Fri, 1 Oct 2010 00:41:38 +0000 (02:41 +0200)]
Add sys.argv. Not too many programs consider the possibility that it might not exist resulting in unhandled exceptions.

13 years agoFixed possible memory leak in case of broken match_value configs.
Sven Trenkel [Thu, 30 Sep 2010 10:59:21 +0000 (12:59 +0200)]
Fixed possible memory leak in case of broken match_value configs.

13 years agosrc/types.db: Remove unused type "pinba_view".
Florian Forster [Thu, 30 Sep 2010 07:23:22 +0000 (09:23 +0200)]
src/types.db: Remove unused type "pinba_view".

13 years agonetwork plugin: Increase default buffer size to 1452.
Florian Forster [Thu, 30 Sep 2010 06:35:33 +0000 (08:35 +0200)]
network plugin: Increase default buffer size to 1452.

13 years agosrc/utils_cache.c: Replace a left-over hard-coded default of "2" with "timeout_g".
Florian Forster [Wed, 29 Sep 2010 15:56:58 +0000 (17:56 +0200)]
src/utils_cache.c: Replace a left-over hard-coded default of "2" with "timeout_g".

13 years agoMerge branch 'kr/ctxt'
Florian Forster [Wed, 29 Sep 2010 15:06:00 +0000 (17:06 +0200)]
Merge branch 'kr/ctxt'

13 years agocontextswitch plugin: Some coding style changes.
Florian Forster [Wed, 29 Sep 2010 15:04:53 +0000 (17:04 +0200)]
contextswitch plugin: Some coding style changes.

13 years agocontextswitch plugin: Add copyright and author information.
Florian Forster [Wed, 29 Sep 2010 15:04:20 +0000 (17:04 +0200)]
contextswitch plugin: Add copyright and author information.

13 years agomysql plugin: Remove some inactive (legacy) code.
Florian Forster [Mon, 27 Sep 2010 12:05:52 +0000 (14:05 +0200)]
mysql plugin: Remove some inactive (legacy) code.

13 years agoapache plugin: Remove legacy code.
Florian Forster [Mon, 27 Sep 2010 09:45:01 +0000 (11:45 +0200)]
apache plugin: Remove legacy code.

Configurations without an "<Instance />" block are not supported
anymore. The documentation and default config have been adapted.

13 years agocurl_json plugin: Improve error handling.
Florian Forster [Fri, 24 Sep 2010 16:51:14 +0000 (18:51 +0200)]
curl_json plugin: Improve error handling.

13 years agocurl_json plugin: Restore struct when handling error.
Florian Forster [Fri, 24 Sep 2010 09:52:52 +0000 (11:52 +0200)]
curl_json plugin: Restore struct when handling error.

13 years agosrc/collectd.h: Do not include <sensors/sensors.h> here.
Florian Forster [Wed, 15 Sep 2010 15:21:40 +0000 (17:21 +0200)]
src/collectd.h: Do not include <sensors/sensors.h> here.

13 years agolpar plugin: Use a global "perfstat_partition_total_t" struct.
Florian Forster [Sun, 12 Sep 2010 06:21:08 +0000 (08:21 +0200)]
lpar plugin: Use a global "perfstat_partition_total_t" struct.

13 years agolpar plugin: Account "idle" pool time rather than "max".
Florian Forster [Sun, 12 Sep 2010 06:07:38 +0000 (08:07 +0200)]
lpar plugin: Account "idle" pool time rather than "max".

13 years agoPATCH apache.c: support IBM HTTP Server.
Manuel Luis Sanmartín Rozada [Wed, 8 Sep 2010 09:01:23 +0000 (11:01 +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@huhu.verplant.org>
13 years agolpar plugin: Explain donations a bit more.
Florian Forster [Sat, 11 Sep 2010 09:24:14 +0000 (11:24 +0200)]
lpar plugin: Explain donations a bit more.

13 years agolpar plugin: Rename the "system" metric (from "sys").
Florian Forster [Sat, 11 Sep 2010 09:18:47 +0000 (11:18 +0200)]
lpar plugin: Rename the "system" metric (from "sys").

13 years agoFix errno thread-safety under AIX
Aurelien Reynaud [Sat, 19 Jun 2010 18:03:52 +0000 (20:03 +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@wattapower.net>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
13 years agolpar plugin: Introduce a "NS_TO_TICKS" macro.
Florian Forster [Sat, 11 Sep 2010 09:04:44 +0000 (11:04 +0200)]
lpar plugin: Introduce a "NS_TO_TICKS" macro.

This makes the code easier to read, IMHO.

13 years agolpar plugin: Move / add comments.
Florian Forster [Sat, 11 Sep 2010 09:04:04 +0000 (11:04 +0200)]
lpar plugin: Move / add comments.

13 years agolpar plugin update
Aurélien Reynaud [Thu, 9 Sep 2010 20:43:16 +0000 (22:43 +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@huhu.verplant.org>
13 years agocollection3: Add graph for "ps_disk_octets".
Florian Forster [Sun, 5 Sep 2010 08:12:02 +0000 (10:12 +0200)]
collection3: Add graph for "ps_disk_octets".

13 years agonotify_email plugin: Check for "session == NULL" and return gracefully.
Florian Forster [Sun, 5 Sep 2010 07:42:40 +0000 (09:42 +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.

13 years agonotify_email plugin: Serialize all accesses to libesmtp using a mutex.
Florian Forster [Sun, 5 Sep 2010 07:36:55 +0000 (09:36 +0200)]
notify_email plugin: Serialize all accesses to libesmtp using a mutex.

13 years agocollection3: fix multiple hosts selection issue
Jerome Oufella [Wed, 1 Sep 2010 18:35:58 +0000 (14:35 -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@savoirfairelinux.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
13 years agonginx plugin: Make the cURL callback code easier to understand.
Florian Forster [Sat, 4 Sep 2010 20:30:44 +0000 (22:30 +0200)]
nginx plugin: Make the cURL callback code easier to understand.

13 years agolpar plugin: Fix error handling of the "perfstat_partition_total" function.
Florian Forster [Fri, 3 Sep 2010 10:48:26 +0000 (12:48 +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.

13 years agolpar plugin: Document why comsumed ticks may be larger than entitled ticks.
Florian Forster [Fri, 3 Sep 2010 10:22:25 +0000 (12:22 +0200)]
lpar plugin: Document why comsumed ticks may be larger than entitled ticks.

13 years agolpar plugin: Refactor reading of "shared partitions".
Florian Forster [Fri, 3 Sep 2010 09:05:37 +0000 (11:05 +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.

13 years agolpar plugin: Use booleans for the config options.
Florian Forster [Fri, 3 Sep 2010 07:39:13 +0000 (09:39 +0200)]
lpar plugin: Use booleans for the config options.

13 years agolpar plugin: new attempt
Aurélien Reynaud [Wed, 1 Sep 2010 20:28:38 +0000 (22:28 +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@leeloo.lan.home.verplant.org>
13 years agolpar plugin: Use the "cpu" type for the general CPU statistics.
Florian Forster [Wed, 18 Aug 2010 09:31:38 +0000 (11:31 +0200)]
lpar plugin: Use the "cpu" type for the general CPU statistics.

13 years agoNew plugin - lpar
Aurélien Reynaud [Tue, 10 Aug 2010 18:37:53 +0000 (20:37 +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@huhu.verplant.org>
13 years agonetwork plugin: Use the complain mechanism to inform the user about ignored signatures.
Florian Forster [Wed, 1 Sep 2010 18:36:40 +0000 (20:36 +0200)]
network plugin: Use the complain mechanism to inform the user about ignored signatures.

13 years agoperl plugin: Remove the deprecated "plugin_flush_{all,one}" functions.
Florian Forster [Sun, 29 Aug 2010 07:56:31 +0000 (09:56 +0200)]
perl plugin: Remove the deprecated "plugin_flush_{all,one}" functions.

13 years agoperl plugin: Remove deprecated compatibility code from "Collectd_plugin_dispatch_values".
Florian Forster [Sun, 29 Aug 2010 07:50:59 +0000 (09:50 +0200)]
perl plugin: Remove deprecated compatibility code from "Collectd_plugin_dispatch_values".

13 years agosrc/types.db: Remove the "mysql_qcache" and "mysql_threads" types.
Florian Forster [Sun, 29 Aug 2010 07:39:09 +0000 (09:39 +0200)]
src/types.db: Remove the "mysql_qcache" and "mysql_threads" types.

Use the "v5upgrade" taret to preserve compatibility.

13 years agoadd support for sysctlbyname: vm.stats.sys.v_swtch
Kimo Rosenbaum [Tue, 24 Aug 2010 20:27:03 +0000 (13:27 -0700)]
add support for sysctlbyname: vm.stats.sys.v_swtch

13 years agosrc/utils_tail: Remove newline characters at the end of a line.
Sebastian Harl [Mon, 23 Aug 2010 17:02:06 +0000 (19:02 +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.

13 years agoutils_match: Let '^' and '$' affect lines rather than the full string.
Sebastian Harl [Mon, 23 Aug 2010 16:56:02 +0000 (18:56 +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.

13 years agosrc/collectd.conf.in: Move "TimeToLive" before the "Server" and "Listen" statements.
Florian Forster [Fri, 20 Aug 2010 06:22:00 +0000 (08:22 +0200)]
src/collectd.conf.in: Move "TimeToLive" before the "Server" and "Listen" statements.

Thanks to Renaud Chaput for pointing this out!

13 years agoMerge branch 'master' into ff/netlib
Florian Forster [Thu, 19 Aug 2010 13:03:22 +0000 (15:03 +0200)]
Merge branch 'master' into ff/netlib

Conflicts:
src/collectdctl.c

13 years agoMerge branch 'collectd-4.10'
Florian Forster [Thu, 19 Aug 2010 13:02:48 +0000 (15:02 +0200)]
Merge branch 'collectd-4.10'

13 years agoMerge branch 'collectd-4.9' into collectd-4.10
Florian Forster [Thu, 19 Aug 2010 13:02:41 +0000 (15:02 +0200)]
Merge branch 'collectd-4.9' into collectd-4.10

13 years agosrc/utils_heap.c: Fix calculation of the parent's index.
Florian Forster [Thu, 19 Aug 2010 13:00:26 +0000 (15:00 +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.

13 years agocollectd-tg: Implement the "-i" argument to specify the interval setting.
Florian Forster [Thu, 19 Aug 2010 12:34:43 +0000 (14:34 +0200)]
collectd-tg: Implement the "-i" argument to specify the interval setting.