dns plugin: Improve / remove error and debug messages.
Merge branch 'collectd-4.10'
Merge branch 'collectd-4.9' into collectd-4.10
configure.in: Update to POSIX 2008 standard.
When using --enable-standards, request the newest edition of POSIX and
X/Open.
When using --enable-standards, request the newest edition of POSIX and
X/Open.
bind plugin: Fix building with --enable-standards.
Merge branch 'jr/varnish'
Varnish plugin: Use DERIVE data sources for (most of) the worker thread statistics.
Merge remote branch 'jeromer/master' into jr/varnish
src/utils_threshold.[ch]: Use "cf_util_get_flag" for config handling.
src/configfile.[ch]: Implement "cf_util_get_flag".
Complete the collectd.conf man page.
Add explanations for some parameters in thresholds configuration, link
Hysteresis, Hits or Interesting flags.
Add explanations for some parameters in thresholds configuration, link
Hysteresis, Hits or Interesting flags.
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.
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.
- Varnish plugin : added CollectWorkers
- Varnish plugin : removed documentation in collect.conf since it is now
in the Wiki
in the Wiki
AUTHORS: Add Jérôme.
Varnish plugin: Use "varnish_config_apply_default" to initialize the structure.
Varnish plugin: Apply the default setting to empty <Instance /> blocks.
- Varnish plugin : Added CollectTotals flag and monitors
- s/monitor_/collect_/g
- Added Florian in the author list
Varnish plugin: Use the correct data sets when submitting the values.
Varnish plugin: Correctly dispatch gauge and derive data types.
Varnish plugin: Use the more common "Collect" prefix for config options.
- Varnish plugin : Enabled monitor_backend and monitor_shm by default
- Varnish plugin : removed extra space
Merge remote branch 'tokkee/sh/collectd-4.9' into collectd-4.9
contrib/GenericJMX.conf: Use the "jmx_memory" type.
src/collectd.conf.in: Updated configuration directives + doc
collectd.conf(5): Fixed some typos.
Thanks to lintian for reporting one of them ;-)
Thanks to lintian for reporting one of them ;-)
Varnish plugin: Set the instance name as plugin instance.
Varnish plugin: Make it possible to configure multiple instances.
Varnish plugin: Use _Bool for true/false flags.
configure.in: Use pkg-config to check for libvarnishapi.
Varnish plugin: Added SM Monitor
Varnish plugin: Added SMS monitor
Varnish plugin: Added a missing 0 in USER_CONFIG_INIT
Varnish plugin: Added SMA monitor
Varnish plugin: Added more documentation
Varnish plugin: updated alignment for a better readability
Varnish plugin: Added SHM monitoring
Varnish plugin: Added list of fields to show what is monitored or not
Varnish plugin: Added HCB monitoring
Varnish plugin: Added 'fetch' monitoring
Varnish plugin: Added missing comments
Varnish plugin: Added backend monitoring
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>
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>
collectd2html.pl: Further improvements to the XHTML support.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Sebastian Harl <sh@tokkee.org>
collectd2html.pl: Produce XHTML output.
… as requested in Debian bug #575029.
Signed-off-by: Sebastian Harl <tokkee@debian.org>
… as requested in Debian bug #575029.
Signed-off-by: Sebastian Harl <tokkee@debian.org>
collectd2html: Fixed recursive mode.
Also, improved default settings to match the collectd4 series.
Signed-off-by: Sebastian Harl <tokkee@debian.org>
Also, improved default settings to match the collectd4 series.
Signed-off-by: Sebastian Harl <tokkee@debian.org>
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>
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>
collectd.conf.in: Added further sample config options.
collectd.conf.in: Added a sample config for the “modbus” plugin.
… copied from the plugin sources.
… copied from the plugin sources.
collectd.conf(5): Minor markup cleanup.
libvirt plugin: Use "sfree" rather than "free".
libvirt plugin: Don't copy a string if it is not necessary.
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>
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>
collectd.conf(5): Added documentation for the pinba plugin.
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>
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>
processes.c: fix uninitialized variables warnings
Signed-off-by: Aurelien Reynaud <collectd@wattapower.net>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Signed-off-by: Aurelien Reynaud <collectd@wattapower.net>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
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>
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>
snmp plugin: csnmp_value_list_to_value: Include the OID in the log message.
snmp plugin: Don't print a warning if the ASN type is "ASN_NULL".
Thanks to "Flyinvap" for pointing this out.
Thanks to "Flyinvap" for pointing this out.
swap plugin: Add a missing "free" in an error case.
Also fixes a minor format string problem.
Also fixes a minor format string problem.
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>
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>
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>
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>
Merge branch 'collectd-4.9' into collectd-4.10
Conflicts:
src/python.c
Conflicts:
src/python.c
Merge remote branch 'origin/collectd-4.9' into collectd-4.9
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>
Fixing a cross-compile issue by depending only on a linker check.
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
python: Fixed some memory leaks in the write and notification callbacks.
Thanks to Volkmar Uhlig for the hint.
Thanks to Volkmar Uhlig for the hint.
python: Fixed a crash if the plugin was loaded but not configured.
Merge branch 'collectd-4.10'
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.
Getting the dependency right on generated sources wasn't quite as easy as I
hoped.
collectd-python(5): Fix POD syntax error.
Merge branch 'collectd-4.10'
rrdtool plugin: Degrade a less than helpful warning to a debug message.
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.
"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.
python plugin: Remove "const" of usage strings.
The struct member isn't const, resulting in a warning.
The struct member isn't const, resulting in a warning.
df plugin: Make the "ReportReserved" behavior the default behavior.
The "v5upgrade" target has been updated, too.
The "v5upgrade" target has been updated, too.
interface plugin: Set the plugin instance rather than the type instance.
This has been a long standing annoyance.
This has been a long standing annoyance.
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.
… 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.
FQDNLookup: Enable this option by default.
ChangeLog: Add attribution for the Pinba plugin.
src/Makefile.am: Fix build-dependencies for the pinba plugin.
Using BUILT_SOURCES, pinba.pb-c.[ch] are built *before* the regular
build step.
Using BUILT_SOURCES, pinba.pb-c.[ch] are built *before* the regular
build step.
version-gen.sh: Bump version to 4.10.0.
Merge remote branch 'powdahound/master'
Merge branch 'collectd-4.9'
Merge branch 'collectd-4.8' into collectd-4.9
ChangeLog: Add the pinba plugin.
README: Added the pinba plugin and its dependency.
AUTHORS: Added "Phoenix Kayo".
Merge branch 'ka/pinba'
ChangeLog: Updated for version 4.10.0.
routeros plugin: Removed some "FIXME"s that no longer need fixing.
rrdcached.c needs to include rrd.h
Build system: Check for "strtok_r" availability with "-Wall -Werror" when using GCC.
Previously, the check was done without "-Werror" which resulted in a
warning and success. When the daemon was later built with "-Werror" set,
that warning would result in an error and abort the build.
Thanks to Aurélien Reynaud for reporting the problem.
Previously, the check was done without "-Werror" which resulted in a
warning and success. When the daemon was later built with "-Werror" set,
that warning would result in an error and abort the build.
Thanks to Aurélien Reynaud for reporting the problem.
Merge branch 'collectd-4.9'
Conflicts:
configure.in
Conflicts:
configure.in
Merge branch 'collectd-4.8' into collectd-4.9
configure.in: Put conditionals around <inttypes.h>, too, for consistency's sake.
Solaris 8 fixes: Check for <stdint.h> before inclusion.