Code

collectd.git
14 years agoamqp plugin: Only accept the "Persistent" option in "Publish" blocks.
Florian Forster [Fri, 6 Aug 2010 12:10:46 +0000 (14:10 +0200)]
amqp plugin: Only accept the "Persistent" option in "Publish" blocks.

14 years agoamqp plugin: Add a debug message.
Florian Forster [Fri, 6 Aug 2010 11:54:34 +0000 (13:54 +0200)]
amqp plugin: Add a debug message.

14 years agoamqp plugin: Enable the "StoreRates" option only when configuring a "Publish" block.
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.

14 years agoamqp plugin: First step towards subscribing to data via AMQP.
Florian Forster [Thu, 5 Aug 2010 13:01:03 +0000 (15:01 +0200)]
amqp plugin: First step towards subscribing to data via AMQP.

14 years agoamqp plugin: Use the "camqp" prefix for all functions.
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.

14 years agoamqp plugin: Implement publishing to multiple brokers.
Florian Forster [Thu, 5 Aug 2010 09:18:53 +0000 (11:18 +0200)]
amqp plugin: Implement publishing to multiple brokers.

14 years agoamqp plugin: Chose (hopefully sane) default values for all config options.
Florian Forster [Thu, 5 Aug 2010 07:32:47 +0000 (09:32 +0200)]
amqp plugin: Chose (hopefully sane) default values for all config options.

14 years agosrc/collectd.conf.in: Add missing config options of the AMQP plugin.
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.

14 years agoamqp plugin: Added some comments. Rewrapped lines of the license header.
Florian Forster [Wed, 4 Aug 2010 21:22:00 +0000 (23:22 +0200)]
amqp plugin: Added some comments. Rewrapped lines of the license header.

14 years agoamqp plugin: Implement the "StoreRates" option.
Florian Forster [Wed, 4 Aug 2010 21:08:50 +0000 (23:08 +0200)]
amqp plugin: Implement the "StoreRates" option.

14 years agoamqp plugin: Put the connecting code into a separate function.
Florian Forster [Wed, 4 Aug 2010 21:08:16 +0000 (23:08 +0200)]
amqp plugin: Put the connecting code into a separate function.

14 years agoamqp plugin: Initialize the port number to 5672.
Florian Forster [Wed, 4 Aug 2010 20:45:17 +0000 (22:45 +0200)]
amqp plugin: Initialize the port number to 5672.

14 years agoamqp plugin: Let the user chose the delivery method.
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.

14 years agoamqp plugin: Implement persistent connection handling.
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.

14 years agoamqp plugin: Add error messages and give saner example config values.
Florian Forster [Wed, 4 Aug 2010 17:00:50 +0000 (19:00 +0200)]
amqp plugin: Add error messages and give saner example config values.

14 years agosrc/collectd.conf.in: Add the AMQP plugin.
Florian Forster [Wed, 4 Aug 2010 16:05:06 +0000 (18:05 +0200)]
src/collectd.conf.in: Add the AMQP plugin.

14 years agoamqp plugin: Adapt to the new syntax of "format_json_value_list".
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".

14 years agoREADME: Add the amqp plugin and the librabbitmq dependency.
Florian Forster [Mon, 22 Mar 2010 19:07:31 +0000 (20:07 +0100)]
README: Add the amqp plugin and the librabbitmq dependency.

14 years agoconfigure.in: Move the checks for librabbitmq …
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.

14 years agoamqp plugin: Use the global (and widely used) "sfree" macro …
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.

14 years agoamqp plugin: Use "service_name_to_port_number" to parse the "Port" config option.
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.

14 years agoamqp plugin: Explain numeric arguments to "amqp_login" and "amqp_basic_publish".
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".

14 years agoamqp plugin: Fix a typo.
Florian Forster [Mon, 22 Mar 2010 18:52:09 +0000 (19:52 +0100)]
amqp plugin: Fix a typo.

14 years agosrc/Makefile.am: Fix librabbitmq CPP- and LD-flags.
Florian Forster [Mon, 22 Mar 2010 18:51:57 +0000 (19:51 +0100)]
src/Makefile.am: Fix librabbitmq CPP- and LD-flags.

14 years agoFirst implentation of an amqp output plugin
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.

14 years agoFix incorrect error logging.
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.

14 years agoREADME: Add the "varnish" plugin.
Florian Forster [Tue, 13 Jul 2010 10:09:05 +0000 (12:09 +0200)]
README: Add the "varnish" plugin.

14 years agovarnish plugin: Update the copyright and author information.
Florian Forster [Tue, 13 Jul 2010 09:50:44 +0000 (11:50 +0200)]
varnish plugin: Update the copyright and author information.

14 years agoMerge branch 'collectd-4.10'
Florian Forster [Fri, 9 Jul 2010 10:05:32 +0000 (12:05 +0200)]
Merge branch 'collectd-4.10'

14 years agoBumped version to 4.10.1; Updated ChangeLog. collectd-4.10.1
Florian Forster [Fri, 9 Jul 2010 10:01:28 +0000 (12:01 +0200)]
Bumped version to 4.10.1; Updated ChangeLog.

14 years agoswap plugin: Multiply swap sizes by 1024.
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.

14 years agoMerge branch 'collectd-4.9' into collectd-4.10
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

14 years agoChangeLog: Fix the release date for 4.9.3. collectd-4.9.3
Florian Forster [Fri, 9 Jul 2010 09:47:07 +0000 (11:47 +0200)]
ChangeLog: Fix the release date for 4.9.3.

14 years agoBumped version to 4.9.3; Updated ChangeLog.
Florian Forster [Fri, 9 Jul 2010 09:39:08 +0000 (11:39 +0200)]
Bumped version to 4.9.3; Updated ChangeLog.

14 years agosrc/plugin.c: Check "read_loop" when returning from "pthread_cond_timedwait".
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).

14 years agonetwork plugin: Remove the "CacheFlush" config option.
Florian Forster [Mon, 5 Jul 2010 18:09:04 +0000 (20:09 +0200)]
network plugin: Remove the "CacheFlush" config option.

14 years agodf plugin: Remove the "ReportReserved" config option.
Florian Forster [Mon, 5 Jul 2010 18:08:04 +0000 (20:08 +0200)]
df plugin: Remove the "ReportReserved" config option.

14 years agohddtemp plugin: Remove the "TranslateDevicename" config option.
Florian Forster [Mon, 5 Jul 2010 09:26:13 +0000 (11:26 +0200)]
hddtemp plugin: Remove the "TranslateDevicename" config option.

14 years agov5upgrade target: Implement handling of the "mysql_qcache" and "mysql_threads" types.
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.

14 years agov5upgrade target: Don't use "memcpy" to copy static strings.
Florian Forster [Mon, 5 Jul 2010 08:38:35 +0000 (10:38 +0200)]
v5upgrade target: Don't use "memcpy" to copy static strings.

14 years agomysql plugin: Remove the "mysql_threads" type.
Florian Forster [Mon, 5 Jul 2010 08:27:46 +0000 (10:27 +0200)]
mysql plugin: Remove the "mysql_threads" type.

14 years agomysql plugin: Remove the "mysql_qcache" type.
Florian Forster [Mon, 5 Jul 2010 08:24:01 +0000 (10:24 +0200)]
mysql plugin: Remove the "mysql_qcache" type.

14 years agomysql plugin: Remove legacy config handling code.
Florian Forster [Mon, 5 Jul 2010 08:12:32 +0000 (10:12 +0200)]
mysql plugin: Remove legacy config handling code.

14 years agocontrib/exec-smartctl: Use the environment variables by default.
Florian Forster [Mon, 5 Jul 2010 07:52:20 +0000 (09:52 +0200)]
contrib/exec-smartctl: Use the environment variables by default.

14 years agocontrib/exec-smartctl: Print the "PUTVAL" command.
Florian Forster [Mon, 5 Jul 2010 07:51:15 +0000 (09:51 +0200)]
contrib/exec-smartctl: Print the "PUTVAL" command.

14 years agocontrib/exec-nagios.px: Use the environment variables for defaults.
Florian Forster [Mon, 5 Jul 2010 07:45:46 +0000 (09:45 +0200)]
contrib/exec-nagios.px: Use the environment variables for defaults.

14 years agocontrib/exec-nagios.px: Escape the hostname.
Florian Forster [Mon, 5 Jul 2010 07:45:19 +0000 (09:45 +0200)]
contrib/exec-nagios.px: Escape the hostname.

14 years agocontrib/exec-munin.px: Use the environment variables for defaults.
Florian Forster [Mon, 5 Jul 2010 07:40:55 +0000 (09:40 +0200)]
contrib/exec-munin.px: Use the environment variables for defaults.

14 years agocontrib/exec-munin.px: Use the "PUTVAL" command explicitly.
Florian Forster [Mon, 5 Jul 2010 07:40:33 +0000 (09:40 +0200)]
contrib/exec-munin.px: Use the "PUTVAL" command explicitly.

14 years agocollectd-exec(5): Document the removed backwards compatibility code.
Florian Forster [Mon, 5 Jul 2010 07:34:13 +0000 (09:34 +0200)]
collectd-exec(5): Document the removed backwards compatibility code.

14 years agoexec plugin: Remove backwards compatibility code.
Florian Forster [Mon, 5 Jul 2010 07:26:44 +0000 (09:26 +0200)]
exec plugin: Remove backwards compatibility code.

14 years agoMerge remote branch 'mfournier/varnish-data-reorg'
Florian Forster [Sat, 3 Jul 2010 09:08:21 +0000 (11:08 +0200)]
Merge remote branch 'mfournier/varnish-data-reorg'

14 years agoVarnish plugin: renamed values to match configuration key names.
Marc Fournier [Wed, 30 Jun 2010 22:24:13 +0000 (00:24 +0200)]
Varnish plugin: renamed values to match configuration key names.

14 years agocollectd-nagios: Implement the "-m" option (treat NaNs as critical).
Florian Forster [Wed, 30 Jun 2010 08:47:07 +0000 (10:47 +0200)]
collectd-nagios: Implement the "-m" option (treat NaNs as critical).

14 years agoRemove usage of obsoleted XSI extensions wrt. the "test" command.
Florian Forster [Mon, 28 Jun 2010 15:52:19 +0000 (17:52 +0200)]
Remove usage of obsoleted XSI extensions wrt. the "test" command.

14 years agoFix usage of Solaris /usr/bin/echo
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>
14 years agodf plugin: Remove the complaint code again.
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.

14 years agodf plugin: Report an error if "cu_mount_getlist" fails.
Florian Forster [Mon, 28 Jun 2010 07:25:58 +0000 (09:25 +0200)]
df plugin: Report an error if "cu_mount_getlist" fails.

14 years agocollection3: df_complex graph: Add "reserved" space.
Florian Forster [Thu, 24 Jun 2010 14:08:43 +0000 (16:08 +0200)]
collection3: df_complex graph: Add "reserved" space.

14 years agocollection3: Add Windows data sources to the "memory" graph.
Florian Forster [Thu, 24 Jun 2010 14:05:53 +0000 (16:05 +0200)]
collection3: Add Windows data sources to the "memory" graph.

14 years agocollection3: Add graphs for "bitrate", "signal_power", "signal_quality", and "snr".
Florian Forster [Thu, 24 Jun 2010 14:05:21 +0000 (16:05 +0200)]
collection3: Add graphs for "bitrate", "signal_power", "signal_quality", and "snr".

14 years agoVarnish plugin: coding style consistency
Marc Fournier [Tue, 22 Jun 2010 09:16:15 +0000 (11:16 +0200)]
Varnish plugin: coding style consistency

14 years agoVarnish plugin: more concise formatting of plugin instance.
Marc Fournier [Tue, 22 Jun 2010 09:10:56 +0000 (11:10 +0200)]
Varnish plugin: more concise formatting of plugin instance.

14 years agoMerge remote branch 'trenkel/collectd-4.10' into collectd-4.10
Florian Forster [Sun, 20 Jun 2010 16:02:39 +0000 (18:02 +0200)]
Merge remote branch 'trenkel/collectd-4.10' into collectd-4.10

14 years agoVarnish plugin: add a default instance name if none defined in config.
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.

14 years agoVarnish plugin: better rrd files layout
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

14 years agoVarnish plugin: fixed missing dataset error.
Marc Fournier [Wed, 16 Jun 2010 16:15:51 +0000 (18:15 +0200)]
Varnish plugin: fixed missing dataset error.

14 years agosrc/common.h: Add some documentation for "strtoderive".
Florian Forster [Wed, 9 Jun 2010 11:10:52 +0000 (13:10 +0200)]
src/common.h: Add some documentation for "strtoderive".

14 years agoswap plugin: Use "strtoderive" to parse strings.
Florian Forster [Wed, 9 Jun 2010 11:10:18 +0000 (13:10 +0200)]
swap plugin: Use "strtoderive" to parse strings.

14 years agobindings/java/Makefile.am: Fix rebuilding of Java plugins.
Florian Forster [Wed, 16 Jun 2010 13:36:44 +0000 (15:36 +0200)]
bindings/java/Makefile.am: Fix rebuilding of Java plugins.

14 years agoGenericJMX plugin: Implement the "InstancePrefix" option in "Connection" blocks.
Florian Forster [Wed, 16 Jun 2010 13:36:04 +0000 (15:36 +0200)]
GenericJMX plugin: Implement the "InstancePrefix" option in "Connection" blocks.

14 years agoMerge remote branch 'jeromer/master'
Florian Forster [Wed, 16 Jun 2010 12:23:43 +0000 (14:23 +0200)]
Merge remote branch 'jeromer/master'

14 years agodns plugin: Improve / remove error and debug messages.
Florian Forster [Wed, 16 Jun 2010 12:12:46 +0000 (14:12 +0200)]
dns plugin: Improve / remove error and debug messages.

14 years agosrc/utils_dns.c: Import "rfc1035NameUnpack" from dnstop-20080321.
Florian Forster [Wed, 16 Jun 2010 12:08:58 +0000 (14:08 +0200)]
src/utils_dns.c: Import "rfc1035NameUnpack" from dnstop-20080321.

14 years agopython plugin: Switch back to calling the type object to create a new object like...
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.

14 years ago- Varnish plugin : added pod documentation
Jérôme Renard [Mon, 14 Jun 2010 08:54:30 +0000 (10:54 +0200)]
- Varnish plugin : added pod documentation

14 years agoMerge branch 'collectd-4.10'
Florian Forster [Sun, 13 Jun 2010 19:44:21 +0000 (21:44 +0200)]
Merge branch 'collectd-4.10'

14 years agoMerge branch 'collectd-4.9' into 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

14 years agoconfigure.in: Update to POSIX 2008 standard.
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.

14 years agobind plugin: Fix building with --enable-standards.
Florian Forster [Sun, 13 Jun 2010 13:50:48 +0000 (15:50 +0200)]
bind plugin: Fix building with --enable-standards.

14 years agoMerge branch 'jr/varnish'
Florian Forster [Sun, 13 Jun 2010 13:45:52 +0000 (15:45 +0200)]
Merge branch 'jr/varnish'

14 years agoVarnish plugin: Use DERIVE data sources for (most of) the worker thread statistics.
Florian Forster [Sun, 13 Jun 2010 13:45:14 +0000 (15:45 +0200)]
Varnish plugin: Use DERIVE data sources for (most of) the worker thread statistics.

14 years agoMerge remote branch 'jeromer/master' into jr/varnish
Florian Forster [Sun, 13 Jun 2010 13:35:27 +0000 (15:35 +0200)]
Merge remote branch 'jeromer/master' into jr/varnish

14 years agosrc/utils_threshold.[ch]: Use "cf_util_get_flag" for config handling.
Florian Forster [Sun, 13 Jun 2010 13:33:39 +0000 (15:33 +0200)]
src/utils_threshold.[ch]: Use "cf_util_get_flag" for config handling.

14 years agosrc/configfile.[ch]: Implement "cf_util_get_flag".
Florian Forster [Sun, 13 Jun 2010 13:25:31 +0000 (15:25 +0200)]
src/configfile.[ch]: Implement "cf_util_get_flag".

14 years agoComplete the collectd.conf man page.
Andres J. Diaz [Sun, 13 Jun 2010 10:36:46 +0000 (12:36 +0200)]
Complete the collectd.conf man page.

Add explanations for some parameters in thresholds configuration, link
Hysteresis, Hits or Interesting flags.

14 years agoAdd Interesting option for thresholds
Andres J. Diaz [Sun, 13 Jun 2010 10:07:37 +0000 (12:07 +0200)]
Add Interesting option for thresholds

By default all thresholds are interesting, so a missing notification will
dispatched on missing values. Setting the Interesting option to false avoid
to send this notification even if some values are missing.

14 years ago- Varnish plugin : added CollectWorkers
Jérôme Renard [Sun, 13 Jun 2010 07:29:15 +0000 (09:29 +0200)]
- Varnish plugin : added CollectWorkers

14 years ago- Varnish plugin : removed documentation in collect.conf since it is now
Jérôme Renard [Sat, 12 Jun 2010 18:15:11 +0000 (20:15 +0200)]
- Varnish plugin : removed documentation in collect.conf since it is now
  in the Wiki

14 years agoAUTHORS: Add Jérôme.
Florian Forster [Sat, 12 Jun 2010 10:25:02 +0000 (12:25 +0200)]
AUTHORS: Add Jérôme.

14 years agoVarnish plugin: Use "varnish_config_apply_default" to initialize the structure.
Florian Forster [Sat, 12 Jun 2010 10:20:38 +0000 (12:20 +0200)]
Varnish plugin: Use "varnish_config_apply_default" to initialize the structure.

14 years agoVarnish plugin: Apply the default setting to empty <Instance /> blocks.
Florian Forster [Sat, 12 Jun 2010 10:15:36 +0000 (12:15 +0200)]
Varnish plugin: Apply the default setting to empty <Instance /> blocks.

14 years ago- Varnish plugin : Added CollectTotals flag and monitors
Jérôme Renard [Sat, 12 Jun 2010 10:06:31 +0000 (12:06 +0200)]
- Varnish plugin : Added CollectTotals flag and monitors

14 years ago- s/monitor_/collect_/g
Jérôme Renard [Sat, 12 Jun 2010 09:19:36 +0000 (11:19 +0200)]
- s/monitor_/collect_/g

14 years ago- Added Florian in the author list
Jérôme Renard [Sat, 12 Jun 2010 06:17:14 +0000 (08:17 +0200)]
- Added Florian in the author list

14 years agoVarnish plugin: Use the correct data sets when submitting the values.
Florian Forster [Thu, 10 Jun 2010 14:18:50 +0000 (16:18 +0200)]
Varnish plugin: Use the correct data sets when submitting the values.

14 years agoVarnish plugin: Correctly dispatch gauge and derive data types.
Florian Forster [Thu, 10 Jun 2010 13:21:34 +0000 (15:21 +0200)]
Varnish plugin: Correctly dispatch gauge and derive data types.

14 years agoVarnish plugin: Use the more common "Collect" prefix for config options.
Florian Forster [Thu, 10 Jun 2010 12:42:40 +0000 (14:42 +0200)]
Varnish plugin: Use the more common "Collect" prefix for config options.

14 years ago- Varnish plugin : Enabled monitor_backend and monitor_shm by default
Jérôme Renard [Wed, 9 Jun 2010 13:06:49 +0000 (15:06 +0200)]
- Varnish plugin : Enabled monitor_backend and monitor_shm by default

14 years ago- Varnish plugin : removed extra space
Jérôme Renard [Wed, 9 Jun 2010 12:59:47 +0000 (14:59 +0200)]
- Varnish plugin : removed extra space