Florian Forster [Wed, 20 Jan 2010 16:42:52 +0000 (17:42 +0100)]
swap plugin: Remove trailing whitespace.
Lorin Scraba [Tue, 19 Jan 2010 23:22:32 +0000 (15:22 -0800)]
swap plugin - swap in/out does not work for kernels <2.6
It works on RedHat9 and 6 (don't ask). A more gracefull solution is
having a configuration option for choosing /proc/<foo> format I
suppose...
Hope it helps some sysadmins like me that are forced to maintained
anqituities in production.
Cheers
From
1da38c6d515f7fa4599b7b08e1284fb2ac9a504a Mon Sep 17 00:00:00 2001
From: Lorin Scraba <lorin@si-bemol.ro>
Date: Tue, 19 Jan 2010 15:16:29 -0800
Subject: [PATCH] swap plugin - swapin/out fix for older kernels - <2.6
Signed-off-by: Lorin Scraba <lorin@si-bemol.ro>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Florian Forster [Tue, 19 Jan 2010 07:22:56 +0000 (08:22 +0100)]
src/collectd.c: Include the plugin directory in the usage output.
Florian Forster [Tue, 19 Jan 2010 07:17:47 +0000 (08:17 +0100)]
collectd.conf.in: Add the cURL-XML plugin.
Florian Forster [Wed, 13 Jan 2010 15:16:28 +0000 (16:16 +0100)]
Merge branch 'ag/curl_xml'
Florian Forster [Wed, 13 Jan 2010 14:50:23 +0000 (15:50 +0100)]
collectd.conf(5): Document the cURL-XML plugin.
Florian Forster [Wed, 13 Jan 2010 13:05:30 +0000 (14:05 +0100)]
README: Add the curl_xml plugin.
Amit Gupta [Wed, 13 Jan 2010 12:52:56 +0000 (13:52 +0100)]
curl_xml plugin: Replace the AVL-tree with a linked list.
This makes iterating over all elements more efficient. The CX_KEY_MAGIC hack is
also removed. Last but not least, “plugin_get_ds” is now called only once.
Amit Gupta [Wed, 13 Jan 2010 11:50:04 +0000 (12:50 +0100)]
curl_xml plugin: Rename "Instance" and "Values" to "*From" for consistency.
Florian Forster [Wed, 13 Jan 2010 11:14:02 +0000 (12:14 +0100)]
Merge commit 'origin/ff/routeros'
Florian Forster [Wed, 13 Jan 2010 11:11:28 +0000 (12:11 +0100)]
Merge branch 'collectd-4.9'
Florian Forster [Wed, 13 Jan 2010 11:11:20 +0000 (12:11 +0100)]
Merge branch 'collectd-4.8' into collectd-4.9
Florian Forster [Wed, 13 Jan 2010 11:10:20 +0000 (12:10 +0100)]
Merge branch 'collectd-4.7' into collectd-4.8
Florian Forster [Mon, 11 Jan 2010 22:18:27 +0000 (23:18 +0100)]
bindings/perl/lib/Collectd.pm: Add forgotten "config" callback type.
Thanks to "ntenev" for reporting the issue.
Florian Forster [Mon, 11 Jan 2010 15:52:48 +0000 (16:52 +0100)]
curl_xml plugin: Don't use a hyphen to separate instance prefix and value.
This way the plugin behaves more like the SNMP plugin.
Florian Forster [Mon, 11 Jan 2010 15:52:25 +0000 (16:52 +0100)]
curl_xml plugin: Documented the type-instance behavior a bit better.
Florian Forster [Mon, 11 Jan 2010 15:39:46 +0000 (16:39 +0100)]
curl_xml plugin: Break up “cx_submit_xpath_values” into smaller functions.
Florian Forster [Mon, 11 Jan 2010 15:12:52 +0000 (16:12 +0100)]
curl_xml plugin: Move the setting of type_instance to a separate function.
Florian Forster [Mon, 11 Jan 2010 14:46:30 +0000 (15:46 +0100)]
curl_xml plugin: Make absolutely certain “instance_node_obj” is freed.
Florian Forster [Mon, 11 Jan 2010 14:46:07 +0000 (15:46 +0100)]
curl_xml plugin: Check the return value of “cx_evaluate_xpath”.
Florian Forster [Mon, 11 Jan 2010 14:45:09 +0000 (15:45 +0100)]
curl_xml plugin: Change C++-style comments into C-style comments.
Florian Forster [Mon, 11 Jan 2010 14:44:14 +0000 (15:44 +0100)]
curl_xml plugin: Clear type_instance if it is not set.
Florian Forster [Mon, 11 Jan 2010 14:21:59 +0000 (15:21 +0100)]
curl_xml plugin: Adapted copyright for 2010.
Florian Forster [Mon, 11 Jan 2010 14:21:28 +0000 (15:21 +0100)]
AUTHORS: Added curl_xml plugin to Amit.
Florian Forster [Mon, 11 Jan 2010 14:14:02 +0000 (15:14 +0100)]
curl_xml plugin: Replace cx_config_add_string and cx_config_set_boolean by their global versions.
Florian Forster [Mon, 11 Jan 2010 14:06:57 +0000 (15:06 +0100)]
curl_xml plugin: Reorder functions and remove forward declarations.
Amit Gupta [Mon, 11 Jan 2010 13:58:17 +0000 (14:58 +0100)]
curl_xml plugin: New plugin to fetch and parse XML files.
Do find the curl_xml.c source file attached. The implementation is done as I
suggested in my previous mail.
The supported configuration is as follows:
<xpath "/path/to/node(s)">
InstancePrefix "test" # optional
Instance "path/to/textnode" # optional if base xpath expression returns
single result i.e one matching node
Values "path/to/textnode1" "path/to/textnode2"
Type "magic_level"
</xpath>
I have done some level of testing to make sure plugin is working. If someone
is interested in testing/trying the plugin, do the following:
- apply the attached patch on the 4.9.0 branch
- copy the attached curl_xml.c to the collectd-4.9.0/src
- run autconf to generate new configure script containing changes to build
curl_xml plugin
- build and install collectd (make && make install)
Do let me know if anyone has problem building/running the plugin.
Any comments/suggestions are welcome.
Regards
Amit
Sven Trenkel [Tue, 5 Jan 2010 18:02:07 +0000 (19:02 +0100)]
python: Fixed configure script for python3.
Florian Forster [Tue, 5 Jan 2010 12:10:50 +0000 (13:10 +0100)]
src/collectd.conf.in: Add the new options of the routeros plugin.
Florian Forster [Tue, 5 Jan 2010 12:10:29 +0000 (13:10 +0100)]
collectd.conf(5): Document the new config options of the routeros plugin.
Florian Forster [Tue, 5 Jan 2010 11:48:34 +0000 (12:48 +0100)]
Merge branch 'master' into ff/routeros
Florian Forster [Tue, 5 Jan 2010 10:55:28 +0000 (11:55 +0100)]
Merge commit 'trenkel/st/python'
Conflicts:
src/python.c
Florian Forster [Tue, 5 Jan 2010 10:54:52 +0000 (11:54 +0100)]
Merge branch 'collectd-4.9'
Florian Forster [Tue, 5 Jan 2010 10:50:22 +0000 (11:50 +0100)]
Merge commit 'tokkee/sh/collectd-4.9' into collectd-4.9
Florian Forster [Tue, 5 Jan 2010 10:48:07 +0000 (11:48 +0100)]
Merge branch 'collectd-4.9'
Florian Forster [Tue, 5 Jan 2010 10:47:44 +0000 (11:47 +0100)]
Merge branch 'collectd-4.8' into collectd-4.9
Sven Trenkel [Sun, 3 Jan 2010 03:11:45 +0000 (04:11 +0100)]
python: Documenting python3 changes.
Sven Trenkel [Sat, 2 Jan 2010 19:51:22 +0000 (20:51 +0100)]
python: Restored python2 compatibility.
Sven Trenkel [Fri, 1 Jan 2010 21:16:51 +0000 (22:16 +0100)]
python: Added notification repr. Python3 support completed.
Sven Trenkel [Fri, 1 Jan 2010 16:03:04 +0000 (17:03 +0100)]
python: Fixed more unicode related problems.
Sven Trenkel [Fri, 1 Jan 2010 02:43:50 +0000 (03:43 +0100)]
python: repr works for Values again.
Sven Trenkel [Sun, 27 Dec 2009 00:13:47 +0000 (01:13 +0100)]
python: Made the plugin unicode save.
Sven Trenkel [Fri, 25 Dec 2009 19:33:49 +0000 (20:33 +0100)]
Better and unicode compatible repr for PluginData.
Sven Trenkel [Tue, 22 Dec 2009 01:30:40 +0000 (02:30 +0100)]
Fixed string repr for config nodes.
Sven Trenkel [Tue, 22 Dec 2009 01:20:42 +0000 (02:20 +0100)]
Added macro CPY_SUBSTITUTE.
Sven Trenkel [Fri, 18 Dec 2009 01:02:47 +0000 (02:02 +0100)]
Config object repr string is back.
Sven Trenkel [Mon, 14 Dec 2009 18:40:26 +0000 (19:40 +0100)]
Somewhat workable python3 support. This breaks python2 support and the __repr__ functions.
Florian Forster [Mon, 4 Jan 2010 22:52:54 +0000 (23:52 +0100)]
rrdtool plugin: Correctly initialize the ->random_variation member.
This lead to huge negative values in that member, causing values to be only
written to upon exit. D'oh!
plazmus [Thu, 31 Dec 2009 09:00:25 +0000 (10:00 +0100)]
apache plugin: Fix a segmentation fault in the config handling of VerifyPeer / VerifyHost.
Hello,
Today I upgraded a machine from 4.5.2 to 4.9.0. Everything went fine, but
the new version segfaults immediately at startup. With some help from gdb
I tracked down the problem to the apache module. It will occur if one
tries to use the VerifyPeer/VerifyHost options (I guess few people use
these as I don't see complaints?)
When the plugin attempts to read the value of a boolean option, instead of
using the pre-parsed int value, it misdetects the type of the option
(seems a mechanical mistake) and tries to use the string pointer, which is
actually NULL.
I'm sending a patch, it's actually shorter than the description ;)
Thanks to all developers and maintainers of collectd for working on it.
Have a nice holidays.
Sebastian Harl [Sun, 27 Dec 2009 01:34:56 +0000 (02:34 +0100)]
Monitorus.pm: Put the plugin into the "Collectd::Plugins" namespace.
… rather than "Collectd::Plugin".
Sebastian Harl [Sun, 27 Dec 2009 01:34:10 +0000 (02:34 +0100)]
bindings/Makefile: Added Monitorus.pm to EXTRA_DIST.
Sebastian Harl [Sun, 27 Dec 2009 01:00:44 +0000 (02:00 +0100)]
src/collectd.conf: Added missing plugins and config options.
Sebastian Harl [Sun, 27 Dec 2009 00:14:29 +0000 (01:14 +0100)]
collectd.conf: Added "LoadPlugin Monitorus/OpenVZ" in the "perl" config.
Sebastian Harl [Sat, 26 Dec 2009 23:59:26 +0000 (00:59 +0100)]
README: Added missing plugins.
Florian Forster [Fri, 25 Dec 2009 22:53:11 +0000 (23:53 +0100)]
src/collectd.conf.in: Added an example config for the python plugin.
Florian Forster [Fri, 25 Dec 2009 22:52:56 +0000 (23:52 +0100)]
src/collectd.conf.in: Added an example config for the netapp plugin.
Florian Forster [Fri, 25 Dec 2009 22:47:20 +0000 (23:47 +0100)]
src/collectd.conf.in: Add example config for the routeros plugin.
Florian Forster [Fri, 25 Dec 2009 22:20:39 +0000 (23:20 +0100)]
collectd.conf(5): Document the “IncludeHidden” option of the filecount plugin.
Florian Forster [Fri, 25 Dec 2009 10:13:55 +0000 (11:13 +0100)]
filecount plugin: Use the ?:-operator for the hidden argument.
Florian Forster [Fri, 25 Dec 2009 10:13:19 +0000 (11:13 +0100)]
filecount plugin: Simplify config handling.
Florian Forster [Fri, 25 Dec 2009 10:11:49 +0000 (11:11 +0100)]
filecount plugin: Fix bitfield and default behavior.
Vaclav Malek [Fri, 25 Dec 2009 10:06:54 +0000 (11:06 +0100)]
filecount plugin: Make it possible to include hidden files and directories.
Vaclav Malek [Fri, 25 Dec 2009 09:50:37 +0000 (10:50 +0100)]
src/common.[ch]: walk_directory: Add "include hidden" argument.
Florian Forster [Thu, 24 Dec 2009 10:58:45 +0000 (11:58 +0100)]
Merge branch 'collectd-4.9' into ff/routeros
Conflicts:
src/routeros.c
Florian Forster [Wed, 23 Dec 2009 17:49:28 +0000 (18:49 +0100)]
routeros plugin: Use the node name for the "host" field.
Using hostname_g doesn't make much sense when you can define multiple routers,
so this is a bug because it doesn't allow specifying multiple routers as documented.
Florian Forster [Wed, 23 Dec 2009 17:25:32 +0000 (18:25 +0100)]
routeros plugin: Add support for the "system resource" high-level interface.
It returns such interesting information as CPU "load", memory and disk space
used and number of bad blocks.
Florian Forster [Wed, 23 Dec 2009 11:40:14 +0000 (12:40 +0100)]
contrib/snmp-probe-host.px: Implemented the “--exclude” option.
Sebastian Harl [Mon, 21 Dec 2009 23:09:04 +0000 (00:09 +0100)]
collectd-snmp(5): Comma fixes.
Sven Trenkel [Tue, 15 Dec 2009 19:29:15 +0000 (20:29 +0100)]
Annoying signal documentation.
Florian Forster [Fri, 18 Dec 2009 10:26:52 +0000 (11:26 +0100)]
Merge branch 'collectd-4.9'
Florian Forster [Fri, 18 Dec 2009 10:26:20 +0000 (11:26 +0100)]
Merge branch 'collectd-4.8' into collectd-4.9
Conflicts:
ChangeLog
Florian Forster [Fri, 18 Dec 2009 08:50:36 +0000 (09:50 +0100)]
Bumped version to 4.8.2; Updated ChangeLog.
Florian Forster [Fri, 18 Dec 2009 08:43:36 +0000 (09:43 +0100)]
Merge branch 'collectd-4.7' into collectd-4.8
Network plugin license change with Aman Gupta's permission.
Conflicts:
ChangeLog
version-gen.sh
Florian Forster [Fri, 18 Dec 2009 08:32:15 +0000 (09:32 +0100)]
Bumped version to 4.7.5; Updated ChangeLog.
Florian Forster [Thu, 1 Oct 2009 19:27:40 +0000 (21:27 +0200)]
src/plugin.c: plugin_log: Print to stderr if no log plugin has been loaded.
Florian Forster [Wed, 16 Dec 2009 11:50:41 +0000 (12:50 +0100)]
network plugin: Change the license to LGPL 2.1.
This is done with Amit Gupta's consent. He did write changes for later versions
of the plugin.
Florian Forster [Wed, 16 Dec 2009 09:45:54 +0000 (10:45 +0100)]
oracle plugin: Check the connection status and reconnect if required.
Florian Forster [Tue, 15 Dec 2009 12:13:53 +0000 (13:13 +0100)]
Merge branch 'collectd-4.9'
Florian Forster [Tue, 15 Dec 2009 12:11:51 +0000 (13:11 +0100)]
Merge branch 'collectd-4.8' into collectd-4.9
Stefan Völkel [Tue, 15 Dec 2009 10:25:58 +0000 (10:25 +0000)]
ping plugin: Add MaxMissed option.
Any host not replying to consecutive MaxMissed PING packets will get
it's name re-resolved via DNS.
This enables the use of dynamic DNS services (like dyndns.org) with the
ping plugin. Prior to this patch, hostnames were resolved once on daemon
start.
The default is -1 (disabled).
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Florian Forster [Tue, 15 Dec 2009 12:11:25 +0000 (13:11 +0100)]
Merge branch 'collectd-4.7' into collectd-4.8
Stefan Völkel [Tue, 15 Dec 2009 10:25:58 +0000 (10:25 +0000)]
ping plugin: Add MaxMissed option.
Any host not replying to consecutive MaxMissed PING packets will get
it's name re-resolved via DNS.
This enables the use of dynamic DNS services (like dyndns.org) with the
ping plugin. Prior to this patch, hostnames were resolved once on daemon
start.
The default is -1 (disabled).
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Florian Forster [Mon, 14 Dec 2009 16:58:55 +0000 (17:58 +0100)]
memory plugin: Fixed handling of >4G of memory on Mac OS X.
Florian Forster [Sun, 13 Dec 2009 22:38:45 +0000 (23:38 +0100)]
contrib/collection3: Add Regexp::Common to the README.
Sebastian Harl [Sun, 13 Dec 2009 18:01:41 +0000 (19:01 +0100)]
configure: Fixed copy&paste error in --with-libupsclient.
Sven Trenkel [Mon, 14 Dec 2009 17:49:02 +0000 (18:49 +0100)]
Fixed refcount error.
Florian Forster [Mon, 14 Dec 2009 16:58:55 +0000 (17:58 +0100)]
memory plugin: Fixed handling of >4G of memory on Mac OS X.
Florian Forster [Sun, 13 Dec 2009 22:38:45 +0000 (23:38 +0100)]
contrib/collection3: Add Regexp::Common to the README.
Sebastian Harl [Sun, 13 Dec 2009 18:01:41 +0000 (19:01 +0100)]
configure: Fixed copy&paste error in --with-libupsclient.
Florian Forster [Sat, 12 Dec 2009 22:36:07 +0000 (23:36 +0100)]
Merge branch 'collectd-4.9' of verplant.org:/var/lib/git/collectd into collectd-4.9
Florian Forster [Sat, 12 Dec 2009 19:06:18 +0000 (20:06 +0100)]
curl, df and processes plugins: Updated copyright information.
Florian Forster [Sat, 12 Dec 2009 10:55:08 +0000 (11:55 +0100)]
collectd.conf(5): If “MeasureResponseTime” is enabled, Match blocks are optional.
Florian Forster [Sat, 12 Dec 2009 07:58:05 +0000 (08:58 +0100)]
collectd.conf.in: Added the Report{Reserved,Inodes} options to the df plugin.
Florian Forster [Thu, 10 Dec 2009 11:11:34 +0000 (12:11 +0100)]
collectd-python(5): Remove trailing whitespace.
Sven Trenkel [Wed, 9 Dec 2009 15:33:50 +0000 (16:33 +0100)]
Return EINVAL instead of 0 on error.
Sven Trenkel [Wed, 9 Dec 2009 12:53:14 +0000 (13:53 +0100)]
Added function to get a list of meta data entries.
Sven Trenkel [Wed, 9 Dec 2009 12:18:49 +0000 (13:18 +0100)]
Added function to get the data type of a meta data entry.
Sebastian Harl [Tue, 8 Dec 2009 23:06:35 +0000 (00:06 +0100)]
Collectd.pm: Improved some debug messages.
Also, this fixes a "use of uninitialized" warning.
Sven Trenkel [Wed, 9 Dec 2009 22:44:31 +0000 (23:44 +0100)]
NetApp documentation of tested filers.
Sven Trenkel [Wed, 9 Dec 2009 20:24:04 +0000 (21:24 +0100)]
netapp: Better error messages.