Beautifying some more debug messages..
Merge branch 'collectd-4.0' into collectd-4.1
Conflicts:
src/rrdtool.c
Conflicts:
src/rrdtool.c
Beautifying many debug messages..
rrdtool plugin: Wait for the `queue thread' to exit..
..before returning from the shutdown function.
..before returning from the shutdown function.
network plugin: Flush the buffer in the `shutdown' function..
xmms plugin: Return `-1' when values could be read but are weird.
README: Improved formatting.
Indent all paragraphs by two spaces and break lines after 79 characters.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Indent all paragraphs by two spaces and break lines after 79 characters.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
README: Added a note about collectd and chkrootkit.
chkrootkit reports collectd as a packet sniffer, which most probably is a
false positive if using the "dns" plugin.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
chkrootkit reports collectd as a packet sniffer, which most probably is a
false positive if using the "dns" plugin.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
ChangeLog: Added the change to the rrdtool build stuff..
collectd.conf.in: Removed advanced and possibly harmfull settings..
Users were simply un-commenting everything without knowing what the settings
did, so removing possibly harmful settings seems reasonable.
Users were simply un-commenting everything without knowing what the settings
did, so removing possibly harmful settings seems reasonable.
snmp plugin: Improve the timing method, so that hosts are queried more steadily.
rrdtool plugin: Use the right variables when calling `rrd_update'..
*argl*
*argl*
rrdtool plugin: Removed unused variables.
rrdtool plugin: Use the thread-safe `librrd_th' if available.
collectd-snmp(5): Added a note about the interpreted environment variables.
snmp plugin: Print a warning if querying a host takes longer than the confiured interval.
collectd.conf(5): Fix some typos and mis-formulations.
Merge branch 'pull/collectd-4.1' into collectd-4.1
Merge branch 'pull/collectd-4.0' into collectd-4.0
Bumped version to 4.1.2; Updated ChangeLog.
Merge branch 'collectd-4.0' into collectd-4.1
Conflicts:
ChangeLog
configure.in
contrib/PerlLib/Collectd.pm
Conflicts:
ChangeLog
configure.in
contrib/PerlLib/Collectd.pm
Bumped version to 4.0.9; Updated ChangeLog.
Merge branch 'collectd-3.11' into collectd-4.0
Conflicts:
ChangeLog
configure.in
src/wireless.c
Conflicts:
ChangeLog
configure.in
src/wireless.c
Bumped version to 3.11.7; Updated ChangeLog.
Merge branch 'ff/collection' into collectd-4.0
contrib/collection.cgi: Add a vertical legend to `meta_graph_memory'.
contrib/collection.cgi: Fix the `charge' and `current' graphs.
Merge branch 'pull/collectd-4.1' into collectd-4.1
17 years agocollectd.conf(5): Make it more clear that rrdtool's `StepSize' and `HeartBeat' should...
collectd.conf(5): Make it more clear that rrdtool's `StepSize' and `HeartBeat' should not be set.
This has caused some problems with users of the snmp plugin.
This has caused some problems with users of the snmp plugin.
Added myplugin.c to contrib/examples/.
This is a sample/template C plugin.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
This is a sample/template C plugin.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Added MyPlugin.pm to contrib/examples/.
This is a sample/template Perl plugin.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
This is a sample/template Perl plugin.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
snmp plugin: Improved the error messages in the init code.
snmp plugin: Fix a segfault when a host times out but more data should be queried.
snmp plugin: Handle `ASN_TIMETICKS' as `counter' if it's known by the SNMP library.
Merge branch 'collectd-4.0' into collectd-4.1
perl plugin: Fixed a possible buffer overflow in get_module_name().
A '\0' might have been written above the buffer array bounds.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
A '\0' might have been written above the buffer array bounds.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Merge branch 'pull/collectd-4.1' into collectd-4.1
build system: Fix detection of libraries when giving a directory.
Merge branch 'pull/collectd-4.1' into collectd-4.1
build system: Fixed the improved detection of the Net-SNMP library.
build system: Improve the detection of the Net-SNMP library.
netlink plugin: Don't fail if `IFLA_STATS' doesn't exist for an interface.
Hopefully this fixes problems on my WRT ;)
Hopefully this fixes problems on my WRT ;)
wireless plugin: Correct the handling of cards returning signal and noise quality as percentage.
Merge branch 'collectd-4.0' into collectd-4.1
Merge branch 'collectd-3.11' into collectd-4.0
Conflicts:
src/apcups.c
nothing added to commit but untracked files present (use "git add" to track)
Conflicts:
src/apcups.c
nothing added to commit but untracked files present (use "git add" to track)
apcups plugin: Warn about the irritating name `apcups_charge_pct'.
netlink plugin: Fix build issues under Debian Sarge
or generally older Linux versions.
or generally older Linux versions.
Merge branch 'ff/apcups' into collectd-4.0
Bumped the version to 4.1.1
build system: Fix yet another issue with the detection of libupsclient.
Merge branch 'collectd-4.0' into collectd-4.1
Conflicts:
ChangeLog
Conflicts:
ChangeLog
apcups plugin: Fix reporting of the `load percent' data.
Merge branch 'collectd-4.0' into collectd-4.1
Conflicts:
contrib/PerlLib/Collectd.pm
nothing added to commit but untracked files present (use "git add" to track)
Conflicts:
contrib/PerlLib/Collectd.pm
nothing added to commit but untracked files present (use "git add" to track)
contrib/PerlLib/Collectd.pm: Bumbed the version to 4.0.8.
Merge branch 'collectd-4.0' into collectd-4.1
Conflicts:
ChangeLog
configure.in
Conflicts:
ChangeLog
configure.in
Bumped version to 4.0.8; updated ChangeLog.
plugin.c: Print lt_dlopen() error messages to STDERR as well.
This makes sure the user will get the message on the terminal in any case.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
This makes sure the user will get the message on the terminal in any case.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Removed some legacy calls to DEBUG().
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
rrdtool plugin: Use `-b' (begin) when creating rrd-files.
When receiving data from a host that has a clock that lacks behind the servers
clock, the newly created rrd-files had a timestamp that was ten seconds in the
past from the server's point of view. If the client was, for example, 10:00
minutes late, there would therefore be 9:50 minutes of invalid data which cause
warnings, empty graphs and overall missery. This commit changes this behavior
to not use the default `begin' time but set it explicitely based on the
client's time.
When receiving data from a host that has a clock that lacks behind the servers
clock, the newly created rrd-files had a timestamp that was ten seconds in the
past from the server's point of view. If the client was, for example, 10:00
minutes late, there would therefore be 9:50 minutes of invalid data which cause
warnings, empty graphs and overall missery. This commit changes this behavior
to not use the default `begin' time but set it explicitely based on the
client's time.
Merge branch 'collectd-4.0' into collectd-4.1
ChangeLog: Documented the fix in the apcups plugin.
Merge branch 'uni/collectd-4.1' into collectd-4.1
Merge branch 'uni/collectd-4.0' into collectd-4.0
apcups plugin: Fix the types used in the plugin.
They still had an `apcups_' prefix which isn't legal anymore.
They still had an `apcups_' prefix which isn't legal anymore.
collectd: Make `mkdir' error messages more identifiable.
netlink plugin: Fix an error-message.
ChangeLog: Documented the changes since 4.1.0.
Merge branch 'collectd-4.0' into collectd-4.1
Conflicts:
ChangeLog
Conflicts:
ChangeLog
ChangeLog: Fix a merge bug.
ChangeLog: Added a note about the improved `sstrerror' function.
contrib/collection.cgi: Fix a bug in the `meta_graph_generic_stack' function.
Also add a meta-graph-handler for if_[rt]x_errors.
Also add a meta-graph-handler for if_[rt]x_errors.
Merge branch 'pull/collectd-4.1' into collectd-4.1
build system: Include <adm/types.h> when checking for `libnetlink.h'.
netlink plugin: Use the defines to determine where the `libnetlink.h' is.
build system: Check for libnetlink.h in more than one directory.
And some minor cleanups..
And some minor cleanups..
build system: Some cosmetic fixes for the libupsclient.
Merge branch 'collectd-4.0' into collectd-4.1
Merge branch 'pull/collectd-4.0' into collectd-4.0
src/plugin.c: plugin_dispatch_values: Include the interval in the debugging output.
exec plugin: Set the real group, effective group, and real and effective user.
In that order. The manpage and the config template have been updated.
In that order. The manpage and the config template have been updated.
exec plugin: Call `setgid' first so argitary groups can be configured.
sstrerror: Be even more cautios with the return value of `strerror_r'..
I don't trust this GNU implementation one bit.. ;)
I don't trust this GNU implementation one bit.. ;)
contrib/collection.cgi: Display MySQL traffic as bits/s, not bytes/s.
Merge branch 'collectd-4.0' into collectd-4.1
contrib/collection.cgi: Added meta graph handlers for nfs_procedure, ps_state, swap, mysql_commands, and mysql_handler.
src/common.c: Copy the error-string to the buffer - no matter which implementation is used.
ChangeLog: Fix a typo.
Merge branch 'collectd-4.0' into collectd-4.1
Conflicts:
contrib/collection.cgi
Conflicts:
contrib/collection.cgi
README: Added libnetlink, libnetsnmp and libxmms prerequisites.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
contrib/collection.cgi: Don't show all the plugins on the host's page.
Waiting for so many graphs to load is no fun. You _have_ to specify the plugins
you're interested in now.
Waiting for so many graphs to load is no fun. You _have_ to specify the plugins
you're interested in now.
contrib/collection.cgi: Quite some changes, but still incomplete and not very usable..
Merge branch 'pull/collectd-4.0' into collectd-4.0
Added the AC_FUNC_STRERROR_R check.
Even though Posix requires "strerror_r" to return an "int", some systems
(e.g. the GNU libc) return a "char *" _and_ ignore the second argument.
sstrerror() (in src/common.c) has been changed to be aware of this and
handle both cases correctly.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Even though Posix requires "strerror_r" to return an "int", some systems
(e.g. the GNU libc) return a "char *" _and_ ignore the second argument.
sstrerror() (in src/common.c) has been changed to be aware of this and
handle both cases correctly.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Added "snmp" and "xmms" plugins to README and src/collectd.conf.in.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
17 years agoChangeLog: Added a note about the queueing changes to the rrdtool plugin. collectd-4.1.0
ChangeLog: Added a note about the queueing changes to the rrdtool plugin.
collectd(1): Add some references to collectd-snmp(5).
collectd.conf(5): Add some more references to collectd-snmp(5).
Bumped version to 4.1.0; Updated ChangeLog.
collectd-snmp(5): Update the documentation.
Merge branch 'collectd-4.0'