Florian Forster [Wed, 4 Aug 2010 12:43:38 +0000 (14:43 +0200)]
redis plugin: Use "sizeof" rather than repeating the size.
Florian Forster [Wed, 4 Aug 2010 09:49:06 +0000 (11:49 +0200)]
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.
Florian Forster [Wed, 4 Aug 2010 09:36:04 +0000 (11:36 +0200)]
redis plugin: Fix typos preventing a successful build.
Andres J. Diaz [Fri, 30 Jul 2010 14:06:48 +0000 (16:06 +0200)]
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! :)
Florian Forster [Tue, 13 Jul 2010 10:09:05 +0000 (12:09 +0200)]
README: Add the "varnish" plugin.
Florian Forster [Tue, 13 Jul 2010 09:50:44 +0000 (11:50 +0200)]
varnish plugin: Update the copyright and author information.
Florian Forster [Fri, 9 Jul 2010 10:05:32 +0000 (12:05 +0200)]
Merge branch 'collectd-4.10'
Florian Forster [Fri, 9 Jul 2010 10:01:28 +0000 (12:01 +0200)]
Bumped version to 4.10.1; Updated ChangeLog.
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.
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
Florian Forster [Fri, 9 Jul 2010 09:47:07 +0000 (11:47 +0200)]
ChangeLog: Fix the release date for 4.9.3.
Florian Forster [Fri, 9 Jul 2010 09:39:08 +0000 (11:39 +0200)]
Bumped version to 4.9.3; Updated ChangeLog.
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).
Florian Forster [Mon, 5 Jul 2010 18:09:04 +0000 (20:09 +0200)]
network plugin: Remove the "CacheFlush" config option.
Florian Forster [Mon, 5 Jul 2010 18:08:04 +0000 (20:08 +0200)]
df plugin: Remove the "ReportReserved" config option.
Florian Forster [Mon, 5 Jul 2010 09:26:13 +0000 (11:26 +0200)]
hddtemp plugin: Remove the "TranslateDevicename" config option.
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.
Florian Forster [Mon, 5 Jul 2010 08:38:35 +0000 (10:38 +0200)]
v5upgrade target: Don't use "memcpy" to copy static strings.
Florian Forster [Mon, 5 Jul 2010 08:27:46 +0000 (10:27 +0200)]
mysql plugin: Remove the "mysql_threads" type.
Florian Forster [Mon, 5 Jul 2010 08:24:01 +0000 (10:24 +0200)]
mysql plugin: Remove the "mysql_qcache" type.
Florian Forster [Mon, 5 Jul 2010 08:12:32 +0000 (10:12 +0200)]
mysql plugin: Remove legacy config handling code.
Florian Forster [Mon, 5 Jul 2010 07:52:20 +0000 (09:52 +0200)]
contrib/exec-smartctl: Use the environment variables by default.
Florian Forster [Mon, 5 Jul 2010 07:51:15 +0000 (09:51 +0200)]
contrib/exec-smartctl: Print the "PUTVAL" command.
Florian Forster [Mon, 5 Jul 2010 07:45:46 +0000 (09:45 +0200)]
contrib/exec-nagios.px: Use the environment variables for defaults.
Florian Forster [Mon, 5 Jul 2010 07:45:19 +0000 (09:45 +0200)]
contrib/exec-nagios.px: Escape the hostname.
Florian Forster [Mon, 5 Jul 2010 07:40:55 +0000 (09:40 +0200)]
contrib/exec-munin.px: Use the environment variables for defaults.
Florian Forster [Mon, 5 Jul 2010 07:40:33 +0000 (09:40 +0200)]
contrib/exec-munin.px: Use the "PUTVAL" command explicitly.
Florian Forster [Mon, 5 Jul 2010 07:34:13 +0000 (09:34 +0200)]
collectd-exec(5): Document the removed backwards compatibility code.
Florian Forster [Mon, 5 Jul 2010 07:26:44 +0000 (09:26 +0200)]
exec plugin: Remove backwards compatibility code.
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).
Florian Forster [Mon, 28 Jun 2010 15:52:19 +0000 (17:52 +0200)]
Remove usage of obsoleted XSI extensions wrt. the "test" command.
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>
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.
Florian Forster [Mon, 28 Jun 2010 07:25:58 +0000 (09:25 +0200)]
df plugin: Report an error if "cu_mount_getlist" fails.
Florian Forster [Thu, 24 Jun 2010 14:08:43 +0000 (16:08 +0200)]
collection3: df_complex graph: Add "reserved" space.
Florian Forster [Thu, 24 Jun 2010 14:05:53 +0000 (16:05 +0200)]
collection3: Add Windows data sources to the "memory" graph.
Florian Forster [Thu, 24 Jun 2010 14:05:21 +0000 (16:05 +0200)]
collection3: Add graphs for "bitrate", "signal_power", "signal_quality", and "snr".
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.
Florian Forster [Sun, 20 Jun 2010 16:02:39 +0000 (18:02 +0200)]
Merge remote branch 'trenkel/collectd-4.10' into collectd-4.10
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, 9 Jun 2010 11:10:52 +0000 (13:10 +0200)]
src/common.h: Add some documentation for "strtoderive".
Florian Forster [Wed, 9 Jun 2010 11:10:18 +0000 (13:10 +0200)]
swap plugin: Use "strtoderive" to parse strings.
Florian Forster [Wed, 16 Jun 2010 13:36:44 +0000 (15:36 +0200)]
bindings/java/Makefile.am: Fix rebuilding of Java plugins.
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.
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.
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>