Florian Forster [Sat, 3 Jul 2010 12:02:15 +0000 (14:02 +0200)]
src/utils_cache.c: Resolve macros that are used only once.
Florian Forster [Sat, 3 Jul 2010 11:55:44 +0000 (13:55 +0200)]
src/utils_threshold.c: Replce some of the config functions by their generic version.
Florian Forster [Sat, 3 Jul 2010 11:54:48 +0000 (13:54 +0200)]
src/utils_threshold.c: Some (whitespace only) coding style changes.
Florian Forster [Sat, 3 Jul 2010 11:47:15 +0000 (13:47 +0200)]
src/utils_threshold.c: Add missing folding markers.
Florian Forster [Sat, 3 Jul 2010 09:46:58 +0000 (11:46 +0200)]
src/utils_threshold.c: Improve the replacement macros.
Florian Forster [Sat, 3 Jul 2010 09:44:44 +0000 (11:44 +0200)]
src/utils_{cache,threshold}.c: Add/update copyright information for Andrés.
Andres J. Diaz [Sun, 13 Jun 2010 13:19:01 +0000 (15:19 +0200)]
Add custom message for threshold and missings.
Add two new options in thresholds, the Message which can define a custom
message for thresholds and MissingMessage, which define a custom message for
missing interesting values related with that threshold.
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).
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.
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, 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.
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.
Florian Forster [Sun, 13 Jun 2010 13:45:52 +0000 (15:45 +0200)]
Merge branch 'jr/varnish'
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.
Florian Forster [Sun, 13 Jun 2010 13:35:27 +0000 (15:35 +0200)]
Merge remote branch 'jeromer/master' into jr/varnish
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.
Florian Forster [Sun, 13 Jun 2010 13:25:31 +0000 (15:25 +0200)]
src/configfile.[ch]: Implement "cf_util_get_flag".
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.
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.
Jérôme Renard [Sun, 13 Jun 2010 07:29:15 +0000 (09:29 +0200)]
- Varnish plugin : added CollectWorkers
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
Florian Forster [Sat, 12 Jun 2010 10:25:02 +0000 (12:25 +0200)]
AUTHORS: Add Jérôme.
Florian Forster [Sat, 12 Jun 2010 10:20:38 +0000 (12:20 +0200)]
Varnish plugin: Use "varnish_config_apply_default" to initialize the structure.
Florian Forster [Sat, 12 Jun 2010 10:15:36 +0000 (12:15 +0200)]
Varnish plugin: Apply the default setting to empty <Instance /> blocks.
Jérôme Renard [Sat, 12 Jun 2010 10:06:31 +0000 (12:06 +0200)]
- Varnish plugin : Added CollectTotals flag and monitors
Jérôme Renard [Sat, 12 Jun 2010 09:19:36 +0000 (11:19 +0200)]
- s/monitor_/collect_/g
Jérôme Renard [Sat, 12 Jun 2010 06:17:14 +0000 (08:17 +0200)]
- Added Florian in the author list
Florian Forster [Thu, 10 Jun 2010 14:18:50 +0000 (16:18 +0200)]
Varnish plugin: Use the correct data sets when submitting the values.
Florian Forster [Thu, 10 Jun 2010 13:21:34 +0000 (15:21 +0200)]
Varnish plugin: Correctly dispatch gauge and derive data types.
Florian Forster [Thu, 10 Jun 2010 12:42:40 +0000 (14:42 +0200)]
Varnish plugin: Use the more common "Collect" prefix for config options.
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
Jérôme Renard [Wed, 9 Jun 2010 12:59:47 +0000 (14:59 +0200)]
- Varnish plugin : removed extra space
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
Florian Forster [Wed, 9 Jun 2010 08:38:11 +0000 (10:38 +0200)]
contrib/GenericJMX.conf: Use the "jmx_memory" type.
Jérôme Renard [Tue, 8 Jun 2010 13:53:21 +0000 (15:53 +0200)]
src/collectd.conf.in: Updated configuration directives + doc
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 ;-)
Florian Forster [Mon, 7 Jun 2010 16:24:52 +0000 (18:24 +0200)]
Varnish plugin: Set the instance name as plugin instance.
Florian Forster [Mon, 7 Jun 2010 15:45:32 +0000 (17:45 +0200)]
Varnish plugin: Make it possible to configure multiple instances.
Florian Forster [Mon, 7 Jun 2010 14:38:12 +0000 (16:38 +0200)]
Varnish plugin: Use _Bool for true/false flags.
Florian Forster [Mon, 7 Jun 2010 14:31:08 +0000 (16:31 +0200)]
configure.in: Use pkg-config to check for libvarnishapi.
Jérôme Renard [Sun, 6 Jun 2010 07:23:25 +0000 (09:23 +0200)]
Varnish plugin: Added SM Monitor
Jérôme Renard [Sun, 6 Jun 2010 07:10:12 +0000 (09:10 +0200)]
Varnish plugin: Added SMS monitor
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
Jérôme Renard [Sun, 6 Jun 2010 06:50:33 +0000 (08:50 +0200)]
Varnish plugin: Added SMA monitor
Jérôme Renard [Sat, 5 Jun 2010 14:06:50 +0000 (16:06 +0200)]
Varnish plugin: Added more documentation
Jérôme Renard [Fri, 4 Jun 2010 17:01:03 +0000 (19:01 +0200)]
Varnish plugin: updated alignment for a better readability
Jérôme Renard [Fri, 4 Jun 2010 16:59:05 +0000 (18:59 +0200)]
Varnish plugin: Added SHM monitoring
Jérôme Renard [Fri, 4 Jun 2010 16:48:15 +0000 (18:48 +0200)]
Varnish plugin: Added list of fields to show what is monitored or not
Jérôme Renard [Fri, 4 Jun 2010 16:38:31 +0000 (18:38 +0200)]
Varnish plugin: Added HCB monitoring
Jérôme Renard [Fri, 4 Jun 2010 16:25:52 +0000 (18:25 +0200)]
Varnish plugin: Added 'fetch' monitoring
Jérôme Renard [Fri, 4 Jun 2010 16:12:54 +0000 (18:12 +0200)]
Varnish plugin: Added missing comments
Jérôme Renard [Fri, 4 Jun 2010 16:08:22 +0000 (18:08 +0200)]
Varnish plugin: Added backend monitoring
Jérôme Renard [Fri, 4 Jun 2010 14:17:33 +0000 (16:17 +0200)]
Varnish plugin: Add a new plugin for reading values from Varnish, a web proxy server.
Hi list,
I created a new plugin to monitor a Varnish [1] instance.
So far the plugin monitor statistics about cache (hit/misses) and
connections but could monitor more in the future.
The patch is attached to this message, it has been generated against
the master branch of my local collectd copy.
Any feedback welcome
Have a nice day :)
Best Regards
1. http://varnish-software.com/
--
Jérôme
Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
Timur Kirilichev [Fri, 7 May 2010 02:31:26 +0000 (06:31 +0400)]
collectd2html.pl: Further improvements to the XHTML support.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Max Henkel [Thu, 8 Apr 2010 10:06:29 +0000 (12:06 +0200)]
collectd2html.pl: Produce XHTML output.
… as requested in Debian bug #575029.
Signed-off-by: Sebastian Harl <tokkee@debian.org>
Yuri D'Elia [Fri, 18 Dec 2009 11:33:31 +0000 (12:33 +0100)]
collectd2html: Fixed recursive mode.
Also, improved default settings to match the collectd4 series.
Signed-off-by: Sebastian Harl <tokkee@debian.org>
Luke Heberling [Sun, 30 Aug 2009 19:41:13 +0000 (12:41 -0700)]
powerdns plugin: Fixed communication when talking to pdns 2.9.22.
powerdns version 2.9.22 (and above) require a newline at the end of
commands sent to the server.
Signed-off-by: Sebastian Harl <tokkee@debian.org>
Sebastian Harl [Thu, 3 Jun 2010 12:35:45 +0000 (14:35 +0200)]
collectd.conf.in: Added further sample config options.
Sebastian Harl [Thu, 3 Jun 2010 11:57:35 +0000 (13:57 +0200)]
collectd.conf.in: Added a sample config for the “modbus” plugin.
… copied from the plugin sources.
Florian Forster [Tue, 1 Jun 2010 14:20:16 +0000 (16:20 +0200)]
collectd.conf(5): Minor markup cleanup.
Florian Forster [Tue, 1 Jun 2010 14:17:47 +0000 (16:17 +0200)]
libvirt plugin: Use "sfree" rather than "free".
Florian Forster [Tue, 1 Jun 2010 14:17:31 +0000 (16:17 +0200)]
libvirt plugin: Don't copy a string if it is not necessary.
Ruben Kerkhof [Sun, 30 May 2010 12:57:18 +0000 (14:57 +0200)]
Add InterfaceFormat setting to libvirt plugin
Since the interface path changes between reboots of a
virtual machine, each reboot generates a new instance in collectd.
So let's introduce the InterfaceFormat setting
When set to 'address' it uses the mac address of
the interface instead of the path.
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Florian Forster [Wed, 19 May 2010 14:23:55 +0000 (16:23 +0200)]
collectd.conf(5): Added documentation for the pinba plugin.
Aurelien Reynaud [Wed, 12 May 2010 09:55:05 +0000 (11:55 +0200)]
snmp.c: compilation fixes for AIX
The C and C++ standards allows the character type char to be signed or
unsigned, depending on the platform and compiler. Most systems,
including x86 GNU/Linux and Microsoft Windows, use signed char, but
those based on PowerPC and ARM processors typically use unsigned char.
This patch fixes a "comparison is always true" warning on AIX (powerpc)
which leads the compilation to abort because of the -Werror flag.
Being unsigned by default, a char is always >0.
Signed-off-by: Aurelien Reynaud <collectd@wattapower.net>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Aurelien Reynaud [Wed, 12 May 2010 09:55:04 +0000 (11:55 +0200)]
processes.c: fix uninitialized variables warnings
Signed-off-by: Aurelien Reynaud <collectd@wattapower.net>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Johan Van den Brande [Wed, 19 May 2010 10:23:23 +0000 (12:23 +0200)]
Bugfix for libcollectdclient lcc_putval.
Hello,
I'm using collectd to monitor system and process parameters of our code under
test running on a cluster. The test processes communicate to collectd via the
unixsock plugin, but there was a small error in the client library which I had
to fix first.
The wire format of the putval command is missing a space behind the closing
double quote of the identifier. As I said, it is a small fix, but nevertheless
I attached the patch for client.c. The bug is present in 4.6 (that is the
version I'm using in production), but I fixed it against 4.10.0.
Cheers,
Johan
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Florian Forster [Wed, 19 May 2010 10:14:46 +0000 (12:14 +0200)]
snmp plugin: csnmp_value_list_to_value: Include the OID in the log message.
Florian Forster [Wed, 19 May 2010 09:47:45 +0000 (11:47 +0200)]
snmp plugin: Don't print a warning if the ASN type is "ASN_NULL".
Thanks to "Flyinvap" for pointing this out.
Florian Forster [Wed, 19 May 2010 09:30:42 +0000 (11:30 +0200)]
swap plugin: Add a missing "free" in an error case.
Also fixes a minor format string problem.
Aurélien Reynaud [Tue, 4 May 2010 13:05:13 +0000 (15:05 +0200)]
Add support for Solaris/HP-UX versions of swapctl in swap plugin
This patch adds support for the Solaris/HP-UX version of swapctl(),
which takes two arguments instead of three in the BSD version.
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Aurélien Reynaud [Tue, 4 May 2010 13:05:12 +0000 (15:05 +0200)]
Check for different versions of swapctl() in configure.in
The swapctl() function comes in two flavors. Depending on the OS,
it can take two or three arguments with the following prototypes:
swapctl (int cmd, void *arg, int misc); (BSD version)
or
swapctl (int cmd, void *arg); (HP-UX or Solaris version)
This patch adds support for detecting the right version of swapctl()
at configure time.
In addition to HAVE_SWAPCTL, HAVE_SWAPCTL_TWO_ARGS and/or
HAVE_SWAPCTL_THREE_ARGS are defined to reflect the result of the
check.
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Sven Trenkel [Wed, 19 May 2010 08:58:01 +0000 (10:58 +0200)]
Merge branch 'collectd-4.9' into collectd-4.10
Conflicts:
src/python.c
Florian Forster [Wed, 19 May 2010 08:47:58 +0000 (10:47 +0200)]
Merge remote branch 'origin/collectd-4.9' into collectd-4.9
Max Henkel [Tue, 4 May 2010 21:39:18 +0000 (23:39 +0200)]
configure.in: htonll check depends on linker
Fixing a cross-compile issue by depending only on a linker check.
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Sven Trenkel [Sat, 15 May 2010 20:36:25 +0000 (22:36 +0200)]
python: Fixed some memory leaks in the write and notification callbacks.
Thanks to Volkmar Uhlig for the hint.
Sven Trenkel [Mon, 3 May 2010 13:01:56 +0000 (15:01 +0200)]
python: Fixed a crash if the plugin was loaded but not configured.
Florian Forster [Mon, 3 May 2010 07:48:34 +0000 (09:48 +0200)]
Merge branch 'collectd-4.10'
Florian Forster [Mon, 3 May 2010 07:47:42 +0000 (09:47 +0200)]
src/Makefile.am: Fix building / packaging without the Pinba plugin.
Getting the dependency right on generated sources wasn't quite as easy as I
hoped.
Florian Forster [Mon, 3 May 2010 07:34:27 +0000 (09:34 +0200)]
collectd-python(5): Fix POD syntax error.
Florian Forster [Mon, 3 May 2010 07:25:04 +0000 (09:25 +0200)]
Merge branch 'collectd-4.10'
Florian Forster [Mon, 3 May 2010 07:23:55 +0000 (09:23 +0200)]
rrdtool plugin: Degrade a less than helpful warning to a debug message.
Florian Forster [Mon, 3 May 2010 07:22:39 +0000 (09:22 +0200)]
python plugin: Disable strict aliasing.
"Py_True" and "Py_False" have some weird implementation that GCC can't cope
with. Disable strict aliasing (and warnings relating to it) in order to avoid
those problems at the cost of optimization.
Florian Forster [Mon, 3 May 2010 07:21:45 +0000 (09:21 +0200)]
python plugin: Remove "const" of usage strings.
The struct member isn't const, resulting in a warning.
Florian Forster [Sat, 1 May 2010 14:14:48 +0000 (16:14 +0200)]
df plugin: Make the "ReportReserved" behavior the default behavior.
The "v5upgrade" target has been updated, too.
Florian Forster [Sat, 1 May 2010 13:49:30 +0000 (15:49 +0200)]
interface plugin: Set the plugin instance rather than the type instance.
This has been a long standing annoyance.
Florian Forster [Sat, 1 May 2010 13:43:17 +0000 (15:43 +0200)]
v5upgrade target: This new target can be used to fix some "legacy" identifiers …
… on the fly. Just put it into the pre-cache chain to fix up some of the
most common changes from 4.* to 5.*. This hopefully makes migration
easier.
Florian Forster [Sat, 1 May 2010 13:22:33 +0000 (15:22 +0200)]
FQDNLookup: Enable this option by default.