Florian Forster [Fri, 6 Aug 2010 12:59:56 +0000 (14:59 +0200)]
src/utils_cmd_putval.[ch]: Implement "create_putval".
Florian Forster [Fri, 6 Aug 2010 12:40:55 +0000 (14:40 +0200)]
write_http plugin: Move "wh_value_list_to_string" to src/common.[ch].
Florian Forster [Fri, 6 Aug 2010 07:04:24 +0000 (09:04 +0200)]
collectd-flush: Minor coding style changes.
Florian Forster [Fri, 6 Aug 2010 06:59:46 +0000 (08:59 +0200)]
collectd-flush: Add a missing "break" in a "switch" case.
Hakon-Dugstad.Johnsen@telenor.com [Thu, 5 Aug 2010 14:40:18 +0000 (16:40 +0200)]
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>
Hakon-Dugstad.Johnsen@telenor.com [Thu, 5 Aug 2010 14:37:45 +0000 (16:37 +0200)]
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>
Garret Heaton [Tue, 20 Jul 2010 01:56:31 +0000 (18:56 -0700)]
Fix incorrect error logging.
Was calling sys.stderror instead of sys.stderr.
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