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.)
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.)
Merge branch 'master' into sp/amqp
src/utils_cmd_putval.[ch]: Implement "create_putval".
write_http plugin: Move "wh_value_list_to_string" to src/common.[ch].
amqp plugin: Only accept the "Persistent" option in "Publish" blocks.
amqp plugin: Add a debug message.
amqp plugin: Enable the "StoreRates" option only when configuring a "Publish" block.
collectd-flush: Minor coding style changes.
collectd-flush: Add a missing "break" in a "switch" case.
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>
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>
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>
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>
amqp plugin: First step towards subscribing to data via AMQP.
amqp plugin: Use the "camqp" prefix for all functions.
The library uses the "amqp" prefix, so we should use something else.
The library uses the "amqp" prefix, so we should use something else.
amqp plugin: Implement publishing to multiple brokers.
amqp plugin: Chose (hopefully sane) default values for all config options.
src/collectd.conf.in: Add missing config options of the AMQP plugin.
amqp plugin: Added some comments. Rewrapped lines of the license header.
amqp plugin: Implement the "StoreRates" option.
amqp plugin: Put the connecting code into a separate function.
amqp plugin: Initialize the port number to 5672.
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.
Use "volatile" by default, but enable the user to switch to "persistent" if
it is important that no value is lost.
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.
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.
amqp plugin: Add error messages and give saner example config values.
src/collectd.conf.in: Add the AMQP plugin.
amqp plugin: Adapt to the new syntax of "format_json_value_list".
README: Add the amqp plugin and the librabbitmq dependency.
configure.in: Move the checks for librabbitmq …
… so the checks are roughly alphabetical. "Roughly", because the leading
"lib" is ignored when sorting.
… so the checks are roughly alphabetical. "Roughly", because the leading
"lib" is ignored when sorting.
amqp plugin: Use the global (and widely used) "sfree" macro …
… rather than the private "config_free" function.
… rather than the private "config_free" function.
amqp plugin: Use "service_name_to_port_number" to parse the "Port" config option.
amqp plugin: Explain numeric arguments to "amqp_login" and "amqp_basic_publish".
amqp plugin: Fix a typo.
src/Makefile.am: Fix librabbitmq CPP- and LD-flags.
First implentation of an amqp output plugin
It's ugly for now but it works.
It's ugly for now but it works.
Fix incorrect error logging.
Was calling sys.stderror instead of sys.stderr.
Was calling sys.stderror instead of sys.stderr.
README: Add the "varnish" plugin.
varnish plugin: Update the copyright and author information.
Merge branch 'collectd-4.10'
Bumped version to 4.10.1; Updated ChangeLog.
Merge branch 'collectd-4.9' into collectd-4.10
Conflicts:
ChangeLog
version-gen.sh
Conflicts:
ChangeLog
version-gen.sh
ChangeLog: Fix the release date for 4.9.3.
Bumped version to 4.9.3; Updated ChangeLog.
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).
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).
network plugin: Remove the "CacheFlush" config option.
df plugin: Remove the "ReportReserved" config option.
hddtemp plugin: Remove the "TranslateDevicename" config option.
v5upgrade target: Implement handling of the "mysql_qcache" and "mysql_threads" types.
v5upgrade target: Don't use "memcpy" to copy static strings.
mysql plugin: Remove the "mysql_threads" type.
mysql plugin: Remove the "mysql_qcache" type.
mysql plugin: Remove legacy config handling code.
contrib/exec-smartctl: Use the environment variables by default.
contrib/exec-smartctl: Print the "PUTVAL" command.
contrib/exec-nagios.px: Use the environment variables for defaults.
contrib/exec-nagios.px: Escape the hostname.
contrib/exec-munin.px: Use the environment variables for defaults.
contrib/exec-munin.px: Use the "PUTVAL" command explicitly.
collectd-exec(5): Document the removed backwards compatibility code.
exec plugin: Remove backwards compatibility code.
Merge remote branch 'mfournier/varnish-data-reorg'
Varnish plugin: renamed values to match configuration key names.
collectd-nagios: Implement the "-m" option (treat NaNs as critical).
Remove usage of obsoleted XSI extensions wrt. the "test" command.
Fix usage of Solaris /usr/bin/echo
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
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.
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.
df plugin: Report an error if "cu_mount_getlist" fails.
collection3: df_complex graph: Add "reserved" space.
collection3: Add Windows data sources to the "memory" graph.
collection3: Add graphs for "bitrate", "signal_power", "signal_quality", and "snr".
Varnish plugin: coding style consistency
Varnish plugin: more concise formatting of plugin instance.
Merge remote branch 'trenkel/collectd-4.10' into collectd-4.10
Varnish plugin: add a default instance name if none defined in config.
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
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
Varnish plugin: fixed missing dataset error.
src/common.h: Add some documentation for "strtoderive".
swap plugin: Use "strtoderive" to parse strings.
bindings/java/Makefile.am: Fix rebuilding of Java plugins.
GenericJMX plugin: Implement the "InstancePrefix" option in "Connection" blocks.
Merge remote branch 'jeromer/master'
dns plugin: Improve / remove error and debug messages.
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.
PyObject_New should not be used.
This should fix a compile problem with some versions of Python.
- Varnish plugin : added pod documentation
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.