write_redis plugin: Add a new plugin writing collectd data to an instance of Redis.
collectd.conf(5): Improve the "Redis plugin" documentation a bit.
configure.in: Reorder the library checks alphabetically.
redis plugin: Simplify configuration handling.
Fix a number of minor bugs.
- The Port configuration option is a string, not a number. Fix
documentation.
- Fix a bad status assignement in port parser.
- Remove default node. Now node is mandatory to prevent
duplicates in tree.
- Update configuration example too.
- The Port configuration option is a string, not a number. Fix
documentation.
- Fix a bad status assignement in port parser.
- Remove default node. Now node is mandatory to prevent
duplicates in tree.
- Update configuration example too.
redis plugin: Use "sizeof" rather than repeating the size.
redis plugin: Whitespace fixes.
I've re-indented the entire plugin because indentation was all over the
place. Sorry, if this breaks any patches for you. I'm not usually a
friend of doing this, but I felt it'd be best to do this early on to
annoy the smallest possible number of people.
I've re-indented the entire plugin because indentation was all over the
place. Sorry, if this breaks any patches for you. I'm not usually a
friend of doing this, but I felt it'd be best to do this early on to
annoy the smallest possible number of people.
redis plugin: Fix typos preventing a successful build.
Add redis plugin.
This commit adds a new redis plugin, which connect to a number of redis
server and get information about their status, using the libcredis > 0.2.2
library. The plugin get the following information:
* bgsave_in_progress
* change_since_last_save
* connected_clients
* connected_slaves
* total_command_processed
* total_connection_received
* uptime_in_seconds
* used_memory
Here is an example of configuration file:
<Plugin redis>
<Node example>
Host "localhost"
Timeout 2000
</Node>
</Plugin>
And the output of rrdtool plugin must be something similar to this:
redis-example/bgsave_in_progress.rrd
redis-example/changes_since_last_save.rrd
redis-example/connected_clients.rrd
redis-example/connected_slaves.rrd
redis-example/total_commands_processed.rrd
redis-example/total_connections_received.rrd
redis-example/uptime_in_seconds.rrd
redis-example/used_memory.rrd
Enjoy! :)
This commit adds a new redis plugin, which connect to a number of redis
server and get information about their status, using the libcredis > 0.2.2
library. The plugin get the following information:
* bgsave_in_progress
* change_since_last_save
* connected_clients
* connected_slaves
* total_command_processed
* total_connection_received
* uptime_in_seconds
* used_memory
Here is an example of configuration file:
<Plugin redis>
<Node example>
Host "localhost"
Timeout 2000
</Node>
</Plugin>
And the output of rrdtool plugin must be something similar to this:
redis-example/bgsave_in_progress.rrd
redis-example/changes_since_last_save.rrd
redis-example/connected_clients.rrd
redis-example/connected_slaves.rrd
redis-example/total_commands_processed.rrd
redis-example/total_connections_received.rrd
redis-example/uptime_in_seconds.rrd
redis-example/used_memory.rrd
Enjoy! :)
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.
- 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