Florian Forster [Sat, 6 Nov 2010 08:04:25 +0000 (09:04 +0100)]
AUTHORS: Add Sebastien Pahl.
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".
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).
Florian Forster [Sat, 6 Nov 2010 07:43:51 +0000 (08:43 +0100)]
amqp plugin: Fix order of includes.
Florian Forster [Tue, 10 Aug 2010 07:20:54 +0000 (09:20 +0200)]
amqp plugin: Warn about incorrectly used "ExchangeType" option in "Publish" block, too.
Florian Forster [Sun, 8 Aug 2010 12:45:27 +0000 (14:45 +0200)]
amqp plugin: Enable the "ExchangeType" option in Publish blocks, too.
Florian Forster [Sun, 8 Aug 2010 12:36:30 +0000 (14:36 +0200)]
collectd.conf(5): Add missing blank line.
Florian Forster [Sun, 8 Aug 2010 12:30:50 +0000 (14:30 +0200)]
collectd.conf(5): Finish documenting the AMQP plugin.
Florian Forster [Sun, 8 Aug 2010 09:46:38 +0000 (11:46 +0200)]
collectd.conf(5): Started documenting the AMQP plugin.
Florian Forster [Fri, 6 Aug 2010 15:06:11 +0000 (17:06 +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.
Florian Forster [Fri, 6 Aug 2010 13:45:13 +0000 (15:45 +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.
Florian Forster [Fri, 6 Aug 2010 13:12:07 +0000 (15:12 +0200)]
amqp plugin: Implement parsing of "PUTVAL" data.
Data transmission via AMQP works now! \o/
Florian Forster [Fri, 6 Aug 2010 13:01:40 +0000 (15:01 +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.)
Florian Forster [Fri, 6 Aug 2010 13:02:57 +0000 (15:02 +0200)]
Merge branch 'master' into sp/amqp
Florian Forster [Fri, 6 Aug 2010 12:59:56 +0000 (14:59 +0200)]
src/utils_cmd_putval.[ch]: Implement "create_putval".
Florian Forster [Fri, 6 Aug 2010 12:40:55 +0000 (14:40 +0200)]
write_http plugin: Move "wh_value_list_to_string" to src/common.[ch].
Florian Forster [Fri, 6 Aug 2010 12:10:46 +0000 (14:10 +0200)]
amqp plugin: Only accept the "Persistent" option in "Publish" blocks.
Florian Forster [Fri, 6 Aug 2010 11:54:34 +0000 (13:54 +0200)]
amqp plugin: Add a debug message.
Florian Forster [Fri, 6 Aug 2010 11:54:23 +0000 (13:54 +0200)]
amqp plugin: Enable the "StoreRates" option only when configuring a "Publish" block.
Florian Forster [Fri, 6 Aug 2010 07:04:24 +0000 (09:04 +0200)]
collectd-flush: Minor coding style changes.
Florian Forster [Fri, 6 Aug 2010 06:59:46 +0000 (08:59 +0200)]
collectd-flush: Add a missing "break" in a "switch" case.
Hakon-Dugstad.Johnsen@telenor.com [Thu, 5 Aug 2010 14:40:18 +0000 (16:40 +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 å.
Signed-off-by: Håkon J Dugstad Johnsen <hakon-dugstad.johnsen@telenor.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Hakon-Dugstad.Johnsen@telenor.com [Thu, 5 Aug 2010 14:37:45 +0000 (16:37 +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 å.
Signed-off-by: Håkon J Dugstad Johnsen <hakon-dugstad.johnsen@telenor.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Florian Forster [Thu, 5 Aug 2010 13:01:03 +0000 (15:01 +0200)]
amqp plugin: First step towards subscribing to data via AMQP.
Florian Forster [Thu, 5 Aug 2010 09:25:17 +0000 (11:25 +0200)]
amqp plugin: Use the "camqp" prefix for all functions.
The library uses the "amqp" prefix, so we should use something else.
Florian Forster [Thu, 5 Aug 2010 09:18:53 +0000 (11:18 +0200)]
amqp plugin: Implement publishing to multiple brokers.
Florian Forster [Thu, 5 Aug 2010 07:32:47 +0000 (09:32 +0200)]
amqp plugin: Chose (hopefully sane) default values for all config options.
Florian Forster [Thu, 5 Aug 2010 07:32:20 +0000 (09:32 +0200)]
src/collectd.conf.in: Add missing config options of the AMQP plugin.
Florian Forster [Wed, 4 Aug 2010 21:22:00 +0000 (23:22 +0200)]
amqp plugin: Added some comments. Rewrapped lines of the license header.
Florian Forster [Wed, 4 Aug 2010 21:08:50 +0000 (23:08 +0200)]
amqp plugin: Implement the "StoreRates" option.
Florian Forster [Wed, 4 Aug 2010 21:08:16 +0000 (23:08 +0200)]
amqp plugin: Put the connecting code into a separate function.
Florian Forster [Wed, 4 Aug 2010 20:45:17 +0000 (22:45 +0200)]
amqp plugin: Initialize the port number to 5672.
Florian Forster [Wed, 4 Aug 2010 20:44:15 +0000 (22:44 +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.
Florian Forster [Wed, 4 Aug 2010 17:31:44 +0000 (19:31 +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.
Florian Forster [Wed, 4 Aug 2010 17:00:50 +0000 (19:00 +0200)]
amqp plugin: Add error messages and give saner example config values.
Florian Forster [Wed, 4 Aug 2010 16:05:06 +0000 (18:05 +0200)]
src/collectd.conf.in: Add the AMQP plugin.
Florian Forster [Wed, 4 Aug 2010 15:59:31 +0000 (17:59 +0200)]
amqp plugin: Adapt to the new syntax of "format_json_value_list".
Florian Forster [Mon, 22 Mar 2010 19:07:31 +0000 (20:07 +0100)]
README: Add the amqp plugin and the librabbitmq dependency.
Florian Forster [Mon, 22 Mar 2010 19:01:39 +0000 (20:01 +0100)]
configure.in: Move the checks for librabbitmq …
… so the checks are roughly alphabetical. "Roughly", because the leading
"lib" is ignored when sorting.
Florian Forster [Mon, 22 Mar 2010 19:00:17 +0000 (20:00 +0100)]
amqp plugin: Use the global (and widely used) "sfree" macro …
… rather than the private "config_free" function.
Florian Forster [Mon, 22 Mar 2010 18:58:33 +0000 (19:58 +0100)]
amqp plugin: Use "service_name_to_port_number" to parse the "Port" config option.
Florian Forster [Mon, 22 Mar 2010 18:56:13 +0000 (19:56 +0100)]
amqp plugin: Explain numeric arguments to "amqp_login" and "amqp_basic_publish".
Florian Forster [Mon, 22 Mar 2010 18:52:09 +0000 (19:52 +0100)]
amqp plugin: Fix a typo.
Florian Forster [Mon, 22 Mar 2010 18:51:57 +0000 (19:51 +0100)]
src/Makefile.am: Fix librabbitmq CPP- and LD-flags.
Sebastien Pahl [Tue, 9 Feb 2010 16:15:55 +0000 (17:15 +0100)]
First implentation of an amqp output plugin
It's ugly for now but it works.
Garret Heaton [Tue, 20 Jul 2010 01:56:31 +0000 (18:56 -0700)]
Fix incorrect error logging.
Was calling sys.stderror instead of sys.stderr.
Florian Forster [Tue, 13 Jul 2010 10:09:05 +0000 (12:09 +0200)]
README: Add the "varnish" plugin.
Florian Forster [Tue, 13 Jul 2010 09:50:44 +0000 (11:50 +0200)]
varnish plugin: Update the copyright and author information.
Florian Forster [Fri, 9 Jul 2010 10:05:32 +0000 (12:05 +0200)]
Merge branch 'collectd-4.10'
Florian Forster [Fri, 9 Jul 2010 10:01:28 +0000 (12:01 +0200)]
Bumped version to 4.10.1; Updated ChangeLog.
Florian Forster [Fri, 9 Jul 2010 09:58:28 +0000 (11:58 +0200)]
swap plugin: Multiply swap sizes by 1024.
This fixes a regression introduced in
6a3935d.
Florian Forster [Fri, 9 Jul 2010 09:49:31 +0000 (11:49 +0200)]
Merge branch 'collectd-4.9' into collectd-4.10
Conflicts:
ChangeLog
version-gen.sh
Florian Forster [Fri, 9 Jul 2010 09:47:07 +0000 (11:47 +0200)]
ChangeLog: Fix the release date for 4.9.3.
Florian Forster [Fri, 9 Jul 2010 09:39:08 +0000 (11:39 +0200)]
Bumped version to 4.9.3; Updated ChangeLog.
Florian Forster [Tue, 6 Jul 2010 11:00:32 +0000 (13:00 +0200)]
src/plugin.c: Check "read_loop" when returning from "pthread_cond_timedwait".
Otherwise it may take up to $Interval seconds until all read threads
shut down. This bug was introduced in version 4.8.4 (commit
dbe1a7d).
Florian Forster [Mon, 5 Jul 2010 18:09:04 +0000 (20:09 +0200)]
network plugin: Remove the "CacheFlush" config option.
Florian Forster [Mon, 5 Jul 2010 18:08:04 +0000 (20:08 +0200)]
df plugin: Remove the "ReportReserved" config option.
Florian Forster [Mon, 5 Jul 2010 09:26:13 +0000 (11:26 +0200)]
hddtemp plugin: Remove the "TranslateDevicename" config option.
Florian Forster [Mon, 5 Jul 2010 08:46:00 +0000 (10:46 +0200)]
v5upgrade target: Implement handling of the "mysql_qcache" and "mysql_threads" types.
Florian Forster [Mon, 5 Jul 2010 08:38:35 +0000 (10:38 +0200)]
v5upgrade target: Don't use "memcpy" to copy static strings.
Florian Forster [Mon, 5 Jul 2010 08:27:46 +0000 (10:27 +0200)]
mysql plugin: Remove the "mysql_threads" type.
Florian Forster [Mon, 5 Jul 2010 08:24:01 +0000 (10:24 +0200)]
mysql plugin: Remove the "mysql_qcache" type.
Florian Forster [Mon, 5 Jul 2010 08:12:32 +0000 (10:12 +0200)]
mysql plugin: Remove legacy config handling code.
Florian Forster [Mon, 5 Jul 2010 07:52:20 +0000 (09:52 +0200)]
contrib/exec-smartctl: Use the environment variables by default.
Florian Forster [Mon, 5 Jul 2010 07:51:15 +0000 (09:51 +0200)]
contrib/exec-smartctl: Print the "PUTVAL" command.
Florian Forster [Mon, 5 Jul 2010 07:45:46 +0000 (09:45 +0200)]
contrib/exec-nagios.px: Use the environment variables for defaults.
Florian Forster [Mon, 5 Jul 2010 07:45:19 +0000 (09:45 +0200)]
contrib/exec-nagios.px: Escape the hostname.
Florian Forster [Mon, 5 Jul 2010 07:40:55 +0000 (09:40 +0200)]
contrib/exec-munin.px: Use the environment variables for defaults.
Florian Forster [Mon, 5 Jul 2010 07:40:33 +0000 (09:40 +0200)]
contrib/exec-munin.px: Use the "PUTVAL" command explicitly.
Florian Forster [Mon, 5 Jul 2010 07:34:13 +0000 (09:34 +0200)]
collectd-exec(5): Document the removed backwards compatibility code.
Florian Forster [Mon, 5 Jul 2010 07:26:44 +0000 (09:26 +0200)]
exec plugin: Remove backwards compatibility code.
Florian Forster [Sat, 3 Jul 2010 09:08:21 +0000 (11:08 +0200)]
Merge remote branch 'mfournier/varnish-data-reorg'
Marc Fournier [Wed, 30 Jun 2010 22:24:13 +0000 (00:24 +0200)]
Varnish plugin: renamed values to match configuration key names.
Florian Forster [Wed, 30 Jun 2010 08:47:07 +0000 (10:47 +0200)]
collectd-nagios: Implement the "-m" option (treat NaNs as critical).
Florian Forster [Mon, 28 Jun 2010 15:52:19 +0000 (17:52 +0200)]
Remove usage of obsoleted XSI extensions wrt. the "test" command.
Alexander Wuerstlein [Mon, 28 Jun 2010 07:57:02 +0000 (09:57 +0200)]
Fix usage of Solaris /usr/bin/echo
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Florian Forster [Mon, 28 Jun 2010 08:01:39 +0000 (10:01 +0200)]
df plugin: Remove the complaint code again.
Calls to the plugin are delayed when an error is returned anyway, so it's
better to have an error message in addition to the "has failed, will suspend"
message generated in src/plugin.c.
Florian Forster [Mon, 28 Jun 2010 07:25:58 +0000 (09:25 +0200)]
df plugin: Report an error if "cu_mount_getlist" fails.
Florian Forster [Thu, 24 Jun 2010 14:08:43 +0000 (16:08 +0200)]
collection3: df_complex graph: Add "reserved" space.
Florian Forster [Thu, 24 Jun 2010 14:05:53 +0000 (16:05 +0200)]
collection3: Add Windows data sources to the "memory" graph.
Florian Forster [Thu, 24 Jun 2010 14:05:21 +0000 (16:05 +0200)]
collection3: Add graphs for "bitrate", "signal_power", "signal_quality", and "snr".
Marc Fournier [Tue, 22 Jun 2010 09:16:15 +0000 (11:16 +0200)]
Varnish plugin: coding style consistency
Marc Fournier [Tue, 22 Jun 2010 09:10:56 +0000 (11:10 +0200)]
Varnish plugin: more concise formatting of plugin instance.
Florian Forster [Sun, 20 Jun 2010 16:02:39 +0000 (18:02 +0200)]
Merge remote branch 'trenkel/collectd-4.10' into collectd-4.10
Marc Fournier [Wed, 16 Jun 2010 16:53:27 +0000 (18:53 +0200)]
Varnish plugin: add a default instance name if none defined in config.
Marc Fournier [Wed, 16 Jun 2010 16:32:03 +0000 (18:32 +0200)]
Varnish plugin: better rrd files layout
This patch groups collected values in categories, each configuration option
corresponding to one category. The category name will then be part of the
instance name, which leads to a more sensible directory/file structure:
host/varnish-instance-category/...
.../type_typeinstance.rrd
.../type_typeinstance.rrd
host/varnish-instance-category/...
.../type_typeinstance.rrd
.../type_typeinstance.rrd
Marc Fournier [Wed, 16 Jun 2010 16:15:51 +0000 (18:15 +0200)]
Varnish plugin: fixed missing dataset error.
Florian Forster [Wed, 9 Jun 2010 11:10:52 +0000 (13:10 +0200)]
src/common.h: Add some documentation for "strtoderive".
Florian Forster [Wed, 9 Jun 2010 11:10:18 +0000 (13:10 +0200)]
swap plugin: Use "strtoderive" to parse strings.
Florian Forster [Wed, 16 Jun 2010 13:36:44 +0000 (15:36 +0200)]
bindings/java/Makefile.am: Fix rebuilding of Java plugins.
Florian Forster [Wed, 16 Jun 2010 13:36:04 +0000 (15:36 +0200)]
GenericJMX plugin: Implement the "InstancePrefix" option in "Connection" blocks.
Florian Forster [Wed, 16 Jun 2010 12:23:43 +0000 (14:23 +0200)]
Merge remote branch 'jeromer/master'
Florian Forster [Wed, 16 Jun 2010 12:12:46 +0000 (14:12 +0200)]
dns plugin: Improve / remove error and debug messages.
Florian Forster [Wed, 16 Jun 2010 12:08:58 +0000 (14:08 +0200)]
src/utils_dns.c: Import "rfc1035NameUnpack" from dnstop-
20080321.
Sven Trenkel [Wed, 16 Jun 2010 12:01:18 +0000 (14:01 +0200)]
python plugin: Switch back to calling the type object to create a new object like in collectd-4.9.
PyObject_New should not be used.
This should fix a compile problem with some versions of Python.
Jérôme Renard [Mon, 14 Jun 2010 08:54:30 +0000 (10:54 +0200)]
- Varnish plugin : added pod documentation
Florian Forster [Sun, 13 Jun 2010 19:44:21 +0000 (21:44 +0200)]
Merge branch 'collectd-4.10'
Florian Forster [Sun, 13 Jun 2010 19:44:09 +0000 (21:44 +0200)]
Merge branch 'collectd-4.9' into collectd-4.10
Florian Forster [Sun, 13 Jun 2010 13:51:15 +0000 (15:51 +0200)]
configure.in: Update to POSIX 2008 standard.
When using --enable-standards, request the newest edition of POSIX and
X/Open.
Florian Forster [Sun, 13 Jun 2010 13:50:48 +0000 (15:50 +0200)]
bind plugin: Fix building with --enable-standards.