Code

collectd.git
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 agoconfigure, src/Makefile: Check for nanosleep() in libposix4 as well. sh/collectd-4.8
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 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 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 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 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 agoMerge branch 'collectd-4.8' into collectd-4.9
Florian Forster [Mon, 15 Mar 2010 21:40:45 +0000 (22:40 +0100)]
Merge branch 'collectd-4.8' into collectd-4.9

Conflicts:
src/exec.c

14 years agoExec plugin: Update copyright header.
Florian Forster [Mon, 15 Mar 2010 21:03:14 +0000 (22:03 +0100)]
Exec plugin: Update copyright header.

14 years agoconfigfile: cf_read_dir: Don't abort reading a directory when reading one file fails.
Florian Forster [Wed, 3 Mar 2010 14:44:11 +0000 (15:44 +0100)]
configfile: cf_read_dir: Don't abort reading a directory when reading one file fails.

14 years agoProcesses plugin: Fix a minor typo.
Clément Stenac [Sat, 27 Feb 2010 20:22:47 +0000 (21:22 +0100)]
Processes plugin: Fix a minor typo.

14 years agoExec plugin: Add a missing folding marker.
Florian Forster [Tue, 9 Mar 2010 17:51:08 +0000 (18:51 +0100)]
Exec plugin: Add a missing folding marker.

14 years agoExec plugin: Set the "noreturn" attribute on the "exec_child" function.
Florian Forster [Tue, 9 Mar 2010 17:50:55 +0000 (18:50 +0100)]
Exec plugin: Set the "noreturn" attribute on the "exec_child" function.

14 years agoExec plugin: Reset the "PL_RUNNING" if "fork_child()" fails.
Florian Forster [Tue, 9 Mar 2010 17:50:32 +0000 (18:50 +0100)]
Exec plugin: Reset the "PL_RUNNING" if "fork_child()" fails.

14 years agolibiptc: avoid strict-aliasing warnings
Jan Engelhardt [Tue, 16 Feb 2010 20:16:47 +0000 (21:16 +0100)]
libiptc: avoid strict-aliasing warnings

libiptc: avoid strict-aliasing warnings

In file included from libiptc/libip4tc.c:117:0:
libiptc/libiptc.c: In function ‘__iptcc_p_del_policy’:
libiptc/libiptc.c:826:4: warning: dereferencing type-punned pointer will break
strict-aliasing rules
libiptc/libiptc.c: In function ‘iptc_get_target’:
libiptc/libiptc.c:1650:4: warning: dereferencing type-punned pointer will break
strict-aliasing rules
libiptc/libip4tc.c: In function ‘dump_entry’:
libiptc/libip4tc.c:157:3: warning: dereferencing type-punned pointer will break
strict-aliasing rules
  CC     libiptc/libip6tc.lo
In file included from libiptc/libip6tc.c:112:0:
libiptc/libiptc.c: In function ‘__iptcc_p_del_policy’:
libiptc/libiptc.c:826:4: warning: dereferencing type-punned pointer will break
strict-aliasing rules
libiptc/libiptc.c: In function ‘ip6tc_get_target’:
libiptc/libiptc.c:1650:4: warning: dereferencing type-punned pointer will break
strict-aliasing rules
libiptc/libip6tc.c: In function ‘dump_entry’:
libiptc/libip6tc.c:188:3: warning: dereferencing type-punned pointer will break
strict-aliasing rules

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Rebased for collectd/src/owniptc: Alan Pevec <apevec@gmail.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
14 years agoMerge remote branch 'origin/collectd-4.8' into collectd-4.8
Florian Forster [Tue, 9 Mar 2010 15:55:20 +0000 (16:55 +0100)]
Merge remote branch 'origin/collectd-4.8' into collectd-4.8

14 years agoconfigure.in: Check for "htonll".
Manuel Sanmartin (no email) [Tue, 9 Mar 2010 15:12:51 +0000 (16:12 +0100)]
configure.in: Check for "htonll".

The first patch adds support to check if the htonl and htonll functions
(which are used in AIX port) are available in configure. Until now the
AIX port used these functions without perform any existence test.

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
14 years agomemcached plugin: Add hack for AIX compatibility.
Manuel Sanmartin (no email) [Tue, 9 Mar 2010 14:40:00 +0000 (15:40 +0100)]
memcached plugin: Add hack for AIX compatibility.

The second one port memcached plugin to AIX. Since AIX don't have
MSG_DONTWAIT flag support, we use MSG_NONBLOCK... and we hope to work
fine ever :)

Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
14 years agooracle plugin: Fix semantics of OCIAttrGet.
Florian Forster [Wed, 3 Mar 2010 13:01:30 +0000 (14:01 +0100)]
oracle plugin: Fix semantics of OCIAttrGet.

Apparently it returns success if it could fetch the parameter value and
doesn't interpret the value itself. So returning NULL when querying for
OCI_ATTR_SERVER_STATUS does not result in an error. Handle this as a
lost connection.

Thanks to Sven for pointing this out :)

14 years ago.mailmap: Added Rodolphe Quiedeville <rquiedeville@bearstech.com>.
Sebastian Harl [Thu, 25 Feb 2010 23:31:51 +0000 (00:31 +0100)]
.mailmap: Added Rodolphe Quiedeville <rquiedeville@bearstech.com>.

His name was mis-spelled in one commit as Rodolphe Quiedeville*l*.

14 years agoMerge branch 'collectd-4.8' into collectd-4.9
Florian Forster [Thu, 25 Feb 2010 22:55:25 +0000 (23:55 +0100)]
Merge branch 'collectd-4.8' into collectd-4.9

Conflicts:

src/ping.c

14 years agocontrib/redhat/collectd.spec: Updated for version 4.9.
Stu Hood [Thu, 25 Feb 2010 21:40:53 +0000 (22:40 +0100)]
contrib/redhat/collectd.spec: Updated for version 4.9.

I've attached a patch for the RPM specfile to allow it to build collectd 4.9.0,
including Java support.

14 years agodebian/: Removed ancient Debian package files.
Florian Forster [Thu, 11 Feb 2010 13:03:38 +0000 (14:03 +0100)]
debian/: Removed ancient Debian package files.

You might want to look at git://git.tokkee.org/pkg-collectd.git instead.

14 years agoconfigure.in: Fix three small typos.
Florian Forster [Wed, 10 Feb 2010 14:24:23 +0000 (15:24 +0100)]
configure.in: Fix three small typos.

14 years agoBuild system: Put Java class files into a .jar file.
Amit Gupta [Wed, 10 Feb 2010 13:37:36 +0000 (14:37 +0100)]
Build system: Put Java class files into a .jar file.

Hi,

I was wondering why the java plugin api class files are published under
share/collectd/java. Ideally, a java-plugin.jar file containing all the class
files should get published rather than the individual class files.
Additionally, the jar files IMO should get published to the lib directory where
the so files are sitting rather than the share directory.

Same holds true for jmx class files as well (probably jmx.jar?).

I could work on this if everyone is okay with it.

Regards
Amit

14 years agosrc/utils_cmd_listval.c: Fix a memory leak.
Florian Forster [Wed, 10 Feb 2010 13:01:37 +0000 (14:01 +0100)]
src/utils_cmd_listval.c: Fix a memory leak.

Thanks to Peter Warasin for figuring this out. His "garbage collector" patch
may replace this solution in future versions of collectd.

14 years agoBugfix: correctly handle spurious wakeups in pthread_cond_timedwait
Michael Stapelberg [Sat, 6 Feb 2010 15:10:33 +0000 (16:10 +0100)]
Bugfix: correctly handle spurious wakeups in pthread_cond_timedwait

This fixes problems storing data in rrd files on NetBSD 5.0 with more
than one CPU.

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
14 years agosrc/utils_format_json.c: Use "isfinite" rather than "isinf".
Florian Forster [Thu, 4 Feb 2010 12:07:43 +0000 (13:07 +0100)]
src/utils_format_json.c: Use "isfinite" rather than "isinf".

Makes it a bit easier to read.

14 years agosrc/collectd.h: Add fallback implementations of "isfinite" and "isinf".
Florian Forster [Thu, 4 Feb 2010 12:07:06 +0000 (13:07 +0100)]
src/collectd.h: Add fallback implementations of "isfinite" and "isinf".

14 years agoutils_format_json: serialize nan and inf as null, as per JSON spec
Chris Buben [Thu, 4 Feb 2010 08:52:30 +0000 (00:52 -0800)]
utils_format_json: serialize nan and inf as null, as per JSON spec

I'm deserializing JSON output from the write_http plugin using ruby-yajl.
yajl was puking on the literal value nan encoded in the output.

[
    {
        "plugin": "memcached",
        "interval": 10,
        "host": "myhost",
        "values": [
            nan,
            5
        ],
        "time": 1265239180,
        "plugin_instance": "",
        "type_instance": "",
        "type": "ps_count"
    }
]

After some research, ECMA-262 15.12.3 says nan and infinite numbers
aren't representable in JSON and should be serialized as the string
null. I figure any strictly-compliant JSON parser will fail on parsing
JSON data containing nans as emitted by collectd's utils_format_json
routines.

This patch makes collectd's JSON output compliant in the case of
infinite or nan gauge values.

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
14 years agoping plugin: Improved some error messages.
Sebastian Harl [Thu, 28 Jan 2010 22:29:25 +0000 (23:29 +0100)]
ping plugin: Improved some error messages.

14 years agocontextswitch plugin: Handle large counter/derive values correctly.
Florian Forster [Tue, 26 Jan 2010 23:07:50 +0000 (00:07 +0100)]
contextswitch plugin: Handle large counter/derive values correctly.

Using "strtoul" for derive_t values fails for large counter values.
Thanks to Martin Merkel for reporting this :)

14 years agocollectd{-python,.conf}(5): Fixed some typos.
Sebastian Harl [Sun, 24 Jan 2010 14:32:25 +0000 (15:32 +0100)]
collectd{-python,.conf}(5): Fixed some typos.

Thanks to lintian(1) for catching those!

14 years agocollectd{-perl,.conf}(5), {my,postgre}sql plugins: Fixed some typos.
Sebastian Harl [Sun, 24 Jan 2010 12:20:43 +0000 (13:20 +0100)]
collectd{-perl,.conf}(5), {my,postgre}sql plugins: Fixed some typos.

Thanks to lintian(1) for catching (some of) those! :-)

14 years agoapache plugin: Fix collection of the "apache_connections" value with Apache 2.*.
Florian Forster [Sat, 23 Jan 2010 12:19:49 +0000 (13:19 +0100)]
apache plugin: Fix collection of the "apache_connections" value with Apache 2.*.

Thanks to Gary (bug tracker) for pointing this out :)

14 years agocontrib/collection.cgi: Added ability to hide specified types.
Pavel Piatruk [Fri, 22 Jan 2010 08:13:29 +0000 (09:13 +0100)]
contrib/collection.cgi: Added ability to hide specified types.

It is useful when you don't want to see many graphs. How to use the patch:
apply it to collection.cgi and add lines with keyword ,,dontshowtype'' to
/etc/collectd/collection.conf:

dontshowtype: "if_errors"
dontshowtype: "if_packets"

Then you will see only if_octets types in "interface" plugin page.

Via Debian bug #566199.

14 years agosrc/filter_chain.c: Make info-message more verbose.
Florian Forster [Thu, 21 Jan 2010 10:36:30 +0000 (11:36 +0100)]
src/filter_chain.c: Make info-message more verbose.

14 years agoUse Curl AnyAuth (digest+basic) instead of just digest
Paul Sadauskas [Sun, 17 Jan 2010 19:54:06 +0000 (12:54 -0700)]
Use Curl AnyAuth (digest+basic) instead of just digest

14 years agoMerge commit 'tokkee/sh/collectd-4.8' into collectd-4.8
Florian Forster [Wed, 20 Jan 2010 09:32:01 +0000 (10:32 +0100)]
Merge commit 'tokkee/sh/collectd-4.8' into collectd-4.8

14 years agoexec plugin: Improved some error messages.
Sebastian Harl [Fri, 15 Jan 2010 09:07:39 +0000 (10:07 +0100)]
exec plugin: Improved some error messages.

14 years agocontrib/exec-munin.px: Add GPLv2 header.
Florian Forster [Fri, 15 Jan 2010 09:16:18 +0000 (10:16 +0100)]
contrib/exec-munin.px: Add GPLv2 header.

14 years agoMerge branch 'collectd-4.8' into collectd-4.9 collectd-4.9.1
Florian Forster [Thu, 14 Jan 2010 14:19:39 +0000 (15:19 +0100)]
Merge branch 'collectd-4.8' into collectd-4.9

Conflicts:
ChangeLog

14 years agoChangeLog: Added fix in the processes plugin.
Florian Forster [Thu, 14 Jan 2010 14:03:43 +0000 (15:03 +0100)]
ChangeLog: Added fix in the processes plugin.

14 years agoprocesses plugin: Fix handling of the ps_disk_{octets,ops} types.
Florian Forster [Thu, 14 Jan 2010 09:54:53 +0000 (10:54 +0100)]
processes plugin: Fix handling of the ps_disk_{octets,ops} types.

There values were stored in a `long', then `counter_t', then interpreted as
`derive_t'. Changed that to `derive_t' only. Hopefully this fixes a bug
reported by Mark Moseley.

14 years agoChangeLog: Updated for version 4.9.1.
Florian Forster [Wed, 13 Jan 2010 17:04:24 +0000 (18:04 +0100)]
ChangeLog: Updated for version 4.9.1.

14 years agoChangeLog: Updated for version 4.8.3. collectd-4.8.3
Florian Forster [Wed, 13 Jan 2010 16:55:02 +0000 (17:55 +0100)]
ChangeLog: Updated for version 4.8.3.

14 years agoMerge commit 'tokkee/sh/collectd-4.8' into collectd-4.8
Florian Forster [Wed, 13 Jan 2010 14:52:12 +0000 (15:52 +0100)]
Merge commit 'tokkee/sh/collectd-4.8' into collectd-4.8

14 years agocollectd.conf(5): Rephrase a weird sentence in the cURL-JSON documentation.
Florian Forster [Wed, 13 Jan 2010 14:51:41 +0000 (15:51 +0100)]
collectd.conf(5): Rephrase a weird sentence in the cURL-JSON documentation.

14 years agocollectd.conf(5): Remove trailing whitespace.
Florian Forster [Wed, 13 Jan 2010 14:51:02 +0000 (15:51 +0100)]
collectd.conf(5): Remove trailing whitespace.

14 years agotypes.db(5): Mention the types "ABSOLUTE" and "DERIVE" as well.
Sebastian Harl [Wed, 13 Jan 2010 12:21:47 +0000 (13:21 +0100)]
types.db(5): Mention the types "ABSOLUTE" and "DERIVE" as well.

14 years agoMerge branch 'collectd-4.8' into 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

14 years agoMerge branch 'collectd-4.7' into collectd-4.8
Florian Forster [Wed, 13 Jan 2010 11:10:20 +0000 (12:10 +0100)]
Merge branch 'collectd-4.7' into collectd-4.8

14 years agobindings/perl/lib/Collectd.pm: Add forgotten "config" callback type.
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.

14 years agoMerge commit 'tokkee/sh/collectd-4.9' into 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

14 years agoMerge branch 'collectd-4.8' into 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

14 years agorrdtool plugin: Correctly initialize the ->random_variation member.
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!

14 years agoapache plugin: Fix a segmentation fault in the config handling of VerifyPeer / Verify...
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.

14 years agoMonitorus.pm: Put the plugin into the "Collectd::Plugins" namespace.
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".

14 years agobindings/Makefile: Added Monitorus.pm to EXTRA_DIST.
Sebastian Harl [Sun, 27 Dec 2009 01:34:10 +0000 (02:34 +0100)]
bindings/Makefile: Added Monitorus.pm to EXTRA_DIST.

14 years agosrc/collectd.conf: Added missing plugins and config options.
Sebastian Harl [Sun, 27 Dec 2009 01:00:44 +0000 (02:00 +0100)]
src/collectd.conf: Added missing plugins and config options.

14 years agocollectd.conf: Added "LoadPlugin Monitorus/OpenVZ" in the "perl" config.
Sebastian Harl [Sun, 27 Dec 2009 00:14:29 +0000 (01:14 +0100)]
collectd.conf: Added "LoadPlugin Monitorus/OpenVZ" in the "perl" config.

14 years agoREADME: Added missing plugins.
Sebastian Harl [Sat, 26 Dec 2009 23:59:26 +0000 (00:59 +0100)]
README: Added missing plugins.

14 years agosrc/collectd.conf.in: Added an example config for the python plugin.
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.

14 years agosrc/collectd.conf.in: Added an example config for the netapp 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.

14 years agosrc/collectd.conf.in: Add example config for the routeros 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.

14 years agorouteros plugin: Use the node name for the "host" field.
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.

14 years agocontrib/snmp-probe-host.px: Implemented the “--exclude” option.
Florian Forster [Wed, 23 Dec 2009 11:40:14 +0000 (12:40 +0100)]
contrib/snmp-probe-host.px: Implemented the “--exclude” option.

14 years agocollectd-snmp(5): Comma fixes.
Sebastian Harl [Mon, 21 Dec 2009 23:09:04 +0000 (00:09 +0100)]
collectd-snmp(5): Comma fixes.

14 years agoAnnoying signal documentation. collectd-4.9.0
Sven Trenkel [Tue, 15 Dec 2009 19:29:15 +0000 (20:29 +0100)]
Annoying signal documentation.

14 years agoMerge branch 'collectd-4.8' into 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

14 years agoBumped version to 4.8.2; Updated ChangeLog. collectd-4.8.2
Florian Forster [Fri, 18 Dec 2009 08:50:36 +0000 (09:50 +0100)]
Bumped version to 4.8.2; Updated ChangeLog.

14 years agoMerge branch 'collectd-4.7' into collectd-4.8
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

14 years agoBumped version to 4.7.5; Updated ChangeLog. collectd-4.7.5
Florian Forster [Fri, 18 Dec 2009 08:32:15 +0000 (09:32 +0100)]
Bumped version to 4.7.5; Updated ChangeLog.

14 years agosrc/plugin.c: plugin_log: Print to stderr if no log plugin has been loaded.
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.

14 years agonetwork plugin: Change the license to LGPL 2.1.
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.

14 years agooracle plugin: Check the connection status and reconnect if required.
Florian Forster [Wed, 16 Dec 2009 09:45:54 +0000 (10:45 +0100)]
oracle plugin: Check the connection status and reconnect if required.

14 years agoMerge branch 'collectd-4.8' into 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

14 years agoping plugin: Add MaxMissed option.
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>
14 years agoMerge branch 'collectd-4.7' into collectd-4.8
Florian Forster [Tue, 15 Dec 2009 12:11:25 +0000 (13:11 +0100)]
Merge branch 'collectd-4.7' into collectd-4.8

14 years agoFixed refcount error.
Sven Trenkel [Mon, 14 Dec 2009 17:49:02 +0000 (18:49 +0100)]
Fixed refcount error.

14 years agomemory plugin: Fixed handling of >4G of memory on Mac OS X.
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.

14 years agocontrib/collection3: Add Regexp::Common to the README.
Florian Forster [Sun, 13 Dec 2009 22:38:45 +0000 (23:38 +0100)]
contrib/collection3: Add Regexp::Common to the README.

14 years agoconfigure: Fixed copy&paste error in --with-libupsclient. sh/collectd-4.7
Sebastian Harl [Sun, 13 Dec 2009 18:01:41 +0000 (19:01 +0100)]
configure: Fixed copy&paste error in --with-libupsclient.

14 years agoMerge branch 'collectd-4.9' of verplant.org:/var/lib/git/collectd into collectd-4.9
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

14 years agocurl, df and processes plugins: Updated copyright information.
Florian Forster [Sat, 12 Dec 2009 19:06:18 +0000 (20:06 +0100)]
curl, df and processes plugins: Updated copyright information.

14 years agocollectd.conf(5): If “MeasureResponseTime” is enabled, Match blocks are optional.
Florian Forster [Sat, 12 Dec 2009 10:55:08 +0000 (11:55 +0100)]
collectd.conf(5): If “MeasureResponseTime” is enabled, Match blocks are optional.

14 years agocollectd.conf.in: Added the Report{Reserved,Inodes} options to the df plugin.
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.

14 years agocollectd-python(5): Remove trailing whitespace.
Florian Forster [Thu, 10 Dec 2009 11:11:34 +0000 (12:11 +0100)]
collectd-python(5): Remove trailing whitespace.

14 years agoCollectd.pm: Improved some debug messages.
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.

14 years agoNetApp documentation of tested filers.
Sven Trenkel [Wed, 9 Dec 2009 22:44:31 +0000 (23:44 +0100)]
NetApp documentation of tested filers.

14 years agonetapp: Better error messages.
Sven Trenkel [Wed, 9 Dec 2009 20:24:04 +0000 (21:24 +0100)]
netapp: Better error messages.

14 years agohashed match: Fix only-C90 compiler warning.
Florian Forster [Wed, 9 Dec 2009 18:52:10 +0000 (19:52 +0100)]
hashed match: Fix only-C90 compiler warning.

Apparently 2184401929 is bigger than a signed int or something …

14 years agoping plugin: Cleanup used variable names.
Stefan Völkel [Wed, 9 Dec 2009 18:42:40 +0000 (19:42 +0100)]
ping plugin: Cleanup used variable names.

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
14 years agoChangeLog: Fix a typo.
Florian Forster [Wed, 9 Dec 2009 16:28:55 +0000 (17:28 +0100)]
ChangeLog: Fix a typo.

14 years agoChangeLog: Added changes for 4.9.0.
Florian Forster [Wed, 9 Dec 2009 16:27:50 +0000 (17:27 +0100)]
ChangeLog: Added changes for 4.9.0.

14 years agoMerge branch 'collectd-4.8'
Florian Forster [Wed, 9 Dec 2009 15:51:24 +0000 (16:51 +0100)]
Merge branch 'collectd-4.8'

14 years agoMerge branch 'collectd-4.7' into collectd-4.8
Florian Forster [Wed, 9 Dec 2009 15:50:42 +0000 (16:50 +0100)]
Merge branch 'collectd-4.7' into collectd-4.8

14 years agohashed match: Use a different (larger) prime number.
Florian Forster [Wed, 9 Dec 2009 15:30:10 +0000 (16:30 +0100)]
hashed match: Use a different (larger) prime number.

The previous prime number, 251, did not distribute good enough into
three groups.

14 years agoopenvz plugin: Remove `type' as first argument of `plugin_dispatch_values'.
Florian Forster [Wed, 9 Dec 2009 08:54:35 +0000 (09:54 +0100)]
openvz plugin: Remove `type' as first argument of `plugin_dispatch_values'.