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>
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.
- 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>