collectd.git
13 years agoWPAR plugin: Refactored read and init callbacks. ms/wpar
Florian Forster [Sat, 30 Apr 2011 01:08:43 +0000 (18:08 -0700)]
WPAR plugin: Refactored read and init callbacks.

* The CPU information has been coverted to derive.
* The memory and cpu/load acquiring has been broken out of the main read
  method.
* The plugin will now keep the memory is acquired last time around for the next
  call to read(). It is cleaned up in the new shutdown() function. This should
  minimize the number of calls to realloc().

13 years agoAUTHORS, README: Add the WPAR plugin.
Florian Forster [Sat, 30 Apr 2011 01:03:36 +0000 (18:03 -0700)]
AUTHORS, README: Add the WPAR plugin.

13 years agowpar plugin: Fix copy'n'paste errors.
Manuel Luis Sanmartín Rozada [Fri, 3 Sep 2010 09:26:06 +0000 (11:26 +0200)]
wpar plugin: Fix copy'n'paste errors.

13 years agocpu plugin: In cpu.c the variable temp is not used
Manuel Luis Sanmartín Rozada [Fri, 3 Sep 2010 09:23:17 +0000 (11:23 +0200)]
cpu plugin: In cpu.c the variable temp is not used

cc1: warnings being treated as errors
cpu.c: In function 'cpu_read':
cpu.c:566: warning: unused variable 'temp'

13 years agocpu plugin: Refactor the AIX code. Handle increasing / decreasing number of CPUs...
Florian Forster [Wed, 4 Aug 2010 15:24:23 +0000 (17:24 +0200)]
cpu plugin: Refactor the AIX code. Handle increasing / decreasing number of CPUs better.

13 years agowpar plugin: Coding style fixes.
Florian Forster [Wed, 4 Aug 2010 14:34:22 +0000 (16:34 +0200)]
wpar plugin: Coding style fixes.

Mostly breaking long lines and adding comments to arguments of functions.

13 years agowpar plugin: Add folding markers.
Florian Forster [Wed, 4 Aug 2010 14:05:12 +0000 (16:05 +0200)]
wpar plugin: Add folding markers.

13 years agoaix wpar: collectd.conf.in
Manuel Luis Sanmartín Rozada [Tue, 20 Jul 2010 16:56:30 +0000 (18:56 +0200)]
aix wpar: collectd.conf.in

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
13 years agonew plugin: AIX WPAR
Manuel Luis Sanmartín Rozada [Tue, 20 Jul 2010 16:53:11 +0000 (18:53 +0200)]
new plugin: AIX WPAR

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
13 years agoAIX: Detect offline cpus
Manuel Luis Sanmartín Rozada [Tue, 20 Jul 2010 16:25:24 +0000 (18:25 +0200)]
AIX: Detect offline cpus

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
13 years agoAIX: Change processor loop from index to pointers
Manuel Luis Sanmartín Rozada [Tue, 20 Jul 2010 16:19:54 +0000 (18:19 +0200)]
AIX: Change processor loop from index to pointers

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
13 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.

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

13 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.

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

13 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.

13 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.

13 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

13 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.

13 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.

13 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).

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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'

13 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.

13 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).

13 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.

13 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>
13 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.

13 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.

13 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.

13 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.

13 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".

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

13 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.

13 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

13 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.

13 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

13 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.

13 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".

13 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.

13 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.

13 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.

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

13 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.

13 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.

13 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.

13 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

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

13 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

13 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.

13 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.

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

13 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.

13 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

13 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.

13 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".

13 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.

13 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.

13 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

13 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

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

13 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.

13 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.

13 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

13 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

13 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

13 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.

13 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.

13 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.

13 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

13 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

13 years agoMerge remote branch 'tokkee/sh/collectd-4.9' into collectd-4.9
Florian Forster [Wed, 9 Jun 2010 08:38:55 +0000 (10:38 +0200)]
Merge remote branch 'tokkee/sh/collectd-4.9' into collectd-4.9

13 years agocontrib/GenericJMX.conf: Use the "jmx_memory" type.
Florian Forster [Wed, 9 Jun 2010 08:38:11 +0000 (10:38 +0200)]
contrib/GenericJMX.conf: Use the "jmx_memory" type.

13 years agosrc/collectd.conf.in: Updated configuration directives + doc
Jérôme Renard [Tue, 8 Jun 2010 13:53:21 +0000 (15:53 +0200)]
src/collectd.conf.in: Updated configuration directives + doc

13 years agocollectd.conf(5): Fixed some typos.
Sebastian Harl [Mon, 7 Jun 2010 22:55:32 +0000 (00:55 +0200)]
collectd.conf(5): Fixed some typos.

Thanks to lintian for reporting one of them ;-)

13 years agoVarnish plugin: Set the instance name as plugin instance.
Florian Forster [Mon, 7 Jun 2010 16:24:52 +0000 (18:24 +0200)]
Varnish plugin: Set the instance name as plugin instance.

13 years agoVarnish plugin: Make it possible to configure multiple instances.
Florian Forster [Mon, 7 Jun 2010 15:45:32 +0000 (17:45 +0200)]
Varnish plugin: Make it possible to configure multiple instances.

13 years agoVarnish plugin: Use _Bool for true/false flags.
Florian Forster [Mon, 7 Jun 2010 14:38:12 +0000 (16:38 +0200)]
Varnish plugin: Use _Bool for true/false flags.

13 years agoconfigure.in: Use pkg-config to check for libvarnishapi.
Florian Forster [Mon, 7 Jun 2010 14:31:08 +0000 (16:31 +0200)]
configure.in: Use pkg-config to check for libvarnishapi.

13 years agoVarnish plugin: Added SM Monitor
Jérôme Renard [Sun, 6 Jun 2010 07:23:25 +0000 (09:23 +0200)]
Varnish plugin: Added SM Monitor

13 years agoVarnish plugin: Added SMS monitor
Jérôme Renard [Sun, 6 Jun 2010 07:10:12 +0000 (09:10 +0200)]
Varnish plugin: Added SMS monitor

13 years agoVarnish plugin: Added a missing 0 in USER_CONFIG_INIT
Jérôme Renard [Sun, 6 Jun 2010 07:06:21 +0000 (09:06 +0200)]
Varnish plugin: Added a missing 0 in USER_CONFIG_INIT

13 years agoVarnish plugin: Added SMA monitor
Jérôme Renard [Sun, 6 Jun 2010 06:50:33 +0000 (08:50 +0200)]
Varnish plugin: Added SMA monitor

13 years agoVarnish plugin: Added more documentation
Jérôme Renard [Sat, 5 Jun 2010 14:06:50 +0000 (16:06 +0200)]
Varnish plugin: Added more documentation

13 years agoVarnish plugin: updated alignment for a better readability
Jérôme Renard [Fri, 4 Jun 2010 17:01:03 +0000 (19:01 +0200)]
Varnish plugin: updated alignment for a better readability