collectd.git
14 years agorouteros plugin: Removed some "FIXME"s that no longer need fixing.
Florian Forster [Sat, 1 May 2010 08:12:43 +0000 (10:12 +0200)]
routeros plugin: Removed some "FIXME"s that no longer need fixing.

14 years agoMerge branch 'collectd-4.9'
Florian Forster [Sat, 1 May 2010 07:36:08 +0000 (09:36 +0200)]
Merge branch 'collectd-4.9'

Conflicts:
configure.in

14 years agoMerge branch 'collectd-4.8' into collectd-4.9
Florian Forster [Sat, 1 May 2010 07:35:01 +0000 (09:35 +0200)]
Merge branch 'collectd-4.8' into collectd-4.9

14 years agoconfigure.in: Put conditionals around <inttypes.h>, too, for consistency's sake.
Florian Forster [Thu, 29 Apr 2010 07:57:18 +0000 (09:57 +0200)]
configure.in: Put conditionals around <inttypes.h>, too, for consistency's sake.

14 years agoSolaris 8 fixes: Check for <stdint.h> before inclusion.
Aurélien Reynaud [Thu, 29 Apr 2010 07:39:48 +0000 (09:39 +0200)]
Solaris 8 fixes: Check for <stdint.h> before inclusion.

14 years agoSolaris 8 fixes: Fall back to putenv(3).
Aurélien Reynaud [Thu, 29 Apr 2010 07:37:57 +0000 (09:37 +0200)]
Solaris 8 fixes: Fall back to putenv(3).

14 years agocollectd-nagios.c: Output performance data with the "%f" format string.
Florian Forster [Sun, 25 Apr 2010 13:32:50 +0000 (15:32 +0200)]
collectd-nagios.c: Output performance data with the "%f" format string.

Apparently the parser used by nagios is dumb as bread. Thanks to Lao Wai
for pointing this out. For more information, see:
<http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201>

14 years agosrc/collectd.c: Fix initialization of the "timeout_g" variable.
Florian Forster [Sun, 25 Apr 2010 12:46:44 +0000 (14:46 +0200)]
src/collectd.c: Fix initialization of the "timeout_g" variable.

The default value is "2", not "10".

14 years agocollectd.conf(5): Document the "Timeout" option.
Florian Forster [Sun, 25 Apr 2010 12:45:05 +0000 (14:45 +0200)]
collectd.conf(5): Document the "Timeout" option.

14 years agoTimeout for missing values
Andrés J. Díaz [Thu, 17 Dec 2009 22:21:14 +0000 (23:21 +0100)]
Timeout for missing values

Hi!

I attach here a patch which adds Timeout option in configuration file.
This option is global (i.e. at the same level as Interval) and it's
the max number of intervals that a package can be missed before a
missing notification would be raised. By dafault collectd wait 2
intervals and it's a hardcoded value AFAIK, if plugin cannot get data
for more than 2 intervals, then (if it's an interesting value),
collectd send a missing notification. Setting Timeout to an high value
you can be more tolerant with that missing.

It's usefull on large networks. In my case, the company LAN is
distributed on distant locations and sometimes (due to network issues)
UDP packages are lost, I use the Timeout to be more tolerant to this
networks fails. For example setting Internval to 10 and Timeout to 6,
a  missing notification will be raised only if none data was reported
in last 60s.

I hope that things explained well enough, and (who knows!) maybe this
could be usefull to anybody ;)

Regards,
  Andrés

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
14 years agopython plugin: Try to work around a "dereferencing type-punned pointer" warning.
Florian Forster [Fri, 23 Apr 2010 07:44:44 +0000 (09:44 +0200)]
python plugin: Try to work around a "dereferencing type-punned pointer" warning.

14 years agoMerge branch 'collectd-4.9'
Florian Forster [Thu, 22 Apr 2010 09:29:19 +0000 (11:29 +0200)]
Merge branch 'collectd-4.9'

14 years agoBumped version to 4.9.2; Updated ChangeLog. collectd-4.9.2
Florian Forster [Thu, 22 Apr 2010 09:28:19 +0000 (11:28 +0200)]
Bumped version to 4.9.2; Updated ChangeLog.

14 years agoMerge branch 'collectd-4.8' into collectd-4.9
Florian Forster [Thu, 22 Apr 2010 09:14:25 +0000 (11:14 +0200)]
Merge branch 'collectd-4.8' into collectd-4.9

Conflicts:
ChangeLog

14 years agoBumped version to 4.8.5; Updated ChangeLog. collectd-4.8.5
Florian Forster [Thu, 22 Apr 2010 09:06:16 +0000 (11:06 +0200)]
Bumped version to 4.8.5; Updated ChangeLog.

14 years agoMerge remote branch 'trenkel/st/python'
Florian Forster [Thu, 22 Apr 2010 08:45:58 +0000 (10:45 +0200)]
Merge remote branch 'trenkel/st/python'

14 years agoMerge branch 'collectd-4.9'
Florian Forster [Wed, 21 Apr 2010 17:05:15 +0000 (19:05 +0200)]
Merge branch 'collectd-4.9'

14 years agoMerge branch 'collectd-4.8' into collectd-4.9
Florian Forster [Wed, 21 Apr 2010 17:04:01 +0000 (19:04 +0200)]
Merge branch 'collectd-4.8' into collectd-4.9

Conflicts:
ChangeLog

14 years agopython: Added documentation and an example on how to handle SIGCHLD.
Sven Trenkel [Wed, 21 Apr 2010 16:26:55 +0000 (18:26 +0200)]
python: Added documentation and an example on how to handle SIGCHLD.

14 years agopython: Fix a metadata memleak and a missing include (for some versions of python)
Sven Trenkel [Wed, 21 Apr 2010 16:12:19 +0000 (18:12 +0200)]
python: Fix a metadata memleak and a missing include (for some versions of python)

14 years agosrc/plugin.c: plugin_log: Append newline to message …
Florian Forster [Wed, 21 Apr 2010 14:23:46 +0000 (16:23 +0200)]
src/plugin.c: plugin_log: Append newline to message …

… even when no log-plugin was loaded.

14 years agomodbus plugin: Adapt for the new "plugin_register_complex_read" interface.
Florian Forster [Wed, 21 Apr 2010 14:22:42 +0000 (16:22 +0200)]
modbus plugin: Adapt for the new "plugin_register_complex_read" interface.

14 years agonetwork plugin: Don't access values in an already freed array.
Florian Forster [Wed, 21 Apr 2010 14:19:53 +0000 (16:19 +0200)]
network plugin: Don't access values in an already freed array.

14 years agocontrib/exec-nagios.px: Whitespace and POD fixes.
Florian Forster [Mon, 19 Apr 2010 11:05:15 +0000 (13:05 +0200)]
contrib/exec-nagios.px: Whitespace and POD fixes.

14 years agonetwork plugin: Add the "network:username" meta data.
Florian Forster [Thu, 8 Apr 2010 19:36:06 +0000 (21:36 +0200)]
network plugin: Add the "network:username" meta data.

14 years agoBumped version to 4.8.2; Updated ChangeLog. collectd-4.8.4
Florian Forster [Wed, 7 Apr 2010 10:55:03 +0000 (12:55 +0200)]
Bumped version to 4.8.2; Updated ChangeLog.

14 years agoMerge branch 'collectd-4.9'
Florian Forster [Wed, 7 Apr 2010 09:55:24 +0000 (11:55 +0200)]
Merge branch 'collectd-4.9'

14 years agoMerge branch 'collectd-4.8' into collectd-4.9
Florian Forster [Wed, 7 Apr 2010 09:55:15 +0000 (11:55 +0200)]
Merge branch 'collectd-4.8' into collectd-4.9

14 years agonetwork plugin: Fix a severe memory leak.
Florian Forster [Wed, 7 Apr 2010 09:53:32 +0000 (11:53 +0200)]
network plugin: Fix a severe memory leak.

A couple of bytes were leaked with every encrypted packet received.

14 years agorrdtool plugin: Correctly free the cache when shutting down.
Florian Forster [Wed, 7 Apr 2010 09:41:41 +0000 (11:41 +0200)]
rrdtool plugin: Correctly free the cache when shutting down.

14 years agonetwork plugin: Be more strict when checking the return value of "setsockopt".
Florian Forster [Mon, 5 Apr 2010 14:32:45 +0000 (16:32 +0200)]
network plugin: Be more strict when checking the return value of "setsockopt".

14 years agonetwork plugin: Be more strict when checking the return value of "setsockopt".
Florian Forster [Mon, 5 Apr 2010 14:32:45 +0000 (16:32 +0200)]
network plugin: Be more strict when checking the return value of "setsockopt".

14 years agonetwork plugin: Print a warning when setting the interface on a unicast socket is...
Florian Forster [Mon, 5 Apr 2010 14:32:19 +0000 (16:32 +0200)]
network plugin: Print a warning when setting the interface on a unicast socket is not possible.

14 years agoBuild system: Check for the "if_indextoname" function.
Florian Forster [Mon, 5 Apr 2010 14:22:30 +0000 (16:22 +0200)]
Build system: Check for the "if_indextoname" function.

Use this information rather than hard-coding "if Linux …"

14 years agoBuild system: Check for "struct ip_mreqn".
Florian Forster [Mon, 5 Apr 2010 14:20:34 +0000 (16:20 +0200)]
Build system: Check for "struct ip_mreqn".

Use this rather than hard-coding "if Linux …"

14 years agonetwork plugin: Interface option moved to Server/Listen block
Max Henkel [Fri, 2 Apr 2010 10:41:11 +0000 (12:41 +0200)]
network plugin: Interface option moved to Server/Listen block

Hello list!

On Tue, Mar 09, 2010 at 06:17:35PM +0100, Florian Forster wrote:
[...]
> On Fri, Feb 26, 2010 at 12:49:02PM +0100, Max Henkel wrote:
[...]
> > @@ -2842,6 +2929,8 @@ static int network_config (oconfig_item_t *ci) /* {{{ */
> >        network_config_add_server (child);
> >      else if (strcasecmp ("TimeToLive", child->key) == 0)
> >        network_config_set_ttl (child);
> > +    else if (strcasecmp ("Interface", child->key) == 0)
> > +      network_config_set_interface (child);
> >      else if (strcasecmp ("MaxPacketSize", child->key) == 0)
> >        network_config_set_buffer_size (child);
> >      else if (strcasecmp ("Forward", child->key) == 0)
>
> Starting with the signing and encryption option, we have <Server> and
> <Listen> blocks that take socket specific options. It'd be kind of
> inconsistent with the "TimeToLive" and other options, but maybe adding
> this to those blocks would be even better. It would enable to forward
> data from one multicast group on interface-0 to the *same* multicast
> group on interface-1, which I guess could be useful. But maybe it's an
> academic case, I dunno.. Thoughts, anyone?
[...]

This patch provides the configuration possibility inside the
Server/Listen-block, but I'm unsure if the "int interface" is
located properly inside the sockent_t.

Best regards,

Max

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
14 years agonetwork plugin: Bind to device for unicast
Max Henkel [Fri, 2 Apr 2010 10:40:01 +0000 (12:40 +0200)]
network plugin: Bind to device for unicast

Hello list!

On Tue, Mar 09, 2010 at 06:17:35PM +0100, Florian Forster wrote:
[...]
> On Fri, Feb 26, 2010 at 12:49:02PM +0100, Max Henkel wrote:
[...]
> > +           if (! IN_MULTICAST (ntohl (addr->sin_addr.s_addr)))
> > +                   return (0);
>
> Doesn't it make sense to be able to set the interface in unicast mode,
> too? For example if the host has multiple default gateways. The
> socket(7) option "SO_BINDTODEVICE" could be used for this I guess.
[...]

Thus this patch binds the socket to a specific interface for unicast
traffic, too. But, as Sebastian already mentioned, the behaviour is
Linux specific.

Best regards,

Max

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
14 years agonetwork plugin: Added Interface option
Max Henkel [Fri, 2 Apr 2010 10:39:19 +0000 (12:39 +0200)]
network plugin: Added Interface option

Hello list!

Again I'm providing an interface option for the network plugin for
the manual selection of an incoming or outgoing interface,
incorporating the changes proposed by Florian and Sebastian.

Please look through it and feedback or suggest new changes! :-)

Best regards,

Max

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
14 years agoMerge branch 'ff/modbus'
Florian Forster [Mon, 5 Apr 2010 12:10:44 +0000 (14:10 +0200)]
Merge branch 'ff/modbus'

14 years agoREADME: Fix a typo.
Florian Forster [Mon, 5 Apr 2010 12:09:39 +0000 (14:09 +0200)]
README: Fix a typo.

14 years agoREADME: Add information about the modbus plugin.
Florian Forster [Mon, 5 Apr 2010 12:09:06 +0000 (14:09 +0200)]
README: Add information about the modbus plugin.

14 years agoMerge branch 'schmurfy/re_invert'
Florian Forster [Mon, 5 Apr 2010 12:04:18 +0000 (14:04 +0200)]
Merge branch 'schmurfy/re_invert'

14 years agocollectd.conf(5): Document the new "Invert" option …
Florian Forster [Mon, 5 Apr 2010 12:02:59 +0000 (14:02 +0200)]
collectd.conf(5): Document the new "Invert" option …

… of the Regex match.

14 years agoRegex match: Whitespace fixes.
Florian Forster [Mon, 5 Apr 2010 11:56:21 +0000 (13:56 +0200)]
Regex match: Whitespace fixes.

14 years agonow using cf_util_get_boolean
Schmurfy [Wed, 31 Mar 2010 21:41:40 +0000 (23:41 +0200)]
now using cf_util_get_boolean

14 years agoMerge commit 'tokkee/sh/collectd-4.8' into collectd-4.8
Florian Forster [Wed, 31 Mar 2010 13:16:32 +0000 (15:16 +0200)]
Merge commit 'tokkee/sh/collectd-4.8' into collectd-4.8

14 years agopostgresql plugin: Relicensed to (2-clause) BSD license.
Sebastian Harl [Tue, 30 Mar 2010 21:01:26 +0000 (23:01 +0200)]
postgresql plugin: Relicensed to (2-clause) BSD license.

All (most?) of PostgreSQL is licensed under a BSD license …

Florian, the only other copyright holder, agreed with this.

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
14 years agocollectd.conf.in: Change the basename of the Perl plugin to "Collectd::Plugins".
Florian Forster [Wed, 31 Mar 2010 07:06:13 +0000 (09:06 +0200)]
collectd.conf.in: Change the basename of the Perl plugin to "Collectd::Plugins".

14 years agocollectd-perl(5): Fix the synopsis.
Florian Forster [Wed, 31 Mar 2010 07:01:05 +0000 (09:01 +0200)]
collectd-perl(5): Fix the synopsis.

I think this is a left-over from a switch from "Collectd::Plugin" to
"Collectd::Plugins". Thanks to Denis Yagofarov for reporting the bug and
Michael Shigorin for relaying it to me.

14 years agotarget_scale: Fixed a `break strict-aliasing rules' compiler warning.
Sebastian Harl [Tue, 30 Mar 2010 20:55:06 +0000 (22:55 +0200)]
target_scale: Fixed a `break strict-aliasing rules' compiler warning.

… identified by GCC 4.4.3 using -O3.

14 years agoconfigure: In the summary, say which plugins have been disabled by the user.
Sebastian Harl [Tue, 30 Mar 2010 20:15:56 +0000 (22:15 +0200)]
configure: In the summary, say which plugins have been disabled by the user.

14 years agopostgresql plugin: Let the read callback fail if all queries failed.
Sebastian Harl [Tue, 30 Mar 2010 20:09:55 +0000 (22:09 +0200)]
postgresql plugin: Let the read callback fail if all queries failed.

14 years agocsv plugin: Use the value list's interval when outputting to STDOUT.
Sebastian Harl [Tue, 30 Mar 2010 19:59:36 +0000 (21:59 +0200)]
csv plugin: Use the value list's interval when outputting to STDOUT.

14 years agoutils_db_query: Added support for custom plugin intervals.
Sebastian Harl [Tue, 30 Mar 2010 19:55:13 +0000 (21:55 +0200)]
utils_db_query: Added support for custom plugin intervals.

The interval is specified when calling udb_query_prepare_result(). A value
less than or equal to zero may be used to let udb use the default
(interval_g).

The dbi, oracle, and postgresql plugins have been updated accordingly.

14 years agoutils_db_query: Introduced the query & result preparation areas.
Sebastian Harl [Tue, 30 Mar 2010 19:27:55 +0000 (21:27 +0200)]
utils_db_query: Introduced the query & result preparation areas.

These objects are used to store the temporary data needed during execution of
a query, which was previously stored in the query object itself. This allows
the query object to be used read-only, making it possible to use it from
multiple threads in parallel.

The dbi, oracle and postgresql plugins have been updated to use that
(mandatory) new feature.

14 years agoadded an "Invert" option for regex
Schmurfy [Sun, 28 Mar 2010 16:03:09 +0000 (18:03 +0200)]
added an "Invert" option for regex

14 years agomodbus plugin: Downgrade to use the libmodbus 1.2.5 API.
Florian Forster [Sat, 27 Mar 2010 14:01:35 +0000 (15:01 +0100)]
modbus plugin: Downgrade to use the libmodbus 1.2.5 API.

The API of the library changes every other month, so be conservative and
use the "stable" version, released in May 2008, and hope *that* API is
somewhat stable.

14 years agopostgresql plugin: Don't abort read(), if a query's version doesn't match.
Sebastian Harl [Fri, 26 Mar 2010 20:50:42 +0000 (21:50 +0100)]
postgresql plugin: Don't abort read(), if a query's version doesn't match.

There is no reason to skip unrelated queries because of that.

14 years agopostgresql plugin: Use the "right" `interval' when passing a param to a query.
Sebastian Harl [Fri, 26 Mar 2010 20:30:17 +0000 (21:30 +0100)]
postgresql plugin: Use the "right" `interval' when passing a param to a query.

… i.e., use the database specific interval, if configured.

14 years agopostgresql plugin: Added the ``Interval'' config option.
Sebastian Harl [Fri, 26 Mar 2010 19:11:32 +0000 (20:11 +0100)]
postgresql plugin: Added the ``Interval'' config option.

This option may be used to specify the read interval with which to query a
database.

14 years agoconfigure, src/Makefile: Check for nanosleep() in libposix4 as well.
Sebastian Harl [Fri, 26 Mar 2010 12:11:50 +0000 (13:11 +0100)]
configure, src/Makefile: Check for nanosleep() in libposix4 as well.

On, e.g., Solaris 2.6, nanosleep() is only available from that library.

Thanks to Vincent McIntyre for reporting this and providing an initial patch.

14 years agopostgresql plugin: Use the "complex read" mechanism.
Sebastian Harl [Thu, 25 Mar 2010 18:11:08 +0000 (19:11 +0100)]
postgresql plugin: Use the "complex read" mechanism.

This way, multiple databases are queried in parallel (depending on the number
of read threads).

14 years agopostgresql plugin: Connect to the database in the read function.
Sebastian Harl [Thu, 25 Mar 2010 17:49:48 +0000 (18:49 +0100)]
postgresql plugin: Connect to the database in the read function.

… rather than the init function. This way, we don't need access to some global
list of databases in the init function and it's done in preparation to using
the "complex read" system.

14 years agoREADME: Fix typo.
Florian Forster [Thu, 25 Mar 2010 07:09:57 +0000 (08:09 +0100)]
README: Fix typo.

14 years agoREADME: Fix typo.
Florian Forster [Thu, 25 Mar 2010 06:57:58 +0000 (07:57 +0100)]
README: Fix typo.

14 years agoplugin: Introduced a concept of ``read groups''.
Sebastian Harl [Wed, 24 Mar 2010 22:31:59 +0000 (23:31 +0100)]
plugin: Introduced a concept of ``read groups''.

Using a new parameter added to plugin_register_complex_read(), it's now
possible to specify a group name for the registered callback. This name may
later be used to unregister *all* callbacks belonging to that group using the
newly added function plugin_unregister_read_group().

This might come in handy for plugins that register multiple read callbacks but
do not want to keep track of all of them in order to be able to unregister
them.

14 years agoutils_llist: Added `llist_search_custom()'.
Sebastian Harl [Wed, 24 Mar 2010 22:08:34 +0000 (23:08 +0100)]
utils_llist: Added `llist_search_custom()'.

This function may be used for lookups using a custom compare function, i.e.
lookups that are not necessarily based on the name of the registered list
entry but some information specific to the used data-type.

14 years agosrc/utils_format_json.c: Use a format string to add strings to the buffer.
Florian Forster [Wed, 24 Mar 2010 16:44:41 +0000 (17:44 +0100)]
src/utils_format_json.c: Use a format string to add strings to the buffer.

While I hope that DS names can be trusted, I'm feeling more comfortable this
way nonetheless.

14 years agoutils_format_json: include ds names and types in json output.
Chris Buben [Wed, 24 Mar 2010 03:53:31 +0000 (20:53 -0700)]
utils_format_json: include ds names and types in json output.

Make it easier for external systems (i.e. those without visibility into
types.db) to interpret collectd json data.

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
14 years agosrc/utils_format_json.c: Convert all data source types to rates except GAUGE.
Florian Forster [Wed, 24 Mar 2010 16:38:58 +0000 (17:38 +0100)]
src/utils_format_json.c: Convert all data source types to rates except GAUGE.

This is basically the same fix as previously done for the write_http plugin.

14 years agowrite_http: make StoreRates work for JSON format, too.
Chris Buben [Wed, 24 Mar 2010 03:53:30 +0000 (20:53 -0700)]
write_http: make StoreRates work for JSON format, too.

StoreRates for write_http was inconsistent in that it only functioned
for WH_FORMAT_COMMAND.  Extend StoreRates so that it works when using
WH_FORMAT_JSON, too.

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
14 years agowrite_http plugin: Fix the store rates option.
Florian Forster [Wed, 24 Mar 2010 16:32:53 +0000 (17:32 +0100)]
write_http plugin: Fix the store rates option.

Convert all data source types to rates except GAUGE. Also, fixes some
indentation.

14 years agomemcachec plugin: Add the "ExcludeRegex" config option.
Florian Forster [Wed, 24 Mar 2010 15:58:36 +0000 (16:58 +0100)]
memcachec plugin: Add the "ExcludeRegex" config option.

14 years agocurl plugin: Add the "ExcludeRegex" config option.
Florian Forster [Wed, 24 Mar 2010 15:58:21 +0000 (16:58 +0100)]
curl plugin: Add the "ExcludeRegex" config option.

14 years agoIntroduces ExcludeRegexp to the tail plugin
Peter Warasin [Tue, 23 Mar 2010 20:55:54 +0000 (21:55 +0100)]
Introduces ExcludeRegexp to the tail plugin

Hi Florian

Florian Forster wrote:
> On Fri, Mar 19, 2010 at 06:13:14PM +0100, Peter Warasin wrote:
>> I'm searching for something like "ExcludeRegExp".
>
> no, something like that doesn't exist yet. I like the idea though, so
> I've added it to the [[Roadmap]] wiki page.

Attached is a patch which implements this.
The patch is against 4.9.1

Please tell me if you want me to rebase it to current svn

kind regards,
peter

--
:: e n d i a n
:: open source - open minds

:: peter warasin
:: http://www.endian.com   :: peter@endian.com

Adds ExcludeRegex to the tail-match plugin

With this keyword it is possible to exclude a line from a match.

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
14 years agosnmp plugin: Fix a format string.
Florian Forster [Wed, 24 Mar 2010 15:37:53 +0000 (16:37 +0100)]
snmp plugin: Fix a format string.

14 years agomodbus plugin: Set the interval when dispatching values.
Florian Forster [Wed, 24 Mar 2010 14:43:42 +0000 (15:43 +0100)]
modbus plugin: Set the interval when dispatching values.

14 years agocollectd.conf(5): Improve the synopsis for the "modbus" plugin.
Florian Forster [Wed, 24 Mar 2010 13:07:48 +0000 (14:07 +0100)]
collectd.conf(5): Improve the synopsis for the "modbus" plugin.

14 years agocollectd.conf(5): Add documentation for the "modbus" plugin.
Florian Forster [Wed, 24 Mar 2010 13:00:56 +0000 (14:00 +0100)]
collectd.conf(5): Add documentation for the "modbus" plugin.

14 years agomodbus plugin: Add some folding markers.
Florian Forster [Wed, 24 Mar 2010 11:09:48 +0000 (12:09 +0100)]
modbus plugin: Add some folding markers.

14 years agomodbus plugin: Implement dispatching of values.
Florian Forster [Wed, 24 Mar 2010 11:09:33 +0000 (12:09 +0100)]
modbus plugin: Implement dispatching of values.

14 years agoMerge branch 'master' into ff/modbus
Florian Forster [Wed, 24 Mar 2010 09:08:51 +0000 (10:08 +0100)]
Merge branch 'master' into ff/modbus

14 years agoMerge branch 'fs/openvpn'
Florian Forster [Mon, 22 Mar 2010 18:29:13 +0000 (19:29 +0100)]
Merge branch 'fs/openvpn'

Conflicts:
src/collectd.conf.pod
src/openvpn.c

14 years agoMerge branch 'collectd-4.9'
Florian Forster [Mon, 22 Mar 2010 18:27:33 +0000 (19:27 +0100)]
Merge branch 'collectd-4.9'

14 years agoopenvpn plugin: Fix a copy'n'paste error in the "new naming schema".
Florian Forster [Mon, 22 Mar 2010 18:22:02 +0000 (19:22 +0100)]
openvpn plugin: Fix a copy'n'paste error in the "new naming schema".

14 years agocollectd.conf(5): Document the "ImprovedNamingSchema" option of the OpenVPN plugin.
Florian Forster [Mon, 22 Mar 2010 18:20:25 +0000 (19:20 +0100)]
collectd.conf(5): Document the "ImprovedNamingSchema" option of the OpenVPN plugin.

14 years agocollectd.conf(5): Document the "Collect{IndividualUsers,UserCount}" options of the...
Florian Forster [Mon, 22 Mar 2010 18:26:30 +0000 (19:26 +0100)]
collectd.conf(5): Document the "Collect{IndividualUsers,UserCount}" options of the OpenVPN plugin.

14 years agoopenvpn plugin: Rename the "OnlyAggregateUsers" option to "CollectIndividualUsers".
Florian Forster [Mon, 22 Mar 2010 18:08:04 +0000 (19:08 +0100)]
openvpn plugin: Rename the "OnlyAggregateUsers" option to "CollectIndividualUsers".

The semantic is inverted: When true (default) statistics for individual
users will be collected.

The "AggregateUsers" is now named "CollectUserCount" and a new name for
"Compression", "CollectCompression", has been added. This makes the names
of the config options consistent with one another.

The module global configuration variables have been changed to _Bool
while I was at it.

14 years agoopenvpn plugin: Added copyright notice for Fabian Schuh.
Florian Forster [Mon, 22 Mar 2010 17:42:29 +0000 (18:42 +0100)]
openvpn plugin: Added copyright notice for Fabian Schuh.

14 years agosrc/openvpn.c: Re-indent the entire file.
Florian Forster [Mon, 22 Mar 2010 17:42:09 +0000 (18:42 +0100)]
src/openvpn.c: Re-indent the entire file.

14 years agoBugfix that made collectd inflooping if no openvpn connection
Fabian Schuh [Fri, 19 Mar 2010 12:53:30 +0000 (13:53 +0100)]
Bugfix that made collectd inflooping if no openvpn connection

14 years agoName changes - removed transfer statistics (doesn't make sense here)
Fabian Schuh [Fri, 19 Mar 2010 09:07:50 +0000 (10:07 +0100)]
Name changes - removed transfer statistics (doesn't make sense here)

14 years agoAdded Users Counter
Fabian Schuh [Thu, 18 Mar 2010 13:41:34 +0000 (14:41 +0100)]
Added Users Counter

14 years agofixed typo
Fabian Schuh [Thu, 18 Mar 2010 11:44:20 +0000 (12:44 +0100)]
fixed typo

14 years agoBugfix with multiple files
Fabian Schuh [Thu, 18 Mar 2010 10:03:54 +0000 (11:03 +0100)]
Bugfix with multiple files

14 years ago[openvpn] new feature 'SumOverAllUsers'
Fabian Schuh [Thu, 18 Mar 2010 09:50:15 +0000 (10:50 +0100)]
[openvpn] new feature 'SumOverAllUsers'

14 years agonetapp plugin: Fix a syntax error in an error message.
Florian Forster [Wed, 17 Mar 2010 18:12:53 +0000 (19:12 +0100)]
netapp plugin: Fix a syntax error in an error message.

Thanks to facade from IRC for the hint.

14 years agomodbus plugin: Actually get into a working state.
Florian Forster [Wed, 17 Mar 2010 17:39:37 +0000 (18:39 +0100)]
modbus plugin: Actually get into a working state.

14 years agoBuild system: Add the "modbus" plugin.
Florian Forster [Wed, 17 Mar 2010 17:36:05 +0000 (18:36 +0100)]
Build system: Add the "modbus" plugin.

14 years agoconfigure.in: Add checks for libmodbus.
Florian Forster [Wed, 17 Mar 2010 17:35:41 +0000 (18:35 +0100)]
configure.in: Add checks for libmodbus.