collectd.git
15 years agoMerge branch 'collectd-4.7' into collectd-4.8
Florian Forster [Sun, 13 Sep 2009 12:32:34 +0000 (14:32 +0200)]
Merge branch 'collectd-4.7' into collectd-4.8

Conflicts:
ChangeLog
contrib/collection3/etc/collection.conf
src/df.c
version-gen.sh

15 years agoBumped version to 4.7.3; Updated ChangeLog. collectd-4.7.3
Florian Forster [Sun, 13 Sep 2009 10:36:33 +0000 (12:36 +0200)]
Bumped version to 4.7.3; Updated ChangeLog.

15 years agoMerge branch 'collectd-4.6' into collectd-4.7
Florian Forster [Sun, 13 Sep 2009 10:24:20 +0000 (12:24 +0200)]
Merge branch 'collectd-4.6' into collectd-4.7

Conflicts:
ChangeLog
version-gen.sh

15 years agoBump version to 4.6.5. collectd-4.6 collectd-4.6.5
Florian Forster [Thu, 10 Sep 2009 18:19:24 +0000 (20:19 +0200)]
Bump version to 4.6.5.

15 years agocollection3: Added some more metrics.
Florian Forster [Wed, 26 Aug 2009 13:09:47 +0000 (15:09 +0200)]
collection3: Added some more metrics.

15 years agoFixed the year of the first three entries.
Florian Forster [Wed, 9 Sep 2009 16:37:25 +0000 (18:37 +0200)]
Fixed the year of the first three entries.

They say it was 2004, but in fact they were released in 2005.

15 years agoChangeLog: Add entries for release 4.6.5.
Florian Forster [Wed, 9 Sep 2009 16:36:45 +0000 (18:36 +0200)]
ChangeLog: Add entries for release 4.6.5.

15 years agopowerdns plugin: Use the “ipt_packets” type rather than “io_packets”.
Florian Forster [Tue, 8 Sep 2009 15:45:56 +0000 (17:45 +0200)]
powerdns plugin: Use the “ipt_packets” type rather than “io_packets”.

“io_packets”, as the name suggests, requires incoming *and* outgoing
packets. The infrastructure of the powerdns plugin uses only value lists
with one data source though.

Thanks to Luke for noticing!

15 years agoChangeLog: Fix a typo.
Florian Forster [Tue, 8 Sep 2009 15:37:59 +0000 (17:37 +0200)]
ChangeLog: Fix a typo.

15 years agocontrib/collectd_unix_sock.rb: Ruby class which abstracts the plain text protocol.
Duncan Mac-Vicar P [Sun, 6 Sep 2009 15:22:37 +0000 (17:22 +0200)]
contrib/collectd_unix_sock.rb: Ruby class which abstracts the plain text protocol.

Used to talk to the unixsock plugin.

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
15 years agosrc/utils_cache.c: Fix a very rare deadlock situation.
Florian Forster [Sun, 6 Sep 2009 15:06:56 +0000 (17:06 +0200)]
src/utils_cache.c: Fix a very rare deadlock situation.

Only happened in an out-of-memory situation. Still, not nice ;)

15 years agoMerged branch 'sh/collectd-4.6' into sh/collectd-4.7.
Sebastian Harl [Sun, 6 Sep 2009 12:52:15 +0000 (12:52 +0000)]
Merged branch 'sh/collectd-4.6' into sh/collectd-4.7.

Conflicts:
src/iptables.c

To resolve the conflict, the changes to the iptables plugin have been updated
to support ip6tc as well.

15 years agoiptables plugin: Support the new libiptc API.
Sebastian Harl [Sun, 6 Sep 2009 12:14:55 +0000 (12:14 +0000)]
iptables plugin: Support the new libiptc API.

When libiptc has been officially made available as a shared library, the API
and ABI have been changed slightly. By checking for the existance of a type
that has been removed in that course, configure now checks which version is
available. This is quite error prone (the type might be re-introduced any
time), so this should be improved some time - currently, I do not have an idea
how to do so, though :-/

15 years agoconfigure: Replaced src/libiptc/ with src/owniptc/.
Sebastian Harl [Sun, 6 Sep 2009 10:36:10 +0000 (10:36 +0000)]
configure: Replaced src/libiptc/ with src/owniptc/.

15 years agoMerge branch 'collectd-4.6' into collectd-4.7
Florian Forster [Sun, 6 Sep 2009 10:15:06 +0000 (12:15 +0200)]
Merge branch 'collectd-4.6' into collectd-4.7

Conflicts:
configure.in
src/iptables.c

15 years agosrc/owniptc: Moved the “src/libiptc” directory to “src/owniptc” to avoid build issues.
Florian Forster [Sun, 6 Sep 2009 10:06:12 +0000 (12:06 +0200)]
src/owniptc: Moved the “src/libiptc” directory to “src/owniptc” to avoid build issues.

If there is a system-wide version of this library available, the “-I.”
argument (added automatically by automake :() will lead to the shipped
header files being used. Later, the binary is linked with the
system-wide library, which leads to severe problems when API/ABI
incompatibilities have been introduced in other versions.

15 years agocontrib/cussh.pl: Add support for the “GETTHRESHOLD” command.
Florian Forster [Sun, 6 Sep 2009 09:00:27 +0000 (11:00 +0200)]
contrib/cussh.pl: Add support for the “GETTHRESHOLD” command.

15 years agoCollectd::Unixsock: Add support for the “GETTHRESHOLD” command.
Florian Forster [Sun, 6 Sep 2009 08:57:41 +0000 (10:57 +0200)]
Collectd::Unixsock: Add support for the “GETTHRESHOLD” command.

15 years agounixsock plugin: Implement the “GETTHRESHOLD” command.
Florian Forster [Sun, 6 Sep 2009 08:54:01 +0000 (10:54 +0200)]
unixsock plugin: Implement the “GETTHRESHOLD” command.

Example session:
 -> GETTHRESHOLD "leeloo.lan.home.verplant.org/cpu-3/cpu-idle"
 <- 6 Threshold found
 <- Type: cpu
 <- Type Instance: idle
 <- Warning Min: 5
 <- Warning Max: 100
 <- Failure Min: 1
 <- Failure Max: 120

15 years agosrc/utils_threshold.[ch]: Update copyright information.
Florian Forster [Sat, 5 Sep 2009 14:41:01 +0000 (16:41 +0200)]
src/utils_threshold.[ch]: Update copyright information.

15 years agosrc/utils_threshold.[ch]: Implement `ut_search_threshold'.
Florian Forster [Sat, 5 Sep 2009 14:36:12 +0000 (16:36 +0200)]
src/utils_threshold.[ch]: Implement `ut_search_threshold'.

It allows external modules to query the threshold for a specific
`value_list_t'.

15 years agoREADME: Add missing plugins; moved “write_http”.
Florian Forster [Sat, 5 Sep 2009 09:05:19 +0000 (11:05 +0200)]
README: Add missing plugins; moved “write_http”.

15 years agoChangeLog: Updated for the 4.8.0 release.
Florian Forster [Thu, 3 Sep 2009 09:48:43 +0000 (11:48 +0200)]
ChangeLog: Updated for the 4.8.0 release.

15 years agomysql plugin: Improve the `mysql_ping' warning.
Florian Forster [Tue, 1 Sep 2009 20:49:47 +0000 (22:49 +0200)]
mysql plugin: Improve the `mysql_ping' warning.

15 years agosrc/utils_threshold.c: Implement the “Hits” and “Hysteresis” config options.
Andrés J. Díaz [Mon, 31 Aug 2009 19:16:41 +0000 (21:16 +0200)]
src/utils_threshold.c: Implement the “Hits” and “Hysteresis” config options.

Hi all!

Based on Mariusz's idea, i attach a patch for thresholds (no for
filtering, yet) with basic hysteresis support adding the keyword
Hysteresis to configuration file, for example:

<Threshold>
  <Type "load">
     DataSource "midterm"
     WarningMax 1
     Hysteresis 0.3
  </Type "load">
</Treshold>

In this case the notification is raised when load (midterm datasource)
is greater than 1, and came back to OKAY when lower than 0.7 (1 - 0.3).

This is a proof of concept and I do not have a lot of time to test,
please use this patch with caution. Furthermore, the code is really hard
and dirty :)

Best regards,
  Andres

P.S.: The patch also including hits support, so to compile you also
require to apply hits-cache.patch and, obviously this patch is
incompatible with hits-threshold.patch.

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
15 years agosrc/utils_cache.c: Implement “uc_{get,set,inc}_hits”.
Andrés J. Díaz [Mon, 31 Aug 2009 16:06:15 +0000 (18:06 +0200)]
src/utils_cache.c: Implement “uc_{get,set,inc}_hits”.

Hi

I've attached a patch to add hit counter to thresholds, that is, each
time when threhsold raised, then an internal hit counter is incremented,
when the value of the counter raise a specific value setted in
configuration, then the notification is generated and counter is reset.
Here are an example of threshold configuration with hit conter:

<Threshold>
  <Plugin load>
    <Type load>
       WarninMax 1
       Hits 3
    </Type>
   </Plugin>
</Threshold>

In this example the notification will be generated when load value is
greater than 1 for 3 intervals.

Here are two patches, the first one adds hit feature to the collectd
cached and the second one use hits in thresholds,

Of course comments and suggestions are welcome :)

Enjoy!

Regards,
  Andres

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
15 years agonetwork plugin: Move the gcrypt initialization into “network_init”.
Florian Forster [Mon, 31 Aug 2009 18:30:23 +0000 (20:30 +0200)]
network plugin: Move the gcrypt initialization into “network_init”.

15 years agonetwork plugin: Fix initialization of the gcrypt library.
Luke Heberling [Mon, 31 Aug 2009 17:31:30 +0000 (10:31 -0700)]
network plugin: Fix initialization of the gcrypt library.

Subject: Ohhhh jeeee, libgcrypt 1.4.1 + collectd 4.7.2

On Monday 31 August 2009 09:03:37 Sebastian Harl wrote:
> Hrm … from a quick look at the libcrypt documentation I suppose we need
> to call gcry_control() using the 'GCRYCTL_INIT_SECMEM' command to
> explicitly initialize the secure memory. Sounds like this was required
> in libgcrypt 1.4.1 but is handled automatically in later versions.
>

also looks like there's some special initialization necessary for threads. I
doubt that this is handled by the new default behavior in 1.4.4. Don't know
that it's truly necessary if the network plugin is the only plugin using
gcrypt.

Here's a patch that works for me with 1.4.1.
I followed an example for pthread initialization and  initialized gcry to 32k,
only since that's apparently the default that's used in 1.4.3. I did it in
network.c's module_register function. Kind of an abuse, I know.

Luke Heberling

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
15 years agocontrib/collection3: Add graphing module for “arc_counts”.
Anthony Dewhurst [Sun, 30 Aug 2009 21:08:17 +0000 (22:08 +0100)]
contrib/collection3: Add graphing module for “arc_counts”.

Managed to forget this: script for generating the ArcCounts graphs.

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
15 years agocontrib/collection3: Allow numbers in type names.
Anthony Dewhurst [Sun, 30 Aug 2009 21:32:55 +0000 (22:32 +0100)]
contrib/collection3: Allow numbers in type names.

When converting the on-disk type name to the displayed name,
do not strip numbers out.

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
15 years agocontrib/collection3: GenericStacked: Use stacking by default.
Florian Forster [Mon, 31 Aug 2009 15:16:40 +0000 (17:16 +0200)]
contrib/collection3: GenericStacked: Use stacking by default.

15 years agocontrib/collection3: Option to turn stacking off in GenericStacking
Anthony Dewhurst [Sun, 2 Aug 2009 22:25:45 +0000 (23:25 +0100)]
contrib/collection3: Option to turn stacking off in GenericStacking

CDEFs are not stacked and AREAs are not added when "Stacking" is set to off.

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
15 years agozfs_arc plugin: add to default config file
Anthony Dewhurst [Sun, 30 Aug 2009 20:53:51 +0000 (21:53 +0100)]
zfs_arc plugin: add to default config file

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
15 years agowrite_http plugin: Make it possible to send values as JSON.
Florian Forster [Sun, 30 Aug 2009 13:23:33 +0000 (15:23 +0200)]
write_http plugin: Make it possible to send values as JSON.

15 years agowrite_http plugin: Send “\r\n” line endings.
Florian Forster [Sun, 30 Aug 2009 09:12:19 +0000 (11:12 +0200)]
write_http plugin: Send “\r\n” line endings.

15 years agowrite_http plugin: Suppress the “Expect:” header.
Florian Forster [Sun, 30 Aug 2009 09:11:55 +0000 (11:11 +0200)]
write_http plugin: Suppress the “Expect:” header.

15 years agowrite_http plugin: Fix a typo.
Florian Forster [Sun, 30 Aug 2009 08:41:52 +0000 (10:41 +0200)]
write_http plugin: Fix a typo.

15 years agoMerge branch 'ad/arc'
Florian Forster [Sun, 30 Aug 2009 07:47:17 +0000 (09:47 +0200)]
Merge branch 'ad/arc'

15 years agonetwork plugin: “sizeof (send_buffer)” → “network_config_packet_size”.
Aman Gupta [Sat, 29 Aug 2009 20:11:27 +0000 (22:11 +0200)]
network plugin: “sizeof (send_buffer)” → “network_config_packet_size”.

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
15 years agoREADME, AUTHORS: Add information about the zfs_arc plugin and Anthony.
Florian Forster [Sat, 29 Aug 2009 14:03:46 +0000 (16:03 +0200)]
README, AUTHORS: Add information about the zfs_arc plugin and Anthony.

15 years agozfs_arc plugin: Fix a small typo.
Florian Forster [Sat, 29 Aug 2009 13:25:23 +0000 (15:25 +0200)]
zfs_arc plugin: Fix a small typo.

15 years agozfs_arc plugin: Renamed the “arc” plugin to “zfs_arc”.
Florian Forster [Sat, 29 Aug 2009 13:21:42 +0000 (15:21 +0200)]
zfs_arc plugin: Renamed the “arc” plugin to “zfs_arc”.

15 years agoarc plugin: Remove a left-over `printf'.
Florian Forster [Sun, 2 Aug 2009 10:07:03 +0000 (12:07 +0200)]
arc plugin: Remove a left-over `printf'.

15 years agoARC stats plugin
Anthony Dewhurst [Thu, 30 Jul 2009 22:44:00 +0000 (23:44 +0100)]
ARC stats plugin

Get stats for ZFS's Adaptive Replacement Cache.

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
15 years agosrc/plugin.c: unregister_read: llist_search may return NULL.
Florian Forster [Sat, 29 Aug 2009 11:58:56 +0000 (13:58 +0200)]
src/plugin.c: unregister_read: llist_search may return NULL.

Handle these cases gracefully.

15 years agoMerge branch 'ps/http'
Florian Forster [Sat, 29 Aug 2009 08:45:38 +0000 (10:45 +0200)]
Merge branch 'ps/http'

15 years agowrite_http plugin: Implement the usual SSL options.
Florian Forster [Sat, 29 Aug 2009 08:39:09 +0000 (10:39 +0200)]
write_http plugin: Implement the usual SSL options.

15 years agowrite_http plugin: Implement support for multiple destinations.
Florian Forster [Sat, 29 Aug 2009 08:33:19 +0000 (10:33 +0200)]
write_http plugin: Implement support for multiple destinations.

15 years agocollectd.conf(5): Updated to reflect the renaming of the “write_http” plugin.
Florian Forster [Sat, 29 Aug 2009 06:23:29 +0000 (08:23 +0200)]
collectd.conf(5): Updated to reflect the renaming of the “write_http” plugin.

15 years agowrite_http plugin: Rename the “http” plugin to “write_http”.
Florian Forster [Sat, 29 Aug 2009 06:07:21 +0000 (08:07 +0200)]
write_http plugin: Rename the “http” plugin to “write_http”.

15 years agocollectd.conf(5): Renamed the couchdb plugin to curl_json here, too.
Florian Forster [Thu, 27 Aug 2009 07:46:09 +0000 (09:46 +0200)]
collectd.conf(5): Renamed the couchdb plugin to curl_json here, too.

15 years agocurl_json plugin: Renamed the “couchdb” plugin to “curl_json”.
Florian Forster [Thu, 27 Aug 2009 07:06:16 +0000 (09:06 +0200)]
curl_json plugin: Renamed the “couchdb” plugin to “curl_json”.

On Thu, Aug 20, 2009 at 10:31:22AM -0700, Doug MacEachern wrote:
> Wanted to bring this up before 4.8..
> When I first started on the couchdb plugin, there were metrics
> specific to couchdb, but ended up making it generic and the metrics
> are all specified in the config.  Since then, I've looked at Dynomite
> which has its own set of metrics exposed the same way:
> http://gist.github.com/137771
> Also noticed Hadoop 0.21 daemons now support: "/metrics?format=json to
> retrieve the data in a structured form.", but haven't had a chance to
> try yet.  I'm sure there's more too.  So I'm wondering if 'couchdb'
> should be renamed to something more generic, 'json' or 'yajl'  maybe?
> And/or pushing the curl/yajl code out to util functions, then add the
> couchdb specific metrics to the couchdb plugin.  Then also use the
> util functions for dynomite, hadoop, etc., specific plugins. Thoughts?

15 years agocontrib/collection.cgi: Fix spam_check graph for email plugin.
Brad Fritz [Mon, 24 Aug 2009 17:25:37 +0000 (13:25 -0400)]
contrib/collection.cgi: Fix spam_check graph for email plugin.

Corrects DS name to fix email plugin's spam_check graph.

Signed-off-by: Brad Fritz <brad@fewerhassles.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
15 years agocollection3: Add a module for the “java_memory” type.
Florian Forster [Wed, 26 Aug 2009 11:47:47 +0000 (13:47 +0200)]
collection3: Add a module for the “java_memory” type.

15 years agocollection3: Add the possibility to scale generic graphs.
Florian Forster [Wed, 26 Aug 2009 11:46:36 +0000 (13:46 +0200)]
collection3: Add the possibility to scale generic graphs.

15 years agocontrib/cussh.pl: Add synopsis for specific commands.
Florian Forster [Wed, 26 Aug 2009 09:31:24 +0000 (11:31 +0200)]
contrib/cussh.pl: Add synopsis for specific commands.

You can now do
  HELP FLUSH
to get information about the FLUSH command.

15 years agocontrib/cussh.pl: Fix a typo in the `FLUSH' command.
Florian Forster [Wed, 26 Aug 2009 08:34:08 +0000 (10:34 +0200)]
contrib/cussh.pl: Fix a typo in the `FLUSH' command.

15 years agoconfigure.in: Check for the <linux/wireless.h> header.
Florian Forster [Sun, 23 Aug 2009 10:37:43 +0000 (12:37 +0200)]
configure.in: Check for the <linux/wireless.h> header.

15 years agoREADME: liboping is no longer shipped.
Florian Forster [Sun, 23 Aug 2009 08:54:22 +0000 (10:54 +0200)]
README: liboping is no longer shipped.

15 years agocontrib/collection3: Common.pm: Sort identifiers by filename.
Aman Gupta [Sat, 22 Aug 2009 12:07:26 +0000 (14:07 +0200)]
contrib/collection3: Common.pm: Sort identifiers by filename.

15 years agonetwork plugin: Free dynamically allocated buffers when appropriate.
Aman Gupta [Sat, 22 Aug 2009 08:04:10 +0000 (10:04 +0200)]
network plugin: Free dynamically allocated buffers when appropriate.

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
15 years agodf plugin: Check ignorelists before stat'ing the filesystem.
Florian Forster [Thu, 20 Aug 2009 12:10:37 +0000 (14:10 +0200)]
df plugin: Check ignorelists before stat'ing the filesystem.

 → See also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542859

15 years agoconfigure.in: Sort the status output alphabetically.
Florian Forster [Fri, 21 Aug 2009 11:14:47 +0000 (13:14 +0200)]
configure.in: Sort the status output alphabetically.

15 years agohttp plugin: Update the copyright notice and AUTHORS file.
Florian Forster [Fri, 21 Aug 2009 11:03:10 +0000 (13:03 +0200)]
http plugin: Update the copyright notice and AUTHORS file.

15 years agohttp plugin: Small fixes for the buffer handling.
Florian Forster [Fri, 21 Aug 2009 10:45:54 +0000 (12:45 +0200)]
http plugin: Small fixes for the buffer handling.

Don't actually send anything when the buffer is empty. Initialize the
buffer in the ‘init’ function.

15 years agohttp plugin: Implement a `flush' callback.
Florian Forster [Fri, 21 Aug 2009 09:34:39 +0000 (11:34 +0200)]
http plugin: Implement a `flush' callback.

15 years agohttp plugin: http_write: Clean-up.
Florian Forster [Fri, 21 Aug 2009 09:34:05 +0000 (11:34 +0200)]
http plugin: http_write: Clean-up.

A couple of bugs have been fixed in the process. One error handling path
didn't release a mutex, for example. Also, the buffer may have been sent
truncated.

15 years agohttp plugin: Comment in the call to `curl_easy_perform'.
Florian Forster [Fri, 21 Aug 2009 09:24:24 +0000 (11:24 +0200)]
http plugin: Comment in the call to `curl_easy_perform'.

15 years agohttp plugin: http_value_list_to_string: Clean-up.
Florian Forster [Fri, 21 Aug 2009 09:23:30 +0000 (11:23 +0200)]
http plugin: http_value_list_to_string: Clean-up.

15 years agohttp plugin: Use the `FORMAT_VL' macro.
Florian Forster [Fri, 21 Aug 2009 08:23:30 +0000 (10:23 +0200)]
http plugin: Use the `FORMAT_VL' macro.

15 years agohttp plugin: Don't convert COUNTER values to rates.
Florian Forster [Fri, 21 Aug 2009 08:22:59 +0000 (10:22 +0200)]
http plugin: Don't convert COUNTER values to rates.

15 years agohttp plugin: Remove an unused variable.
Florian Forster [Fri, 21 Aug 2009 08:22:38 +0000 (10:22 +0200)]
http plugin: Remove an unused variable.

15 years agohttp plugin: Rename the “Location” option to “URL”.
Florian Forster [Fri, 21 Aug 2009 07:21:19 +0000 (09:21 +0200)]
http plugin: Rename the “Location” option to “URL”.

That's more in line with other plugins.

15 years agohttp plugin: Remove tailing whitespace.
Florian Forster [Fri, 21 Aug 2009 07:13:55 +0000 (09:13 +0200)]
http plugin: Remove tailing whitespace.

15 years agohttp plugin: Add entries to collectd.conf
Paul Sadauskas [Thu, 9 Jul 2009 16:33:48 +0000 (10:33 -0600)]
http plugin: Add entries to collectd.conf

15 years agohttp plugin: Man page about config vars
Paul Sadauskas [Thu, 9 Jul 2009 16:31:49 +0000 (10:31 -0600)]
http plugin: Man page about config vars

15 years agohttp plugin: Put the makefile stuff in the right place alphabetically
Paul Sadauskas [Thu, 9 Jul 2009 16:27:14 +0000 (10:27 -0600)]
http plugin: Put the makefile stuff in the right place alphabetically

15 years agohttp plugin: Make the output match the PUTVAL plain-text protocol
Paul Sadauskas [Wed, 8 Jul 2009 23:36:39 +0000 (17:36 -0600)]
http plugin: Make the output match the PUTVAL plain-text protocol

15 years agoconfigure.in: Add the http plugin to the status output.
Florian Forster [Tue, 7 Jul 2009 16:31:45 +0000 (18:31 +0200)]
configure.in: Add the http plugin to the status output.

15 years agohttp plugin: Remove trailing whitespace.
Florian Forster [Mon, 6 Jul 2009 20:47:48 +0000 (22:47 +0200)]
http plugin: Remove trailing whitespace.

15 years agohttp plugin: Better error handling, and flush before shutdown
Paul Sadauskas [Mon, 22 Jun 2009 21:06:25 +0000 (15:06 -0600)]
http plugin: Better error handling, and flush before shutdown

15 years agohttp plugin: Remove some debugging info
Paul Sadauskas [Mon, 22 Jun 2009 20:22:59 +0000 (14:22 -0600)]
http plugin: Remove some debugging info

15 years agohttp plugin: POST when a 4K buffer is nearly full
Paul Sadauskas [Mon, 22 Jun 2009 20:10:17 +0000 (14:10 -0600)]
http plugin: POST when a 4K buffer is nearly full

15 years agohttp plugin: Set mutex around curl, so we only perform once at a time
Paul Sadauskas [Sat, 20 Jun 2009 22:54:18 +0000 (16:54 -0600)]
http plugin: Set mutex around curl, so we only perform once at a time

15 years agohttp plugin: Fix a memory leak by cleaning up the curl handles
Paul Sadauskas [Wed, 17 Jun 2009 16:49:02 +0000 (10:49 -0600)]
http plugin: Fix a memory leak by cleaning up the curl handles

15 years agohttp plugin: don't copy the error buffer
Erik Cunningham [Wed, 17 Jun 2009 16:24:24 +0000 (10:24 -0600)]
http plugin: don't copy the error buffer

15 years agohttp plugin: Dont hold open curl connections. It ties up apache
Paul Sadauskas [Mon, 15 Jun 2009 02:22:12 +0000 (20:22 -0600)]
http plugin: Dont hold open curl connections. It ties up apache

15 years agohttp plugin: Initialze curl every time, to we don't clobber things
Paul Sadauskas [Mon, 15 Jun 2009 01:52:18 +0000 (19:52 -0600)]
http plugin: Initialze curl every time, to we don't clobber things

15 years agohttp plugin: Separate values into multiple lines
Paul Sadauskas [Mon, 15 Jun 2009 00:43:50 +0000 (18:43 -0600)]
http plugin: Separate values into multiple lines

15 years agohttp plugin: it works, i think
Paul Sadauskas [Fri, 12 Jun 2009 22:46:53 +0000 (16:46 -0600)]
http plugin: it works, i think

15 years agohttp plugin: Start in http plugin that can output csv to stdout
Paul Sadauskas [Tue, 7 Jul 2009 16:38:36 +0000 (18:38 +0200)]
http plugin: Start in http plugin that can output csv to stdout

15 years agojava bindings: GenericJMX: Implement user/password authentication.
Florian Forster [Thu, 20 Aug 2009 15:21:33 +0000 (17:21 +0200)]
java bindings: GenericJMX: Implement user/password authentication.

15 years agopowerdns plugin: Fix handling of the “LocalSocket” config option.
Luke Heberling [Thu, 20 Aug 2009 12:10:37 +0000 (14:10 +0200)]
powerdns plugin: Fix handling of the “LocalSocket” config option.

 → See also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535787

15 years agopowerdns plugin: Set a timeout for the datagram socket.
Luke Heberling [Thu, 20 Aug 2009 12:08:53 +0000 (14:08 +0200)]
powerdns plugin: Set a timeout for the datagram socket.

 → See also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535787

15 years agoMerge branch 'collectd-4.6' into collectd-4.7
Florian Forster [Thu, 20 Aug 2009 11:52:34 +0000 (13:52 +0200)]
Merge branch 'collectd-4.6' into collectd-4.7

Conflicts:
src/apache.c

15 years agoPlugins using libcurl: Enable the ‘CURLOPT_FOLLOWLOCATION’ option.
Florian Forster [Thu, 20 Aug 2009 11:48:23 +0000 (13:48 +0200)]
Plugins using libcurl: Enable the ‘CURLOPT_FOLLOWLOCATION’ option.

This hopefully fixes Debian#541953.

15 years agonetwork plugin: Remove a now invalid assertion.
Aman Gupta [Thu, 20 Aug 2009 09:53:22 +0000 (11:53 +0200)]
network plugin: Remove a now invalid assertion.

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
15 years agocontrib/GenericJMX.conf: Fix some typos and improve type instances.
Florian Forster [Wed, 19 Aug 2009 15:50:37 +0000 (17:50 +0200)]
contrib/GenericJMX.conf: Fix some typos and improve type instances.

15 years agosrc/types.db: Sort alphabetically.
Florian Forster [Wed, 19 Aug 2009 15:15:55 +0000 (17:15 +0200)]
src/types.db: Sort alphabetically.

15 years agocontrib/GenerixJMX.conf: Add some example configuration for Tomcat.
Florian Forster [Wed, 19 Aug 2009 15:15:08 +0000 (17:15 +0200)]
contrib/GenerixJMX.conf: Add some example configuration for Tomcat.

Currently configured for tomcat are:

 * Received / sent octets for each request processor.
 * Number of requests.
 * Time spent processing queries.
 * Number of total/busy threads.

The first three values are available as a summary for a request processor
as well as detailed (for each thread).

This configuration is yet untested and may contain obvious typos!