From: Bernd Zeimetz Date: Mon, 16 Jan 2023 15:54:46 +0000 (+0000) Subject: Import collectd_5.12.0-12.debian.tar.xz X-Git-Tag: archive/raspbian/5.12.0-13+rpi1^2^2~10^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f323da845dd1d1576cd8a57926e44e2487dfe5ea;p=collectd.git Import collectd_5.12.0-12.debian.tar.xz [dgit import tarball collectd 5.12.0-12 collectd_5.12.0-12.debian.tar.xz] --- f323da845dd1d1576cd8a57926e44e2487dfe5ea diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..8cb813c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,23 @@ +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml + +variables: + RELEASE: 'unstable' + SALSA_CI_DISABLE_APTLY: 0 + SALSA_CI_DISABLE_AUTOPKGTEST: 0 + SALSA_CI_DISABLE_BLHC: 0 + SALSA_CI_DISABLE_LINTIAN: 0 + SALSA_CI_DISABLE_PIUPARTS: 0 + SALSA_CI_DISABLE_REPROTEST: 0 + SALSA_CI_DISABLE_BUILD_PACKAGE_ALL: 0 + SALSA_CI_DISABLE_BUILD_PACKAGE_ANY: 0 + +# blhc fails as some plugins ignore out build flags +blhc: + allow_failure: true + +# broken for yet not investigated reasons +reprotest: + allow_failure: true + diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..1c17431 --- /dev/null +++ b/NEWS @@ -0,0 +1,99 @@ +collectd (5.9.2-3) unstable; urgency=medium + + As announced in + , + Python2 will be removed from Debian. + So starting from now on, collectd will be using Python3! + + Please be aware that this also requires you to fix your plugins + in case they are not compatible to Python3! + + -- Bernd Zeimetz Mon, 11 Nov 2019 01:18:29 +0100 + +collectd (5.1.0-1) unstable; urgency=low + + Version 5 of collectd introduced a couple of backward-incompatible changes. + The full list of changes is documented in the collectd wiki found at + . + + In a client / server setups it's generally advised to upgrade the server + first. By using the v5_upgrade target plugin, the v5 server will be able to + receive and process data sent by v4 clients. This allows one to upgrade the + clients at an arbitrary later date. See the wiki for details. + + The layout of various RRD files has changed. In order to keep your old data + you have to migrate it. This can be done by using /usr/lib/collectd/utils/ + migrate-4-5.px. The script will output a series of shell commands that + should do all the work automatically. However, depending on your setup, a + couple of minor changes might be necessary to migrate all of your data. In + this case, please file a bug report so that the necessary changes can be + added to the script. The script will modify the RRD files in place. + + Thus, the migration can be done like this (you might want to backup your + data before): + + /usr/lib/collectd/utils/migrate-4-5.px -indir /var/lib/collectd/rrd/ \ + > migrate-4-5.sh + vim migrate-4-5.sh # verify / adapt the script + bash migrate-4-5.sh + + Also, the syntax of some plugin configuration blocks has changed. See the + wiki for details and instructions how to update your configuration. + + -- Sebastian Harl Sat, 19 May 2012 15:13:21 +0200 + +collectd (4.2.0-1) experimental; urgency=low + + Prior to this version any plugin that has dependencies other than libc6 got + its own binary package. As the number of such packages was getting quite big + they have been merged into the "collectd" binary package and all plugin + dependencies were added as recommendations. See + /usr/share/doc/collectd-core/README.Debian.plugins for details. + + -- Sebastian Harl Sun, 28 Oct 2007 13:38:21 +0100 + +collectd (4.0.2-1) experimental; urgency=low + + This version introduces significant changes to the layout of the RRD files + created by collectd. In order to keep your old data you have to migrate it. + This can be done by using /usr/lib/collectd/utils/migrate-3-4.px. This + script will output a series of shell commands that should do all the work + automatically. However, depending on your setup, a couple of minor changes + might be necessary to migrate all of your data. In this case, please file a + bug report so that the necessary changes can be added to the script. The + script creates the new RRD files in /tmp/collectd-4/ which can be moved to + /var/lib/collectd/rrd/ if everything went right. + + Thus, the migration can be done like this (you might want to backup your + data before): + + /usr/lib/collectd/utils/migrate-3-4.px | bash + rm -rf /var/lib/collectd + mkdir /var/lib/collectd + mv /tmp/collectd-4 /var/lib/collectd/rrd + + Thanks to the new plugin infrastructure, the functionality to write RRD and + CSV files and the logging and networking facilities could be removed from + collectd's core and put into separate plugins, allowing more flexible + configurations. To get the behavior of collectd 3.x you have to enable the + "rrdtool" and "syslog" plugins (enabled by default) and enable and configure + the network plugin. See collectd.conf(5) for details. + + This also means that a single configuration file is sufficient and there are + no longer any different modes that need to be configured. The init script + does no longer start one collectd process for each config file found in + /etc/collectd/ but only for collectd.conf. + + Additionally, the syntax of the configuration file has changed slightly. All + strings need to be surrounded by double quotes. See collectd.conf(5) for + details. + + Please note that there is no longer the need to load any plugins on the + server side just to be able to save values submitted by clients. All + required information are automatically loaded by collectd. You only need to + load plugins which are supposed to collect data locally. + + See also: https://collectd.org/migrate-v3-v4.shtml + + -- Sebastian Harl Thu, 7 Jun 2007 17:36:58 +0200 + diff --git a/README.Debian b/README.Debian new file mode 100644 index 0000000..e2aeacc --- /dev/null +++ b/README.Debian @@ -0,0 +1,208 @@ +collectd on Debian +================== + +General notes: +-------------- + +- Some plugins require additional libraries. To prevent you from having to + install dozens of further packages that you don't actually need, there is no + strict dependency on those libraries. Rather, they are listed as recommenda- + tions ("collectd" package) or suggestions ("collectd-core" package"). See + /usr/share/doc/collectd-core/README.Debian.plugins for details. + +- The main components of collectd have been split into two packages: + + * "collectd-core": + This package contains the main program file and the plugins but no config- + uration. It allows sites to, e.g., provide customizations on top of it + without having to modify the "collectd" package. For example, a custom + configuration and appropriate dependencies may be provided by some package + depending on "collectd-core" and conflicting / replacing / providing + "collectd". Ready-to-use sample config files (collectd.conf, filters.conf, + thresholds.conf) are available in /usr/share/doc/collectd-core/examples/. + + * "collectd": + This package provides a full installation of the daemon, including a + configuration. It is meant to be ready to use for simple setups or first + steps. + +Configuring collectd: +--------------------- + +- See collectd.conf(5) for details about configuring collectd. + +Access the collected data: +-------------------------- + +collectd is able to write data to CSV (comma separated list) and RRD (round +robin database - see http://oss.oetiker.ch/rrdtool/) files. However it does +not create graphs from these files. This package contains two sample scripts +in /usr/share/doc/collectd/examples/ which can be used for this purpose. They +are meant to be a starting point for your own experiments - more sophisticated +solutions are welcome. + +- collectd2html.pl: This script by Vincent Stehlé will search for RRD files in + "/var/lib/collectd/" and generate a static HTML file and a directory + containing several PNG files which are graphs of the RRD files found. + +- collection.cgi: Sample CGI script that creates graphs on the fly. The Perl + modules "RRDs" (package librrds-perl), "URI:Escape" (package liburi-perl), + "HTML::Entities" (package libhtml-parser-perl) and a CGI capable web server + (e.g. apache2 or boa) are required for this script to run. Simply install + the (gunzip'ed) script to a place where the webserver will treat it as a CGI + script (/usr/lib/cgi-bin/ by default) and visit that page in a browser + (http://localhost/cgi-bin/collection.cgi by default). Please refer to your + webserver's documentation for more details. + + collection.cgi requires a small config file, which is installed to + /etc/collectd/collection.conf. You should not need to change anything there. + +- collection3: A graphing front-end for the RRD files created by and filled + with collectd. See /usr/share/doc/collectd/examples/collection3/README for + details. This is a successor for collection.cgi. + +Cleanup of old data: +-------------------- + +collectd itself does not take care of removing any data files (e.g. RRDtool) +that are no longer updated (e.g., no longer existing hosts or instances). +There are a couple of ways to take care of that. In any case, double-check the +list of files to be removed before doing so! We do not take responsibility for +any data loss or similar. + +- Check the last modification time of all RRD files: + + find /var/lib/collectd/rrd/ -mtime +30 -type f + + This will list all files that have not been updated within the last 30 days. + After double-checking the list of files, use a command like the following to + delete old files: + + find /var/lib/collectd/rrd/ -mtime +30 -type f | xargs rm + + NOTE: Some versions of RRDtool did not update mtime when writing to a file. + This has been fixed in version 1.3.5 of RRDtool. If your version is + affected by that, this approach does not work. + +- Check the 'last_update' header of the RRD files: + + export IFS=" + " + for file in $( find /var/lib/collectd/rrd/ -type f -name '*.rrd' ); do + last_update=$( rrdtool info $file | grep last_update | cut -d' ' -f3 ) + if test -n "$last_update" \ + -a $(( $( date +%s ) - $last_update )) -gt 2592000; then + echo $file + fi + done + + This will also list all files that have not been updated within the last 30 + days. It's a bit more expensive since each and every RRD file will have to + be read from disk rather than checking the file-system meta-data only. + +When doing those checks, take into account any caching times configured in the +RRDtool plugin or when using RRDCacheD. + +Building your own plugins: +-------------------------- + +- Originally, plugins for collectd had to be written in C and linked as shared + objects. Starting with version 4.0.0, it is also possible to use plugins + written in the scripting language Perl or implemented as separate processes. + In later versions, support for Java and Python has been added. See the + appropriate collectd-(5) manual page for details. + +- If you want to contribute plugins to the official distribution you should + read https://collectd.org/dev-info.shtml. + +- If you want to build C plugins for your personal use only simply install the + collectd-dev package and use /usr/share/doc/collectd-dev/examples/myplugin.c + as a starting point (Note: This is already a working example, though it does + not collect any useful data). + + The resulting file can be compiled as follows: + + gcc -DHAVE_CONFIG_H -shared -fPIC -o myplugin.so myplugin.c + + Copy myplugin.so to /usr/lib/collectd and add the following line to your + collectd config file: + + LoadPlugin myplugin + + Restart collectd and you're done. + +- The collectd-dev package also provides an example Perl plugin that can be + used as a starting point for your own development. It can be found in + /usr/share/doc/collectd-dev/examples/MyPlugin.pm (Note: This is already a + working example, though it does not collect any useful data). + + To enable the plugin, copy it to a place where Perl can find it (i.e. a + subdirectory named "Collectd/Plugin" of a directory listed in @INC) and add + the following line to the perl plugin section in your config file: + + LoadPlugin "Collectd::Plugin::MyPlugin" + + or + + BaseName "Collectd::Plugin" + LoadPlugin MyPlugin + + Restart collectd and you're done. + +Examples: +--------- + +- SpamAssassin/: This directory contains a SpamAssassin plugin which passes + statistics to collectd using the email plugin. See the embedded POD + documentation for information about setup and configuration: perldoc + Collectd.pm. + +- iptables/: This directory contains a script which will setup iptables to do + global logging of all traffic going in and out of an interface. This + information can then be collected by collectd's iptables plugin. + +- collectd-network.py: Python module implementing the collectd network + protocol in pure Python. It currently supports to receive data and + notifications from collectd. + +- collectd-unixsock.py: Python module providing an interface to collect's + unixsock plugin. + +- cussh.pl: "Collectd Unix Socket SHell" is a small, interactive front-end for + the unixsock plugin. See the embedded POD documentation for details: perldoc + cussh.pl. + +- exec-munin.px: Script to be used with the exec-plugin (see collectd-exec(5) + for details) which executes munin plugins, parses the output and translates + it to a format the exec-plugin understands. The features are limited - + changing the munin plugins to use the output format understood by the + exec-plugin is recommended. See the embedded POD documentation for more + details: perldoc exec-munin.px. + +- exec-smartctl: Sample script for the exec plugin. Please refer to the + documentation in the file - you will have to adapt it to your needs anyway. + +- network-proxy.py: A simple unicast proxy for collectd traffic. + +- snmp-data.conf: Sample configuration for the SNMP plugin. This config + includes a few standard definitions that you can include in your + own config using the `Include' statement (available since version 4.2.0). + The config includes some data that is defined in the IF-MIB, e. g. octet or + packet counters, UPS-MIB and whatever people have send in. If you have some + more definitions please send them in, so others can profit from it. + +- snmp-probe-host.px: Script to be used to automatically generate SNMP + configuration snippets for the "snmp" plugin. See the embedded POD + documentation for more details: perldoc snmp-probe-host.px. + +Additional helper scripts: +-------------------------- + +- add_rra.sh: Before version 3.9.0 collectd used to create a different set of + RRAs. The most detailed of these old RRAs had a one minute resolution. This + script can be used to add three more RRAs: minimum, maximum and average with + a ten second resolution and 2200 rows (~6 hours). This will make hourly + statistics much more interesting. Please note that no sanity-checking + whatsoever is performed. You can seriously screw up your RRD files if you + don't know what you're doing. + diff --git a/README.Debian.plugins.in b/README.Debian.plugins.in new file mode 100644 index 0000000..4a3f4d2 --- /dev/null +++ b/README.Debian.plugins.in @@ -0,0 +1,19 @@ +collectd plugins on Debian +========================== + +Some plugins require additional libraries. To prevent you from having to +install dozens of further packages that you don't actually need, there is no +strict dependency on those libraries. Rather, they are listed as recommenda- +tions ("collectd" package) or suggestions ("collectd-core" package"). + +apt-get(8) and aptitude(8) will install recommended packages automatically by +default. If you did not disable this feature you will have everything in place +to operate all plugins when installing the "collectd" package. Else you have +to install missing dependencies manually (see the section "Plugin +dependencies" below). + +Plugin dependencies: +-------------------- + +@PLUGIN_DEPS@ + diff --git a/README.source b/README.source new file mode 100644 index 0000000..a7decf0 --- /dev/null +++ b/README.source @@ -0,0 +1,4 @@ +This package uses dpatch to manage all modifications to the upstream source. +See /usr/share/doc/dpatch/README.source.gz for instructions how to generate +the patched source, add a new modification, and remove an existing one. + diff --git a/bin/check_plugins.pl b/bin/check_plugins.pl new file mode 100755 index 0000000..0fa5395 --- /dev/null +++ b/bin/check_plugins.pl @@ -0,0 +1,158 @@ +#! /usr/bin/perl -- +# +# collectd - check_plugins.pl +# Copyright (C) 2006, 2007 Sebastian Harl +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; only version 2 of the License is applicable. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# +# Author: +# Sebastian Harl + +# This script checks each plugin and reports the address of each plugin's +# registered functions. It uses src/.libs/*.so for its checks. This can be +# used to check what kind of operations each plugin supports after it has been +# built. + +use strict; +use warnings; + +my $srcdir = 'src/'; +my $libdir = '.libs'; + +my $plugins = {}; + +my ($srcs, $libs) = (undef, undef); + +if (! opendir($srcs, $srcdir)) { + print STDERR "Could not open directory '$srcdir': $!\n" + . "Make sure you are in the toplevel source directory.\n"; + exit 1; +} + +while (my $dirent = readdir($srcs)) { + if ($dirent !~ m/^(.*)\.c$/) { + next; + } + + my $name = $1; + my $src = undef; + + if (! open($src, "<", "$srcdir/$dirent")) { + print STDERR "Unable to open '$srcdir/$dirent': $!\n"; + next; + } + + while (my $line = <$src>) { + if ($line =~ m/plugin_register_(\w+)\s*\("([^"]+)",\s*(\w+)/) { + my ($t, $n, $f) = ($1, $2, $3); + + $plugins->{$name}->{$n}->{$t} = $f; + } + } + + close($src); +} # while (my $dirent = readdir($srcs)) + +closedir($srcs); + +if (! opendir($libs, $libdir)) { + print STDERR "Could not open directory '$libdir': $!\n" + . "Make sure you ran 'make'.\n"; + exit 1; +} + +while (my $dirent = readdir($libs)) { + if ($dirent !~ m/^(.*)\.so$/) { + next; + } + + my $name = $1; + my $nm = undef; + + if (! defined $plugins->{$name}) { + print STDERR "No information available for plugin '$name'!\n"; + next; + } + + if (! open($nm, "-|", "nm $libdir/$dirent")) { + print STDERR "Unable to open pipe from nm(1): $!\n"; + next; + } + + while (my $line = <$nm>) { + if ($line !~ m/^([0-9a-fA-F]{8,}) [tT] (\w+)$/) { + next; + } + + my $adr = $1; + my $sym = $2; + + for my $n (keys %{$plugins->{$name}}) { + for my $t (keys %{$plugins->{$name}->{$n}}) { + if (defined $plugins->{$name}->{$n}->{$t} + && ($sym eq $plugins->{$name}->{$n}->{$t})) { + $plugins->{$name}->{$n}->{$t} = "0x" . $adr; + } + } + } + } + + close($nm); +} # while (my $dirent = readdir($libs)) + +closedir($libs); + +print 'plugin name config init read write log shutdown'; +print $/ . '-' x 70 . $/; + +for my $name (sort keys %$plugins) { + if (! -f "$libdir/$name.so") { + print "$name.c has not been compiled.\n"; + next; + } + + for my $n (sort keys %{$plugins->{$name}}) { + dump_plugin_data($n, $plugins->{$name}->{$n}); + } +} + +exit 0; + +sub dump_plugin_data { + my $name = shift || return; + my $funcs = shift || return; + + if (length($name) > 15) { + $name = substr($name, 0, 12) . '...'; + } + + printf '%-15s ', $name; + + foreach my $t ("config", "init", "read", "write", "log", "shutdown") { + if (! defined $funcs->{$t}) { + print '- '; + } + elsif ($funcs->{$t} =~ m/^0x[A-Fa-f0-9]{8,}$/) { + print substr($funcs->{$t}, -8, 8) . " "; + } + else { + print 'nA '; + } + } + + print $/; + return 1; +} # sub dump_plugin_data + +# vim: set sw=4 ts=4 tw=78 noexpandtab : diff --git a/bin/gen_plugin_deps.pl b/bin/gen_plugin_deps.pl new file mode 100755 index 0000000..6a35a38 --- /dev/null +++ b/bin/gen_plugin_deps.pl @@ -0,0 +1,104 @@ +#! /usr/bin/perl +# +# collectd - gen_plugin_deps.pl +# Copyright (C) 2007 Sebastian Harl +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; only version 2 of the License is applicable. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# +# Author: +# Sebastian Harl + +use strict; +use warnings; + +my $extra_deps = { + sensors => [ 'lm-sensors' ], +}; + +my $infile = "debian/README.Debian.plugins.in"; +my $outfile = "debian/README.Debian.plugins"; + +my ($ifile, $ofile); + +if (! open($ifile, "<", $infile)) { + print STDERR "Could not open file '$infile': $!\n"; + exit 1; +} + +if (! open($ofile, ">", $outfile)) { + print STDERR "Could not open file '$outfile': $!\n"; + exit 1; +} + +while (my $line = <$ifile>) { + if ($line !~ m/^\@PLUGIN_DEPS\@\n$/) { + print $ofile $line; + } + else { + print_plugin_deps($ofile); + } +} + +close($ofile); +close($ifile); + +sub print_plugin_deps +{ + my $fh = shift; + my $pdir = undef; + my $i = 0; + + my $plugindir = "debian/tmp/usr/lib/collectd/"; + + if (! opendir($pdir, $plugindir)) { + print STDERR "Could not open directory '$plugindir': $!\n"; + exit 1; + } + + foreach my $dirent (sort readdir($pdir)) { + if ($dirent !~ m/^(\w+).so$/) { + next; + } + + my $name = $1; + my $deps = `dpkg-shlibdeps -O $plugindir/$dirent`; + + chomp $deps; + + $deps =~ s/^shlibs:Depends=//; + + my @deps = grep !m/^libc6\b/, split m/, /, $deps; + + if (scalar @deps) { + if (0 < $i) { + print $fh "\n"; + } + + ++$i; + + print $fh "$name:\n"; + + if (defined $extra_deps->{$name}) { + unshift @deps, @{$extra_deps->{$name}}; + } + + foreach my $dep (@deps) { + print $fh " * $dep\n"; + } + } + } +} + +# vim: set tw=78 sw=4 ts=4 noexpandtab : + diff --git a/changelog b/changelog new file mode 100644 index 0000000..f03d615 --- /dev/null +++ b/changelog @@ -0,0 +1,2331 @@ +collectd (5.12.0-12) unstable; urgency=medium + + * [d077f5d] Add lintian override for the java plugin. + * [6ebe59a] Remove removed debconf questions from translations + * [0c5f9dc] collectd-core: debconfig is used in postrm only. + Override lintian errors. + * [6be4222] Add package name to lintian overrides + * [bda81fa] Migrate to dh / debhelper compat 13 + * [074299d] Fix building with python 3.11 (Closes: #1028146) + * [69e6716] Move dh_install to the appropriate place + * [45ea76f] Use debian/tmp for header/lib updates + + -- Bernd Zeimetz Mon, 16 Jan 2023 16:54:46 +0100 + +collectd (5.12.0-11) unstable; urgency=medium + + [ Debian Janitor ] + * [c8d0c73] Remove constraints unnecessary since buster + * Build-Depends: Drop versioned constraint on dpkg-dev, iptables-dev, libcurl4-gnutls-dev, libi2c-dev, liboping-dev, libriemann-client-dev, librrd-dev, libsnmp-dev, libvirt-dev, linux-libc-dev and protobuf-compiler. + * collectd-core: Drop versioned constraint on collectd in Replaces. + * collectd-utils: Drop versioned constraint on collectd in Replaces. + * libcollectdclient-dev: Drop versioned constraint on collectd-dev in Replaces. + * libcollectdclient-dev: Drop versioned constraint on collectd-dev in Breaks. + Changes-By: deb-scrub-obsolete + + [ Gioele Barabucci ] + * [7cdaece] d/collectd.postinst: Remove test for ancient version. + Version 4.10.0-1 is older than the version in oldoldstable (5.7.1-1.1). + The test in `postinst` has thus been redundant for a long time and + can be removed. + * [f4c1e6f] d/collectd-core.{config,postinst}: Remove debconf questions about ancient versions. + Versions 3.x and 4.x are older than the version in oldoldstable (5.7.x), + released in 2017. + All tests connected to these debconf questions have thus been redundant + for a long time and can be removed. + * [1afaac8] d/watch: Update upstream URL (Closes: #964112) + This fixes the uscan issue: + ``` + In debian/watch no matching files for watch line + https://github.com/collectd/collectd/tags /collectd/collectd/archive/collectd-([0-9.-]+)\.tar\.gz + ``` + The lines are adapted the `dh-make` template. + + [ Bernd Zeimetz ] + * [e1c67e5] Disable nut plugin again. + Various RC bugs for a longer time, not waiting for that. + + -- Bernd Zeimetz Mon, 22 Aug 2022 17:24:43 +0200 + +collectd (5.12.0-10) unstable; urgency=medium + + * [343f857] Don't use local variables in global pointers + Closes: #1016187 + * [254a859] Fix building with current nut version. + * [15098cc] Also fix local variables issue in write_prometheus + + -- Bernd Zeimetz Sat, 20 Aug 2022 22:38:49 +0200 + +collectd (5.12.0-9) unstable; urgency=medium + + * [577cd1f] Don't build mysql plugin on kfreebsd* + * [335185e] Disable libvirt plugin on sh4/ia64. + Keeping it disabled on kfreebsd* + * [6f2a0f7] Disable barometer/i2c on hurd + * [3f893cf] Also disable libvirt on alpha. + * [8482e2a] Don't build the xencpu plugin on i386. + Starting with xen version 4.16, xen is no longer built on the i386 architecture in Debian. + Thanks to Maximilian Engelhardt (Closes: #1006250) + + -- Bernd Zeimetz Tue, 22 Feb 2022 01:17:43 +0100 + +collectd (5.12.0-8) unstable; urgency=medium + + [ Kentaro Hayashi ] + * [4a69d6e] Fix CGI::param error in collection3 + ref. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982294 + (Closes: #982294) + + [ Bernd Zeimetz ] + * [c8207fc] Disable onewire until it is in testing again. + * [1379323] Drop hddtemp module. + hddtemp is going to be removed from the + archive. + Thanks to Aurelien Jarno (Closes: #1001954) + * [5d13bb9] Revert "Disable nut plugin for now." + This reverts commit 8846b4564bfca329542c8a2567e46e1b28448094. + Thanks to Michał Mirosław (Closes: #989805) + * [16b05e2] Update changelog to the version from unstable + The 5.12.0-7 upload was actually never pushed to the repository. + * [c6b9552] Remove patch~ file that was accidentally added some time ago. + + -- Bernd Zeimetz Thu, 20 Jan 2022 15:40:42 +0100 + +collectd (5.12.0-7) unstable; urgency=medium + + * Team upload. + * Fix CGI::param error in collection3 (Closes: 982294) + + -- Kentaro Hayashi Wed, 14 Jul 2021 21:46:02 +0900 + +collectd (5.12.0-6) unstable; urgency=medium + + * [b4e7861] collectd-dev: Add missing header files again. + Thanks to Benjamin Drung (Closes: #968950) + * [3261aa1] Also create necessary directories + * [6c0c6be] Fix target location in dh_install + + -- Bernd Zeimetz Tue, 01 Jun 2021 17:56:33 +0200 + +collectd (5.12.0-5) unstable; urgency=medium + + * [11ee08b] Disable tokyotyrant. + See #980331 for details + + -- Bernd Zeimetz Tue, 26 Jan 2021 10:52:28 +0100 + +collectd (5.12.0-4) unstable; urgency=medium + + * [b96d62e] Fix test_smart for big-endian. + Also enable the smart plugin everywhere again. + + -- Bernd Zeimetz Sat, 02 Jan 2021 21:09:49 +0100 + +collectd (5.12.0-3) unstable; urgency=medium + + * [e0f135d] Actually fix the last upload. + + -- Bernd Zeimetz Sun, 20 Dec 2020 13:06:54 +0100 + +collectd (5.12.0-2) unstable; urgency=medium + + * [1497198] Smart is broken on some architectures. + + -- Bernd Zeimetz Sat, 19 Dec 2020 01:20:16 +0100 + +collectd (5.12.0-1) unstable; urgency=medium + + * [6003e65] Updating debian/watch file + * [5504abd] Update upstream source from tag 'upstream/5.12.0' + Update to upstream version '5.12.0' + with Debian dir 6ec21ce26138afb993ce3ef5011c207506c64066 + * [63e30b4] Refreshing patches + * [fe7e50f] Disable netstat_udp on !freebsd + + -- Bernd Zeimetz Mon, 07 Dec 2020 21:35:49 +0100 + +collectd (5.11.0-7) unstable; urgency=medium + + * [d6feaf3] Fix arch list for protobuf-compiler-grpc. + + -- Bernd Zeimetz Tue, 28 Jul 2020 11:21:09 +0200 + +collectd (5.11.0-6) unstable; urgency=medium + + * [fc03f74] Disable grpc on non release architectures. + This should allow collectd to build on many more architectures again. + + -- Bernd Zeimetz Tue, 28 Jul 2020 10:45:54 +0200 + +collectd (5.11.0-5) unstable; urgency=medium + + * [a7f46fb] Merge branch 'lintian-fixes' into 'master' + Fix some issues reported by lintian + See merge request debian/pkg-collectd!4 + * [f5943cf] Pass LDFLAGS and friends via environment. + configure ignores them otherwise + * [a5060c6] Remove --disable-lvm. + Plugin was removed + + -- Bernd Zeimetz Fri, 24 Jul 2020 23:37:47 +0200 + +collectd (5.11.0-4) unstable; urgency=medium + + [ Bernd Zeimetz ] + * [ee00bbb] Fix FTBFS with new libmicrohttp (Closes: #964593) + + [ Antonio Russo ] + * [253f1e6] Fix FTBFS: disable gmond (ganglia) + + [ Bernd Zeimetz ] + * [66162b0] remove old comments from d/control + * [83daeea] Refresh patch. + dpkg doen't handle it properly when the same file is changed more than + once in one patch. + * [1012b25] microhttpd-api-change: also fix write_prometheus + * [e1675c6] Fix return type + * [f16bc34] Link -latmomic on armel mips mipsel powerpc. + Workaround for grpc. + * [67aa668] pass CXXFLAGS to configure + + -- Bernd Zeimetz Fri, 24 Jul 2020 11:27:30 +0200 + +collectd (5.11.0-3) unstable; urgency=medium + + * [569deaf] grpc is now available on all release architectures. + Thanks to Adrian Bunk (Closes: #961369) + + -- Bernd Zeimetz Sat, 23 May 2020 21:08:22 +0200 + +collectd (5.11.0-2) unstable; urgency=medium + + * [735fbed] Disable intel-only features on !intel platforms + + -- Bernd Zeimetz Sun, 29 Mar 2020 13:49:28 +0200 + +collectd (5.11.0-1) unstable; urgency=medium + + * [2cba96b] Update upstream source from tag 'upstream/5.11.0' + Update to upstream version '5.11.0' + with Debian dir d4444dcbc14a8003be999896b12c2e077063b13e + Seems to fix python module linking issues (Closes: #953953). + * [8bc0973] Refreshing patches + * [8fb1fbf] Updating changelog + * [4cd0893] Build-depend on libslurm-dev + * [e7082d8] Disable modules we can't build + + -- Bernd Zeimetz Sat, 28 Mar 2020 23:16:47 +0100 + +collectd (5.10.0-1) unstable; urgency=medium + + [ Bernd Zeimetz ] + * [53d9fa8] Ignore blhc/reprotest failures + * [72c2520] Add comment about write_stackdriver to pkg desc. + * [2da2cdd] Drop collectd-dbg package. + Use automatically generated dbg packages instead. + + [ Christian Ehrhardt ] + * [2e4471c] - debian/rules: Work around FTBFS with glibc 2.30 with -Wno-cpp. + * [de8e965] - debian/rules: Work around FTBFS with gcc9 -Wno-error=format-truncation on ppc64. + + [ Antonio Russo ] + * [c15ecdc] Move to debhelper 10. + In alignment with the move to dbgsym, use debhelper 10. + * [1926a15] Remove build-dependency on iptables-dev. + Closes: #951088. + * [b29dff9] Correct path in lintian override + * [8cfb32d] Remove build-dependency on libiptc-dev. + * [5357523] Correct path in lintian override + * [450186c] Release 5.9.2.g-2 + + [ Bernd Zeimetz ] + * [baa5acf] New upstream version 5.10.0 + * [016a310] Updating changelog + * [7ee0170] Change dependency ordering for libiptc-dev + * [ed45d82] remove extra /* from jvm override + * [db2ffff] Depend on libsensors-dev. + Thanks to Aurelien Jarno (Closes: #917435) + * [8409ccd] Don't suggest icinga. + Thanks to Bas Couwenberg (Closes: #933256) + * [d22c27d] libcollectdclient1: suggest collectd, don't recommend. + Thanks to Bernhard Schmidt (Closes: #933296) + + -- Bernd Zeimetz Sat, 07 Mar 2020 01:11:08 +0100 + +collectd (5.9.2.g-1) unstable; urgency=medium + + * [978cc41] Use github tags instead of collectd.org. + Seems the build process is buggy, Closes: #944535 + * [8929f0e] Update upstream source from tag 'upstream/5.9.2.g' + Update to upstream version '5.9.2.g' + with Debian dir 3d9a5865a5c149693e7dc99672fbd725af72b2be + * [31e5ca1] Snapshot changelog + + -- Bernd Zeimetz Thu, 14 Nov 2019 13:01:20 +0100 + +collectd (5.9.2-4) unstable; urgency=medium + + * The "do not dput without looking at the CI upload". + * [4720c20] Finish the NEWS file renaming. + + -- Bernd Zeimetz Mon, 11 Nov 2019 02:06:32 +0100 + +collectd (5.9.2-3) unstable; urgency=medium + + * [e4535ac] Migrate to python3 + * [53fe51f] It is debian/NEWS, not debian/NEWS.Debian + * [5f21e0e] Mention migration to Python3 in debian/NEWS + * [8846b45] Disable nut plugin for now. + Nut has too many rc bugs to enter testing soon. + + -- Bernd Zeimetz Mon, 11 Nov 2019 01:47:49 +0100 + +collectd (5.9.2-2) unstable; urgency=medium + + * [0155b6e] revert @zenity's configure exit change + * [9df748b] LVM is still deprecated + * [fbc4f98] Build-depend on libqpid-proton11-dev. + For the amqp1 module + * [dfb3ff6] Disable gpu_nvidia module. + Needs non-free libraries. + * [3fe11c6] Enable mqtt again - moquitto is in testing + * [6f7072b] pci_errors module is broken on some arches + * [21de403] Mention amqp1 output plugin in description. + + -- Bernd Zeimetz Mon, 11 Nov 2019 01:00:31 +0100 + +collectd (5.9.2-1) unstable; urgency=medium + + * [e2bc528] Stay with the common debian/version tag. + * [989ce6e] Collect and review changes from @zebity + https://github.com/zebity/pkg-debian + * [6119616] Configure gitlab-ci + * [4f34b97] Update upstream source from tag 'upstream/5.9.2' + Update to upstream version '5.9.2' + with Debian dir af7c66a8817dcb447a93e60e87aff32a05a0b4c3 + This fixes build issues with recent libgps-dev. + Closes: #926528 + * [ccc5baf] snapshot changelog + * [ad672e1] fake commit for CI + * [65f9d1b] Make deps for collectd automatic + * [07a98ce] Set CXXFLAGS from dpkg-buildflags + * [918a39f] Updating git urls + * [41e284a] Use a tracker.d.o team as maintainer. + Adding myself as uploader. + + -- Bernd Zeimetz Sun, 10 Nov 2019 22:29:36 +0100 + +collectd (5.8.1-1.3) unstable; urgency=medium + + * Non-maintainer upload. + + [ Jonathan McDowell ] + * Re-enable mqtt + varnish plugins. (Closes: #924337) + + [ Chris Hofstaedtler ] + * Apply Jonathan's patch and upload it. + + -- Chris Hofstaedtler Sat, 06 Apr 2019 12:21:09 +0000 + +collectd (5.8.1-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Backport removed_checks_for_upper_limit_of_SENSORS_API.patch from + the upstream 5.8 release branch to fix build with libsensors5. + (Closes: #917202) + + -- Luca Boccassi Tue, 25 Dec 2018 12:08:23 +0100 + +collectd (5.8.1-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Stop building lvm plugin and remove dependency from liblvm2-dev, + which is deprecated. + (Closes: #915692) + * Backport dpdk_configure_check.patch from the upstream 5.8 release + branch to fix build with DPDK 18.11. + (Closes: #915419) + + -- Luca Boccassi Wed, 19 Dec 2018 15:52:36 +0100 + +collectd (5.8.1-1) unstable; urgency=medium + + * New upstream release. + * debian/patches: + - Remove rd_kafka_last_error.patch; applied upstream. + * debian/control: + - Bump standards version to 4.2.1; no changes. + * debian/rules: + - Fix cross building: de-confuse build/host; thanks to Helmut Grohne for + reporting this and providing a patch (Closes: #913668). + - Disable mqtt plugin until #911265, #911266 get fixed. + + -- Sebastian Harl Fri, 23 Nov 2018 00:01:43 +0100 + +collectd (5.8.0-5.2) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "ftbfs with GCC-8": + debian/rules: build with -Wno-error=format-truncation as a temporary + workaround for the build failure with gcc-8 caused by a compiler warning. + (Closes: #897724) + + -- gregor herrmann Mon, 06 Aug 2018 20:43:05 +0200 + +collectd (5.8.0-5.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "FTBFS: sed: can't read /usr/lib/pkgconfig/OpenIPMIpthread.pc: + No such file or directory": + Drop hack for broken OpenIPMIpthread.pc from debian/rules; apparently the + problem in #474087 was fixed in 2010. + (Closes: #900232) + + -- gregor herrmann Fri, 29 Jun 2018 19:42:43 +0200 + +collectd (5.8.0-5) unstable; urgency=medium + + * debian/rules: + - remove legacy libtool1 build option, as support got dropped in collectd + 5.8. + - disable varnish plugin until #879471 gets fixed. + * debian/control: + - Bump Standards-Version to 4.1.4. + + -- Marc Fournier Fri, 04 May 2018 16:52:07 +0200 + +collectd (5.8.0-4) unstable; urgency=medium + + * debian/rules: + - Fix the arch selection for enabling the gRPC plugin. By accident, we + disabled it for exactly the wrong archs. Thanks to Adrian Bunk for + reporting this! (Closes: #892166) + + -- Sebastian Harl Tue, 06 Mar 2018 22:19:38 +0100 + +collectd (5.8.0-3) unstable; urgency=medium + + * debian/control: + - Limit libgrpc++-dev and protobuf-compiler-grpc Build-depend to supported + platforms. + - Bump Standards-Version to 4.1.3. + + -- Marc Fournier Mon, 05 Mar 2018 22:48:34 +0100 + +collectd (5.8.0-2) unstable; urgency=medium + + * debian/control: Limit intel-cmt-cat Build-depend to intel architectures; + thanks to Adrian Bunk for reporting this. (Closes: #891673) + + -- Marc Fournier Wed, 28 Feb 2018 10:06:58 +0100 + +collectd (5.8.0-1) unstable; urgency=medium + + [ Marc Fournier ] + * New upstream release. (Closes: #887093, #881757, CVE-2017-16820) + * New plugins: + - DPDK link status and keep alive events: dpdkevents + - Intel performance counters: intel_pmu (disabled in Debian because of + missing dependencies) + - Machine Check Exceptions notifications: mcelog + - Open vSwitch link state events: ovs_events + - Open vSwitch bridge / interface statistics: ovs_stats + - receive and handle queries from SNMP master agent: snmp_agent + - synproxy statistics: synproxy (Linux-specific) + * Enable the grpc plugin, libgrpc++ is now available. + * Enable the intel_rdt plugin, libpqos is now available. + * Re-enable the varnish plugin, support for varnish 5.2 now implemented. + * debian/control: + - Build-depend on libgrpc++-dev, libprotobuf-dev, protobuf-compiler, + protobuf-compiler-grpc: Needed by the grpc plugin. + - Build-depend on intel-cmt-cat: Needed by the intel_rdt plugin. + * debian/rules: + - Disable the intel_pmu plugin. + - Disable the synproxy plugin on non-Linux architectures. + - Disable the dpdkevents, intel_pmu, intel_rdt, mcelog and mic plugins on + non-Intel architectures. + * debian/patches: + - Added i2c_detection.patch; needed to build against libi2c-4.0. Thanks to + Christian Ehrhardt for reporting this problem and Andreas Hasenack for + providing a patch. (Closes: #886920) + - Added liblvm2app_depreciation_warning.patch; allows the plugin to build + despite liblvm2app depreciation. Thanks to Christian Ehrhardt for + suggesting this workaround. (Closes: #881641) + - Added rd_kafka_last_error.patch; needed to build against + librdkafka-0.11.0. Thanks to Pavel Rochnyack for providing a patch. + - Removed dpdk-pkg-config.patch; included upstream. + - Removed libcollectdclient_error_buffer.patch; included upstream. + - Removed local-msr-index-h.patch; included upstream. + - Removed write_mongodb.patch; included upstream. + * debian/libcollectdclient-dev.install: + - Install new server and parsing header files. + * debian/libcollectdclient1.symbols + - Updated for 5.8. + + [ Sebastian Harl ] + * debian/control: + - Depend on libi2c-dev (>= 4.0~); that's required for the i2c detection + patch which breaks the build with earlier versions. Both changes can + easily be reverted, e.g. for backporting. + + -- Sebastian Harl Tue, 27 Feb 2018 20:44:03 +0100 + +collectd (5.7.2-2) unstable; urgency=medium + + [ Luca Boccassi ] + * debian/patches: + - Add dpdk-pkg-config.patch: Backport upstream patch to build DPDK with + pkg-config. This allows DPDK in Debian to fix an upstream multi-arch + issue, where arch-dependents headers are installed in /usr/include + breaking multi-arch co-installability of libdpdk-dev. (Closes: #872482) + + [ Sebastian Harl ] + * Disable the sigrok plugin for now; it's not compatible with libsigrok4; + thanks to Adrian Bunk for reporting this (Closes: #878348). + * Enable the write_mongodb plugin, libmongoc is now available. Thanks to + Saikrishna Arcot for reporting this (Closes: #858315). + - Add write_mongodb.patch to update the plugin to the most recent upstream + version to bring it up to date with Debian's libmongoc and fix some + other issues. + * Update to standards-version 4.1.1: + - Build depend on debhelper (>= 9.20160709~) instead of dh-systemd. + - Use priority "optional" instead of deprecated priority "extra". + * Disable the varnish plugin for now. collectd FTBFS against varnish 5.2. + Cf. https://github.com/collectd/collectd/issues/2498 and #879471. + + -- Sebastian Harl Sun, 22 Oct 2017 00:37:19 +0200 + +collectd (5.7.2-1) unstable; urgency=medium + + * New upstream release. + - Fix potential endless-loop in the network plugin, which can be triggered + remotely by sending a crafted UDP packet (Closes: #859494, + CVE-2017-7401). + * debian/patches: + - drop dpdkstat_goto_label.patch; included upstream. + - drop drop_lssl_lcrypto_from_linking.patch; included upstream. + - drop mqtt_invalid_symbols.patch; included upstream. + - drop mqtt_resource_leak.patch; included upstream. + - add libcollectdclient_error_buffer.patch, fixing a build error with + GCC 7 (Closes: #871062). Thanks to Steve Langasek and Ruben Kerkhof. + - add local-msr-index-h.patch, bundling a header file removed from 4.12+ + kernels (Closes: #872276). Thanks to Steve Langasek. + + -- Marc Fournier Wed, 23 Aug 2017 18:10:47 +0200 + +collectd (5.7.1-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Drop -ssl -lcrypto from linking (openssl's functionality is not used by + collectd). Add drop_lssl_lcrypto_from_linking.patch (Closes: #852924). + + -- Sebastian Andrzej Siewior Sun, 05 Feb 2017 20:40:33 +0100 + +collectd (5.7.1-1) unstable; urgency=medium + + * New upstream release. + * debian/patches: + - drop dpdkstat-portable-format-string.patch, included upstream. + - add mqtt_resource_leak.patch, fixing a connection leak. + - add mqtt_invalid_symbols.patch, stripping out invalid characters from + MQTT topic names. + - add dpdkstat_goto_label.patch, fixing a small mistake which prevented + the dpdkstat from building. + + -- Marc Fournier Mon, 23 Jan 2017 20:45:34 +0100 + +collectd (5.7.0-3) unstable; urgency=medium + + * debian/control: Skip libdpdk-dev build dependency on non-Intel + architectures. + + -- Marc Fournier Sun, 18 Dec 2016 22:08:27 +0100 + +collectd (5.7.0-2) unstable; urgency=medium + + * debian/patches: add dpdkstat-portable-format-string.patch, fixing the + build on i386. + * debian/rules: Disable dpdkstat plugin on non-Intel architectures. + + -- Marc Fournier Sun, 18 Dec 2016 17:05:10 +0100 + +collectd (5.7.0-1) unstable; urgency=medium + + * New upstream release. + New plugins: + - DPDK interface statistics: dpdkstat + - Report the number of used and free hugepages: hugepages (Linux-specific) + - Intel Resource Director Technology statistics: intel_rdt (disabled in + Debian because of missing dependencies) + - Publish values in a Prometheus-compatible format: write_prometheus + * debian/rules: + - Disable hugepages plugin on non-Linux. + - Disable the intel_rdt plugin. + * debian/control: + - Build-depend on libdpdk-dev: Needed by the new dpdkstat plugin. + - Build-depend on libmicrohttpd-dev: Needed by the new write_prometheus + plugin. + - Suggests icinga instead of nagios packages (nagios3 removed from + Debian. Closes: #846859). Thanks to Bas Couwenberg. + * debian/patches: + - Removed configure_find_lc_all.patch; included upstream. + - Added nagios-debian-paths.patch, to use nagios-nrpe-server & + monitoring-plugin paths for Debian. Thanks to Bas Couwenberg. + + -- Marc Fournier Fri, 16 Dec 2016 22:11:21 +0100 + +collectd (5.6.1-2) unstable; urgency=medium + + * debian/control: + - Add libdevstat-dev and libgeom-dev to kfreebsd build-deps, as they're + needed by the disk plugin. Thanks to Florian Forster for pointing this + out. + - Update "Vcs-Git" and "Vcs-Browser" fields to point to GitHub repo. + - Changed build-dependency libmysqlclient-dev to + default-libmysqlclient-dev, and mysql-server to default-mysql-server. + - collectd-core.deb: Add "Depends" on lsb-base, as /etc/init.d/collectd + requires /lib/lsb/init-functions. + - Remove "Multi-Arch: same" from libcollectdclient-dev, until the package + gets reworked to really be multi-arch ready. + * debian/control, debian/compat: + - Bump debhelper compat version to 9. + + -- Marc Fournier Tue, 01 Nov 2016 07:32:47 +0100 + +collectd (5.6.1-1) unstable; urgency=medium + + * New upstream release. + - write_graphite plugin is no longer linked against libyajl. Thanks to + Shish for reporting this (Closes: #839771). + - rrdcached plugin now reconnects to daemon. Thanks to Matthias Urlichs + for reporting this (Closes: #657877). + * debian/control: + - Add "Multi-Arch: same" to libcollectdclient-dev, as suggested by the + Multiarch hinter. + * debian/patches: + - Update configure_find_lc_all.patch to reliably pick the same JVM for + each build, making the process reproducible. + * debian/rules: + - Disable building the barometer, drbd, fhcount and ipc plugins on + kfreebsd architectures, as they are Linux-only. + - Run the test suite using dh_auto_test. + + -- Marc Fournier Sun, 09 Oct 2016 21:42:29 +0200 + +collectd (5.6.0-1) unstable; urgency=medium + + * New upstream release. + - The disk plugin now supports FreeBSD; enable it in debian/rules. + - Suppress spammy debug messages; thanks to Antonio Russo for reporting + this (Closes: #797687). + New plugins: + - Chrony daemon statistics: chrony + - CPU sleep: Time spent in suspend: cpusleep (Linux-specific) + - Monitor gps related data through gpsd: gps + - Send or receive values over the network using the gRPC framework: grpc + (disabled in Debian because of missing dependencies) + - Lua interpreter embedded into collectd: lua + - Publishes and subscribes to MQTT topics: mqtt + - Submit notifications as passive check results to a local nagios + instance: notify_nagios + - XEN Hypervisor CPU stats: xencpu + - Solaris zone metrics: zone (disabled in Debian; Solaris specific) + * debian/rules: + - Disable cpusleep plugin on non-Linux. + - Disable xencpu plugin except on amd64, arm64, armhf, and i386. + - Disable the zone plugin. + - Do not cripple include files in collectd-dev when patching them; thanks + to Scott Talbert for reporting this (Closes: #827759). + * debian/control: + - Build-depend on libgps-dev: Needed by the new gps plugin. + - Build-depend on liblua5.3-dev: Needed by the new lua plugin. + - Build-depend on libmosquitto-dev: Needed by the new mqtt plugin. + - Build-depend on libxen-dev [amd64 arm64 armhf i386]: Needed by the new + xencpu plugin. + - Build-depend on libriemann-client-dev, riemann-c-client: Now needed by + the riemann plugin. + * debian/patches: + - Removed bts832577-gcry-control.patch; included upstream. + - Removed gcc6.patch; included upstream. + + -- Sebastian Harl Sat, 24 Sep 2016 15:19:10 +0200 + +collectd (5.5.2-2) unstable; urgency=low + + * debian/changelog: + - Set urgency back to low. + * debian/control: + - Update GCrypt's package name to libgcrypt20-dev. + * debian/patches: + - Added configure_find_lc_all.patch: forcing locale in configure script + will hopefully fix build reproducibility on non-amd64 plafroms. + + -- Marc Fournier Wed, 21 Sep 2016 14:01:55 +0200 + +collectd (5.5.2-1) unstable; urgency=high + + * New upstream release. + - Fix heap overflow in the network plugin. Emilien Gaspar has identified a + heap overflow in parse_packet(), the function used by the network plugin + to parse incoming network packets. Thanks to Florian Forster for + reporting the bug in Debian. (Closes: #832507, CVE-2016-6254) + - Fix improper usage of gcry_control. A team of security researchers at + Columbia University and the University of Virginia discovered that + GCrypt's gcry_control is sometimes called without checking its return + value for an error. This may cause the program to be initialized without + the desired, secure settings. (Closes: #832577) + * debian/patches: + - bts832577-gcry-control.patch: Update for 5.5.2. Mostly part of the new + upstream release, except for: Don't abort() if gcrypt initialization + failed. + - Drop bts823012_librrd8.patch; merged upstream. + * Rebuild with linux-libc-dev >= 4.6 (now in testing and unstable) to + accommodate a change to rtnl_link_stats64. Thanks to Gábor Gombás for + reporting this (Closes: #829634). + + -- Sebastian Harl Fri, 29 Jul 2016 00:02:11 +0200 + +collectd (5.5.1-5) unstable; urgency=low + + * debian/control, debian/rules: + - Disable the sigrok plugin on non-Linux; restrict build dependency to + linux-any; thanks to Andreas Beckmann for reporting this + (Closes: #825606). + * debian/rules: + - Fix failure to build twice in a row introduced by dh_autoreconf_clean; + drop the separate config.status target and, hence, a dependency on the + configure script. + * debian/patches/: + - Added gcc6.patch: Fix FTBFS with GCC 6; thanks to Lucas Nussbaum for + reporting this (Closes: #831194). + + -- Sebastian Harl Sun, 17 Jul 2016 23:30:33 +0200 + +collectd (5.5.1-4) unstable; urgency=medium + + * debian/control: + - Add dh-autoreconf to Build-Depends. + - Update standards-version to 3.9.8 (no changes). + + -- Marc Fournier Tue, 31 May 2016 18:16:43 +0200 + +collectd (5.5.1-3) unstable; urgency=medium + + * Re-enable gmond plugin. Thanks to Michael Tautschnig and Jean-Michel + Vourgère for fixing #812462. + * debian/patches: + - Add bts823012_librrd8.patch. Properly detect thread safety with librrd8. + Thanks to Jean-Michel Vourgère for the patch (Closes: #823012). + * debian/collectd.conf: + - Add missing example blocks in main configuration file (Closes: #806196). + + -- Marc Fournier Wed, 25 May 2016 23:14:14 +0200 + +collectd (5.5.1-2) unstable; urgency=medium + + * Disable the gmond plugin for now. Ganglia is not available in testing + (cf. #812462). Thanks to Santiago Vila for reporting this + (Closes: #819241). + * Update standards-version to 3.9.7 (no changes). + + -- Sebastian Harl Sat, 02 Apr 2016 11:02:49 +0200 + +collectd (5.5.1-1) unstable; urgency=medium + + * New upstream release: + - The "LC_NUMERIC" locale is now forced to "C", preventing problems on + environments where the locale uses a comma as decimal separator. Thanks + to Hubert Jarosz for reporting this (Closes: #799289). + - Fixed FTBFS with GCC 6.0; thanks to Martin Michlmayr for reporting this + (Closes: #811580). + * debian/patches: + - Removed bts802249_varnish_41.patch; implemented upstream. + * debian/collectd.conf: + - Sync with upstream changes since 5.5.0. + + -- Marc Fournier Fri, 22 Jan 2016 16:53:49 +0100 + +collectd (5.5.0-4) unstable; urgency=medium + + * debian/collectd-core.overrides: + - Update 'binary-or-shlib-defines-rpath' lintian override. + * debian/rules: + - Strip out non-deterministic bits out of generated jar files. + - Remove RTLD_GLOBAL workaround, which was fixed upstream. + * debian/patches: + - Add bts802249_varnish_41.patch (Closes: #802249) + + -- Marc Fournier Mon, 16 Nov 2015 21:03:31 +0100 + +collectd (5.5.0-3) unstable; urgency=medium + + * debian/rules, debian/control: + - Avoid hiding compiler options at build time, allowing the buildd log + scanner to do it's job. + - Disable smart plugin on non-linux platforms, due to missing + libatasmart-dev build-dependency. + * debian/collectd-core.overrides: + - Update 'capitalization-error-in-description' lintian override. + * debian/rules, debian/collectd-core.collectd.service: + - Rename systemd service file to collectd-core.collectd.service, to honour + debhelper's naming convention. + * debian/collectd-core.collectd.service: + - Check for configuration file presence before starting the daemon. + - Check for configuration file validity before starting the daemon. + * debian/control, debian/changelog: + - Update my email address to match identity of current GPG key. + + -- Marc Fournier Sun, 13 Sep 2015 21:42:53 +0200 + +collectd (5.5.0-2) unstable; urgency=low + + * debian/rules: + - Disable the turbostat plugin on !amd64,!i386; it's Intel-hardware + specific. + + -- Sebastian Harl Sun, 23 Aug 2015 15:35:26 +0200 + +collectd (5.5.0-1) unstable; urgency=medium + + [ Marc Fournier ] + * New upstream release: + - Battery plugin now prefers sysfs over (the deprecated) procfs for + reading values; thanks to Witold Baryluk for reporting this + (Closes: #630337). + - The configuration supports unquoted IPv6 addresses now; thanks to Geoff + Crompton for reporting this (Closes: #632713). + - Fixed a FTBFS using clang; thanks to Arthur Marble for reporting this + and providing a patch (Closes: #758481). + - collection.cgi now supports the df_complex types; thanks to Joel Franco + Guzmán for reporting this (Closes: #739625). + - Fixed an off-by-one error in the AVL tree implementation that broke + setups using only one threshold definition; thanks to Alexander Golovko + for reporting this (Closes: #754230). + - The disk plugin now (optionally) supports instance names based on a udev + attribute; thanks to Trent W. Buck for reporting this (Closes: #632936). + * debian/patches: + - Removed bts559801_plugin_find_fix.dpatch; merged upstream. + - Removed bts747093_lvm_segfault.dpatch; merged upstream. + - Removed bts750440_config_segfault.dpatch; merged upstream. + - Removed bts770681_riemann_ack.dpatch; merged upstream. + - Removed bts770683_curl_init.dpatch; merged upstream. + - Removed bts770688_snmp_memleak.dpatch; merged upstream. + - Removed bts770690_java_jni_thread_detach.dpatch; merged upstream. + - Removed bts770693_timestamps.dpatch; merged upstream. + - Removed bts770694_loglevel.dpatch; merged upstream. + - Removed collection.cgi.dpatch; merged upstream. + - Removed myplugin_api.dpatch; merged upstream. + * debian/rules, debian/collectd-dev.install, myplugin_includes.dpatch: + - Update path to header files moved to daemon/ subdirectory upstream. + * debian/rules, debian/control: + - Enable redis, write_redis plugins and add Build-depend on + libhiredis-dev (previous versions depended on credis which wasn't + packaged in Debian). + - Enable sigrok and uncomment Build-depend on libsigrok-dev. + - Re-enable varnish and uncomment Build-depend on libvarnishapi-dev + (support for varnish 4.x was added upstream). + - Enable zfs_arc (support for ZFS on linux was added upstream). + - Add Build-depend on libatasmart-dev (required to build new smart + plugin). + - Add Build-depend on libcap-dev (used to avoid running new turbostat + plugin as root on Linux). + - Add Build-depend on libi2c-dev (required to build new barometer plugin). + - Add Build-depend on libldap2-dev (required to build new openldap + plugin). + - Add Build-depend on librdkafka-dev (required to build new write_kafka + plugin). + - Add Build-depend on libudev-dev (used by disk plugin to enable + udev-based device renaming on Linux) (Closes: #588153, #632936). + * debian/control, debian/rules, debian/collectd.service: + - Add systemd service file (Closes: #762586) + * debian/libcollectdclient1.symbols + - Updated for 5.5. + + [ Sebastian Harl ] + * debian/control: + - Add virtual-mysql-server as an alternative to the mysql-server suggests; + thanks to Otto Kekäläinen for reporting this (Closes: 781980). + - Add Marc to uploaders. + - Update standards-version to 3.9.6 (no changes). + * debian/po: + - Update Dutch debconf template translation; thanks to Frans Spiesschaert + (Closes: #763783). + * Convert the package to "3.0 (quilt)" format; thanks to YunQiang Su for an + initial patch (Closes: #688719): + - Build-depend on debhelper (>= 7.0.50~) and drop dpatch. + - Renamed patch files from *.dpatch to *.patch and drop the dpatch header. + - Changed debian/patches/00list to debian/patches/series. + - Drop all patch operations from debian/rules. + * debian/collectd-core.overrides: + - Update the JRE path for the rpath override. + + -- Marc Fournier Fri, 21 Aug 2015 13:29:17 +0200 + +collectd (5.4.1-6+deb8u1) jessie-security; urgency=high + + * debian/patches/CVE-2016-6254.dpatch: Fix heap overflow in the network + plugin. Emilien Gaspar has identified a heap overflow in parse_packet(), + the function used by the network plugin to parse incoming network packets. + Thanks to Florian Forster for reporting the bug in Debian. + (Closes: #832507, CVE-2016-6254) + * debian/patches/bts832577-gcry-control.dpatch: Fix improper usage of + gcry_control. A team of security researchers at Columbia University and + the University of Virginia discovered that GCrypt's gcry_control is + sometimes called without checking its return value for an error. This may + cause the program to be initialized without the desired, secure settings. + (Closes: #832577) + + -- Sebastian Harl Thu, 28 Jul 2016 22:25:08 +0200 + +collectd (5.4.1-6) unstable; urgency=medium + + * debian/patches: + - Added bts770681_riemann_ack: upstream fix for the write_riemann plugin + to avoid locking up a remote Riemann instance; thanks to Marc Fournier + for reporting this (Closes: #770681). + - Added bts747093_lvm_segfault: upstream fix for a segfault in the LVM + plugin; thanks to Bernd Zeimetz and Marc Fournier for reporting this + (Closes: #747093). + - Added bts770683_curl_init: upstream fix for a segfault in plugins using + libcurl caused by concurrent memory access; thanks to Marc Fournier for + reporting this (Closes: #770683, cf. #735173). + - Added bts750440_config_segfault: upstream fix for a segfault when + including empty config files; thanks to Bernd Zeimetz and Marc Fournier + for reporting this (Closes: #750440, #770685). + - Added bts770688_snmp_memleak: upstream fix for a memory leak in the + SNMP plugin; thanks to Marc Fournier for reporting this + (Closes: #770688). + - Added bts770690_java_jni_thread_detach: upstream fix for locking up the + Java plugin by not properly detaching from the JVM in error conditions; + thanks to Marc Fournier for reporting this (Closes: #770690). + - Added bts770693_timestamps: upstream fix for handling internal + timestamps; thanks to Marc Fournier for reporting this (Closes: #770693) + - Added bts770694_loglevel: upstream fix to correct logging behavior when + using an invalid log level; thanks to Marc Fournier for reporting this + (Closes: #770694, #687067). + + -- Sebastian Harl Sun, 23 Nov 2014 15:27:15 +0100 + +collectd (5.4.1-5) unstable; urgency=medium + + * debian/rules: + - Fixed a typo preventing the fix for #760719 to be active + (Closes: #760719). + + -- Sebastian Harl Sun, 28 Sep 2014 17:13:07 +0000 + +collectd (5.4.1-4) unstable; urgency=medium + + * debian/rules: + - Disable preprocessor warnings on kfreebsd to work around an error + resulting from a redefined macro in PostgreSQL's pg_config_manual.h; + thanks to Ivo De Decker for reporting this (Closes: #760719). + * debian/control, debian/rules: + - Disable the 'java' plugin on sparc for now. It fails to build. + + -- Sebastian Harl Sun, 28 Sep 2014 01:59:14 +0200 + +collectd (5.4.1-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/control: + - Build-Depend on libprotobuf-c-dev instead of libprotobuf-c0-dev due to + the protobuf-c transition (Closes: #756422). + + -- Robert S. Edmonds Tue, 12 Aug 2014 15:36:27 -0400 + +collectd (5.4.1-3) unstable; urgency=medium + + * debian/control: + - Added libupsclient-dev as primary alternate build-dep to + libupsclient1-dev; thanks to Laurent Bigonville for reporting this and + Marc Fournier for sending a patch (Closes: #730397). + + -- Sebastian Harl Mon, 28 Apr 2014 23:29:53 +0200 + +collectd (5.4.1-2) unstable; urgency=medium + + * debian/rules, debian/control: + - Disable varnish for now; it does not work with varnish 4; + c.f. https://bugs.debian.org/745902 (Closes: #745894). + - Drop build dependency on libvarnishapi-dev. + - Build-depend on libow-dev and re-enable the onewire plugin; thanks to + Adam Smutnicki for pointing this out (Closes: #744956). + * debian/rules: + - Added INSTALL_BASE= to perl options; else, modules are installed + into $HOME. + - Prepend collectd/core to collectd's header files; thanks to Sergio + Jimenez for reporting this (Closes: #739516). + * debian/patches: + - Added collection.cgi.dpatch fixing apache data-sources; thanks to + Fabiano Pires for reporting this and providing a patch + (Closes: #743881). + - Added myplugin_api.dpatch updating myplugin.c to the latest API. + + -- Sebastian Harl Sat, 26 Apr 2014 16:54:19 +0200 + +collectd (5.4.1-1) unstable; urgency=medium + + * New upstream release: + - Fixed a segfault when using without an Instance; thanks to + Alexander Golovko for reporting this (Closes: #732701). + - Fixed gcrypt initialization issues (partly fixed in 5.1.1 already); + thanks to Pieter Lexis for reporting this (Closes: #735173). + * debian/patches: + - Removed amqp_0_4.dpatch; merged upstream. + * debian/control: + - Updated standards-version to 3.9.5; no changes. + * debian/rules: + - Use -Wno-error=deprecated-declarations to suppress libdbi deprecation + warnings for now; they would else cause build failures due to -Werror. + + -- Sebastian Harl Tue, 28 Jan 2014 21:47:00 +0100 + +collectd (5.4.0-3) unstable; urgency=low + + * debian/control: + - Removed build-dep on iproute-dev which is about to be removed and has + been superseded by libmnl-dev in collectd. Thanks to Laurent Bigonville + and Andreas Henriksson for reporting this (Closes: #726921). + * debian/collectd.conf: + - Removed sample configuration for the write_mongodb plugin; the plugin is + not available on Debian; thanks to Bryan Fullerton for reporting this + (cf. LP:#1206813, Closes: #724699). + * debian/patches: + - Added amqp_0_4.dpatch: Added support for rabbitmq-c 0.4.x. + + -- Sebastian Harl Sat, 23 Nov 2013 16:08:05 +0100 + +collectd (5.4.0-2) unstable; urgency=low + + * debian/control: + - Limit build-dependency on libmnl-dev to linux-any. debian/rules already + did the right thing and excluded the 'netlink' plugin on kfreebsd. + Thanks to Ivo De Decker for reporting this (Closes: #724911). + + -- Sebastian Harl Thu, 03 Oct 2013 12:23:18 +0200 + +collectd (5.4.0-1) unstable; urgency=low + + * New upstream release (Closes: #723187): + - MySQL plugin now uses the name of the block rather than the + database name to identify the read callback; thanks to Mathieu Parent + for reporting this (Closes: #703446). + - Fixed a segfault in the ethstat plugin; thanks to Maximilian Engelhardt + for reporting this (Closes: #698584). + - The swap plugin now reports NaN rather than failing if no swap space is + available; thanks to Simon Richter for reporting this (Closes: #679163). + New plugins: + - read statistics from Aquaero 5 watercooling boards: aquaero (disabled in + Debian because of missing dependencies) + - CPU accounting information for Linux process groups: cgroups (disabled + on non-Linux systems) + - Logical Volume Manager usage: lvm (disabled on non-Linux systems) + - Intel Many-Integrated-Core (MIC) statistics: mic (disabled in Debian + because of missing dependencies) + - statistics of sigrok-supported devices: sigrok (disabled in Debian + because of missing dependencies) + - aggregate values received with the StatsD protocol: statsd + - incremental parsing of CSV files: tail_csv + - send collected values to Riemann: write_riemann + * Uploading to unstable; Wheezy has long been released. + * debian/patches: + - Removed pod-perl-5.18.dpatch; applied upstream. + * debian/control, debian/rules: + - Depend on libmnl-dev and enable the netlink plugin on all architectures + (upstream removed the dependency on the netlink library which is only + available as a static non-PIC library on Debian) (Closes: #531352). + - Depend on liblvm2-dev and enable the LVM plugin on Linux. + * debian/rules: + - Disable the aquaero plugin which requires libaquaero5. + - Disable the cgroups plugin on non-Linux. + - Disable the MIC plugin which requires libmic. + - Disable the sigrok plugin which requires libsigrok >= 0.2.0. + - Removed the Perl INSTALL_BASE workaround introduced in 5.2.0-1. + * debian/control: + - Removed build-dependency on libhal-dev; HAL is deprecated and will be + removed from Debian. It was optionally used by the uuid plugin. + (Closes: #615203) + - Build-conflict with libhal-dev to ensure consistent builds (cf. #615203). + - Let libcollectdclient-dev replace/break collectd-dev (<< 5.2.0-1) + because it ships files previously shipped by that package; thanks to + Andreas Beckmann for reporting this (Closes: #717973). + - Let collectd-core / collectd suggest / recommend default-jre-headless + (cf. #683525). + * debian/collectd-core.collectd.init.d: + - Do not use different PID files for collectd and collectdmon. Else, a + process might be left-over after changing USE_COLLECTDMON and restarting + collectd. Thanks to Dennis Hoppe for reporting this (Closes: #704048). + * debian/collectd-core.templates, debian/po/: + - Fixed path-names of NEWS.Debian.gz and the migrate scripts; thanks to + Uli Martens for reporting this (Closes: #719292). + * debian/po/: + - Updated Italian debconf template translation; thanks to Beatrice + Torracca (Closes: #705869). + - Updated Japanese debconf template translation; thanks to 'victory' + (Closes: #715283). + * debian/collectd.conf: + - Recursively include all '*.conf' files in /etc/collectd/collectd.conf.d/ + using the new 'Include' option's 'Filter' feature; thanks to Laurent + Bigonville for suggesting this change (Closes: #690668). + + -- Sebastian Harl Wed, 18 Sep 2013 13:26:58 +0200 + +collectd (5.2.1-1) experimental; urgency=low + + * New upstream release. + * debian/patches: + - Removed postgresql_writer_memleak.dpatch -- applied upstream. + * debian/collectd-utils.install: + - Install collectd-tg manpage. + * debian/control: + - Updated standards-version to 3.9.4 -- no changes. + + -- Sebastian Harl Wed, 30 Jan 2013 21:35:30 +0100 + +collectd (5.2.0-2) experimental; urgency=low + + * debian/patches: + - Added postgresql_writer_memleak.dpatch fixing a memory leak in the + PostgreSQL writer implementation. + + -- Sebastian Harl Thu, 29 Nov 2012 09:09:51 +0100 + +collectd (5.2.0-1) experimental; urgency=low + + * New upstream release: + - ping plugin: Don't abort if ping_send fails but report an error only; + thanks to Bernd Zeimetz for reporting this (Closes: #630683). + - df plugin: Ignore "rootfs" file-system type to make sure that root + file-system statistics are only collected once; thanks to Florian La + Roche for reporting this (Closes: #657122). + - Fixed parse errors when using (including) empty config files; thanks to + Reinhard Tartler for reporting this (Closes: #592881). + New plugins: + - Aggregate multiple values lists into one: aggregation + - Query statistics from BSD's packet filter: pf (FreeBSD only) + * Uploading to experimental because of the Wheezy freeze. + * debian/control, debian/rules: + - Build-depend on kfreebsd-kernel-headers (kfreebsd-any only) and disable + the 'pf' plugin on non-kfreebsd systems. + * debian/patches: + - Removed migrate-4-5-df.dpatch; merged upstream. + - Removed rtnl_dump_filter.dpatch; merged upstream. + - Added myplugin_includes.dpatch -- change the example plugin include path + to /usr/include/collectd/core/ (see below). + - rrd_filter_path.dpatch: Also patch the migrate-4-5 script; while this is + not required for the (optional) auto-migration when updating the package + (the full path is passed as an argument) it helps the user to just use + the script without the need to add further arguments; thanks to Joey + Hess for reporting this (Closes: #689001). + * debian/rules: + - Fix installation paths used for Perl bindings. Upstream now passes + INSTALL_BASE rather than PREFIX to Makefile.PL which resulted in the + bindings being installed to different locations than before. + * debian/collectd-utils.install: + - Install collectd-tg(1). + * debian/libcollectdclient-dev.install: + - Install the libcollectdclient network*.h header files. + * Renamed libcollectclient0 to libcollectdclient1 due to the SONAME version + bump. + * debian/libcollectdclient1.symbols: + - Updated for 5.2. + * debian/collectd-dev.install: + - Install the collectd (daemon) headers to /usr/include/collectd/core/ + rather than /usr/include/collectd/. The latter is used by + libcollectdclient which causes file conflicts. + * debian/collectd.conf: + - Let the 'df' plugin ignore 'rootfs' (else, the root file-system would + appear twice, causing one of the updates to fail and spam the log) and + the usual virtual / temporary file-systems (cf. #657122). + * debian/collectd-core.postrm: + - Source the debconf confmodule to make the db_* functions available; + thanks to Joey Hess and YunQiang Su for reporting this + (Closes: #680172, #688285). + * debian/po: + - Updated Brazilian Portuguese debconf templates; thanks to Adriano Rafael + Gomes (Closes: #685760). + + -- Sebastian Harl Tue, 20 Nov 2012 15:40:12 +0100 + +collectd (5.1.0-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS with perl 5.18: POD errors": + add patch pod-perl-5.18 that adds =encoding to some POD files. + (Closes: #708718) + * Fix "Transition package to use default java implementation": + apply modified patch from Ubuntu / James Page: + - switch build dependency from openjdk-6-jdk to default-jdk + - set JAVA_HOME to /usr/lib/jvm/default-java + - update lintian override accordingly + (Closes: #683525) + + -- gregor herrmann Sun, 26 May 2013 00:52:37 +0200 + +collectd (5.1.0-3+deb7u1) wheezy-security; urgency=high + + * debian/patches/CVE-2016-6254.dpatch: Fix heap overflow in the network + plugin. Emilien Gaspar has identified a heap overflow in parse_packet(), + the function used by the network plugin to parse incoming network packets. + Thanks to Florian Forster for reporting the bug in Debian. + (Closes: #832507, CVE-2016-6254) + * debian/patches/bts832577-gcry-control.dpatch: Fix improper usage of + gcry_control. A team of security researchers at Columbia University and + the University of Virginia discovered that GCrypt's gcry_control is + sometimes called without checking its return value for an error. This may + cause the program to be initialized without the desired, secure settings. + (Closes: #832577) + + -- Sebastian Harl Thu, 28 Jul 2016 20:52:12 +0200 + +collectd (5.1.0-3) unstable; urgency=low + + * debian/patches/migrate-4-5-df.dpatch, debian/collectd-core.postinst: + - Added patch to fix the migration of 'df' values in migrate-4-5.px; + thanks to 'markuskaindl' for reporting this on IRC. + - Pass --rrdfilter and --rrdtool parameters to migrate-4-5.px in order to + let the script find those binaries/scripts. + (Closes: #681363) + * debian/collectd-core.collectd.init.d: + - Catch disabled state in start and restart and don't exit with an error + status. Amongst others, this fixes an upgrade of collectd when the + daemon is disabled. Thanks to Florian Ernst for reporting this and + Evgeni Golov for providing (an early) patch (Closes: #681216). + - Don't use 'set -e' and 'exit 0' (at the end) in order to let return + statuses propagate correctly. (cf. #681216) + + -- Sebastian Harl Sun, 15 Jul 2012 11:17:10 +0200 + +collectd (5.1.0-2) unstable; urgency=low + + * debian/collectd-core.postinst: + - Don't create unused temp. directory. + * debian/control, debian/rules: + - Build depend on libmodbus-dev and enabled modbus plugin. 5.1 now + supports libmodbus 3; thanks to Ivo De Decker for reporting this + (Closes: #639796). + * debian/po: + - Updated Swedish debconf translation; thanks to Martin Bagge + (Closes: #677842). + - Added Slovak debconf translation; thanks to 'helix84' + (Closes: #677902). + - Updated Danish debconf translation; thanks to Joe Dalton + (Closes: #677908). + - Updated Czech debconf translation; thanks to Martin Šín + (Closes: #677949). + - Updated Russian debconf translation; thanks to Yuri Kozlov + (Closes: #678016). + - Updated Portuguese debconf translation; thanks to Américo Monteiro + (Closes: #678048). + - Updated Polish debconf translation; thanks to Michał Kułach + (Closes: #678157). + - Updated Galician debconf translation; thanks to Jorge Barreiro + (Closes: #678467). + - Updated French debconf translation; thanks to Steve Petruzzello + (Closes: #678614). + - Updated Spanish debconf translation; thanks to Omar Campagne + (Closes: #679281). + * debian/collectd-core.collectd.init.d: + - Source /lib/lsb/init-functions in order to make systemd work in + compatibility mode; thanks to Michael Stapelberg for reporting this + (Closes: #679544). + - Use log_* and status_of_proc functions from LSB's init functions to + make collectd's output look like all the other output; thanks to + Matthias Urlichs for pointing this out (Closes: #679355). + + -- Sebastian Harl Sat, 30 Jun 2012 13:27:41 +0200 + +collectd (5.1.0-1) unstable; urgency=low + + * New upstream release (Closes: #630968): + - syslog plugin now supports logging notifications; thanks to Trent W. + Buck for suggesting this (Closes: #632940). + New plugins: + - AMQP output plugin: amqp + - AIX logical partitions statistics: lpar (disabled in Debian; AIX only) + - Network interface card statistics: ethstat (disabled on kfreebsd; Linux + only) + - Linux software-RAID device information: md (disabled on kfreebsd; Linux + only) + - Information about Non-Uniform Memory Access: numa (disabled on kfreebsd; + Linux only) + - Redis key-value database server statistics: redis (disabled in Debian; + libcredis is not available) + - Check thresholds and for missing values: threshold + - Varnish HTTP accelerator daemon statistics: varnish + - Sends data to Carbon, the storage layer of Graphite: write_graphite + - Write values to a MongoDB NoSQL database server: write_mongodb (disabled + in Debian; libmongoc is not available) + - Write values to a Redis key-value database server: write_redis (disabled + in Debian; libcredis is not available) + New targets: + - Upgrade data-sets from v4 clients to v5: v5upgrade + * debian/rules: + - Disabled lpar plugin -- this requires AIX (perfstat). + - Disabled redis and write_redis plugins -- they require libcredis. + - Disabled write_mongodb plugin -- this requires libmongoc. + - Disabled ethstat, md, and numa plugins on kfreebsd -- these plugins are + Linux specific. + - Install contrib/exec-ksm.sh as example. + * debian/control: + - Added build-dep on librabbitmq-dev, required by the AMQP plugin. + - Added build-dep on libvarnish-dev, required by the varnish plugin. + * debian/collectd-utils.install: + - Install collectdctl and collectdctl.1 to collectd-utils. + * debian/libcollectdclient0.symbols: + - Added lcc_sort_identifiers introduced in 5.1.0. + * debian/NEWS.Debian: + - Documented the upgrade from version 4 to 5. + * debian/collectd-core.install: + - Install migrate-4-5.px. + * debian/collectd-core.{config,postinst,templates}: + - Added debconf queries and code to automatically migrate from v4. + * debian/source/format: + - Set to "1.0" for now. + * debian/po/: + - Updated German debconf template translation. + * debian/collectd-core.override: + - Limit netlink override to appropriate architectures. + + -- Sebastian Harl Wed, 13 Jun 2012 08:05:01 +0200 + +collectd (4.10.7-2) unstable; urgency=low + + * debian/po: + - Updated Czech debconf translation; thanks to Martin Šín + (Closes: #673693). + - Updated Polish debconf translation; thanks to Michał Kułach + (Closes: #673697). + - Updated Dutch debconf translation; thanks to Jeroen Schot + (Closes: #673769). + - Updated Swedish debconf translation; thanks to Martin Bagge + (Closes: #673888). + - Updated Russian debconf translation; thanks to Vladimir Zhbanov + (Closes: #673890). + - Added Italian debconf translation; thanks to Beatrice Torracca + (Closes: #674044). + - Updated Portuguese debconf translation; thanks to Américo Monteiro + (Closes: #674065). + - Updated Danish debconf translation; thanks to Joe Dalton + (Closes: #674459). + - Updated Brazilian Portuguese debconf translation; thanks to Adriano + Rafael Gomes (Closes: #674589). + - Updated French debconf translation; thanks to Steve Petruzzello and + Christian PERRIER (Closes: #674629). + - Updated Spanish debconf translation; thanks to Omar Campagne + (Closes: #676383). + - Updated German debconf translation based on Holger Wansing's feedback on + debian-l10n-german. + + -- Sebastian Harl Sun, 10 Jun 2012 13:49:32 +0200 + +collectd (4.10.7-1) unstable; urgency=low + + * New upstream release. + - Fixed an endless loop in case the datadir is a symlink pointing to a + non-existent target; thanks to Michael Prokop for reporting this and + Jonathan Nieder for providing the patch (Closes: #619123). + - Use bsd/nlist.h rather than the deprecated nlist.h on FreeBSD fixing a + FTBFS on kfreebsd; thanks to Tobias Frost for reporting this + (Closes: #664429). + * debian/patches/: + - Removed ipvs_h_include.dpatch -- applied upstream. + - Added rtnl_dump_filter.dpatch, updating the rtnl_dump_filter() signature + to recent versions of iproute2. + * debian/rules: + - Use dpkg-buildflags to determine compiler/linker flags; this also + enables hardening build flags; thanks to Moritz Muehlenhoff for + providing the patch (Closes: #656271). + - Don't force building of the ipvs plugin. The ip_vs.h check has been + fixed in configure. + - Use /usr/share/javahelper/java-arch.sh to determine the Java + architecture directory, thus, making sure armhf and armel are supported + as well; thanks to peter green for reporting this and providing the + pointer (Closes: #656274). + - Work around #673431 (kvm.h requires sys/types.h) by forcing the processes + plugin on kfreebsd and manually defining HAVE_STRUCT_KINFO_PROC_FREEBSD. + * debian/README.Debian: + - Added section 'Cleanup of old data' explaining how to get rid of + out-dated data files (e.g. RRD files). + * debian/control: + - Updated to standards-version 3.9.3 -- no changes. + - Build depend on javahelper providing java-arch.sh. + - Use linux-any, kfreebsd-any, etc. rather than hardcoded list of + non-Linux architectures to make life of porters easier; thanks to Robert + Millan for reporting this and providing a pointer to the fix + (Closes: #634690). + - Explicitly build-depend on libkvm-dev on kfreebsd; this is required by + the processes, swap and tcpconns plugins. + * debian/collectd-core.postrm, debian/collectd-core.templates: + - Prompt the user (debconf priority high) when purging the collected data + providing an option to opt out. The question defaults to remove the + data; thanks to Trent W. Buck for reporting and discussing this + (Closes: #631167). + * debian/collectd-core.collectd.init.d: + - Added cpufrequtils to should-start, else collectd does not reliably + detect all CPUs; thanks to Mathias Bauer for reporting and debugging + this (Closes: #662040). + - Use the exit codes specified by LSB in 'status' command; thanks to + Michael Prokop for reporting this (Closes: #615840). + * debian/po/: + - Added Danish debconf template translation; thanks to Joe Dalton + (Closes: #660918). + - Added Brazilian Portuguese debconf template translation; thanks to + Adriano Rafael Gomes (Closes: #662174). + - Added Polish debconf template translation; thanks to Michał Kułach + (Closes: #672739). + + -- Sebastian Harl Thu, 17 May 2012 15:55:39 +0200 + +collectd (4.10.4-1) unstable; urgency=low + + * New upstream release. + - Added support for Yajl version 2; thanks to John Stamp for reporting + this (Closes: #653879). + - collectd.conf(5) now documents the "Globals" config option and that this + is required for the "perl" and "python" plugins; thanks to Jeff Green + for reporting this (Closes: #612784). + - Be more verbose about why loading a plugin fails; thanks to Martin + Steigerwald for reporting this (Closes: #585975). + - Don't abort if including a config file fails; thanks to Reinhard Tartler + for reporting this (Closes: #592880). + - Fixed FTBFS with GCC 4.6; thanks to Matthias Klose for reporting this + and Peter Green and Colin Watson for providing patches + (Closes: #625323). + - Added support for libnotify 0.7; thanks to Michael Biebl for reporting + this (Closes: #636818). + - Fixed FTBFS with current libiptc; thanks to Lucas Nussbaum for reporting + this (Closes: #614439). + * debian/patches: + - Removed bts595756-notify_email-segfault -- included upstream. + - Removed bts592623-curl_json-file -- included upstream. + - Removed bts596128-reheap-fix -- included upstream. + - Removed CVE-2010-4336 -- included upstream. + * debian/rules: + - Append DEB_BUILD_ARCH to JAVA_HOME; this is how it's done in the OpenJDK + package. + - Split 'build' target into 'build-arch' and 'build-indep' as recommended + by policy. + * debian/patches/ipvs_h_include, debian/rules: + - Let the ipvs plugin use linux/ip_vs.h rather than net/ip_vs.h. Also, + make sure to look for the header in /usr/include rather than the kernel + directory (which has been deprecated). + - Force building of the ipvs plugin since configure is not currently able + to correctly check for ip_vs.h. + * debian/control: + - Updated standards-version to 3.9.2 -- no changes. + * debian/collectd-core.collectd.init.d: + - Added a description LSB header field. + * debian/collectd-core.overrides: + - Updated entry for java's binary-or-shlib-defines-rpath. + + -- Sebastian Harl Mon, 09 Jan 2012 16:10:58 +0100 + +collectd (4.10.1-2.1) unstable; urgency=high + + * Non-maintainer upload by the security team + * Fix DoS in RRD file creation (Closes: #605092) + Fixes: CVE-2010-4336 + Thanks to Florian Forster + + -- Steffen Joeris Wed, 08 Dec 2010 17:45:50 +1100 + +collectd (4.10.1-2) unstable; urgency=medium + + * debian/rules: + - Added support for ‘powerpcspe’ to the Java arch mapping; thanks to + Sebastian Andrzej Siewior for the patch (Closes: #592909). + * debian/patches: + - Added bts595756-notify_email-segfault -- upstream patch fixing a + segfault in the 'notify_email' plugin; thanks to Manuel CISSE for + reporting this (Closes: #595756). + - Added bts592623-curl_json-file -- upstream patch fixing access to + file:// URLs in the 'curl_json' plugin; thanks Baptiste Mille-Mathias + for reporting this and pointing out the patch (Closes: #592623). + - Added bts596128-reheap-fix -- upstream patch fixing the 'reheap()' + function used to manage the "read" callbacks and making sure all plugins + get executed correctly and in each interval (Closes: #596128). + * Set urgency to "medium" because of the RC bug-fix. + + -- Sebastian Harl Wed, 08 Sep 2010 22:50:54 +0200 + +collectd (4.10.1-1) unstable; urgency=low + + * New upstream release. + * debian/patches: + - Removed bts561577_collectd2html_recursive_fix -- applied upstream. + - Removed bts575029-collectd2html-xhtml -- applied upstream. + - Removed bts557599_powerdns_fix -- applied upstream. + * debian/control: + - Updated standards-version to 3.9.1 -- no changes. + + -- Sebastian Harl Wed, 28 Jul 2010 18:45:31 +0200 + +collectd (4.10.0-1) unstable; urgency=low + + * New upstream release: + New plugins: + - Parse XML data: curl_xml + - Parse values from Modbus/TCP enabled devices: modbus (disabled in + Debian; libmodbus is not available) + - Timing values from Pinba: pinba + * debian/control: + - Build-depend on libprotobuf-c0-dev and protobuf-c-compiler required by + the 'pinba' plugin. + - Updated to standards-version 3.8.4 -- no changes. + * debian/patches: + - Removed bts566199_collection_hide_types -- applied upstream. + - Removed typo_fixes -- applied upstream. + - Added bts575029-collectd2html-xhtml, adding support for XHTML to + collectd2html.pl; thanks to Ivan Shmakov for reporting this and Max + Henkel and Timur Kirilichev for providing patches (Closes: #575029). + * debian/rules: + - Define (and pass to configure) $JAR, required by current versions of the + Java bindings. + - Added support for Renesas SH4 to the Java arch mapping; thanks to + Nobuhiro Iwamatsu for the patch (Closes: #564165). + * debian/collectd.postinst: + - Manually replace /usr/share/doc/collectd/examples/ with a symlink when + upgrading from versions << 4.10.0-1~ -- this is not handled by dpkg + according to policy 6.6; thanks to Joey Hess for reporting this + (Closes: #569268). + * debian/collectd-core.overrides: + - Override 'capitalization-error-in-description python Python' -- all + plugin names are spelled in lower-case letters. + + -- Sebastian Harl Tue, 08 Jun 2010 00:42:56 +0200 + +collectd (4.9.1-2) unstable; urgency=low + + * debian/rules: + - Re-enabled non-kfreebsd plugins on i386 and amd64, which had been + disabled accidentally by using findstring (which does a substring match) + to compare DEB_BUILD_ARCH with kfreebsd-{amd64,i386}; thanks to ilia + kudirov for reporting this (Closes: #567259). + - Replaced all occurrences of 'findstring' with appropriate 'filter' + statements to make sure to match words rather than substrings. + + -- Sebastian Harl Thu, 28 Jan 2010 22:09:16 +0100 + +collectd (4.9.1-1) unstable; urgency=low + + * New upstream release: + New plugins: + - Number of context switches done by the OS: contextswitch + - Query statistics from mon.itor.us: Monitorus (Perl based plugin) + - Collect statistics from NetApp filers: netapp (disabled in Debian; + libnetapp is not available) + - OpenVZ statistics: OpenVZ (Perl based plugin) + - Embedding a Python interpreter: python + - Query statistics from RouterOS: routeros (disabled in Debian; + librouteros is not available) + New matches: + - Match values using a hash function of the hostname: hashed + New targets: + - Scale (multiply) values: scale + * debian/control: + - Build-depend on "python-dev", required to build the "python" plugin. + * debian/collectd-core.install: + - Install all collectd-*.5 manpages (in particular, this includes the + newly added collectd-python.5). + * Added support for kfreebsd-{i386,amd64}; see below for details + (Closes: #566521). + * debian/control, debian/rules: + - Disabled the following Linux-specific plugins / removed the following + build-deps on kfreebsd-{i386,amd64}: + + "iptables" plugin / iptables-dev + + "ipvs" plugin / linux-libc-dev + + "madwifi" plugin + + "netlink" plugin / iproute-dev + + "sensors" plugin / libsensors4-dev + + "vserver" plugin + - Disabled the following plugins / removed the following build-deps on + kfreebsd-{i386,amd64} -- the build-deps are (not yet) available on + kfreebsd: + + "gmond" plugin / libganglia1-dev + + "libvirt" plugin / libvirt-dev + + "java" plugin / openjdk6-jdk + - Enabled the "rrdcached" plugin and build-depend on librrd-dev (>= 1.4~) + (and removed the optional build-dep on librrd2-dev). + - Enabled the "tokyotyrant" plugin (except on kfreebsd-{i386,amd64}) and + build-depend on libtokyotyrant-dev (which is not available on kfreebsd). + Also, build-depend on libtokyocabinet-dev to work around a missing + dependency in libtokyotyrant-dev (see #566584). + * debian/rules: + - Disabled the following plugins on kfreebsd-{i386,amd64} which have not + yet been ported to FreeBSD: battery, conntrack, contextswitch, cpufreq, + disk, entropy, fscache, irq, nfs, protocols, serial, thermal, vmem, + wireless. + - Simplified Java archdir mapping: removed entries "pointing" to + themselves and let those default to DEB_BUILD_ARCH. + - Check whether all patches have been enabled; fail, if not. + * debian/patches: + - Added bts566199_collection_hide_types.dpatch -- added ability to hide + specified types in collection.cgi; thanks to Pavel Piatruk for the patch + (Closes: #566199). + - Added typo_fixes.dpatch -- fixing some typos in manpages and error + messages; thanks to lintian(1) for reporting this. + * debian/collectd-core.overrides: + - Replaced overrides for spelling-error-in-description with + capitalization-error-in-description. + + -- Sebastian Harl Tue, 26 Jan 2010 00:22:32 +0100 + +collectd (4.8.2-1) unstable; urgency=medium + + * New upstream release: + - Now using libtool 2. + * Set urgency to medium because of the fix for #559801. + * Split the "collectd" binary package into "collectd-core" and "collectd". + The former provides the main program file and the plugins while the latter + provides the configuration. This allows for much more flexible setups + (e.g. providing customizations on top of "collectd-core" without modifying + the "collectd" package) and, amongst others, removes the hard dependency + on librrd (Closes: #495936, #544311). + * debian/collectd-core.collectd.init.d: + - Do not (try to) start collectd if the config file does not exist. Else, + installation of "collectd-core" (which does not provide configuration) + would fail. + * debian/collectd.postinst: + - Let the "collectd" package restart the daemon, since it provides the + config file. + * debian/collectd.links: + - Symlink /u/s/d/collectd/examples to /u/s/d/collectd-core/examples. + * debian/control: + - Build-depend on the right combination of libsnmp-dev and perl. Perl's + CFLAGS (included in net-snmp's CFLAGS) introduced '-fstack-protector' in + version 5.10.1 on some architectures (those supporting that features). + net-snmp has been fixed to handle that correctly in 5.4.2.1~dfsg-4; + thanks to Lamont Jones and Dann Frazier for reporting this + (Closes: #559087). + - Build-depend on libsensors4-dev rather than libsensors-dev. libsnmp-dev, + starting with version 5.4.2.1~dfsg-5, supports libsensors4, thus making + that possible. This restores the full functionality of the "sensors" + plugin, which does not work well with libsensors3 and lm-sensors-3; + thanks to Anssi Kolehmainen for reporting this (Closes: #538795). + - Build-depend on libltdl-dev to make it possible to use the system-wide + libltdl. + - No longer conflict/provide/replace the pre-Lenny "collectd-$plugin" + packages. + - Update the list of collectd-core's suggestions: added various services + providing data that may be collected by collectd. Downgraded lm-sensors + from a recommendation to a suggestion. + * debian/patches: + - Removed gmond-fix-compile-error.dpatch -- included upstream. + - Added bts561577_collectd2html_recursive_fix.dpatch -- fixed + collectd2html.pl's recursive mode and improved some defaults; thanks to + Yuri D'Elia for reporting this and providing a patch (Closes: #561577). + - Added bts557599_powerdns_fix.dpatch -- fixed communication to pdns + versions 2.9.22 and above; thanks to for reporting this + and Luke Heberling for providing the patch (Closes: #557599). + - Added bts559801_plugin_find_fix.dpatch -- make collectd resistant + against copies of libltdl affected by CVE-2009-3736. This fixes a + potential but very unlikely security issue, e.g. found in the embedded + copy. For details about how collectd might be affected, see + ; thanks to + Michael Gilbert for reporting this (Closes: #559801). + * debian/rules: + - Pass --without-included-ltdl to configure to tell libtool 2 to not use + the shipped libltdl but rather the one available in the system. Thus, + in the future, libltdl related issues do no longer require updated + collectd packages. + - Pass --disable-static to configure to tell libtool 2 to not build any + static libraries. + - Install debian/collectd.conf as an example into "collectd-core". + - Output the content of config.log if configure fails -- this might help + debugging. + * debian/README.Debian: + - Added a short explanation of the package split. + + -- Sebastian Harl Sat, 26 Dec 2009 12:06:46 +0100 + +collectd (4.8.1-2) unstable; urgency=low + + * debian/rules: + - Disabled the "java" plugin on hppa for now to work around a backlog in + the buildds that currently prevents a transition to testing. + * debian/control: + - Do not build-depend on openjdk-6-jdk on hppa. + + -- Sebastian Harl Thu, 19 Nov 2009 10:55:33 +0100 + +collectd (4.8.1-1) unstable; urgency=medium + + * New upstream release: + - Fixed a build issue with libiptc that caused a segfault in the iptables + plugin; thanks to Rodrigo Campos for reporting this (Closes: #535786). + - Updated the powerdns plugin to support pdns 2.9.22 (and above) as well; + thanks to Thomas Morgan for reporting this and Luke Heberling for + providing a patch (Closes: #535787). + New plugins: + - Parse JSON files: curl_json + - Query data from Java processes using JMX: GenericJMX (Java based plugin) + - Atheros wireless LAN chipset statistics: madwifi + - Optimized Link State Routing daemon statistics: olsrd + - Tokyo Tyrant server statistics: tokyotyrant (disabled in Debian, + libtokyotyrant is not available) + - Send collected values to a web-server: write_http + - ZFS Adaptive Replacement Cache statistics: zfs_arc (disabled in Debian, + libkstat is not available) + New matches: + - Match zero COUNTER values: empty_counter + * Set urgency to medium because of the fix for #535786. + * debian/rules: + - Install contrib/GenericJMX.conf to /usr/share/doc/collectd/examples/. + - Disabled the tokyotyrant and zfs_arc plugins - their dependencies are + not available. + * debian/patches: + - Removed bts535787-powerdns-fix-localsocket.dpatch - included upstream. + - Removed bts541953-curl-followlocation.dpatch - included upstream. + - Removed bts542859-df-fix-ignorelist.dpatch - included upstream. + - Removed java-fix-jvm-start.dpatch - included upstream. + - Removed libvirt-reconnect.dpatch - included upstream. + - Removed network-fix-cacheflush.dpatch - included upstream. + - Removed plugin-fix-unregister.dpatch - included upstream. + - Added gmond-fix-compile-error.dpatch - upstream patch fixing a compile + error in the gmond plugin. + * debian/control: + - Build depend on libyajl-dev, which is required by the curl_json plugin. + * Added debian/README.source: + - The file includes a pointer to /usr/share/doc/dpatch/README.source.gz. + * New debconf template translations: + - ja.po, thanks to Hideki Yamane (Closes: #550968). + + -- Sebastian Harl Thu, 15 Oct 2009 20:54:46 +0200 + +collectd (4.7.2-1) unstable; urgency=low + + * New upstream release (Closes: #541887). + - collectd2html.pl now supports the creation of SVG images; thanks to Ivan + Shmakov for providing a patch (Closes: #482185). + New plugins: + - Connection tracking table size: conntrack + - Linux file-system based caching framework statistics: fscache + - Receive and interpret Ganglia multicast traffic: gmond + - Embedded Java Virtual Machine: java + - Query and parse data from a memcache daemon: memcachec + - Information about network protocols: protocols + - Parse table-like structured files: table + - Power consumption measurements from "The Energy Detective" (TED): ted + - System uptime: uptime + * debian/rules: + - Install collectd-unixsock.py to /usr/share/doc/collectd/examples/. + - Pass CPPFLAGS and CFLAGS as arguments to configure instead of setting + them in the environment - this is the recommended way. + - Pass appropriate JAVAC, JAVA_CPPFLAGS and JAVA_LDFLAGS variables to + configure, using OpenJDK found in /usr/lib/jvm/java-6-openjdk. The + archdir mapping used by the openjdk-6 Debian package is used to find + libjvm.so in JAVA_HOME/jre/lib/ARCHDIR/server. + - Use -rpath to tell the "java" plugin where to find libjvm.so. + - Pass --enable-all-plugins to configure to make sure that the build fails + if any prerequisites are missing. + * debian/control: + - Build-depend on openjdk-6-jdk. + - Build-depend on libganglia1-dev (>= 3), required by the gmond plugin. + - Build-depend on libgcrypt11-dev, used by the network plugin. + - Updated Standards-Version to 3.8.3 (no changes). + - Changed build-dependency libmysqlclient15-dev to libmysqlclient-dev - + this allows transitions to be handled thru binNMUs if possible. + * debian/collectd.install: + - Install collectd-java.5. + * debian/patches: + - Removed libcollectdclient_static_sstrerror.dpatch - included upstream. + - Added network-fix-cacheflush.dpatch - upstream patch to fix the handling + of the 'CacheFlush' config option of the "network" plugin. + - Added libvirt-reconnect.dpatch - upstream patch to let the "libvirt" + plugin re-connect to libvirtd if connecting fails. + - Added plugin-fix-unregister.dpatch - upstream patch to make + 'plugin_unregister_read()' functional again, thus fixing a failed + assertion in some cases. + - Added java-fix-jvm-start.dpatch - upstream patch to fix the JVM startup. + - Added bts541953-curl-followlocation.dpatch - upstream patch to let + plugins using libcurl follow HTTP redirects; thanks to Joey Hess for + reporting this (Closes: #541953). + - Added bts535787-powerdns-fix-localsocket.dpatch - upstream patch fixing + the handling of the 'LocalSocket' config option of the "powerdns" + plugin; thanks to Thomas Morgan for reporting this and Luke Heberling + for providing a patch (references: #535787). + - Added bts542859-df-fix-ignorelist.dpatch - upstream patch to fix the + handling of the ignorelist in the "df" plugin; thanks to Joey Hess for + reporting this (Closes: #542859). + * debian/README.Debian: + - Removed the note about how to get collectd2html.pl working with + version 4 of collectd - the script now supports the --recursive option + which takes care of that. + * debian/collectd.overrides: + - Documented the 'binary-or-shlib-defines-rpath' warning - the rpath is + required by the "java" plugin. + * New debconf template translations: + - cs.po, thanks to Martin Sin (Closes: #534206). + - ru.po, thanks to Yuri Kozlov (Closes: #539467). + * debian/control, debian/rules: + - No not limit the "libvirt" plugin to amd64, i386, powerpc - libvirt-dev + seems to be available on all architectures now. + - Reintroduced a work around for #474087 (broken openipmi .pc files) by + providing a fixed version of OpenIPMIpthread.pc in debian/pkgconfig and + adding that path to PKG_CONFIG_PATH. Removed the version from the + libopenipmi-dev build dependency for now. + * debian/collectd.conf: + - Set the "apache" plugin's URL according to the default used by Debian's + Apache; thanks to Joey Hess for reporting this (Closes: #541888). + * debian/libcollectdclient-dev.install, debian/rules: + - Do not install libcollectdclient's .la file in favor of the Squeeze + release goal to remove those files (for details see + ). + + -- Sebastian Harl Sat, 29 Aug 2009 12:42:15 +0200 + +collectd (4.6.3-1) unstable; urgency=low + + * New upstream release. + * debian/patches: + - Removed battery_acpi_complain.dpatch - included upstream. + - Removed include_empty_files.dpatch - included upstream. + - Removed ntpd_type_pun_fix.dpatch - included upstream. + - Removed rrdtool_uninitialized_fix.dpatch - included upstream. + - Added libcollectdclient_static_sstrerror.dpatch to make a private + function in libcollectdclient static. + * debian/rules: + - Install collectd-network.py to /usr/share/doc/collectd/examples/. + + -- Sebastian Harl Tue, 02 Jun 2009 22:03:10 +0200 + +collectd (4.6.2-3) unstable; urgency=low + + * debian/patches: + - Actually enabled rrdtool_uninitialized_fix.dpatch - d'oh! + + -- Sebastian Harl Fri, 29 May 2009 15:49:46 +0200 + +collectd (4.6.2-2) unstable; urgency=low + + * debian/patches: + - Added battery_acpi_complain.dpatch - upstream patch to fix excessive + error messages in the battery plugin in case /proc/acpi/battery is not + available. + - Added ntpd_type_pun_fix.dpatch - upstream patch to fix dereferencing of + a type-punned pointer identified by GCC 4.4, thanks to Martin Michlmayr + for reporting this (Closes: #526667). + - Added include_empty_files.dpatch - upstream patch to fix the inclusion + of empty configuration files, thanks to Alexander Wirt for reporting + this. + - Added rrdtool_uninitialized_fix.dpatch - upstream patch to fix an + uninitialized value warning in the rrdtool plugin, thanks to Andreas + Moog for reporting this. + * debian/collectd.conf, debian/filters.conf: + - Added a sample filter chain configuration. + * debian/rules: + - Added contrib/php-collection/ to /usr/share/doc/collectd/. + - Disabled "netlink" plugin on mips and mipsel - those architectures do + not allow to link non-PIC code into shared objects, thanks to Peter De + Schrijver for reporting this (Closes: #524593). + * debian/control: + - Build-depend on iptables-dev (>= 1.4.3.2-2) to link against the packaged + libiptc which is available as shared library since iptables 1.4.3. + Depend on versions >= 1.4.3.2-2 because of #524766. + + -- Sebastian Harl Fri, 29 May 2009 14:12:36 +0200 + +collectd (4.6.2-1) unstable; urgency=low + + * New upstream release. + - Fixed the use of struct in6_addr (Closes: #521748). + - Added a filter infrastructure based on "matches" and "targets". + - Added support for vmem graphs to collection.cgi (Closes: #521993). + New plugins: + - bind9 name-server and zone statistics: bind + - Parse statistics from websites: curl + - Query data from a relational database: dbi + - OpenVPN traffic and compression statistics: openvpn + - Query data from an Oracle database: oracle (disabled in Debian, + libclntsh is not available) + - Write data via the RRD accelerator daemon: rrdcached (disabled in + Debian, rrdclient support is not yet available) + New matches: + - Match values by their identifier based on regular expressions: regex + - Match values with an invalid timestamp: timediff + - Select values by their data sources' values: value + New targets: + - Create and dispatch a notification: notification + - Replace parts of an identifier using regular expressions: replace + - Set (overwrite) entire parts of an identifier: set + * Uploading to unstable, since Lenny has been released. + * New debconf template translations: + - vi.po, thanks to Clytie Siddall (Closes: #515872). + - es.po, thanks to Francisco Javier Cuadrado and Erika Chacón Vivas + (Closes: #520988). + * debian/patches: + - Removed perl-uninitialized-var.dpatch - included upstream. + * debian/control: + - Added new binary packages libcollectdclient0 and libcollectdclient-dev + for the newly added client library. + - Added new binary package collectd-utils for optional utilities that pull + in additional dependencies. Currently, this only includes + collectd-nagios. The new package replaces collectd (<< 4.6.1-1~), + because it overwrites /usr/bin/collectd-nagios. + - Added libdbi0-dev to the build dependencies - this is required by the + dbi plugin. + - Moved collectd-dbg from section "utils" to the newly added "debug". + - Updated Standards-Version to 3.8.1. + * debian/rules: + - Use dh_install and *.install files to specify which package some file + belongs to. + * debian/libcollectdclient0.symbols: + - Added symbols file for libcollectdclient. + * debian/collectd.overrides: + - Override "spelling-error-in-description" for the apache plugin name - + all plugins are spelled lowercase. + * debian/collectd.init.d: + - Start the daemon using start-stop-daemon's --oknodo option to exit + successfully if the daemon is already running as requested by section + 9.3.2 of the Debian Policy 3.8.1. + * debian/copyright: + - Reference GPL-2 in addition to GPL (latest version), since GPL2-only is + used by some files. + + -- Sebastian Harl Thu, 02 Apr 2009 16:38:57 +0200 + +collectd (4.5.1-1) experimental; urgency=low + + * New upstream release. + New plugins: + - Count the number of files in directories: filecount + - Send desktop notifications to a notification daemon: notify_desktop + - Send notification E-mails: notify_email + - One-wire sensors information: onewire (experimental, disabled in Debian) + - PostgreSQL database statistics: postgresql + - Linux ACPI thermal zone information: thermal (Closes: #492580) + * Uploading to experimental because of the Lenny freeze. + * debian/control: + - Added build dependency on libglib2.0-dev and libnotify-dev required by + the notify_desktop plugin. + - Added build dependency on libesmtp-dev required by the notify_email + plugin. + - Added build dependency on libpq-dev required by the postgresql plugin. + - Let collectd-dbg and collectd-dev depend on ${misc:Depends} - this is + required when using debhelper. + * debian/rules: + - Disabled onewire plugin - owfs is not yet available in Debian. + - Install contrib/snmp-probe-host.px to /usr/share/doc/collectd/examples/. + - Set CONFIGFILE to /etc/collectd/collectd.conf. + * debian/patches: + - Added perl-uninitialized-var.dpatch - upstream patch to fix an + uninitialized variable warning causing a FTBFS because of -Werror. + - Removed myplugin_strcpy.dpatch - applied upstream. + - Removed perl_deadlock.dpatch - included upstream. + - Removed memory_libstatgrab.dpatch - included upstream. + - Removed collectd_memleak.dpatch - included upstream. + - Removed snmp_memleak.dpatch - included upstream. + - Removed memcached_fdleak.dpatch - included upstream. + - Removed memcached_timeout.dpatch - included upstream. + - Removed pod-errors.dpatch - included upstream. + * debian/collectd.overrides: + - Override "spelling-error-in-description" for the postgresql plugin name + - all plugins are spelled lowercase. + * debian/collectd.init.d: + - Do not restart collectd if the configuration test fails. + + -- Sebastian Harl Fri, 12 Dec 2008 10:09:48 +0100 + +collectd (4.4.2-3) unstable; urgency=low + + * New debconf template translation: + - nl.po, thanks to Eric Spreen (Closes: #502204). + - sv.po, thanks to Martin Bagge (Closes: #504248). + * debian/patches: + - Added pod-errors.dpatch to fix some minor POD errors. + * debian/rules: + - Remove generated manpages in the clean target to avoid cluttering the + source diff with the rebuilt manpages. + * debian/collectd.conf: + - Fixed a wrong type used in the "tail" plugin example. + + -- Sebastian Harl Sat, 06 Dec 2008 16:53:25 +0100 + +collectd (4.4.2-2) unstable; urgency=low + + * Removed the work around for #474087 (broken openipmi .pc files) introduced + in 4.4.1-1 and instead build depend on libopenipmi-dev (>= 2.0.14-1~) + which includes fixed .pc files. This fixes an undefined symbol error when + loading the ipmi plugin caused by that work around (Closes: #494665). + * debian/collectd.init.d: + - The "status" command now exits with 1 if collectd is not running. + - Do not suppress output when checking the configuration with the -t + command line option. This will also show errors that don't cause + collectd to abort, e.g. failure to load plugins (Closes: #499232). + * debian/control: + - Added librrd-dev as the preferred option to the librrd2-dev build + dependency - the latter one is a virtual package since rrdtool 1.3. + * Added debian/patches/perl_deadlock.dpatch - upstream patch to fix a + possible deadlock in the perl plugin (Closes: #499179). + * Added debian/patches/memory_libstatgrab.dpatch - trivial upstream patch to + fix a typo in the libstatgrab code of the memory plugin. + * Added debian/patches/collectd_memleak.dpatch - trivial upstream patch to + fix a possible memory leak. + * Added debian/patches/snmp_memleak.dpatch - trivial upstream patch to fix a + possible memory leak in the snmp plugin. + * Added debian/patches/memcached_fdleak.dpatch - trivial upstream patch to + fix a possible file descriptor leak in the memcached plugin. + * Added debian/patches/memcached_timeout.dpatch - trivial upstream patch to + fix the timeout passed to poll(2). + + -- Sebastian Harl Thu, 18 Sep 2008 19:12:54 +0200 + +collectd (4.4.2-1) unstable; urgency=low + + * New upstream release. + * Removed librrd0-dev and libmysqlclient14-dev from the build-dependencies - + those package are no longer available since Etch. + * Removed byacc from the build-dependencies - collectd now requires bison. + * Removed libupsclient-config.sh - upstream now supports pkg-config for + libupsclient. + * Include collection3 in /usr/share/doc/collectd/examples/: + - Updated README.Debian to point the collection3's README. + - Added libconfig-general-perl to the suggested packages. + * README.Debian: Added a note about how to get collectd2html.pl working with + version 4 of collectd. + * Added debian/patches/myplugin_strcpy.dpatch - use sstrncpy() instead of + strcpy() which is poisoned in collectd.h. + * collectd.overrides: Removed shlib-with-non-pic-code for nut.so - the + plugin now links against the shared libupsclient. + * Do not compress any example files, so they may be used directly. + + -- Sebastian Harl Fri, 25 Jul 2008 19:58:58 +0200 + +collectd (4.4.1-2) unstable; urgency=low + + * Restrict libcurl4-gnutls-dev build dependency to versions which are not + affected by #488701 (Closes: #489091). + * Added linux-libc-dev (<< 2.6.25-1) as an option to the linux-libc-dev + (>= 2.6.25-4) build dependency - those versions are not affected by + #479899. + * Added build dependency on pkg-config - this is used by collectd's + configure script to check for a couple of libraries. + * Added libupsclient-config.sh to imitate libupsclient-config which is no + longer available. libupsclient-config.sh is a simple wrapper around + pkg-config. This is a workaround until upstream supports pkg-config for + libupsclient. + * Replaced nut-dev build dependency with libupsclient1-dev: + Reenabled the "nut" plugin on all architectures. + + -- Sebastian Harl Mon, 07 Jul 2008 20:45:53 +0000 + +collectd (4.4.1-1) unstable; urgency=low + + * New upstream release. + - Fixed another issue of the sensors plugin affecting some chip types + (Closes: #468143). + - Fixed creation of "vserver" graphs in collection.cgi (Closes: #475120). + - Fixed a segfault when using libperl 5.10. + - collectd now ships libiptc itself. + New plugins: + - Ascent server statistics: ascent + - IPMI sensors information: ipmi + - PowerDNS name server statistics: powerdns + - incremental parsing of logfiles: tail + - TeamSpeak2 server statistics: teamspeak2 + - detailed virtual memory statistics: vmem + * Disable "tcpconns" plugin by default (Closes: #478759). + * Reenabled iptables plugin on all architectures (Closes: #473435). + - Added the plugin to collectd.conf. + - Added /usr/share/doc/collectd/examples/iptables/. + - Added build dependency on linux-libc-dev (>= 2.6.25-4) - that version is + required because of #479899. + * New debconf template translations: + - gl.po, thanks to Jacobo Tarrio (Closes: #482667). + * Added a work around for #474087 (broken openipmi .pc files) by forcing the + inclusion of the ipmi plugin and manually specifying the dependencies. + * Updated standards-version to 3.8.0 (no changes). + + -- Sebastian Harl Tue, 17 Jun 2008 10:35:51 +0200 + +collectd (4.3.2-1) unstable; urgency=low + + * New upstream release. + - Fixed handling of ignored sensors instances (Closes: #468143). + - Fixed reading of wireless noise values (Closes: #471788). + * Adopted patches and script to extractDS.px being renamed to rrd_filter.px. + * Clarified debconf template in respect to packages required for the data + migration (Closes: #469336). + * collectd.conf: Moved logging plugins to the top of the file. + * New debconf template translations: + - de.po, thanks to Kai Wasserbäch (Closes: #469334). + - fr.po, thanks to Florent Usseil (Closes: #468813). + - pt.po, thanks to Américo Monteiro (Closes: #469745, #472183). + * collectd.init.d: Consider the DISABLE option only when starting collectd. + * Disabled iptables plugin - libiptc is no longer available in Debian. + - Removed the plugin from collectd.conf. + - Removed /usr/share/doc/collectd/examples/iptables/. + + -- Sebastian Harl Mon, 31 Mar 2008 12:13:18 +0200 + +collectd (4.3.0-2) unstable; urgency=low + + * Added "lm-sensors" to the recommended packages and README.Debian.plugins + (this is required by the sensors plugin). + * Restrict the libvirt-dev build dependency and the libvirt plugin to amd64, + i386 and powerpc (libvirt is only available on those architectures). + * Restrict the libvirt-dev build dependency to versions >= 0.4.0-6 to make + sure Xen is supported and to fix some strange FTBFS complaining about a + missing symbol "virDomainBlockStats". + + -- Sebastian Harl Thu, 06 Mar 2008 23:37:44 +0100 + +collectd (4.3.0-1) unstable; urgency=low + + * New upstream release. + - Added basic support for monitoring by introducing notifications and + threshold checking. + - Reverse lookups can be disabled using the "ReverseLookups" option of the + ntpd plugin (Closes: #455162). + New plugins: + - Set the hostname to an unique identifier: uuid + - CPU, dist, network statistics of guest systems: libvirt + * Upload to unstable: With the latest changes to the perl plugin, all parts + of collectd are suitable for a release. + * Added libvirt-dev, libxml2-dev and libhal-dev to the build dependencies. + * Updated package description to mention the monitoring support. + * Install liboping/oping.h to collectd-dev as well. + * collectd.init.d: Optionally start collectdmon to monitor collectd. This + can be configured using the USE_COLLECTDMON variable - enabled by default. + * collectd.init.d: Added ENABLE_COREFILES option - if enabled the core file + limit will be set to unlimited - disabled by default. + * Compile collectd with -DLT_LAZY_OR_NOW='RTLD_LAZY|RTLD_GLOBAL' to force + lt_dlopen() to use the RTLD_GLOBAL flag which is required by the perl + plugin (which would otherwise be unable to find symbols defined in libperl + when loading perl modules that require such symbols). + * Disable debugging support. + * watch file: Added uversionmangle for "beta" and "-rc". + * Override "spelling-error-in-description" for the mysql plugin name - all + plugins are spelled lowercase. + + -- Sebastian Harl Tue, 19 Feb 2008 21:44:42 +0100 + +collectd (4.2.4-1) experimental; urgency=low + + * New upstream release. + * Added versioned build-dependency on dpkg-dev (>= 1.14.10); collectd FTBFS + with earlier versions because of #452262. + * Added libregexp-common-perl (required by Collectd::Unixsock) to the + suggested packages. + * Added support for the "status" command to the init script. + * Updated standards-version to 3.7.3 (no changes). + * Added --without-libstatgrab to the configure options to prevent collectd + from being linked against this library if it's available. + * Disabled xmms plugin - xmms will be removed from unstable + (Closes: #459707). + + -- Sebastian Harl Sun, 27 Jan 2008 18:34:23 +0100 + +collectd (4.2.1-1) experimental; urgency=low + + * New upstream release. + * Changed XS-Vcs-* to Vcs-*. + * Marked advanced rrdtool configuration options as such in collectd.conf. + * Added exec-munin.px, exec-munin.conf, exec-smartctl and snmp-data.conf to + /usr/share/doc/collectd/examples/. + * Moved "Homepage" field from package description to the source stanza. + + -- Sebastian Harl Wed, 21 Nov 2007 09:50:46 +0000 + +collectd (4.2.0-1) experimental; urgency=low + + * New upstream release. + - Added options to collectd2html.pl to specify host and data directory + (Closes: #438499). + - Link against a thread-safe version of librrd. + New plugins: + - IPVS connection statistics: ipvs + - Statistic of the memcached distributed caching system: memcached + - Detailed Linux network interface and routing statistics: netlink (32bit + systems only) + - Nginx (a HTTP and E-Mail server/proxy) statistics: nginx + - Values from SNMP enabled network devices: snmp + - Number of TCP connections to specific ports: tcpconns + - Bitrate and frequency of music played with XMMS: xmms + * Updated init script to wait for collectd to shut down (Closes: #422208). + * Merged all plugin packages into the collectd binary package. + * Added README.Debian.plugins and gen_plugin_deps.pl to document the plugin + dependencies. + * Added collectd.overrides to override shlib-with-non-pic-code errors of + plugins liked against static libraries which have not been linked with + -fPIC. + * Removed debian/examples/myplugin.c and debian/examples/MyPlugin.pm - they + are included in the upstream sources now. + * Added libcurl4-gnutls-dev as option to the libcurl3-gnutls-dev build + dependency. + + -- Sebastian Harl Sun, 28 Oct 2007 13:38:21 +0100 + +collectd (4.0.7-1) experimental; urgency=low + + * New upstream release. + * Disable iptables and nut plugins on hppa as well to work around a FTBFS + caused by #358637 and presumably #419684 (Closes: #430933). + * Changed collectd-dbg's section to "utils". + * Added httpd-cgi to suggested packages. + * Added documentation of the provided examples to README.Debian, thanks to + Eduard Bloch for his proposal (Closes: #434182). + + -- Sebastian Harl Fri, 31 Aug 2007 10:04:41 +0200 + +collectd (4.0.3-1) experimental; urgency=low + + * New upstream release. + + -- Sebastian Harl Tue, 19 Jun 2007 21:41:21 +0100 + +collectd (4.0.2-1) experimental; urgency=low + + * New upstream release (Closes: #428114). + - Added large file support (Closes: #422212). + - Rewrite of the plugin system to allow more flexibility by using + different types of plugins. + - Added Nagios plugin to query collectd from Nagios. + New plugins: + - Output to "comma separated values" (CSV) files: csv + - Output to RRD files: rrdtool + - IO via the network: network + - External runtime interface: unixsock + - Embedding a Perl interpreter: perl + - Logging to files, STDOUT or STDERR: logfile + - Logging to syslog: syslog + - Amount of available entropy: entropy + - Execution of external programs: exec + - Iptables statistics: iptables (32bit systems only) + - IRQ counters: irq + - UPS information: nut (32bit systems only) + * New binary package collectd-perl (linking against libperl). + - Added collectd-perl to suggested packages. + * examples/myplugin.c: Converted to the new plugin interface. + * Enabled debugging. + * Added possibility to automatically migrate RRD files to collectd-4 using + migrate-3-4.px and extractDS.px provided by upstream. + - Added extractDS_path.dpatch to set an absolute path in migrate-3-4.px. + - Using po-debconf to make translations of debconf templates possible. + * Added NEWS.Debian with notes regarding the upgrade to collectd-4. + * Updated init script to only start a single collectd process. + * Added examples/MyPlugin.pm. + * Added XS-Vcs-{Git,Browser} tags. + * Added check_plugins.pl to check the build result of all plugins. + * Do not build apple_sensors and tape plugins as they do not provide any + functionality any longer. + + -- Sebastian Harl Wed, 13 Jun 2007 18:58:34 +0100 + +collectd (3.11.2-1) experimental; urgency=low + + * New upstream release. + * Removed sensors-ignorelist.dpatch - has been merged upstream. + * Removed email-ignore-size-le-0.dpatch - has been merged upstream. + * Added watch file. + * examples/myplugin.c: Pass "-" instead of NULL to plugin_submit(). + + -- Sebastian Harl Thu, 15 Feb 2007 09:19:15 +0000 + +collectd (3.11.0-1) experimental; urgency=low + + * New upstream release. + New plugins: + - DNS traffic (query types, response codes, opcodes and traffic): dns + - E-Mail statistics (count, traffic, spam scores and checks): email + - Motherboard monitor: mbmon + - Multimeter statistics: multimeter (beta version) + * Upload to experimental because of Etch freeze. + * New binary package collectd-dns (linking against libpcap). + - Added collectd-dns to suggested packages. + * Do not split off packages introducing new recommendations or suggestions. + - Merge collectd-hddtemp into collectd. + - Add hddtemp and mbmon to suggested packages. + * Added sensors-ignorelist.dpatch: Avoid assertion in ignorelist_match () + when sensors plugin is not configured. + * Added email-ignore-size-le-0.dpatch: Ignore the size of an email if it is + less than or equal to zero. + + -- Sebastian Harl Sun, 24 Dec 2006 14:09:39 +0000 + +collectd (3.10.4-1) unstable; urgency=low + + * New upstream release. + - Fix an infinite loop in server mode if binding to a socket fails and + close the socket descriptor (Closes: #404018). + * examples/myplugin.c: Include system headers before collectd headers to + make it compile without any autoconf defines set (Closes: #401075). + + -- Sebastian Harl Fri, 22 Dec 2006 00:33:30 +0000 + +collectd (3.10.3-1) unstable; urgency=low + + * New upstream release. + * Made package binNMUable: + - Upstream assures API backward compatibility only between patch releases. + * LSBized init script. + + -- Sebastian Harl Mon, 6 Nov 2006 13:09:28 +0000 + +collectd (3.10.2-1) unstable; urgency=low + + * New upstream release. + - Retry connecting to remote host and database in ping and mysql plugins + respectively (Closes: #393742). + * Replaced libcurl3-dev build dependency with libcurl3-gnutls-dev to prevent + linking against libssl. + + -- Sebastian Harl Fri, 3 Nov 2006 15:18:17 +0000 + +collectd (3.10.1-4) unstable; urgency=low + + * Changed collectd-dbg's section and priority to "devel" and "extra" + respectively. + * Set init start sequence code to 95 to be sure to start after any daemons + that data is collected from. + + -- Sebastian Harl Thu, 5 Oct 2006 10:25:07 +0000 + +collectd (3.10.1-3) unstable; urgency=low + + * Added --oknodo to start-stop-daemon in the init script (Closes: #379703). + + -- Sebastian Harl Tue, 25 Jul 2006 18:34:55 +0200 + +collectd (3.10.1-2) unstable; urgency=low + + * Added collectd-dbg package. + + -- Sebastian Harl Sun, 23 Jul 2006 23:39:42 +0200 + +collectd (3.10.1-1) unstable; urgency=low + + * New upstream release. + * Dynamically link against external liboping. + - New binary package collectd-ping. + - Added collectd-ping to suggested packages. + * Moved config file from /usr/share/doc/collectd/examples/ to + /etc/collectd/. + + -- Sebastian Harl Sat, 22 Jul 2006 21:43:37 +0200 + +collectd (3.10.0-1) unstable; urgency=low + + * New upstream release. + New plugins: + - APC UPS's charge, load, input/output/battery voltage, etc.: apcups + - NTP daemon's local clock drift, offset to peers, etc.: ntpd + * Upstream no longer provides a debian/ directory. Thus no repackaging is + required any longer. + * Not using getifaddrs() is now the default in upstream. getifaddrs.dpatch + no longer needed. + * Added collectd-hddtemp as a suggestion to the collectd package. + + -- Sebastian Harl Sun, 9 Jul 2006 21:52:13 +0200 + +collectd (3.9.4+debian-1) unstable; urgency=low + + * Initial release (Closes: #373008). + * Removed upstream's debian/ directory from .orig.tar.gz. + * getifaddrs.dpatch: Patching src/traffic.c to read data from /proc instead + of using getifaddrs(). getifaddrs() does not seem to work correctly on + AMD64. + + -- Sebastian Harl Fri, 7 Jul 2006 15:49:42 +0200 diff --git a/clean b/clean new file mode 100644 index 0000000..db6cf6c --- /dev/null +++ b/clean @@ -0,0 +1,5 @@ +debian/README.Debian.plugins +src/*.1 +src/*.5 +debian/pkgconfig + diff --git a/collectd-core.collectd.default b/collectd-core.collectd.default new file mode 100644 index 0000000..284a38b --- /dev/null +++ b/collectd-core.collectd.default @@ -0,0 +1,18 @@ +# /etc/default/collectd + +# 0: start collectd on boot, 1: do not start collectd on boot +# default: 0 +DISABLE=0 + +# 0: start collectd in stand-alone mode, 1: monitor collectd using collectdmon +# default: 1 +USE_COLLECTDMON=1 + +# number of seconds to wait for collectd to shut down +# default: 30 +MAXWAIT=30 + +# 0: do not enable core-files, 1: enable core-files ... if collectd crashes +# default: 0 +ENABLE_COREFILES=0 + diff --git a/collectd-core.collectd.init.d b/collectd-core.collectd.init.d new file mode 100755 index 0000000..f1bb429 --- /dev/null +++ b/collectd-core.collectd.init.d @@ -0,0 +1,200 @@ +#! /bin/bash +# +# collectd - start and stop the statistics collection daemon +# https://collectd.org/ +# +# Copyright (C) 2005-2006 Florian Forster +# Copyright (C) 2006-2009 Sebastian Harl +# + +### BEGIN INIT INFO +# Provides: collectd +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: $network $named $syslog $time cpufrequtils +# Should-Stop: $network $named $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: manage the statistics collection daemon +# Description: collectd is the statistics collection daemon. +# It is a small daemon which collects system information +# periodically and provides mechanisms to monitor and store +# the values in a variety of ways. +### END INIT INFO + +. /lib/lsb/init-functions + +export PATH=/sbin:/bin:/usr/sbin:/usr/bin + +DISABLE=0 + +DESC="statistics collection and monitoring daemon" +NAME=collectd +DAEMON=/usr/sbin/collectd + +CONFIGFILE=/etc/collectd/collectd.conf +PIDFILE=/var/run/collectd.pid + +USE_COLLECTDMON=1 +COLLECTDMON_DAEMON=/usr/sbin/collectdmon + +MAXWAIT=30 + +# Gracefully exit if the package has been removed. +test -x $DAEMON || exit 0 + +if [ -r /etc/default/$NAME ]; then + . /etc/default/$NAME +fi + +if test "$ENABLE_COREFILES" == 1; then + ulimit -c unlimited +fi + +# return: +# 0 if config is fine +# 1 if there is a syntax error +# 2 if there is no configuration +check_config() { + if test ! -e "$CONFIGFILE"; then + return 2 + fi + if ! $DAEMON -t -C "$CONFIGFILE"; then + return 1 + fi + return 0 +} + +# return: +# 0 if the daemon has been started +# 1 if the daemon was already running +# 2 if the daemon could not be started +# 3 if the daemon was not supposed to be started +d_start() { + if test "$DISABLE" != 0; then + # we get here during restart + log_progress_msg "disabled by /etc/default/$NAME" + return 3 + fi + + if test ! -e "$CONFIGFILE"; then + # we get here during restart + log_progress_msg "disabled, no configuration ($CONFIGFILE) found" + return 3 + fi + + check_config + rc="$?" + if test "$rc" -ne 0; then + log_progress_msg "not starting, configuration error" + return 2 + fi + + if test "$USE_COLLECTDMON" == 1; then + start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" \ + --exec $COLLECTDMON_DAEMON -- -P "$PIDFILE" -- -C "$CONFIGFILE" \ + || return 2 + else + start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" \ + --exec $DAEMON -- -C "$CONFIGFILE" -P "$PIDFILE" \ + || return 2 + fi + return 0 +} + +still_running_warning=" +WARNING: $NAME might still be running. +In large setups it might take some time to write all pending data to +the disk. You can adjust the waiting time in /etc/default/collectd." + +# return: +# 0 if the daemon has been stopped +# 1 if the daemon was already stopped +# 2 if daemon could not be stopped +d_stop() { + PID=$( cat "$PIDFILE" 2> /dev/null ) || true + + start-stop-daemon --stop --quiet --oknodo --pidfile "$PIDFILE" + rc="$?" + + if test "$rc" -eq 2; then + return 2 + fi + + sleep 1 + if test -n "$PID" && kill -0 $PID 2> /dev/null; then + i=0 + while kill -0 $PID 2> /dev/null; do + i=$(( $i + 2 )) + echo -n " ." + + if test $i -gt $MAXWAIT; then + log_progress_msg "$still_running_warning" + return 2 + fi + + sleep 2 + done + return "$rc" + fi + return "$rc" +} + +case "$1" in + start) + log_daemon_msg "Starting $DESC" "$NAME" + d_start + case "$?" in + 0|1) log_end_msg 0 ;; + 2) log_end_msg 1 ;; + 3) log_end_msg 255; true ;; + *) log_end_msg 1 ;; + esac + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + d_stop + case "$?" in + 0|1) log_end_msg 0 ;; + 2) log_end_msg 1 ;; + esac + ;; + status) + status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME" && exit 0 || exit $? + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + check_config + rc="$?" + if test "$rc" -eq 1; then + log_progress_msg "not restarting, configuration error" + log_end_msg 1 + exit 1 + fi + d_stop + rc="$?" + case "$rc" in + 0|1) + sleep 1 + d_start + rc2="$?" + case "$rc2" in + 0|1) log_end_msg 0 ;; + 2) log_end_msg 1 ;; + 3) log_end_msg 255; true ;; + *) log_end_msg 1 ;; + esac + ;; + *) + log_end_msg 1 + ;; + esac + ;; + *) + echo "Usage: $0 {start|stop|restart|force-reload|status}" >&2 + exit 3 + ;; +esac + +# vim: syntax=sh noexpandtab sw=4 ts=4 : + diff --git a/collectd-core.collectd.service b/collectd-core.collectd.service new file mode 100644 index 0000000..e179f76 --- /dev/null +++ b/collectd-core.collectd.service @@ -0,0 +1,20 @@ +[Unit] +Description=Statistics collection and monitoring daemon +After=local-fs.target network.target +Requires=local-fs.target network.target +ConditionPathExists=/etc/collectd/collectd.conf +Documentation=man:collectd(1) +Documentation=man:collectd.conf(5) +Documentation=https://collectd.org + +[Service] +Type=notify +NotifyAccess=main +EnvironmentFile=-/etc/default/collectd +ExecStartPre=/usr/sbin/collectd -t +ExecStart=/usr/sbin/collectd +Restart=always +RestartSec=10 + +[Install] +WantedBy=multi-user.target diff --git a/collectd-core.install b/collectd-core.install new file mode 100644 index 0000000..7fcc7dc --- /dev/null +++ b/collectd-core.install @@ -0,0 +1,16 @@ +../../contrib/migrate-3-4.px usr/lib/collectd/utils +../../contrib/migrate-4-5.px usr/lib/collectd/utils +../../contrib/rrd_filter.px usr/lib/collectd/utils +../collection.conf etc/collectd/ +usr/lib/collectd/*.so +usr/sbin +usr/share/collectd +usr/share/man/man1/collectdmon.1 +usr/share/man/man1/collectd.1 +usr/share/man/man3/Collectd::Unixsock.3pm +usr/share/man/man5/collectd-*.5 +usr/share/man/man5/collectd.conf.5 +usr/share/man/man5/types.db.5 +usr/share/perl5 +var + diff --git a/collectd-core.lintian-overrides b/collectd-core.lintian-overrides new file mode 100644 index 0000000..dd877ae --- /dev/null +++ b/collectd-core.lintian-overrides @@ -0,0 +1,2 @@ +collectd-core: custom-library-search-path RUNPATH /usr/lib/jvm/default-java/* +collectd-core: no-debconf-config diff --git a/collectd-core.overrides b/collectd-core.overrides new file mode 100644 index 0000000..dc7e32b --- /dev/null +++ b/collectd-core.overrides @@ -0,0 +1,14 @@ +# This is only done on architectures that support it. +collectd-core [!alpha !amd64 !hppa !ia64 !ppc64 !mips !mipsel]: shlib-with-non-pic-code usr/lib/collectd/netlink.so + +# All plugin names are spelled in lower-case. +collectd-core: capitalization-error-in-description apache Apache +collectd-core: capitalization-error-in-description mysql MySQL +collectd-core: capitalization-error-in-description openldap OpenLDAP +collectd-core: capitalization-error-in-description postgresql PostgreSQL +collectd-core: capitalization-error-in-description python Python + +# The "java" plugin uses libjvm.so which can only be found in a non-standard +# directory. According to the Java guys the path name and the ABI is stable +# though ... +collectd-core: binary-or-shlib-defines-rpath usr/lib/collectd/java.so /usr/lib/jvm/*/lib/* diff --git a/collectd-core.postrm b/collectd-core.postrm new file mode 100755 index 0000000..43700cd --- /dev/null +++ b/collectd-core.postrm @@ -0,0 +1,49 @@ +#! /bin/bash +# postrm script for collectd +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +. /usr/share/debconf/confmodule + +case "$1" in + purge) + db_input high collectd/postrm_purge_data || true + db_go || true + db_get collectd/postrm_purge_data || true + if [ "$RET" = "true" ]; then + rm -rf /var/lib/collectd + fi + rm -rf /etc/collectd + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + diff --git a/collectd-core.templates b/collectd-core.templates new file mode 100644 index 0000000..9baaebb --- /dev/null +++ b/collectd-core.templates @@ -0,0 +1,11 @@ +Template: collectd/postrm_purge_data +Type: boolean +Default: true +_Description: Remove all collected data (e.g. RRD files)? + The /var/lib/collectd/ directory which contains the data files containing the + collected statistics is about to be removed. For example, this directory + includes (in the default configuration) all RRD files. + . + If you're purging the collectd package in order to replace it with a more + recent or custom version or if you want to keep the data for further + analysis, the data should be kept. diff --git a/collectd-dev.install b/collectd-dev.install new file mode 100644 index 0000000..ffd3f5f --- /dev/null +++ b/collectd-dev.install @@ -0,0 +1,3 @@ +src/liboconfig/oconfig.h usr/include/collectd/liboconfig +usr/include/collectd/core + diff --git a/collectd-utils.install b/collectd-utils.install new file mode 100644 index 0000000..9a7ad8f --- /dev/null +++ b/collectd-utils.install @@ -0,0 +1,7 @@ +usr/bin/collectdctl +usr/bin/collectd-nagios +usr/bin/collectd-tg +usr/share/man/man1/collectdctl.1 +usr/share/man/man1/collectd-nagios.1 +usr/share/man/man1/collectd-tg.1 + diff --git a/collectd.conf b/collectd.conf new file mode 100644 index 0000000..fc42491 --- /dev/null +++ b/collectd.conf @@ -0,0 +1,1649 @@ +# Config file for collectd(1). +# +# Some plugins need additional configuration and are disabled by default. +# Please read collectd.conf(5) for details. +# +# You should also read /usr/share/doc/collectd-core/README.Debian.plugins +# before enabling any more plugins. + +############################################################################## +# Global # +#----------------------------------------------------------------------------# +# Global settings for the daemon. # +############################################################################## + +#Hostname "localhost" +FQDNLookup true +#BaseDir "/var/lib/collectd" +#PluginDir "/usr/lib/collectd" +#TypesDB "/usr/share/collectd/types.db" "/etc/collectd/my_types.db" + +#----------------------------------------------------------------------------# +# When enabled, plugins are loaded automatically with the default options # +# when an appropriate block is encountered. # +# Disabled by default. # +#----------------------------------------------------------------------------# +#AutoLoadPlugin false + +#----------------------------------------------------------------------------# +# When enabled, internal statistics are collected, using "collectd" as the # +# plugin name. # +# Disabled by default. # +#----------------------------------------------------------------------------# +#CollectInternalStats false + +#----------------------------------------------------------------------------# +# Interval at which to query values. This may be overwritten on a per-plugin # +# base by using the 'Interval' option of the LoadPlugin block: # +# # +# Interval 60 # +# # +#----------------------------------------------------------------------------# +#Interval 10 + +#MaxReadInterval 86400 +#Timeout 2 +#ReadThreads 5 +#WriteThreads 5 + +# Limit the size of the write queue. Default is no limit. Setting up a limit +# is recommended for servers handling a high volume of traffic. +#WriteQueueLimitHigh 1000000 +#WriteQueueLimitLow 800000 + +############################################################################## +# Logging # +#----------------------------------------------------------------------------# +# Plugins which provide logging functions should be loaded first, so log # +# messages generated when loading or configuring other plugins can be # +# accessed. # +############################################################################## + +#LoadPlugin logfile +LoadPlugin syslog +#LoadPlugin log_logstash + +# +# LogLevel "info" +# File STDOUT +# Timestamp true +# PrintSeverity false +# + + + LogLevel info + + +# +# LogLevel info +# File "/var/log/collectd.json.log" +# + +############################################################################## +# LoadPlugin section # +#----------------------------------------------------------------------------# +# Specify what features to activate. # +############################################################################## + +#LoadPlugin aggregation +#LoadPlugin amqp +#LoadPlugin apache +#LoadPlugin apcups +#LoadPlugin ascent +#LoadPlugin barometer +LoadPlugin battery +#LoadPlugin bind +#LoadPlugin ceph +#LoadPlugin cgroups +#LoadPlugin chrony +#LoadPlugin conntrack +#LoadPlugin contextswitch +LoadPlugin cpu +#LoadPlugin cpufreq +#LoadPlugin cpusleep +#LoadPlugin csv +#LoadPlugin curl +#LoadPlugin curl_json +#LoadPlugin curl_xml +#LoadPlugin dbi +LoadPlugin df +LoadPlugin disk +#LoadPlugin dns +#LoadPlugin dpdkevents +#LoadPlugin dpdkstat +#LoadPlugin drbd +#LoadPlugin email +LoadPlugin entropy +#LoadPlugin ethstat +#LoadPlugin exec +#LoadPlugin fhcount +#LoadPlugin filecount +#LoadPlugin fscache +#LoadPlugin gmond +#LoadPlugin gps +#LoadPlugin hugepages +#LoadPlugin grpc +#LoadPlugin hddtemp +#LoadPlugin intel_rdt +LoadPlugin interface +#LoadPlugin ipc +#LoadPlugin ipmi +#LoadPlugin iptables +#LoadPlugin ipvs +LoadPlugin irq +#LoadPlugin java +LoadPlugin load +#LoadPlugin lua +#LoadPlugin lvm +#LoadPlugin madwifi +#LoadPlugin mbmon +#LoadPlugin mcelog +#LoadPlugin md +#LoadPlugin memcachec +#LoadPlugin memcached +LoadPlugin memory +#LoadPlugin modbus +#LoadPlugin mqtt +#LoadPlugin multimeter +#LoadPlugin mysql +#LoadPlugin netlink +#LoadPlugin network +#LoadPlugin nfs +#LoadPlugin nginx +#LoadPlugin notify_desktop +#LoadPlugin notify_email +#LoadPlugin notify_nagios +#LoadPlugin ntpd +#LoadPlugin numa +#LoadPlugin nut +#LoadPlugin olsrd +#LoadPlugin onewire +#LoadPlugin openldap +#LoadPlugin openvpn +#LoadPlugin ovs_events +#LoadPlugin ovs_stats +#LoadPlugin perl +#LoadPlugin pinba +#LoadPlugin ping +#LoadPlugin postgresql +#LoadPlugin powerdns +LoadPlugin processes +#LoadPlugin protocols +#LoadPlugin python +#LoadPlugin redis +#LoadPlugin rrdcached +LoadPlugin rrdtool +#LoadPlugin sensors +#LoadPlugin serial +#LoadPlugin sigrok +#LoadPlugin smart +#LoadPlugin snmp +#LoadPlugin snmp_agent +#LoadPlugin statsd +LoadPlugin swap +#LoadPlugin table +#LoadPlugin tail +#LoadPlugin tail_csv +#LoadPlugin tcpconns +#LoadPlugin teamspeak2 +#LoadPlugin ted +#LoadPlugin thermal +#LoadPlugin tokyotyrant +#LoadPlugin turbostat +#LoadPlugin unixsock +#LoadPlugin uptime +LoadPlugin users +#LoadPlugin uuid +#LoadPlugin varnish +#LoadPlugin virt +#LoadPlugin vmem +#LoadPlugin vserver +#LoadPlugin wireless +#LoadPlugin write_graphite +#LoadPlugin write_http +#LoadPlugin write_kafka +#LoadPlugin write_log +#LoadPlugin write_mongodb +#LoadPlugin write_prometheus +#LoadPlugin write_redis +#LoadPlugin write_riemann +#LoadPlugin write_sensu +#LoadPlugin write_tsdb +#LoadPlugin xencpu +#LoadPlugin zfs_arc +#LoadPlugin zookeeper + +############################################################################## +# Plugin configuration # +#----------------------------------------------------------------------------# +# In this section configuration stubs for each plugin are provided. A desc- # +# ription of those options is available in the collectd.conf(5) manual page. # +############################################################################## + +# +# +# #Host "unspecified" +# Plugin "cpu" +# PluginInstance "/[0,2,4,6,8]$/" +# Type "cpu" +# #TypeInstance "unspecified" +# +# SetPlugin "cpu" +# SetPluginInstance "even-%{aggregation}" +# +# GroupBy "Host" +# GroupBy "TypeInstance" +# +# CalculateNum false +# CalculateSum false +# CalculateAverage true +# CalculateMinimum false +# CalculateMaximum false +# CalculateStddev false +# +# + +# +# +# Host "localhost" +# Port "5672" +# VHost "/" +# User "guest" +# Password "guest" +# Exchange "amq.fanout" +# RoutingKey "collectd" +# Persistent false +# StoreRates false +# ConnectionRetryDelay 0 +# +# + +# +# +# URL "http://localhost/server-status?auto" +# User "www-user" +# Password "secret" +# VerifyPeer false +# VerifyHost false +# CACert "/etc/ssl/ca.crt" +# Server "apache" +# +# +# +# URL "http://some.domain.tld/status?auto" +# Host "some.domain.tld" +# Server "lighttpd" +# +# + +# +# Host "localhost" +# Port "3551" +# ReportSeconds true +# PersistentConnection true +# + +# +# URL "http://localhost/ascent/status/" +# User "www-user" +# Password "secret" +# VerifyPeer false +# VerifyHost false +# CACert "/etc/ssl/ca.crt" +# + +# +# Device "/dev/i2c-0"; +# Oversampling 512 +# PressureOffset 0.0 +# TemperatureOffset 0.0 +# Normalization 2 +# Altitude 238.0 +# TemperatureSensor "myserver/onewire-F10FCA000800/temperature" +# + +# +# ValuesPercentage false +# ReportDegraded false +# QueryStateFS false +# + +# +# URL "http://localhost:8053/" +# +# ParseTime false +# +# OpCodes true +# QTypes true +# ServerStats true +# ZoneMaintStats true +# ResolverStats false +# MemoryStats true +# +# +# QTypes true +# ResolverStats true +# CacheRRSets true +# +# Zone "127.in-addr.arpa/IN" +# +# + +# +# LongRunAvgLatency false +# ConvertSpecialMetricTypes true +# +# SocketPath "/var/run/ceph/ceph-osd.0.asok" +# +# +# SocketPath "/var/run/ceph/ceph-osd.1.asok" +# +# +# SocketPath "/var/run/ceph/ceph-mon.ceph1.asok" +# +# +# SocketPath "/var/run/ceph/ceph-mds.ceph1.asok" +# +# + +# +# Host "localhost" +# Port "323" +# Timeout "2" +# + +# +# CGroup "libvirt" +# IgnoreSelected false +# + +# +# ReportByCpu true +# ReportByState true +# ValuesPercentage false +# ReportNumCpu false +# ReportGuestState false +# SubtractGuestState true +# + +# +# DataDir "/var/lib/collectd/csv" +# StoreRates false +# + +# +# +# URL "http://finance.google.com/finance?q=NYSE%3AAMD" +# User "foo" +# Password "bar" +# Digest false +# VerifyPeer true +# VerifyHost true +# CACert "/path/to/ca.crt" +# Header "X-Custom-Header: foobar" +# Post "foo=bar" +# +# MeasureResponseTime false +# MeasureResponseCode false +# +# Regex "]*> *([0-9]*\\.[0-9]+) *" +# DSType "GaugeAverage" +# Type "stock_value" +# Instance "AMD" +# +# +# + +# +## See: http://wiki.apache.org/couchdb/Runtime_Statistics +# +# Instance "httpd" +# +# Type "http_requests" +# +# +# +# Type "http_request_methods" +# +# +# +# Type "http_response_codes" +# +# +## Database status metrics: +# +# Instance "dbs" +# +# Type "gauge" +# +# +# Type "counter" +# +# +# Type "bytes" +# +# +# + +# +# +# Host "my_host" +# #Plugin "stats" +# Instance "some_instance" +# User "collectd" +# Password "thaiNg0I" +# Digest false +# VerifyPeer true +# VerifyHost true +# CACert "/path/to/ca.crt" +# Header "X-Custom-Header: foobar" +# Post "foo=bar" +# +# +# Type "magic_level" +# InstancePrefix "prefix-" +# InstanceFrom "td[1]" +# #PluginInstanceFrom "td[1]" +# ValuesFrom "td[2]/span[@class=\"level\"]" +# +# +# + +# +# +# Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value \ +# FROM customers_tbl" +# MinVersion 40102 +# MaxVersion 50042 +# +# Type "gauge" +# InstancePrefix "customer" +# InstancesFrom "c_key" +# ValuesFrom "c_value" +# +# +# +# +# #Plugin "mycompany" +# Driver "mysql" +# DriverOption "host" "localhost" +# DriverOption "username" "collectd" +# DriverOption "password" "secret" +# DriverOption "dbname" "custdb0" +# SelectDB "custdb0" +# Query "num_of_customers" +# Query "..." +# Host "..." +# +# + + +# Device "/dev/sda1" +# Device "192.168.0.2:/mnt/nfs" +# MountPoint "/home" +# FSType "ext3" + + # ignore rootfs; else, the root file-system would appear twice, causing + # one of the updates to fail and spam the log + FSType rootfs + # ignore the usual virtual / temporary file-systems + FSType sysfs + FSType proc + FSType devtmpfs + FSType devpts + FSType tmpfs + FSType fusectl + FSType cgroup + IgnoreSelected true + +# ReportByDevice false +# ReportInodes false + +# ValuesAbsolute true +# ValuesPercentage false + + +# +# Disk "hda" +# Disk "/sda[23]/" +# IgnoreSelected false +# UseBSDName false +# UdevNameAttr "DEVNAME" +# + +# +# Interface "eth0" +# IgnoreSource "192.168.0.1" +# SelectNumericQueryTypes false +# + +# +# +# Coremask "0x1" +# MemoryChannels "4" +# FilePrefix "rte" +# +# +# SendEventsOnUpdate true +# EnabledPortMask 0xffff +# PortName "interface1" +# PortName "interface2" +# SendNotification false +# +# +# SendEventsOnUpdate true +# LCoreMask "0xf" +# KeepAliveShmName "/dpdk_keepalive_shm_name" +# SendNotification false +# +# + +# +# +# Coremask "0x2" +# MemoryChannels "4" +# FilePrefix "rte" +# LogLevel "7" +# RteDriverLibPath "/usr/lib/dpdk-pmd" +# +# SharedMemObj "dpdk_collectd_stats_0" +# EnabledPortMask 0xffff +# PortName "interface1" +# PortName "interface2" +# + +# +# SocketFile "/var/run/collectd-email" +# SocketGroup "collectd" +# SocketPerms "0770" +# MaxConns 5 +# + +# +# Interface "eth0" +# Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload" +# Map "multicast" "if_multicast" +# MappedOnly false +# + +# +# Exec user "/path/to/exec" +# Exec "user:group" "/path/to/exec" +# NotificationExec user "/path/to/exec" +# + +# +# ValuesAbsolute true +# ValuesPercentage false +# + +# +# +# #Plugin "foo" +# Instance "foodir" +# Name "*.conf" +# MTime "-5m" +# Size "+10k" +# Recursive true +# IncludeHidden false +# RegularOnly true +# #FilesSizeType "bytes" +# #FilesCountType "files" +# #TypeInstance "instance" +# +# + +# +# MCReceiveFrom "239.2.11.71" "8649" +# +# +# Type "swap" +# TypeInstance "total" +# DataSource "value" +# +# +# +# Type "swap" +# TypeInstance "free" +# DataSource "value" +# +# + +# +# Host "127.0.0.1" +# Port "2947" +# Timeout 0.015 +# PauseConnect 5 +# + +# +# Host "127.0.0.1" +# Port 7634 +# + +# +# +# EnableSSL true +# SSLCACertificateFile "/path/to/root.pem" +# SSLCertificateFile "/path/to/server.pem" +# SSLCertificateKeyFile "/path/to/server.key" +# +# +# EnableSSL true +# SSLCACertificateFile "/path/to/root.pem" +# SSLCertificateFile "/path/to/client.pem" +# SSLCertificateKeyFile "/path/to/client.key" +# +# + +# +# ReportPerNodeHP true +# ReportRootHP true +# ValuesPages true +# ValuesBytes false +# ValuesPercentage false +# + +# +# Cores "0-2" +# + +# +# Interface "eth0" +# IgnoreSelected false +# ReportInactive true +# UniqueName false +# + +# +# +# Sensor "some_sensor" +# Sensor "another_one" +# IgnoreSelected false +# NotifySensorAdd false +# NotifySensorRemove true +# NotifySensorNotPresent false +# NotifyIPMIConnectionState false +# SELEnabled false +# SELClearEvent false +# +# +# Host "server.example.com" +# Address "1.2.3.4" +# Username "user" +# Password "secret" +# #AuthType "md5" +# Sensor "some_sensor" +# Sensor "another_one" +# IgnoreSelected false +# NotifySensorAdd false +# NotifySensorRemove true +# NotifySensorNotPresent false +# NotifyIPMIConnectionState false +# SELEnabled false +# SELClearEvent false +# +# + +# +# Chain "table" "chain" +# Chain6 "table" "chain" +# + +# +# Irq 7 +# Irq 8 +# Irq 9 +# IgnoreSelected true +# + +# +# JVMArg "-verbose:jni" +# JVMArg "-Djava.class.path=/usr/share/collectd/java/collectd-api.jar" +# +# LoadPlugin "org.collectd.java.GenericJMX" +# +# # See /usr/share/doc/collectd/examples/GenericJMX.conf +# # for an example config. +# +# + +# +# ReportRelative true +# + +# +# BasePath "/usr/share/collectd/lua" +# Script "script1.lua" +# Script "script2.lua" +# + +# +# Interface "wlan0" +# IgnoreSelected false +# Source "SysFS" +# WatchSet "None" +# WatchAdd "node_octets" +# WatchAdd "node_rssi" +# WatchAdd "is_rx_acl" +# WatchAdd "is_scan_active" +# + +# +# Host "127.0.0.1" +# Port 411 +# + +# +# +# McelogClientSocket "/var/run/mcelog-client" +# PersistentNotification false +# +# McelogLogfile "/var/log/mcelog" +# + +# +# Device "/dev/md0" +# IgnoreSelected false +# + +# +# +# Server "localhost" +# Key "page_key" +# +# Regex "(\\d+) bytes sent" +# ExcludeRegex "" +# DSType CounterAdd +# Type "ipt_octets" +# Instance "type_instance" +# +# +# + +# +# +# Socket "/var/run/memcached.sock" +# or: +# #Host "memcache.example.com" +# Address "127.0.0.1" +# Port "11211" +# +# + +# +# ValuesAbsolute true +# ValuesPercentage false +# + +# +# +# RegisterBase 1234 +# RegisterCmd ReadHolding +# RegisterType float +# Type gauge +# Instance "..." +# +# +# +# Address "addr" +# Port "1234" +# Interval 60 +# +# +# Instance "foobar" # optional +# Collect "data_name" +# +# +# + +# +# +# Host "localhost" +# Port 1883 +# ClientId "localhost" +# User "user" +# Password "secret" +# QoS 0 +# Prefix "collectd" +# StoreRates true +# Retain false +# CACert "/etc/ssl/ca.crt" +# CertificateFile "/etc/ssl/client.crt" +# CertificateKeyFile "/etc/ssl/client.pem" +# TLSProtocol "tlsv1.2" +# CipherSuite "ciphers" +# +# +# Host "localhost" +# Port 1883 +# ClientId "localhost" +# User "user" +# Password "secret" +# QoS 2 +# Topic "collectd/#" +# CleanSession true +# +# + +# +# +# Host "database.serv.er" +# Port "3306" +# User "db_user" +# Password "secret" +# Database "db_name" +# SSLKey "/path/to/key.pem" +# SSLCert "/path/to/cert.pem" +# SSLCA "/path/to/ca.pem" +# SSLCAPath "/path/to/cas/" +# SSLCipher "DHE-RSA-AES256-SHA" +# MasterStats true +# ConnectTimeout 10 +# InnodbStats true +# +# +# +# Alias "squeeze" +# Host "localhost" +# Socket "/var/run/mysql/mysqld.sock" +# SlaveStats true +# SlaveNotifications true +# +# +# +# Alias "galera" +# Host "localhost" +# Socket "/var/run/mysql/mysqld.sock" +# WsrepStats true +# +# + +# +# Interface "All" +# VerboseInterface "All" +# QDisc "eth0" "pfifo_fast-1:0" +# Class "ppp0" "htb-1:10" +# Filter "ppp0" "u32-1:0" +# IgnoreSelected false +# + +# +# # client setup: +# Server "ff18::efc0:4a42" "25826" +# +# SecurityLevel Encrypt +# Username "user" +# Password "secret" +# Interface "eth0" +# ResolveInterval 14400 +# +# TimeToLive 128 +# +# # server setup: +# Listen "ff18::efc0:4a42" "25826" +# +# SecurityLevel Sign +# AuthFile "/etc/collectd/passwd" +# Interface "eth0" +# +# MaxPacketSize 1452 +# +# # proxy setup (client and server as above): +# Forward true +# +# # statistics about the network plugin itself +# ReportStats false +# +# # "garbage collection" +# CacheFlush 1800 +# + +# +# ReportV2 false +# ReportV3 false +# ReportV4 false +# + +# +# URL "http://localhost/status?auto" +# User "www-user" +# Password "secret" +# VerifyPeer false +# VerifyHost false +# CACert "/etc/ssl/ca.crt" +# + +# +# OkayTimeout 1000 +# WarningTimeout 5000 +# FailureTimeout 0 +# + +# +# SMTPServer "localhost" +# SMTPPort 25 +# SMTPUser "my-username" +# SMTPPassword "my-password" +# From "collectd@main0server.com" +# # on . +# # Beware! Do not use not more than two placeholders (%)! +# Subject "[collectd] %s on %s!" +# Recipient "email1@domain1.net" +# Recipient "email2@domain2.com" +# + +# +# CommandFile "/var/lib/icinga/rw/icinga.cmd" +# + +# +# Host "localhost" +# Port 123 +# ReverseLookups false +# IncludeUnitID true +# + +# +# UPS "upsname@hostname:port" +# ForceSSL true +# VerifyPeer true +# CAPath "/path/to/folder" +# #ConnectTimeout 5000 +# + +# +# Host "127.0.0.1" +# Port "2006" +# CollectLinks "Summary" +# CollectRoutes "Summary" +# CollectTopology "Summary" +# + +# +# Device "-s localhost:4304" +# Sensor "F10FCA000800" +# IgnoreSelected false +# + +# +# +# URL "ldap://localhost:389" +# StartTLS false +# VerifyHost true +# CACert "/path/to/ca.crt" +# Timeout -1 +# Version 3 +# +# + +# +# StatusFile "/etc/openvpn/openvpn-status.log" +# ImprovedNamingSchema false +# CollectCompression true +# CollectIndividualUsers true +# CollectUserCount false +# + +# +# Port "6640" +# Address "127.0.0.1" +# Socket "/var/run/openvswitch/db.sock" +# Interfaces "br0" "veth0" +# SendNotification true +# DispatchValues false +# +# +# +# Port "6640" +# Address "127.0.0.1" +# Socket "/var/run/openvswitch/db.sock" +# Bridges "br0" "br_ext" +# + +# +# IncludeDir "/my/include/path" +# BaseName "Collectd::Plugins" +# EnableDebugger "" +# LoadPlugin Monitorus +# LoadPlugin OpenVZ +# +# +# Foo "Bar" +# Qux "Baz" +# +# + +# +# Address "::0" +# Port "30002" +# +# Host "host name" +# Server "server name" +# Script "script name" +# +# + +# +# Host "host.foo.bar" +# Host "host.baz.qux" +# Interval 1.0 +# Timeout 0.9 +# TTL 255 +# SourceAddress "1.2.3.4" +# Device "eth0" +# MaxMissed -1 +# + +# +# +# Statement "SELECT magic FROM wizard WHERE host = $1;" +# Param hostname +# +# +# Type gauge +# InstancePrefix "magic" +# ValuesFrom "magic" +# +# +# +# +# Statement "SELECT COUNT(type) AS count, type \ +# FROM (SELECT CASE \ +# WHEN resolved = 'epoch' THEN 'open' \ +# ELSE 'resolved' END AS type \ +# FROM tickets) type \ +# GROUP BY type;" +# +# +# Type counter +# InstancePrefix "rt36_tickets" +# InstancesFrom "type" +# ValuesFrom "count" +# +# +# +# +# # See /usr/share/doc/collectd-core/examples/postgresql/collectd_insert.sql for details +# Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);" +# StoreRates true +# +# +# +# #Plugin "kingdom" +# Host "hostname" +# Port 5432 +# User "username" +# Password "secret" +# +# SSLMode "prefer" +# KRBSrvName "kerberos_service_name" +# +# Query magic +# +# +# +# Interval 60 +# Service "service_name" +# +# Query backends # predefined +# Query rt36_tickets +# +# +# +# Service "collectd_store" +# Writer sqlstore +# # see collectd.conf(5) for details +# CommitInterval 30 +# +# + +# +# +# Collect "latency" +# Collect "udp-answers" "udp-queries" +# Socket "/var/run/pdns.controlsocket" +# +# +# Collect "questions" +# Collect "cache-hits" "cache-misses" +# Socket "/var/run/pdns_recursor.controlsocket" +# +# LocalSocket "/opt/collectd/var/run/collectd-powerdns" +# + +# +# CollectFileDescriptor true +# CollectContextSwitch true +# CollectMemoryMaps true +# Process "name" +# ProcessMatch "foobar" "/usr/bin/perl foobar\\.pl.*" +# +# CollectFileDescriptor false +# CollectContextSwitch false +# +# +# CollectFileDescriptor false +# CollectContextSwitch true +# +# + +# +# Value "/^Tcp:/" +# IgnoreSelected false +# + +# +# ModulePath "/path/to/your/python/modules" +# LogTraces true +# Interactive true +# Import "spam" +# +# +# spam "wonderful" "lovely" +# +# + +# +# +# Host "redis.example.com" +# Port "6379" +# Timeout 2000 +# +# + +# +# DaemonAddress "unix:/var/run/rrdcached.sock" +# DataDir "/var/lib/rrdcached/db/collectd" +# CreateFiles true +# CreateFilesAsync false +# CollectStatistics true +# +# The following settings are rather advanced +# and should usually not be touched: +# StepSize 10 +# HeartBeat 20 +# RRARows 1200 +# RRATimespan 158112000 +# XFF 0.1 +# + + + DataDir "/var/lib/collectd/rrd" +# CacheTimeout 120 +# CacheFlush 900 +# WritesPerSecond 30 +# CreateFilesAsync false +# RandomTimeout 0 +# +# The following settings are rather advanced +# and should usually not be touched: +# StepSize 10 +# HeartBeat 20 +# RRARows 1200 +# RRATimespan 158112000 +# XFF 0.1 + + +# +# SensorConfigFile "/etc/sensors3.conf" +# Sensor "it8712-isa-0290/temperature-temp1" +# Sensor "it8712-isa-0290/fanspeed-fan3" +# Sensor "it8712-isa-0290/voltage-in8" +# IgnoreSelected false +# + +# +# LogLevel 3 +# +# Driver "fluke-dmm" +# MinimumInterval 10 +# Conn "/dev/ttyUSB2" +# +# +# Driver "cem-dt-885x" +# Conn "/dev/ttyUSB1" +# +# + +# +# Disk "/^[hs]d[a-f][0-9]?$/" +# IgnoreSelected false +# + +# See /usr/share/doc/collectd/examples/snmp-data.conf.gz for a +# comprehensive sample configuration. +# +# +# Type "voltage" +# Table false +# Instance "input_line1" +# Scale 0.1 +# Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1" +# +# +# Type "users" +# Table false +# Instance "" +# Shift -1 +# Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0" +# +# +# Type "if_octets" +# Table true +# InstancePrefix "traffic" +# Instance "IF-MIB::ifDescr" +# Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets" +# +# +# +# Address "192.168.0.2" +# Version 1 +# Community "community_string" +# Collect "std_traffic" +# Inverval 120 +# Timeout 10 +# Retries 1 +# +# +# Address "192.168.0.42" +# Version 2 +# Community "another_string" +# Collect "std_traffic" "hr_users" +# +# +# Address "192.168.0.3" +# Version 1 +# Community "more_communities" +# Collect "powerplus_voltge_input" +# Interval 300 +# Timeout 5 +# Retries 5 +# +# + +# +# +# Plugin "memory" +# Type "memory" +# TypeInstance "free" +# OIDs "1.3.6.1.4.1.2021.4.6.0" +# +# +# IndexOID "IF-MIB::ifIndex" +# SizeOID "IF-MIB::ifNumber" +# +# Instance true +# Plugin "interface" +# OIDs "IF-MIB::ifDescr" +# +# +# Plugin "interface" +# Type "if_octets" +# TypeInstance "" +# OIDs "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets" +# +#
+#
+ +# +# Host "::" +# Port "8125" +# DeleteCounters false +# DeleteTimers false +# DeleteGauges false +# DeleteSets false +# CounterSum false +# TimerPercentile 90.0 +# TimerPercentile 95.0 +# TimerPercentile 99.0 +# TimerLower false +# TimerUpper false +# TimerSum false +# TimerCount false +# + +# +# ReportByDevice false +# ReportBytes true +# ValuesAbsolute true +# ValuesPercentage false +# ReportIO true +# + +# +# +# #Plugin "table" +# Instance "slabinfo" +# Separator " " +# +# Type gauge +# InstancePrefix "active_objs" +# InstancesFrom 0 +# ValuesFrom 1 +# +# +# Type gauge +# InstancePrefix "objperslab" +# InstancesFrom 0 +# ValuesFrom 4 +# +#
+#
+ +# +# +# Instance "exim" +# Interval 60 +# +# Regex "S=([1-9][0-9]*)" +# DSType "CounterAdd" +# Type "ipt_bytes" +# Instance "total" +# +# +# Regex "\\" +# ExcludeRegex "\\.*mail_spool defer" +# DSType "CounterInc" +# Type "counter" +# Instance "local_user" +# +# +# +# #Use the following log format in nginx: +# #log_format response_time '[$host] "$upstream_response_time" ...' +# Instance "apache" +# +# Regex "^\\S+ \"([0-9.]+)\"" +# +# Percentile 80 # -> latency-foo-80 +# Percentile 95 # -> latency-foo-95 +# Percentile 99 # -> latency-foo-99 +# Bucket 0 0.1 # -> bucket-latency-foo-0_0.1 +# Bucket 0.1 0.2 # -> bucket-latency-foo-0.1_0.2 +# Bucket 0.2 0.5 # -> bucket-latency-foo-0.2_0.5 +# Bucket 0.5 1.0 # -> bucket-latency-foo-0.5_1 +# Bucket 1.0 2.0 # -> bucket-latency-foo-1_2 +# Bucket 2.0 0 # -> bucket-latency-foo-2_inf +# #BucketType "bucket" +# +# Type "latency" +# Instance "foo" +# +# +# + +# +# +# Type "percent" +# Instance "dropped" +# ValueFrom 1 +# +# +# Type "bytes" +# Instance "wire-realtime" +# ValueFrom 2 +# +# +# Type "alerts_per_second" +# ValueFrom 3 +# +# +# Type "kpackets_wire_per_sec.realtime" +# ValueFrom 4 +# +# +# Instance "snort-eth0" +# Interval 600 +# Collect "dropped" "mbps" "alerts" "kpps" +# TimeFrom 0 +# +# + +# +# ListeningPorts false +# AllPortsSummary false +# LocalPort "25" +# RemotePort "25" +# + +# +# Host "127.0.0.1" +# Port "51234" +# Server "8767" +# + +# +# Device "/dev/ttyUSB0" +# Retries 0 +# + +# +# ForceUseProcfs false +# Device "THRM" +# IgnoreSelected false +# + +# +# Host "localhost" +# Port "1978" +# + +# +## None of the following option should be set manually +## This plugin automatically detect most optimal options +## Only set values here if: +## - The module asks you to +## - You want to disable the collection of some data +## - Your (Intel) CPU is not supported (yet) by the module +## - The module generates a lot of errors 'MSR offset 0x... read failed' +## In the last two cases, please open a bug request +# +# TCCActivationTemp "100" +# CoreCstates "392" +# PackageCstates "396" +# SystemManagementInterrupt true +# DigitalTemperatureSensor true +# PackageThermalManagement true +# RunningAveragePowerLimit "7" +# + +# +# SocketFile "/var/run/collectd-unixsock" +# SocketGroup "collectd" +# SocketPerms "0660" +# DeleteSocket false +# + +# +# UUIDFile "/etc/uuid" +# + +# +# This tag support an argument if you want to +# monitor the local instance just use +# If you prefer defining another instance you can do +# so by using +# +# CollectBackend true +# CollectBan false # Varnish 3 and above +# CollectCache true +# CollectConnections true +# CollectDirectorDNS false # Varnish 3 only +# CollectESI false +# CollectFetch false +# CollectHCB false +# CollectObjects false +# CollectPurge false # Varnish 2 only +# CollectSession false +# CollectSHM true +# CollectSMA false # Varnish 2 & 4 only +# CollectSMS false +# CollectSM false # Varnish 2 only +# CollectStruct false +# CollectTotals false +# CollectUptime false # Varnish 3 and above +# CollectVCL false +# CollectVSM false # Varnish 4 only +# CollectWorkers false +# CollectLock false # Varnish 4 only +# CollectMempool false # Varnish 4 only +# CollectManagement false # Varnish 4 only +# CollectSMF false # Varnish 4 only +# CollectVBE false # Varnish 4 only +# CollectMSE false # Varnish-Plus 4 only +# +# + +# +# Connection "xen:///" +# RefreshInterval 60 +# Domain "name" +# BlockDevice "name:device" +# BlockDeviceFormat target +# BlockDeviceFormatBasename false +# InterfaceDevice "name:device" +# IgnoreSelected false +# HostnameFormat name +# InterfaceFormat name +# PluginInstanceFormat name +# Instances 1 +# ExtraStats "cpu_util disk disk_err domain_state fs_info job_stats_background pcpu perf vcpupin" +# + +# +# Verbose false +# + +# +# +# Host "localhost" +# Port "2003" +# Protocol "tcp" +# ReconnectInterval 0 +# LogSendErrors true +# Prefix "collectd" +# Postfix "collectd" +# StoreRates true +# AlwaysAppendDS false +# EscapeCharacter "_" +# SeparateInstances false +# PreserveSeparator false +# DropDuplicateFields false +# +# + +# +# +# URL "http://example.com/collectd-post" +# User "collectd" +# Password "secret" +# VerifyPeer true +# VerifyHost true +# CACert "/etc/ssl/ca.crt" +# CAPath "/etc/ssl/certs/" +# ClientKey "/etc/ssl/client.pem" +# ClientCert "/etc/ssl/client.crt" +# ClientKeyPass "secret" +# Header "X-Custom-Header: custom_value" +# SSLVersion "TLSv1" +# Format "Command" +# Prefix "collectd" # metric prefix, only available for KAIROSDB format +# Attribute "key" "value" # only available for KAIROSDB format +# TTL 0 # data ttl, only available for KAIROSDB format +# Metrics true +# Notifications false +# StoreRates false +# BufferSize 4096 +# LowSpeedLimit 0 +# Timeout 0 +# Prefix "collectd/" +# +# + +# +# Property "metadata.broker.list" "localhost:9092" +# +# Format JSON +# +# + +# +# +# Host "localhost" +# Port "27017" +# Timeout 1000 +# StoreRates false +# Database "auth_db" +# User "auth_user" +# Password "auth_passwd" +# +# + +# +# Port "9103" +# + +# +# +# Host "localhost" +# Port "6379" +# Timeout 1000 +# +# + +# +# +# Host "localhost" +# Port 5555 +# Protocol TCP +# Batch true +# BatchMaxSize 8192 +# StoreRates true +# AlwaysAppendDS false +# TTLFactor 2.0 +# Notifications true +# CheckThresholds false +# EventServicePrefix "" +# +# Tag "foobar" +# Attribute "foo" "bar" +# + +# +# +# Host "localhost" +# Port 3030 +# StoreRates true +# AlwaysAppendDS false +# Notifications true +# Metrics true +# EventServicePrefix "" +# MetricHandler "influx" +# MetricHandler "default" +# NotificationHandler "flapjack" +# NotificationHandler "howling_monkey" +# +# Tag "foobar" +# Attribute "foo" "bar" +# + +# +# +# Host "localhost" +# Port "4242" +# HostTags "status=production" +# StoreRates false +# AlwaysAppendDS false +# +# + +# +# Host "localhost" +# Port "2181" +# + + + Filter "*.conf" + + diff --git a/collectd.install b/collectd.install new file mode 100644 index 0000000..9947c7e --- /dev/null +++ b/collectd.install @@ -0,0 +1,2 @@ +../collectd.conf etc/collectd/ +../thresholds.conf ../filters.conf etc/collectd/collectd.conf.d/ diff --git a/collectd.links b/collectd.links new file mode 100644 index 0000000..9467cc4 --- /dev/null +++ b/collectd.links @@ -0,0 +1,2 @@ +usr/share/doc/collectd-core/examples/ usr/share/doc/collectd/examples + diff --git a/collectd.postinst b/collectd.postinst new file mode 100644 index 0000000..8fe5048 --- /dev/null +++ b/collectd.postinst @@ -0,0 +1,34 @@ +#! /bin/sh +# postinst script for collectd +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +if [ -x "/etc/init.d/collectd" ]; then + if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then + invoke-rc.d collectd restart || exit $? + else + /etc/init.d/collectd restart || exit $? + fi +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + diff --git a/collection.conf b/collection.conf new file mode 100644 index 0000000..958c7a6 --- /dev/null +++ b/collection.conf @@ -0,0 +1,3 @@ +datadir: "/var/lib/collectd/rrd/" +libdir: "/usr/lib/collectd/" + diff --git a/control b/control new file mode 100644 index 0000000..eadd41d --- /dev/null +++ b/control @@ -0,0 +1,307 @@ +Source: collectd +Section: utils +Priority: optional +Maintainer: Collectd Packaging Team +Uploaders: Sebastian Harl , Marc Fournier , Bernd Zeimetz +Build-Depends: debhelper-compat (= 13), po-debconf, dh-strip-nondeterminism, dh-autoreconf, + bison, flex, autotools-dev, libltdl-dev, pkg-config, + default-libmysqlclient-dev [!kfreebsd-i386 !kfreebsd-amd64], + intel-cmt-cat [amd64 i386], + libiptc-dev (>= 1.8.4-2) [linux-any] | libip4tc-dev [linux-any] | iptables-dev [linux-any], + libiptc-dev (>= 1.8.4-2) [linux-any] | libip6tc-dev [linux-any] | iptables-dev [linux-any], + javahelper, + kfreebsd-kernel-headers [kfreebsd-any], + libatasmart-dev [linux-any], + libcap-dev [linux-any], + libcurl4-gnutls-dev | libcurl4-gnutls-dev (<= 7.18.2-1) | libcurl3-gnutls-dev, + libdevstat-dev [kfreebsd-any], + libdbi0-dev, + libdpdk-dev [amd64 i386], + libesmtp-dev, + libgeom-dev [kfreebsd-any], + libgcrypt20-dev, + libglib2.0-dev, + libgrpc++-dev [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x], + libgps-dev, + libhiredis-dev, + libi2c-dev [!hurd-i386], + libkvm-dev [kfreebsd-any], + libldap2-dev, + liblua5.3-dev, + libmemcached-dev, + libmicrohttpd-dev, + libmodbus-dev, + libmongoc-dev, + libmnl-dev [linux-any], + libnotify-dev, + libopenipmi-dev, + liboping-dev, + libpcap0.8-dev | libpcap-dev, + libperl-dev, + libpq-dev, + libprotobuf-c-dev, + libprotobuf-dev, + librabbitmq-dev, + librdkafka-dev, + libriemann-client-dev, + librrd-dev, + libsensors-dev [linux-any], + libsnmp-dev | libsnmp-dev | libsnmp9-dev, + libsnmp-dev | perl (<< 5.10.1~rc2-1~), + libudev-dev [linux-any], + libvarnishapi-dev, + libvirt-dev [!kfreebsd-i386 !kfreebsd-amd64 !sh4 !ia64 !alpha], + libxen-dev [amd64 arm64 armhf], + libxml2-dev, + libyajl-dev, + linux-libc-dev [linux-any] | linux-libc-dev (<< 2.6.25-1) [linux-any], + default-jdk [!hppa !sparc !kfreebsd-i386 !kfreebsd-amd64], + protobuf-c-compiler, + protobuf-compiler, + protobuf-compiler-grpc [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x], + python3-dev, + riemann-c-client, + libqpid-proton11-dev, + libmosquitto-dev, + libslurm-dev +Build-Conflicts: libpthread-dev, libhal-dev, python-dev +Standards-Version: 4.2.1 +Homepage: https://collectd.org/ +Vcs-Git: https://salsa.debian.org/debian/pkg-collectd.git +Vcs-Browser: https://salsa.debian.org/debian/pkg-collectd + +Package: collectd-core +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base +Recommends: perl, rrdtool +Suggests: collectd-dev, +# collection.cgi / collection3 dependencies + librrds-perl, liburi-perl, libhtml-parser-perl, libregexp-common-perl, + libconfig-general-perl, httpd-cgi, +# services providing data that may be collected by collectd + apache2, apcupsd, bind9, ceph, chrony, default-mysql-server, gpsd, + iptables, ipvsadm, lm-sensors, mbmon, memcached, nginx, notification-daemon, + openvpn, olsrd, pdns-server, postgresql, redis-server, slapd, + time-daemon, varnish, zookeeper, + ${shlibs:Suggests}, default-jre-headless +Description: statistics collection and monitoring daemon (core system) + collectd is a small daemon which collects system information periodically and + provides mechanisms to monitor and store the values in a variety of ways. + Since the daemon doesn't need to startup every time it wants to update the + values it's very fast and easy on the system. Also, the statistics are very + fine grained since the files are updated every 10 seconds by default. + . + The collected information can be used to find current performance bottlenecks + (performance analysis) and predict future system load (capacity planning). + . + This package contains the main program file and the plugins listed below (some + of those plugins require additional libraries - for more details see + /usr/share/doc/collectd-core/README.Debian.plugins) but no configuration. For + a full installation (including configuration), see the "collectd" package. + This package allows sites to, e.g., provide customizations (like a custom + default configuration) on top of it without having to modify the "collectd" + package. + . + * AMQP output plugin: amqp + * AMQP 1.0 output plugin: amqp1 + * Apache and lighttpd statistics provided by mod_status: apache + * APC UPS's charge, load, input/output/battery voltage, etc.: apcups + * Ascent server statistics: ascent + * Bosch and Freescale barometers: barometer + * battery status: battery + * bind9 name-server and zone statistics: bind + * Ceph distributed storage system statitics: ceph + * CGroups resource usage: cgroups + * Chrony daemon statistics: Local clock drift, offset to peers: chrony + * connection tracking table size: conntrack + * number of context switches done by the operating system: contextswitch + * CPU utilization: cpu + * CPU frequency: cpufreq + * CPU sleep: Time spent in suspend : cpusleep + * output to comma separated values (CSV) files: csv + * parse statistics from websites: curl + * parse JSON files: curl_json + * parse XML data: curl_xml + * query data from a relational database: dbi + * disk space usage: df + * disk and partition throughput: disk + * DNS traffic information: dns + * DPDK link status and keep alive events: dpdkevents + * DPDK interface statistics: dpdkstat + * Distributed Replicated Block Device status: drbd + * E-Mail statistics (count, traffic, spam scores and checks): email + * amount of available entropy: entropy + * execution of external programs: exec + * count the number of open file handles: fhcount + * count the number of files in directories: filecount + * Linux file-system based caching framework statistics: fscache + * Monitor gps related data through gpsd: gps + * Send or receive values over the network using the gRPC framework: grpc + * query data from Java processes using JMX: GenericJMX (Java based plugin) + * Report the number of used and free hugepages: hugepages + * Intel Resource Director Technology statistics: intel_rdt + * network traffic: interface + * IPC statistics: ipc + * IPMI sensors information: ipmi + * iptables statistics: iptables + * IPVS connection statistics: ipvs + * IRQ counters: irq + * embedded Java Virtual Machine: java + * system load averages: load + * logging to files, STDOUT and STDERR: logfile + * logging in logstash's JSON event format: log_logstash + * embedded Lua interpreter: lua + * Machine Check Exceptions notifications: mcelog + * Atheros wireless LAN chipset statistics: madwifi + * motherboard monitor: mbmon + * query and parse data from a memcache daemon: memcachec + * statistics of the memcached distributed caching system: memcached + * memory usage: memory + * read values from Modbus/TCP enabled devices: modbus + * statistics from mon.itor.us: Monitorus (Perl based plugin) + * Publishes and subscribes to MQTT topics: mqtt + * multimeter statistics: multimeter + * MySQL statistics provided by MySQL's "show status" command: mysql + * detailed Linux network interface and routing statistics: netlink + * IO via the network: network + * NFS utilization: nfs + * Nginx (a HTTP and E-Mail server/proxy) statistics: nginx + * send desktop notifications to a notification daemon: notify_desktop + * send notification E-mails: notify_email + * send notifications to nagios: notify_nagios + * NTP daemon's local clock drift, offset to peers, etc.: ntpd + * Optimized Link State Routing daemon statistics: olsrd + * OpenLDAP's cn=Monitor statistics: openldap + * OpenVPN traffic and compression statistics: openvpn + * OpenVZ statistics: OpenVZ (Perl based plugin) + * Open vSwitch link state events: ovs_events + * Open vSwitch bridge / interface statistics: ovs_stats + * embedded Perl interpreter: perl + * timing values from Pinba: pinba + * network latency statistics: ping + * PostgreSQL database statistics: postgresql + * PowerDNS name server statistics: powerdns + * number of processes: processes + * information about network protocols: protocols + * embedded Python interpreter: python + * Redis server statistics: redis + * write data via the RRD accelerator daemon: rrdcached + * output to RRD files: rrdtool + * lm_sensors information (e.g. CPU temperature, fan speeds): sensors + * serial port traffic: serial + * values from SNMP enabled network devices: snmp + * receive and handle queries from SNMP master agent: snmp_agent + * aggregate values received with the StatsD protocol: statsd + * SMART statistics: smart + * swap usage: swap + * Linux synproxy statistics: synproxy + * logging to syslog: syslog + * parse table-like structured files: table + * incremental parsing of logfiles: tail + * incremental parsing of CSV files: tail_csv + * number of TCP connections to specific ports: tcpconns + * TeamSpeak2 server statistics: teamspeak2 + * power consumption measurements from "The Energy Detective" (TED): ted + * Linux ACPI thermal zone information: thermal + * check thresholds and for missing values: threshold + * statistics from Intel turbo-capable processors: turbostat + * external runtime interface: unixsock + * system uptime: uptime + * number of users logged into the system: users + * set the hostname to an unique identifier: uuid + * Varnish HTTP accelerator daemon statistics: varnish + * CPU, disk, network statistics of guest systems: virt + * detailed virtual memory statistics: vmem + * system resources used by Linux-VServers: vserver + * wireless network stats: wireless + * send collected values to a graphite server: write_graphite + * send collected values to a web-server: write_http + * send collected values to an Apache Kafka message broker: write_kafka + * send collected values to the logging subsystem: write_log + * send collected values to MongoDB, a NoSQL database: write_mongodb + * publish collected values as a Prometheus exporter: write_prometheus + * send collected values to a Redis server: write_redis + * send collected values to a Riemann server: write_riemann + * send collected values to a Sensu client: write_sensu + * send collected values to Google Stackdriver: write_stackdriver + * send collected values to an OpenTSDB server: write_tsdb + * XEN Hypervisor CPU stats: xencpu + * ZFS's Adaptive Replacement Cache statistics: zfs_arc + * data from Zookeeper's MNTR command: zookeeper + +Package: collectd +Architecture: any +Depends: collectd-core (>= ${source:Version}), collectd-core (<< ${source:Version}.1~), + ${shlibs:Depends}, ${misc:Depends} +Recommends: ${shlibs:Recommends}, default-jre-headless +Description: statistics collection and monitoring daemon + collectd is a small daemon which collects system information periodically and + provides mechanisms to monitor and store the values in a variety of ways. + Since the daemon doesn't need to startup every time it wants to update the + values it's very fast and easy on the system. Also, the statistics are very + fine grained since the files are updated every 10 seconds by default. + . + The collected information can be used to find current performance bottlenecks + (performance analysis) and predict future system load (capacity planning). + . + This package provides a full installation of the daemon, including the + configuration. For the core system, see the "collectd-core" package, which + allows sites to, e.g., provide customizations (like a custom default + configuration) on top of it without having to modify the "collectd" package. + +Package: collectd-utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: collectd +Description: statistics collection and monitoring daemon (utilities) + collectd is a small daemon which collects system information periodically and + provides mechanisms to monitor and store the values in a variety of ways. + Since the daemon doesn't need to startup every time it wants to update the + values it's very fast and easy on the system. Also, the statistics are very + fine grained since the files are updated every 10 seconds by default. + . + This package contains the following utility: + . + * collectdctl: Control interface for collectd + * collectd-nagios: Nagios plugin for querying collectd + +Package: collectd-dev +Architecture: all +Depends: collectd-core (>= ${source:Version}), collectd-core (<< ${source:Version}.1~), + ${misc:Depends} +Description: statistics collection and monitoring daemon (development files) + collectd is a small daemon which collects system information periodically and + provides mechanisms to monitor and store the values in a variety of ways. + Since the daemon doesn't need to startup every time it wants to update the + values it's very fast and easy on the system. Also, the statistics are very + fine grained since the files are updated every 10 seconds by default. + . + This package contains the development files needed to create your own + plugins. + +Package: libcollectdclient-dev +Section: libdevel +Architecture: any +Depends: libcollectdclient1 (= ${binary:Version}), ${misc:Depends} +Description: client library for collectd's control interface (development files) + libcollectdclient provides an API to access the control interface provided by + the unixsock plugin of collectd, a statistics collection and monitoring + daemon. It can be used to access values collected by collectd or dispatch new + values and notifications to the daemon. This allows for integration with + other applications such as monitoring solutions. + . + This package contains the header files and the static library. + +Package: libcollectdclient1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: collectd +Description: client library for collectd's control interface + libcollectdclient provides an API to access the control interface provided by + the unixsock plugin of collectd, a statistics collection and monitoring + daemon. It can be used to access values collected by collectd or dispatch new + values and notifications to the daemon. This allows for integration with + other applications such as monitoring solutions. + . + This package contains the shared library. diff --git a/copyright b/copyright new file mode 100644 index 0000000..728e24e --- /dev/null +++ b/copyright @@ -0,0 +1,1141 @@ +This package was debianized by Sebastian Harl on +Wed, 10 May 2006 09:20:39 +0200. + +It was downloaded from . + +Upstream Authors: + Core Developer: + Florian Forster + + For individual credits, see AUTHORS. + +Copyright Holders (in alphabetical order): + Adrian Perez + Alessandro Iurlano + Alex Deymo + Alexander Wirt + Américo Monteiro + Amit Gupta + Andre M. Hedrick + Andreas Henriksson + Andrés J. Díaz + Andy Parkins + Anthony Dewhurst + Anthony Gialluca + Antony Dovgal + Aurelien beorn Rougemont + Battelle Memorial Institute + Bert Vermeulen + Bruno Prémont + Carnegie Mellon University + Chad Malfait + Claudius M Zingerli, ZSeng + Clay Loveless + Clément Stenac + Cosmin Ioiart + C-Ware, Inc. + Cyril Feraudet + David Bacher + Denis Pompilio + Doug MacEachern + Edward Konetzko + Eric Reed + Eric Spreen + Fabian Schuh + Fabrice A. Marie + Flavio Stanchina + Florent Monbillard + Florent Usseil + Florian Forster + Franck Lombardi + Free Software Foundation, Inc. + Gergely Nagy + Google, Inc. + Hideki Yamane + Intel Corporation. + Ivan Masár + Jason Pepas + Jeff Green + Jérôme Renard + Jiri Tyr + Joe Dalton + Jonathan Kolb + Jorge Barreiro + joseph werle + Juan Jose Ciarlante + Julien Ammous + Julian Anastasov + Justo Alonso Achaques + Kai Wasserbäch + Kern Sibbald + Kimo Rosenbaum + Kris Nielander + Laird Shaw + Limelight Networks, Inc. + Lubos Stanek + Lyonel Vincent + Manuel Sanmartin + Marc Falzon + Marc Fournier + Marco Chiappero + Mariusz Gronczewski + Martin Bagge + Martin Sin + Mathijs Mohlmann + Max Henkel + Michael Hanselmann + Michael Stapelberg + Michał Mirosław + Mirko Buffoni + Netfilter Core Team + New Dream Network + Nicolas JOURDEN + Nicolas Szalay + Niki W. Waibel + noris network AG + Novell Inc. + Oleg King + Ondrej 'SanTiago' Zajicek + Patrik Weiskircher + Paul Sadauskas + Pavel Rochnyak + Pavel Shramov + Peter Holik + Peter Kese + Phoenix Kayo + Pierre-Yves Ritschard + Red Hat Inc. + rinigus + Rodolphe Quiédeville + Ruben Kerkhof + Scott Garrett + Scott Sanders + Sebastian Harl + Sebastien Pahl + Serhiy Pshyk + Simon Kuhnle + Sjoerd van der Berg + Stefan Hacker + Stefan Rinkes + Stefan Völkel + Steven Bell + Steven Clarke + Sven Trenkel + The Regents of the University of California + Tim Laszlo + Tomasz Pala + Vedran Bartonicek + Vincent Bernat + Vincent Stehlé + Wensong Zhang + Wilfried Goesgens + Wouter Gadeyne + Xin Li + Yuri Kozlov + +Licenses: + + File bindings/perl/lib/Collectd/Plugins/Monitorus.pm + Copyright © 2009 Jeff Green + License: GNU General Public License + + File bindings/perl/lib/Collectd/Plugins/OpenVZ.pm + Copyright © 2009 Jonathan Kolb + License: GNU General Public License + + File contrib/collectd_network.py + Copyright © 2009 Adrian Perez + License: GNU General Public License + + File contrib/collectd_unixsock.py + Copyright © 2008 Clay Loveless + License: GNU General Public License + + File contrib/collectd2html.pl + Copyright © 2006 Vincent Stehlé + License: GNU General Public License + + Files contrib/collection3/bin/graph.cgi + contrib/collection3/bin/index.cgi + contrib/collection3/lib/Collectd/Graph/Common.pm + Copyright © 2008-2011 Florian Forser + Copyright © 2011 noris network AG + License: GNU General Public License + + Files contrib/collection3/lib/Collectd/Graph/Type/ArcCounts.pm + src/zfs_arc.c + Copyright © 2009 Anthony Dewhurst + Copyright © 2012 Aurelien Rougemont + Copyright © 2013 Xin Li + Copyright © 2014 Marc Fournier + Copyright © 2014 Wilfried Goesgens + License: GNU General Public License + + File contrib/network-proxy.py + Copyright © 2007 Pavel Shramov + License: GNU General Public License + + Files contrib/php-collection/* + Copyright © 2009 Bruno Prémont + License: GNU General Public License + + File contrib/snmp-probe-host.px + Copyright © 2008-2009 Florian Forster + Copyright © 2009 noris network AG + License: GNU General Public License + + File debian/include/net/ip_vs.h + Copyright © Wensong Zhang + Copyright © Julian Anastasov + Copyright © Peter Kese + Copyright © Juan Jose Ciarlante + Copyright © Wouter Gadeyne + License: GNU General Public License + + File src/apache.c + Copyright © 2006-2010 Florian Forster + Copyright © 2007 Florent Monbillard + Copyright © 2009 Amit Gupta + License: GNU General Public License + + File src/aquaero.c + Copyright © 2013 Alex Deymo + License: GNU General Public License + + File src/apcups.c + Copyright © 2006-2015 Florian Forster + Copyright © 2006 Anthony Gialluca + Copyright © 2000-2004 Kern Sibbald + Copyright © 1996-1999 Andre M. Hedrick + License: GNU General Public License + + File src/battery.c + Copyright © 2006-2014 Florian Forster + Copyright © 2008 Michał Mirosław + Copyright © 2014 Andy Parkins + License: GNU General Public License + + File src/bind.c + Copyright © 2009 Bruno Prémont + Copyright © 2009,2010 Florian Forster + License: GNU General Public License + + File src/ceph.c + Copyright © 2011 New Dream Network + Copyright © 2011 Colin McCabe + Copyright © 2014 Dennis Zou + Copyright © 2014 Dan Ryder + License: GNU General Public License + + File src/cgroups.c + Copyright © 2011 Michael Stapelberg + Copyright © 2013 Florian Forster + License: GNU General Public License + + File src/chrony.c + Copyright © 2015-2016 Claudius M Zingerli, ZSeng + Partially based on Chrony's candm.h + License: GNU General Public License + + File src/collectd-python.pod + Copyright © 2009 Sven Trenkel + License: GNU General Public License + + File src/collectdctl.c + Copyright © 2010 Håkon J Dugstad Johnsen + Copyright © 2010 Sebastian Harl + License: GNU General Public License + + File src/conntrack.c + Copyright © 2009 Tomasz Pala + License: GNU General Public License + + File src/contextswitch.c + Copyright © 2009 Patrik Weiskircher + Copyright © 2010 Kimo Rosenbaum + License: GNU General Public License + + File src/cpu.c + Copyright © 2005-2014 Florian Forster + Copyright © 2008 Oleg King + Copyright © 2009 Simon Kuhnle + Copyright © 2009 Manuel Sanmartin + Copyright © 2013-2014 Pierre-Yves Ritschard + License: GNU General Public License + + Files src/cpufreq.c + src/multimeter.c + Copyright © 2005-2007 Peter Holik + License: GNU General Public License + + File src/curl.c + Copyright © 2006-2009 Florian Forster + Copyright © 2009 Aman Gupta + License: GNU General Public License + + File src/curl_xml.c + Copyright © 2009-2010 Amit Gupta + License: GNU General Public License + + Files src/csv.c + src/curl_json.c + Copyright © 2006-2013 Florian Forster + Copyright © 2009 Doug MacEachern + License: GNU General Public License + + File src/df.c + Copyright © 2005-2009 Florian Forster + Copyright © 2009 Paul Sadauskas + License: GNU General Public License + + Files src/disk.c + src/interface.c + src/load.c + Copyright © 2005-2012 Florian Forster + Copyright © 2009 Manuel Sanmartin + Copyright © 2013 Vedran Bartonicek + License: GNU General Public License + + File src/dns.c + Copyright © 2006-2011 Florian Forster + Copyright © 2009 Mirko Buffoni + License: GNU General Public License + + File src/ethstat.c + Copyright © 2011 Cyril Feraudet + Copyright © 2012 Florian "octo" Forster + License: GNU General Public License + + File src/exec.c + Copyright © 2007-2010 Florian Forster + Copyright © 2007-2009 Sebastian Harl + Copyright © 2008 Peter Holik + License: GNU General Public License + + File src/filecount.c + Copyright © 2008 Alessandro Iurlano + Copyright © 2008 Florian Forster + License: GNU General Public License + + File src/fscache.c + Copyright © 2009 Edward Konetzko + License: GNU General Public License + + File src/hddtemp.c + Copyright © 2005-2006 Vincent Stehlé + Copyright © 2006-2007 Florian Forster + Copyright © 2008 Sebastian Harl + Copyright © 2014 Carnegie Mellon University + License: GNU General Public License + + File src/ipc.c + Copyright © 2010 Andres J. Diaz + Copyright © 2010 Manuel L. Sanmartin + License: GNU General Public License + + File src/ipmi.c + Copyright © 2008-2009 Florian Forster + Copyright © 2008 Peter Holik + Copyright © 2009 Bruno Prémont + Copyright © 2017 Pavel Rochnyak + License: GNU General Public License + + File src/iptables.c + Copyright © 2007 Sjoerd van der Berg + Copyright © 2007 Florian Forster + Copyright © 2009 Marco Chiappero + License: GNU General Public License + + File src/ipvs.c + Copyright © 1997 Steven Clarke + Copyright © 1998-2004 Wensong Zhang + Copyright © 2003-2004 Peter Kese + Copyright © 2007 Sebastian Harl + License: GNU General Public License + + File src/irq.c + Copyright © 2007 Peter Holik + Copyright © 2011 Florian Forster + Copyright: GNU General Public License + + File src/java.c + Copyright © 2008 Justo Alonso Achaques + Copyright © 2009 Florian Forster + License: GNU General Public License + + Files src/virt.c + src/virt_test.c + Copyright © 2006-2017 Red Hat Inc. + License: GNU General Public License + + File src/lvm.c + Copyright © 2013 Chad Malfait + Copyright © 2014 Carnegie Mellon University + License: GNU General Public License + + File src/madwifi.c + Copyright © 2009 Ondrej 'SanTiago' Zajicek + License: GNU General Public License + + File src/mbmon.c + Copyright © 2006 Flavio Stanchina + Copyright © 2006-2007 Florian Forster + License: GNU General Public License + + File src/md.c + Copyright © 2010-2011 Michael Hanselmann + License: GNU General Public License + + Files src/memcachec.c + Copyright © 2008-2009 Doug MacEachern + Copyright © 2006-2009 Florian Forster + Copyright © 2009 Marco Chiappero + License: GNU General Public License + + File src/memcached.c + Copyright © 2007 Antony Dovgal + Copyright © 2007-2012 Florian Forster + Copyright © 2009 Doug MacEachern + Copyright © 2009 Franck Lombardi + Copyright © 2012 Nicolas Szalay + Copyright © 2017 Pavel Rochnyak + License: GNU General Public License + + File src/memory.c + Copyright © 2005-2008 Florian Forster + Copyright © 2009 Simon Kuhnle + Copyright © 2009 Manuel Sanmartin + License: GNU General Public License + + File src/mic.c + Copyright © 2013 Battelle Memorial Institute + Author: Evan Felix + License: GNU General Public License + + File src/modbus.c + Copyright © 2010-2011 noris network AG + Author: Florian Forster + License: GNU General Public License + + File src/mysql.c + Copyright © 2006-2009 Florian Forster + Copyright © 2008 Mirko Buffoni + Copyright © 2009 Doug MacEachern + Copyright © 2009 Sebastian Harl + Copyright © 2009 Rodolphe Quiédeville + License: GNU General Public License + + File src/netlink.c + Copyright © 2007-2010 Florian 'octo' Forster + Copyright © 2008-2012 Sebastian Harl + Copyright © 2013 Andreas Henriksson + Copyright © 2013 Marc Fournier + License: GNU General Public License + + File src/nfs.c + Copyright © 2005, 2006 Jason Pepas + Copyright © 2012, 2013 Florian octo Forster + License: GNU General Public License + + File src/notify_email.c + Copyright © 2008 Oleg King + Copyright © 2010 Florian Forster + License: GNU General Public License + + File src/onewire.c + Copyright © 2008 noris network AG + License: GNU General Public License + + File src/openvpn.c + Copyright © 2008-2009 Doug MacEachern + Copyright © 2006-2009 Florian Forster + Copyright © 2009 Marco Chiappero + Copyright © 2009 Fabian Schuh + License: GNU General Public License + + File src/oracle.c + Copyright © 2008-2009 noris network AG + Copyright © 2012 Florian octo Forster + License: GNU General Public License + + File src/pinba.c + Copyright © 2007-2009 Antony Dovgal + Copyright © 2010 Phoenix Kayo + Copyright © 2010 Florian Forster + License: GNU General Public License + + File src/powerdns.c + Copyright © 2007-2008 C-Ware, Inc. + Copyright © 2008 Florian Forster + License: GNU General Public License + + File src/processes.c + Copyright © 2005 Lyonel Vincent + Copyright © 2006-2008 Florian Forster + Copyright © 2008 Oleg King + Copyright © 2009 Sebastian Harl + Copyright © 2009 Andrés J. Díaz + Copyright © 2009 Manuel Sanmartin + Copyright © 2010 Clément Stenac + Copyright © 2012 Cosmin Ioiart + License: GNU General Public License + + File src/rrdtool.c + Copyright © 2006-2013 Florian Forster + Copyright © 2008 Sebastian Harl + Copyright © 2009 Mariusz Gronczewski + License: GNU General Public License + + File src/sensors.c + Copyright © 2005-2008 Florian Forster + Copyright © 2006 Lubos Stanek + License: GNU General Public License + + File src/serial.c + Copyright © 2005, 2006 David Bacher + License: GNU General Public License + + File src/sigrok.c + Copyright © 2013 Bert Vermeulen + License: GNU General Public License + + File src/swap.c + Copyright © 2005-2014 Florian Forster + Copyright © 2009 Stefan Völkel + Copyright © 2009 Manuel Sanmartin + Copyright © 2010 Aurélien Reynaud + License: GNU General Public License + + File src/synproxy.c + Copyright © 2017 Marek Becka + License: GNU General Public License + + File src/tail_csv.c + Copyright © 2013 Kris Nielander + Copyright © 2013 Florian Forster + License: GNU General Public License + + File src/tape.c + Copyright © 2005, 2006 Scott Garrett + License: GNU General Public License + + File src/tcpconns.c + Copyright © 2007-2008 Florian Forster + Copyright © 2008 Michael Stapelberg + License: GNU General Public License + + File src/teamspeak2.c + Copyright © 2008 Stefan Hacker + Copyright © 2008 Florian Forster + License: GNU General Public License + + File src/ted.c + Copyright © 2009 Eric Reed + License: GNU General Public License + + File src/thermal.c + Copyright © 2008 Michał Mirosław + License: GNU General Public License + + File src/tokyotyrant.c + Copyright © 2009 Paul Sadauskas + License: GNU General Public License + + File src/turbostat.c + Copyright © 2013 Intel Corporation. + License: GNU General Public License + + File src/uptime.c + Copyright © 2009 Marco Chiappero + License: GNU General Public License + + File src/users.c + Copyright © 2005-2007 Sebastian Harl + Copyright © 2005 Niki W. Waibel + Copyright © 2005-2007 Florian Forster + Copyright © 2008 Oleg King + License: GNU General Public License + + File src/utils_format_graphite.c + Copyright © 2012 Thomas Meson + Copyright © 2012 Florian octo Forster + License: GNU General Public License + + File src/utils_format_graphite.h + Copyright © 2012 Thomas Meson + License: GNU General Public License + + File src/utils_ignorelist.c + Copyright © 2006 Lubos Stanek + Copyright © 2008 Florian Forster + License: GNU General Public License + + File src/utils_ignorelist.h + Copyright © 2006 Lubos Stanek + License: GNU General Public License + + Files src/utils_mount.c + src/utils_mount.h + Copyright © 2005, 2006 Niki W. Waibel + License: GNU General Public License + + File src/uuid.c + Copyright © 2007 Red Hat Inc. + Copyright © 2015 Ruben Kerkhof + License: GNU General Public License + + File src/varnish.c + Copyright © 2010 Jérôme Renard + Copyright © 2010 Marc Fournier + Copyright © 2010-2012 Florian Forster + License: GNU General Public License + + File src/write_graphite.c + Copyright © 2009 Paul Sadauskas + Copyright © 2009 Doug MacEachern + Copyright © 2011 Scott Sanders + Copyright © 2012 Pierre-Yves Ritschard + Copyright © 2007-2013 Florian octo Forster + License: GNU General Public License + + File src/write_http.c + Copyright © 2007-2014 Florian Forster + Copyright © 2009 Paul Sadauskas + Copyright © 2009 Doug MacEachern + License: GNU General Public License + + File src/write_mongodb.c + Copyright © 2010-2013 Florian Forster + Copyright © 2010 Akkarit Sangpetch + Copyright © 2012 Chris Lundquist + Copyright © 2017 Saikrishna Arcot + License: GNU General Public License + + File src/write_riemann_threshold.c + Copyright © 2007-2010 Florian Forster + Copyright © 2008-2009 Sebastian Harl + Copyright © 2009 Andrés J. Díaz + Copyright © 2014 Pierre-Yves Ritschard + License: GNU General Public License + + File src/write_tsdb.c + Copyright © 2009 Paul Sadauskas + Copyright © 2009 Doug MacEachern + Copyright © 2011 Scott Sanders + Copyright © 2012 Pierre-Yves Ritschard + Copyright © 2007-2013 Florian octo Forster + Copyright © 2013-2014 Limelight Networks, Inc. + License: GNU General Public License + + File src/xencpu.c + Copyright © 2016 Pavel Rochnyak + License: GNU General Public License + + File src/zone.c + Copyright © 2011 Mathijs Mohlmann + License: GNU General Public License + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, + USA. + + Some files are licensed under version 2 only, while any others allow one to + use version 2 or (at your option) any later version. + +On Debian systems, the complete text of the GNU General Public License, +version 2, can be found in `/usr/share/common-licenses/GPL-2'. The complete +text of the latest version can be found in `/usr/share/common-licenses/GPL'. + + File contrib/collectd_unix_sock.rb + Copyrigh © 2009 Novell Inc. + Author: Duncan Mac-Vicar P. + Based on Python version: + Copyright © 2008 Clay Loveless + + This software is provided 'as-is', without any express or implied + warranty. In no event will the author be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Files libltdl/* (except libltdl/m4/*) + Copyright © 1998-2011 Free Software Foundation, Inc. + License: GNU Lesser General Public License + + File src/barometer.c + Copyright © 2014 Tomas Menzl + License: GNU Lesser General Public License + + File src/network.c + Copyright © 2005-2013 Florian Forster + Copyright © 2009 Aman Gupta + License: GNU Lesser General Public License + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, + USA. + +On Debian systems, the complete text of the GNU Lesser General Public License +can be found in `/usr/share/common-licenses/LGPL'. + + File contrib/exec-ksm.sh + Copyright © 2011 Florian Forster + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + + Files libltdl/m4/* + Copyright © 1996-2011 Free Software Foundation, Inc. + + This file is free software; the Free Software Foundation gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + Parts of the file src/tcpconns.c + Copyright © 1983, 1988, 1993 The Regents of the University of California + License: BSD License + + File src/madwifi.h + Copyright © 2001 Atsushi Onoe + Copyright © 2002-2005 Sam Leffler, Errno Consulting + License: BSD License + + Files src/utils_dns.c + src/utils_dns.h + Copyright © 2002 The Measurement Factory, Inc. + Copyright © 2006 Florian Forster + License: BSD License + + File src/utils_dns.h + Copyright © 2006 Florian Forster + License: BSD License + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the author nor the names of his contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + File contrib/postgresql/collectd_insert.sql + Copyright © 2012 Sebastian 'tokkee' Harl + License: 2-clause BSD License + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + Files bindings/perl/lib/Collectd.pm + contrib/examples/MyPlugin.pm + contrib/examples/myplugin.c + contrib/cussh.pl + proto/collectd.proto + proto/types.proto + src/types.db.pod + src/utils_cmd_flush.h + src/utils_curl_stats.c + src/utils_curl_stats.h + src/daemon/utils_subst.c + src/daemon/utils_subst.h + Copyright © 2006-2016 Sebastian Harl + License: MIT License + + File src/grpc.cc + Copyright © 2015-2016 Sebastian Harl + Copyright © 2016 Florian Forster + License: MIT License + + File contrib/collection.cgi + Copyright © 2006-2010 Florian Forster + 2006-2008 Sebastian Harl + 2008 Mirko Buffoni + License: MIT License + + File src/amqp.c + Copyright © 2009 Sebastien Pahl + Copyright © 2010-2012 Florian Forster + License: MIT License + + File src/battery_statefs.c + Copyright © 2016 rinigus + License: MIT License + + Files src/collectd-perl.pod + src/logfile.c + src/match_regex.c + src/nginx.c + src/scanner.l + src/utils_cmd_flush.c + src/utils_cmds.c + src/utils_cmds.h + src/daemon/utils_complain.c + src/daemon/utils_complain.h + src/vserver.c + Copyright © 2006-2013 Florian Forster + Copyright © 2006-2016 Sebastian Harl + License: MIT License + + Files src/collectd-python.pod + src/cpython.h + src/pyconfig.c + src/python.c + src/pyvalues.c + Copyright © 2009-2010 Sven Trenkel + License: MIT License + + File src/cpusleep.c + Copyright © 2016 rinigus + License: MIT License + + Files src/collectdmon.c + src/collectdmon.pod + src/email.c + src/notify_desktop.c + src/perl.c + src/table.c + Copyright © 2006-2009 Sebastian Harl + License: MIT License + + File src/drbd.c + Copyright © 2014 Tim Laszlo + License: MIT License + + Files src/dpdkevents.c + src/dpdkstat.c + src/hugepages.c + src/intel_rdt.c + src/intel_pmu.c + src/mcelog.c + src/ovs_events.c + src/ovs_stats.c + src/snmp_agent.c + src/utils_config_cores.c + src/utils_config_cores.h + src/utils_config_cores_test.c + src/utils_dpdk.c + src/utils_dpdk.h + src/utils_ovs.c + src/utils_ovs.h + Copyright © 2016-2018 Intel Corporation + License: MIT License + + File src/fhcount.c + Copyright © 2015 Jiri Tyr + License: MIT License + + File src/gps.c + Copyright © 2015 Nicolas JOURDEN + License: MIT License + + File src/log_logstash.c + Copyright © 2013 Pierre-Yves Ritschard + License: MIT License + + Files src/libcollectdclient/collectd/lcc_features.h + src/libcollectdclient/collectd/lcc_features.h.in + Copyright © 2009 Sebastian Harl + License: MIT License + + File src/libcollectdclient/network.c + Copyright © 2005-2015 Florian Forster + Copyright © 2010 Max Henkel + License: MIT License + + File src/lua.c + Copyright © 2010 Julien Ammous + Copyright © 2010 Florian Forster + Copyright © 2016 Ruben Kerkhof + License: MIT License + + Other files in src/libcollectdclient/ and src/daemon/utils_random.* + Copyright © 2005-2017 Florian octo Forster + License: MIT License + + Files src/utils_tail.c + src/utils_tail_match.c + src/utils_tail_match.h + Copyright © 2007-2008 C-Ware, Inc. + Copyright © 2008 Florian Forster + License: MIT License + + File src/daemon/utils_tail.h + Copyright © 2007-2008 C-Ware, Inc. + License: MIT License + + Files src/daemon/utils_threshold.c + src/daemon/utils_threshold.h + Copyright © 2014 Pierre-Yves Ritschard + License: MIT License + + File src/mqtt.c + Copyright © 2014 Marc Falzon + Copyright © 2014-2015 Florian octo Forster + License: MIT License + + File src/netapp.c + Copyright © 2009-2010 Sven Trenkel + Copyright © 2012-2013 teamix GmbH + License: MIT License + + File src/openldap.c + Copyright © 2011 Kimo Rosenbaum + Copyright © 2014-215 Marc Fournier + License: MIT License + + Files src/postgresql.c + src/utils_cache.c + src/utils_cache.h + Copyright © 2008-2016 Sebastian Harl + Copyright © 2009 Florian Forster + License: MIT Licence + + File src/smart.c + Copyright © 2014 Vincent Bernat + License: MIT License + + Files src/statsd.c + src/utils_latency.c + src/utils_latency.h + Copyright © 2013 Florian 'octo' Forster + License: MIT License + + Files src/utils_latency_config.c + src/utils_latency_config.h + Copyright © 2013-2016 Florian 'octo' Forster + Copyright © 2016 Pavel Rochnyak + License: MIT License + + Files src/utils_format_kairosdb.c + src/utils_format_kairosdb.h + Copyright © 2016 Aurelien beorn Rougemont + License: MIT License + + File src/write_kafka.c + Copyright © 2014 Pierre-Yves Ritschard + License: MIT License + + File src/write_log.c + Copyright © 2015 Pierre-Yves Ritschard + License: MIT License + + File src/write_riemann.c + Copyright © 2012, 2013 Pierre-Yves Ritschard + Copyright © 2013 Florian octo Forster + Copyright © 2015-2016 Gergely Nagy + License: MIT License + + File src/write_sensu.c + Copyright © 2015 Fabrice A. Marie + License: MIT License + + Files src/daemon/globals.c + src/daemon/globals.h + src/zookeeper.c + Copyright © 2014-2017 Google, Inc. + License: MIT License + + All other files (except otherwise listed): + Copyright © 2005-2016 Florian Forster + License: MIT License + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + + File src/pf.c + Copyright © 2010 Pierre-Yves Ritschard + Copyright © 2011 Stefan Rinkes + + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + Files contrib/SpamAssassin/* + Copyright © 2006 Alexander Wirt + + This program is free software; you can redistribute it and/or modify it + under the terms of either: + + a) the Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0) + + or + + b) the GPL (http://www.gnu.org/copyleft/gpl.html) + + Use whatever you like more. + + File src/utils_crc32.c + Copyright © 1986 Gary S. Brown + You may use this program, or code or tables extracted from it, as desired + without restriction. + + File src/libcollectdclient/collectd/stdendian.h + Public Domain. + +The Debian packaging is © 2006-2012, Sebastian Harl and +is licensed under the GPL, see above. The debconf template translations are +distributed under the same license as the package itself. + + cs.po: + Copyright © 2009 Martin Sin + + da.po: + Copyright © 2012 collectd & nedenstående oversættere + Written by Joe Dalton (fka: Joe Hansen) + + de.po: + Copyright © 2008 Kai Wasserbäch + Copyright © 2008 Sebastian Harl + + es.po: + Copyright © 2008 Erika Chacón Vivas + Copyright © 2009 Francisco Javier Cuadrado + Copyright © 2012 Omar Campagne + + fr.po: + Copyright © 2008 Florent Usseil + Copyright © 2012 Steve Petruzzello + + gl.po: + Copyright © 2008 Jacobo Tarrio + Copyright © 2012 Jorge Barreiro + + it.po: + Copyright © 2012 Beatrice Torracca + + ja.po: + Copyright © 2009 Hideki Yamane + + nl.po: + Copyright © 2008 Eric Spreen + Copyright © 2012-2014 Jeroen Schot + Copyright © 2014 Frans Spiesschaert + + pl.po: + Copyright © 2012 Michał Kułach + + pt.po: + Copyright © 2008-2012 Américo Monteiro + + pt_BR.po: + Copyright © 2011-2012 Adriano Rafael Gomes + + ru.po: + Copyright © 2009-2012 Yuri Kozlov + + sk.po: + Copyright © 2012 Ivan Masár + + sv.po: + Copyright © 2008-2012 Martin Bagge + + vi.po: + Copyright © 2009 Free Software Foundation, Inc. + diff --git a/docs b/docs new file mode 100644 index 0000000..e411ac3 --- /dev/null +++ b/docs @@ -0,0 +1,4 @@ +debian/README.Debian +AUTHORS +README +debian/README.Debian.plugins diff --git a/filters.conf b/filters.conf new file mode 100644 index 0000000..5dbf890 --- /dev/null +++ b/filters.conf @@ -0,0 +1,34 @@ +# Filter configuration for collectd(1). +# +# See the section "FILTER CONFIGURATION" in collectd.conf(5) for details. + +#PreCacheChain "PreCache" +#PostCacheChain "PostCache" + +#LoadPlugin match_empty_counter +#LoadPlugin match_hashed +#LoadPlugin match_regex +#LoadPlugin match_timediff +#LoadPlugin match_value + +#LoadPlugin target_notification +#LoadPlugin target_replace +#LoadPlugin target_scale +#LoadPlugin target_set +#LoadPlugin target_v5upgrade + +# +# +# +# Host "^[^\.]*$" +# Invert false +# +# Target "stop" +# +# + +# Default behavior: +# +# Target "write" +# + diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 0000000..c867900 --- /dev/null +++ b/gbp.conf @@ -0,0 +1,3 @@ +# Configuration file for git-buildpackage and friends +[DEFAULT] +pristine-tar = True diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h new file mode 100644 index 0000000..9ba2479 --- /dev/null +++ b/include/net/ip_vs.h @@ -0,0 +1,999 @@ +/* + * IP Virtual Server + * data structure and functionality definitions + */ + +#ifndef _IP_VS_H +#define _IP_VS_H + +#include /* For __uXX types */ + +#define IP_VS_VERSION_CODE 0x010200 +#define NVERSION(version) \ + (version >> 16) & 0xFF, \ + (version >> 8) & 0xFF, \ + version & 0xFF + +/* + * Virtual Service Flags + */ +#define IP_VS_SVC_F_PERSISTENT 0x0001 /* persistent port */ +#define IP_VS_SVC_F_HASHED 0x0002 /* hashed entry */ + +/* + * Destination Server Flags + */ +#define IP_VS_DEST_F_AVAILABLE 0x0001 /* server is available */ +#define IP_VS_DEST_F_OVERLOAD 0x0002 /* server is overloaded */ + +/* + * IPVS sync daemon states + */ +#define IP_VS_STATE_NONE 0x0000 /* daemon is stopped */ +#define IP_VS_STATE_MASTER 0x0001 /* started as master */ +#define IP_VS_STATE_BACKUP 0x0002 /* started as backup */ + +/* + * IPVS socket options + */ +#define IP_VS_BASE_CTL (64+1024+64) /* base */ + +#define IP_VS_SO_SET_NONE IP_VS_BASE_CTL /* just peek */ +#define IP_VS_SO_SET_INSERT (IP_VS_BASE_CTL+1) +#define IP_VS_SO_SET_ADD (IP_VS_BASE_CTL+2) +#define IP_VS_SO_SET_EDIT (IP_VS_BASE_CTL+3) +#define IP_VS_SO_SET_DEL (IP_VS_BASE_CTL+4) +#define IP_VS_SO_SET_FLUSH (IP_VS_BASE_CTL+5) +#define IP_VS_SO_SET_LIST (IP_VS_BASE_CTL+6) +#define IP_VS_SO_SET_ADDDEST (IP_VS_BASE_CTL+7) +#define IP_VS_SO_SET_DELDEST (IP_VS_BASE_CTL+8) +#define IP_VS_SO_SET_EDITDEST (IP_VS_BASE_CTL+9) +#define IP_VS_SO_SET_TIMEOUT (IP_VS_BASE_CTL+10) +#define IP_VS_SO_SET_STARTDAEMON (IP_VS_BASE_CTL+11) +#define IP_VS_SO_SET_STOPDAEMON (IP_VS_BASE_CTL+12) +#define IP_VS_SO_SET_RESTORE (IP_VS_BASE_CTL+13) +#define IP_VS_SO_SET_SAVE (IP_VS_BASE_CTL+14) +#define IP_VS_SO_SET_ZERO (IP_VS_BASE_CTL+15) +#define IP_VS_SO_SET_MAX IP_VS_SO_SET_ZERO + +#define IP_VS_SO_GET_VERSION IP_VS_BASE_CTL +#define IP_VS_SO_GET_INFO (IP_VS_BASE_CTL+1) +#define IP_VS_SO_GET_SERVICES (IP_VS_BASE_CTL+2) +#define IP_VS_SO_GET_SERVICE (IP_VS_BASE_CTL+3) +#define IP_VS_SO_GET_DESTS (IP_VS_BASE_CTL+4) +#define IP_VS_SO_GET_DEST (IP_VS_BASE_CTL+5) /* not used now */ +#define IP_VS_SO_GET_TIMEOUT (IP_VS_BASE_CTL+6) +#define IP_VS_SO_GET_DAEMON (IP_VS_BASE_CTL+7) +#define IP_VS_SO_GET_MAX IP_VS_SO_GET_DAEMON + + +/* + * IPVS Connection Flags + */ +#define IP_VS_CONN_F_FWD_MASK 0x0007 /* mask for the fwd methods */ +#define IP_VS_CONN_F_MASQ 0x0000 /* masquerading/NAT */ +#define IP_VS_CONN_F_LOCALNODE 0x0001 /* local node */ +#define IP_VS_CONN_F_TUNNEL 0x0002 /* tunneling */ +#define IP_VS_CONN_F_DROUTE 0x0003 /* direct routing */ +#define IP_VS_CONN_F_BYPASS 0x0004 /* cache bypass */ +#define IP_VS_CONN_F_SYNC 0x0020 /* entry created by sync */ +#define IP_VS_CONN_F_HASHED 0x0040 /* hashed entry */ +#define IP_VS_CONN_F_NOOUTPUT 0x0080 /* no output packets */ +#define IP_VS_CONN_F_INACTIVE 0x0100 /* not established */ +#define IP_VS_CONN_F_OUT_SEQ 0x0200 /* must do output seq adjust */ +#define IP_VS_CONN_F_IN_SEQ 0x0400 /* must do input seq adjust */ +#define IP_VS_CONN_F_SEQ_MASK 0x0600 /* in/out sequence mask */ +#define IP_VS_CONN_F_NO_CPORT 0x0800 /* no client port set yet */ + +/* Move it to better place one day, for now keep it unique */ +#define NFC_IPVS_PROPERTY 0x10000 + +#define IP_VS_SCHEDNAME_MAXLEN 16 +#define IP_VS_IFNAME_MAXLEN 16 + + +/* + * The struct ip_vs_service_user and struct ip_vs_dest_user are + * used to set IPVS rules through setsockopt. + */ +struct ip_vs_service_user { + /* virtual service addresses */ + u_int16_t protocol; + u_int32_t addr; /* virtual ip address */ + u_int16_t port; + u_int32_t fwmark; /* firwall mark of service */ + + /* virtual service options */ + char sched_name[IP_VS_SCHEDNAME_MAXLEN]; + unsigned flags; /* virtual service flags */ + unsigned timeout; /* persistent timeout in sec */ + u_int32_t netmask; /* persistent netmask */ +}; + + +struct ip_vs_dest_user { + /* destination server address */ + u_int32_t addr; + u_int16_t port; + + /* real server options */ + unsigned conn_flags; /* connection flags */ + int weight; /* destination weight */ + + /* thresholds for active connections */ + u_int32_t u_threshold; /* upper threshold */ + u_int32_t l_threshold; /* lower threshold */ +}; + + +/* + * IPVS statistics object (for user space) + */ +struct ip_vs_stats_user +{ + __u32 conns; /* connections scheduled */ + __u32 inpkts; /* incoming packets */ + __u32 outpkts; /* outgoing packets */ + __u64 inbytes; /* incoming bytes */ + __u64 outbytes; /* outgoing bytes */ + + __u32 cps; /* current connection rate */ + __u32 inpps; /* current in packet rate */ + __u32 outpps; /* current out packet rate */ + __u32 inbps; /* current in byte rate */ + __u32 outbps; /* current out byte rate */ +}; + + +/* The argument to IP_VS_SO_GET_INFO */ +struct ip_vs_getinfo { + /* version number */ + unsigned int version; + + /* size of connection hash table */ + unsigned int size; + + /* number of virtual services */ + unsigned int num_services; +}; + + +/* The argument to IP_VS_SO_GET_SERVICE */ +struct ip_vs_service_entry { + /* which service: user fills in these */ + u_int16_t protocol; + u_int32_t addr; /* virtual address */ + u_int16_t port; + u_int32_t fwmark; /* firwall mark of service */ + + /* service options */ + char sched_name[IP_VS_SCHEDNAME_MAXLEN]; + unsigned flags; /* virtual service flags */ + unsigned timeout; /* persistent timeout */ + u_int32_t netmask; /* persistent netmask */ + + /* number of real servers */ + unsigned int num_dests; + + /* statistics */ + struct ip_vs_stats_user stats; +}; + + +struct ip_vs_dest_entry { + u_int32_t addr; /* destination address */ + u_int16_t port; + unsigned conn_flags; /* connection flags */ + int weight; /* destination weight */ + + u_int32_t u_threshold; /* upper threshold */ + u_int32_t l_threshold; /* lower threshold */ + + u_int32_t activeconns; /* active connections */ + u_int32_t inactconns; /* inactive connections */ + u_int32_t persistconns; /* persistent connections */ + + /* statistics */ + struct ip_vs_stats_user stats; +}; + + +/* The argument to IP_VS_SO_GET_DESTS */ +struct ip_vs_get_dests { + /* which service: user fills in these */ + u_int16_t protocol; + u_int32_t addr; /* virtual address */ + u_int16_t port; + u_int32_t fwmark; /* firwall mark of service */ + + /* number of real servers */ + unsigned int num_dests; + + /* the real servers */ + struct ip_vs_dest_entry entrytable[0]; +}; + + +/* The argument to IP_VS_SO_GET_SERVICES */ +struct ip_vs_get_services { + /* number of virtual services */ + unsigned int num_services; + + /* service table */ + struct ip_vs_service_entry entrytable[0]; +}; + + +/* The argument to IP_VS_SO_GET_TIMEOUT */ +struct ip_vs_timeout_user { + int tcp_timeout; + int tcp_fin_timeout; + int udp_timeout; +}; + + +/* The argument to IP_VS_SO_GET_DAEMON */ +struct ip_vs_daemon_user { + /* sync daemon state (master/backup) */ + int state; + + /* multicast interface name */ + char mcast_ifn[IP_VS_IFNAME_MAXLEN]; + + /* SyncID we belong to */ + int syncid; +}; + + +#ifdef __KERNEL__ + +#include +#include /* for struct list_head */ +#include /* for struct rwlock_t */ +#include /* for struct sk_buff */ +#include /* for struct iphdr */ +#include /* for struct atomic_t */ +#include /* for struct neighbour */ +#include /* for struct dst_entry */ +#include +#include +#include + + +#ifdef CONFIG_IP_VS_DEBUG +extern int ip_vs_get_debug_level(void); +#define IP_VS_DBG(level, msg...) \ + do { \ + if (level <= ip_vs_get_debug_level()) \ + printk(KERN_DEBUG "IPVS: " msg); \ + } while (0) +#define IP_VS_DBG_RL(msg...) \ + do { \ + if (net_ratelimit()) \ + printk(KERN_DEBUG "IPVS: " msg); \ + } while (0) +#define IP_VS_DBG_PKT(level, pp, skb, ofs, msg) \ + do { \ + if (level <= ip_vs_get_debug_level()) \ + pp->debug_packet(pp, skb, ofs, msg); \ + } while (0) +#define IP_VS_DBG_RL_PKT(level, pp, skb, ofs, msg) \ + do { \ + if (level <= ip_vs_get_debug_level() && \ + net_ratelimit()) \ + pp->debug_packet(pp, skb, ofs, msg); \ + } while (0) +#else /* NO DEBUGGING at ALL */ +#define IP_VS_DBG(level, msg...) do {} while (0) +#define IP_VS_DBG_RL(msg...) do {} while (0) +#define IP_VS_DBG_PKT(level, pp, skb, ofs, msg) do {} while (0) +#define IP_VS_DBG_RL_PKT(level, pp, skb, ofs, msg) do {} while (0) +#endif + +#define IP_VS_BUG() BUG() +#define IP_VS_ERR(msg...) printk(KERN_ERR "IPVS: " msg) +#define IP_VS_INFO(msg...) printk(KERN_INFO "IPVS: " msg) +#define IP_VS_WARNING(msg...) \ + printk(KERN_WARNING "IPVS: " msg) +#define IP_VS_ERR_RL(msg...) \ + do { \ + if (net_ratelimit()) \ + printk(KERN_ERR "IPVS: " msg); \ + } while (0) + +#ifdef CONFIG_IP_VS_DEBUG +#define EnterFunction(level) \ + do { \ + if (level <= ip_vs_get_debug_level()) \ + printk(KERN_DEBUG "Enter: %s, %s line %i\n", \ + __FUNCTION__, __FILE__, __LINE__); \ + } while (0) +#define LeaveFunction(level) \ + do { \ + if (level <= ip_vs_get_debug_level()) \ + printk(KERN_DEBUG "Leave: %s, %s line %i\n", \ + __FUNCTION__, __FILE__, __LINE__); \ + } while (0) +#else +#define EnterFunction(level) do {} while (0) +#define LeaveFunction(level) do {} while (0) +#endif + +#define IP_VS_WAIT_WHILE(expr) while (expr) { cpu_relax(); } + + +/* + * The port number of FTP service (in network order). + */ +#define FTPPORT __constant_htons(21) +#define FTPDATA __constant_htons(20) + +/* + * IPVS sysctl variables under the /proc/sys/net/ipv4/vs/ + */ +#define NET_IPV4_VS 21 + +enum { + NET_IPV4_VS_DEBUG_LEVEL=1, + NET_IPV4_VS_AMEMTHRESH=2, + NET_IPV4_VS_AMDROPRATE=3, + NET_IPV4_VS_DROP_ENTRY=4, + NET_IPV4_VS_DROP_PACKET=5, + NET_IPV4_VS_SECURE_TCP=6, + NET_IPV4_VS_TO_ES=7, + NET_IPV4_VS_TO_SS=8, + NET_IPV4_VS_TO_SR=9, + NET_IPV4_VS_TO_FW=10, + NET_IPV4_VS_TO_TW=11, + NET_IPV4_VS_TO_CL=12, + NET_IPV4_VS_TO_CW=13, + NET_IPV4_VS_TO_LA=14, + NET_IPV4_VS_TO_LI=15, + NET_IPV4_VS_TO_SA=16, + NET_IPV4_VS_TO_UDP=17, + NET_IPV4_VS_TO_ICMP=18, + NET_IPV4_VS_LBLC_EXPIRE=19, + NET_IPV4_VS_LBLCR_EXPIRE=20, + NET_IPV4_VS_CACHE_BYPASS=22, + NET_IPV4_VS_EXPIRE_NODEST_CONN=23, + NET_IPV4_VS_SYNC_THRESHOLD=24, + NET_IPV4_VS_NAT_ICMP_SEND=25, + NET_IPV4_VS_LAST +}; + +/* + * TCP State Values + */ +enum { + IP_VS_TCP_S_NONE = 0, + IP_VS_TCP_S_ESTABLISHED, + IP_VS_TCP_S_SYN_SENT, + IP_VS_TCP_S_SYN_RECV, + IP_VS_TCP_S_FIN_WAIT, + IP_VS_TCP_S_TIME_WAIT, + IP_VS_TCP_S_CLOSE, + IP_VS_TCP_S_CLOSE_WAIT, + IP_VS_TCP_S_LAST_ACK, + IP_VS_TCP_S_LISTEN, + IP_VS_TCP_S_SYNACK, + IP_VS_TCP_S_LAST +}; + +/* + * UDP State Values + */ +enum { + IP_VS_UDP_S_NORMAL, + IP_VS_UDP_S_LAST, +}; + +/* + * ICMP State Values + */ +enum { + IP_VS_ICMP_S_NORMAL, + IP_VS_ICMP_S_LAST, +}; + +/* + * Delta sequence info structure + * Each ip_vs_conn has 2 (output AND input seq. changes). + * Only used in the VS/NAT. + */ +struct ip_vs_seq { + __u32 init_seq; /* Add delta from this seq */ + __u32 delta; /* Delta in sequence numbers */ + __u32 previous_delta; /* Delta in sequence numbers + before last resized pkt */ +}; + + +/* + * IPVS statistics object + */ +struct ip_vs_stats +{ + __u32 conns; /* connections scheduled */ + __u32 inpkts; /* incoming packets */ + __u32 outpkts; /* outgoing packets */ + __u64 inbytes; /* incoming bytes */ + __u64 outbytes; /* outgoing bytes */ + + __u32 cps; /* current connection rate */ + __u32 inpps; /* current in packet rate */ + __u32 outpps; /* current out packet rate */ + __u32 inbps; /* current in byte rate */ + __u32 outbps; /* current out byte rate */ + + spinlock_t lock; /* spin lock */ +}; + +struct ip_vs_conn; +struct ip_vs_app; + +struct ip_vs_protocol { + struct ip_vs_protocol *next; + char *name; + __u16 protocol; + int dont_defrag; + atomic_t appcnt; /* counter of proto app incs */ + int *timeout_table; /* protocol timeout table */ + + void (*init)(struct ip_vs_protocol *pp); + + void (*exit)(struct ip_vs_protocol *pp); + + int (*conn_schedule)(struct sk_buff *skb, + struct ip_vs_protocol *pp, + int *verdict, struct ip_vs_conn **cpp); + + struct ip_vs_conn * + (*conn_in_get)(const struct sk_buff *skb, + struct ip_vs_protocol *pp, + const struct iphdr *iph, + unsigned int proto_off, + int inverse); + + struct ip_vs_conn * + (*conn_out_get)(const struct sk_buff *skb, + struct ip_vs_protocol *pp, + const struct iphdr *iph, + unsigned int proto_off, + int inverse); + + int (*snat_handler)(struct sk_buff **pskb, + struct ip_vs_protocol *pp, struct ip_vs_conn *cp); + + int (*dnat_handler)(struct sk_buff **pskb, + struct ip_vs_protocol *pp, struct ip_vs_conn *cp); + + int (*csum_check)(struct sk_buff *skb, struct ip_vs_protocol *pp); + + const char *(*state_name)(int state); + + int (*state_transition)(struct ip_vs_conn *cp, int direction, + const struct sk_buff *skb, + struct ip_vs_protocol *pp); + + int (*register_app)(struct ip_vs_app *inc); + + void (*unregister_app)(struct ip_vs_app *inc); + + int (*app_conn_bind)(struct ip_vs_conn *cp); + + void (*debug_packet)(struct ip_vs_protocol *pp, + const struct sk_buff *skb, + int offset, + const char *msg); + + void (*timeout_change)(struct ip_vs_protocol *pp, int flags); + + int (*set_state_timeout)(struct ip_vs_protocol *pp, char *sname, int to); +}; + +extern struct ip_vs_protocol * ip_vs_proto_get(unsigned short proto); + +/* + * IP_VS structure allocated for each dynamically scheduled connection + */ +struct ip_vs_conn { + struct list_head c_list; /* hashed list heads */ + + /* Protocol, addresses and port numbers */ + __u32 caddr; /* client address */ + __u32 vaddr; /* virtual address */ + __u32 daddr; /* destination address */ + __u16 cport; + __u16 vport; + __u16 dport; + __u16 protocol; /* Which protocol (TCP/UDP) */ + + /* counter and timer */ + atomic_t refcnt; /* reference count */ + struct timer_list timer; /* Expiration timer */ + volatile unsigned long timeout; /* timeout */ + + /* Flags and state transition */ + spinlock_t lock; /* lock for state transition */ + volatile __u16 flags; /* status flags */ + volatile __u16 state; /* state info */ + + /* Control members */ + struct ip_vs_conn *control; /* Master control connection */ + atomic_t n_control; /* Number of controlled ones */ + struct ip_vs_dest *dest; /* real server */ + atomic_t in_pkts; /* incoming packet counter */ + + /* packet transmitter for different forwarding methods. If it + mangles the packet, it must return NF_DROP or better NF_STOLEN, + otherwise this must be changed to a sk_buff **. + */ + int (*packet_xmit)(struct sk_buff *skb, struct ip_vs_conn *cp, + struct ip_vs_protocol *pp); + + /* Note: we can group the following members into a structure, + in order to save more space, and the following members are + only used in VS/NAT anyway */ + struct ip_vs_app *app; /* bound ip_vs_app object */ + void *app_data; /* Application private data */ + struct ip_vs_seq in_seq; /* incoming seq. struct */ + struct ip_vs_seq out_seq; /* outgoing seq. struct */ +}; + + +/* + * The information about the virtual service offered to the net + * and the forwarding entries + */ +struct ip_vs_service { + struct list_head s_list; /* for normal service table */ + struct list_head f_list; /* for fwmark-based service table */ + atomic_t refcnt; /* reference counter */ + atomic_t usecnt; /* use counter */ + + __u16 protocol; /* which protocol (TCP/UDP) */ + __u32 addr; /* IP address for virtual service */ + __u16 port; /* port number for the service */ + __u32 fwmark; /* firewall mark of the service */ + unsigned flags; /* service status flags */ + unsigned timeout; /* persistent timeout in ticks */ + __u32 netmask; /* grouping granularity */ + + struct list_head destinations; /* real server d-linked list */ + __u32 num_dests; /* number of servers */ + struct ip_vs_stats stats; /* statistics for the service */ + struct ip_vs_app *inc; /* bind conns to this app inc */ + + /* for scheduling */ + struct ip_vs_scheduler *scheduler; /* bound scheduler object */ + rwlock_t sched_lock; /* lock sched_data */ + void *sched_data; /* scheduler application data */ +}; + + +/* + * The real server destination forwarding entry + * with ip address, port number, and so on. + */ +struct ip_vs_dest { + struct list_head n_list; /* for the dests in the service */ + struct list_head d_list; /* for table with all the dests */ + + __u32 addr; /* IP address of the server */ + __u16 port; /* port number of the server */ + volatile unsigned flags; /* dest status flags */ + atomic_t conn_flags; /* flags to copy to conn */ + atomic_t weight; /* server weight */ + + atomic_t refcnt; /* reference counter */ + struct ip_vs_stats stats; /* statistics */ + + /* connection counters and thresholds */ + atomic_t activeconns; /* active connections */ + atomic_t inactconns; /* inactive connections */ + atomic_t persistconns; /* persistent connections */ + __u32 u_threshold; /* upper threshold */ + __u32 l_threshold; /* lower threshold */ + + /* for destination cache */ + spinlock_t dst_lock; /* lock of dst_cache */ + struct dst_entry *dst_cache; /* destination cache entry */ + u32 dst_rtos; /* RT_TOS(tos) for dst */ + + /* for virtual service */ + struct ip_vs_service *svc; /* service it belongs to */ + __u16 protocol; /* which protocol (TCP/UDP) */ + __u32 vaddr; /* virtual IP address */ + __u16 vport; /* virtual port number */ + __u32 vfwmark; /* firewall mark of service */ +}; + + +/* + * The scheduler object + */ +struct ip_vs_scheduler { + struct list_head n_list; /* d-linked list head */ + char *name; /* scheduler name */ + atomic_t refcnt; /* reference counter */ + struct module *module; /* THIS_MODULE/NULL */ + + /* scheduler initializing service */ + int (*init_service)(struct ip_vs_service *svc); + /* scheduling service finish */ + int (*done_service)(struct ip_vs_service *svc); + /* scheduler updating service */ + int (*update_service)(struct ip_vs_service *svc); + + /* selecting a server from the given service */ + struct ip_vs_dest* (*schedule)(struct ip_vs_service *svc, + const struct sk_buff *skb); +}; + + +/* + * The application module object (a.k.a. app incarnation) + */ +struct ip_vs_app +{ + struct list_head a_list; /* member in app list */ + int type; /* IP_VS_APP_TYPE_xxx */ + char *name; /* application module name */ + __u16 protocol; + struct module *module; /* THIS_MODULE/NULL */ + struct list_head incs_list; /* list of incarnations */ + + /* members for application incarnations */ + struct list_head p_list; /* member in proto app list */ + struct ip_vs_app *app; /* its real application */ + __u16 port; /* port number in net order */ + atomic_t usecnt; /* usage counter */ + + /* output hook: return false if can't linearize. diff set for TCP. */ + int (*pkt_out)(struct ip_vs_app *, struct ip_vs_conn *, + struct sk_buff **, int *diff); + + /* input hook: return false if can't linearize. diff set for TCP. */ + int (*pkt_in)(struct ip_vs_app *, struct ip_vs_conn *, + struct sk_buff **, int *diff); + + /* ip_vs_app initializer */ + int (*init_conn)(struct ip_vs_app *, struct ip_vs_conn *); + + /* ip_vs_app finish */ + int (*done_conn)(struct ip_vs_app *, struct ip_vs_conn *); + + + /* not used now */ + int (*bind_conn)(struct ip_vs_app *, struct ip_vs_conn *, + struct ip_vs_protocol *); + + void (*unbind_conn)(struct ip_vs_app *, struct ip_vs_conn *); + + int * timeout_table; + int * timeouts; + int timeouts_size; + + int (*conn_schedule)(struct sk_buff *skb, struct ip_vs_app *app, + int *verdict, struct ip_vs_conn **cpp); + + struct ip_vs_conn * + (*conn_in_get)(const struct sk_buff *skb, struct ip_vs_app *app, + const struct iphdr *iph, unsigned int proto_off, + int inverse); + + struct ip_vs_conn * + (*conn_out_get)(const struct sk_buff *skb, struct ip_vs_app *app, + const struct iphdr *iph, unsigned int proto_off, + int inverse); + + int (*state_transition)(struct ip_vs_conn *cp, int direction, + const struct sk_buff *skb, + struct ip_vs_app *app); + + void (*timeout_change)(struct ip_vs_app *app, int flags); +}; + + +/* + * IPVS core functions + * (from ip_vs_core.c) + */ +extern const char *ip_vs_proto_name(unsigned proto); +extern unsigned int check_for_ip_vs_out(struct sk_buff **skb_p, + int (*okfn)(struct sk_buff *)); +extern void ip_vs_init_hash_table(struct list_head *table, int rows); +#define IP_VS_INIT_HASH_TABLE(t) ip_vs_init_hash_table(t, sizeof(t)/sizeof(t[0])) + +#define IP_VS_APP_TYPE_UNSPEC 0 +#define IP_VS_APP_TYPE_FTP 1 + +/* + * ip_vs_conn handling functions + * (from ip_vs_conn.c) + */ + +/* + * IPVS connection entry hash table + */ +#ifndef CONFIG_IP_VS_TAB_BITS +#define CONFIG_IP_VS_TAB_BITS 12 +#endif +/* make sure that IP_VS_CONN_TAB_BITS is located in [8, 20] */ +#if CONFIG_IP_VS_TAB_BITS < 8 +#define IP_VS_CONN_TAB_BITS 8 +#endif +#if CONFIG_IP_VS_TAB_BITS > 20 +#define IP_VS_CONN_TAB_BITS 20 +#endif +#if 8 <= CONFIG_IP_VS_TAB_BITS && CONFIG_IP_VS_TAB_BITS <= 20 +#define IP_VS_CONN_TAB_BITS CONFIG_IP_VS_TAB_BITS +#endif +#define IP_VS_CONN_TAB_SIZE (1 << IP_VS_CONN_TAB_BITS) +#define IP_VS_CONN_TAB_MASK (IP_VS_CONN_TAB_SIZE - 1) + +enum { + IP_VS_DIR_INPUT = 0, + IP_VS_DIR_OUTPUT, + IP_VS_DIR_INPUT_ONLY, + IP_VS_DIR_LAST, +}; + +extern struct ip_vs_conn *ip_vs_conn_in_get +(int protocol, __u32 s_addr, __u16 s_port, __u32 d_addr, __u16 d_port); +extern struct ip_vs_conn *ip_vs_conn_out_get +(int protocol, __u32 s_addr, __u16 s_port, __u32 d_addr, __u16 d_port); + +/* put back the conn without restarting its timer */ +static inline void __ip_vs_conn_put(struct ip_vs_conn *cp) +{ + atomic_dec(&cp->refcnt); +} +extern void ip_vs_conn_put(struct ip_vs_conn *cp); +extern void ip_vs_conn_fill_cport(struct ip_vs_conn *cp, __u16 cport); + +extern struct ip_vs_conn * +ip_vs_conn_new(int proto, __u32 caddr, __u16 cport, __u32 vaddr, __u16 vport, + __u32 daddr, __u16 dport, unsigned flags, + struct ip_vs_dest *dest); +extern void ip_vs_conn_expire_now(struct ip_vs_conn *cp); + +extern const char * ip_vs_state_name(__u16 proto, int state); + +extern void ip_vs_tcp_conn_listen(struct ip_vs_conn *cp); +extern int ip_vs_check_template(struct ip_vs_conn *ct); +extern void ip_vs_secure_tcp_set(int on); +extern void ip_vs_random_dropentry(void); +extern int ip_vs_conn_init(void); +extern void ip_vs_conn_cleanup(void); + +static inline void ip_vs_control_del(struct ip_vs_conn *cp) +{ + struct ip_vs_conn *ctl_cp = cp->control; + if (!ctl_cp) { + IP_VS_ERR("request control DEL for uncontrolled: " + "%d.%d.%d.%d:%d to %d.%d.%d.%d:%d\n", + NIPQUAD(cp->caddr),ntohs(cp->cport), + NIPQUAD(cp->vaddr),ntohs(cp->vport)); + return; + } + + IP_VS_DBG(7, "DELeting control for: " + "cp.dst=%d.%d.%d.%d:%d ctl_cp.dst=%d.%d.%d.%d:%d\n", + NIPQUAD(cp->caddr),ntohs(cp->cport), + NIPQUAD(ctl_cp->caddr),ntohs(ctl_cp->cport)); + + cp->control = NULL; + if (atomic_read(&ctl_cp->n_control) == 0) { + IP_VS_ERR("BUG control DEL with n=0 : " + "%d.%d.%d.%d:%d to %d.%d.%d.%d:%d\n", + NIPQUAD(cp->caddr),ntohs(cp->cport), + NIPQUAD(cp->vaddr),ntohs(cp->vport)); + return; + } + atomic_dec(&ctl_cp->n_control); +} + +static inline void +ip_vs_control_add(struct ip_vs_conn *cp, struct ip_vs_conn *ctl_cp) +{ + if (cp->control) { + IP_VS_ERR("request control ADD for already controlled: " + "%d.%d.%d.%d:%d to %d.%d.%d.%d:%d\n", + NIPQUAD(cp->caddr),ntohs(cp->cport), + NIPQUAD(cp->vaddr),ntohs(cp->vport)); + ip_vs_control_del(cp); + } + + IP_VS_DBG(7, "ADDing control for: " + "cp.dst=%d.%d.%d.%d:%d ctl_cp.dst=%d.%d.%d.%d:%d\n", + NIPQUAD(cp->caddr),ntohs(cp->cport), + NIPQUAD(ctl_cp->caddr),ntohs(ctl_cp->cport)); + + cp->control = ctl_cp; + atomic_inc(&ctl_cp->n_control); +} + + +/* + * IPVS application functions + * (from ip_vs_app.c) + */ +#define IP_VS_APP_MAX_PORTS 8 +extern int register_ip_vs_app(struct ip_vs_app *app); +extern void unregister_ip_vs_app(struct ip_vs_app *app); +extern int ip_vs_bind_app(struct ip_vs_conn *cp, struct ip_vs_protocol *pp); +extern void ip_vs_unbind_app(struct ip_vs_conn *cp); +extern int +register_ip_vs_app_inc(struct ip_vs_app *app, __u16 proto, __u16 port); +extern int ip_vs_app_inc_get(struct ip_vs_app *inc); +extern void ip_vs_app_inc_put(struct ip_vs_app *inc); + +extern int ip_vs_app_pkt_out(struct ip_vs_conn *, struct sk_buff **pskb); +extern int ip_vs_app_pkt_in(struct ip_vs_conn *, struct sk_buff **pskb); +extern int ip_vs_skb_replace(struct sk_buff *skb, int pri, + char *o_buf, int o_len, char *n_buf, int n_len); +extern int ip_vs_app_init(void); +extern void ip_vs_app_cleanup(void); + + +/* + * IPVS protocol functions (from ip_vs_proto.c) + */ +extern int ip_vs_protocol_init(void); +extern void ip_vs_protocol_cleanup(void); +extern void ip_vs_protocol_timeout_change(int flags); +extern int *ip_vs_create_timeout_table(int *table, int size); +extern int +ip_vs_set_state_timeout(int *table, int num, char **names, char *name, int to); +extern void +ip_vs_tcpudp_debug_packet(struct ip_vs_protocol *pp, const struct sk_buff *skb, + int offset, const char *msg); + +extern struct ip_vs_protocol ip_vs_protocol_tcp; +extern struct ip_vs_protocol ip_vs_protocol_udp; +extern struct ip_vs_protocol ip_vs_protocol_icmp; +extern struct ip_vs_protocol ip_vs_protocol_esp; +extern struct ip_vs_protocol ip_vs_protocol_ah; + + +/* + * Registering/unregistering scheduler functions + * (from ip_vs_sched.c) + */ +extern int register_ip_vs_scheduler(struct ip_vs_scheduler *scheduler); +extern int unregister_ip_vs_scheduler(struct ip_vs_scheduler *scheduler); +extern int ip_vs_bind_scheduler(struct ip_vs_service *svc, + struct ip_vs_scheduler *scheduler); +extern int ip_vs_unbind_scheduler(struct ip_vs_service *svc); +extern struct ip_vs_scheduler *ip_vs_scheduler_get(const char *sched_name); +extern void ip_vs_scheduler_put(struct ip_vs_scheduler *scheduler); +extern struct ip_vs_conn * +ip_vs_schedule(struct ip_vs_service *svc, const struct sk_buff *skb); +extern int ip_vs_leave(struct ip_vs_service *svc, struct sk_buff *skb, + struct ip_vs_protocol *pp); + + +/* + * IPVS control data and functions (from ip_vs_ctl.c) + */ +extern int sysctl_ip_vs_cache_bypass; +extern int sysctl_ip_vs_expire_nodest_conn; +extern int sysctl_ip_vs_sync_threshold[2]; +extern int sysctl_ip_vs_nat_icmp_send; +extern struct ip_vs_stats ip_vs_stats; + +extern struct ip_vs_service * +ip_vs_service_get(__u32 fwmark, __u16 protocol, __u32 vaddr, __u16 vport); + +static inline void ip_vs_service_put(struct ip_vs_service *svc) +{ + atomic_dec(&svc->usecnt); +} + +extern struct ip_vs_dest * +ip_vs_lookup_real_service(__u16 protocol, __u32 daddr, __u16 dport); +extern int ip_vs_use_count_inc(void); +extern void ip_vs_use_count_dec(void); +extern int ip_vs_control_init(void); +extern void ip_vs_control_cleanup(void); + + +/* + * IPVS sync daemon data and function prototypes + * (from ip_vs_sync.c) + */ +extern volatile int ip_vs_sync_state; +extern volatile int ip_vs_master_syncid; +extern volatile int ip_vs_backup_syncid; +extern char ip_vs_master_mcast_ifn[IP_VS_IFNAME_MAXLEN]; +extern char ip_vs_backup_mcast_ifn[IP_VS_IFNAME_MAXLEN]; +extern int start_sync_thread(int state, char *mcast_ifn, __u8 syncid); +extern int stop_sync_thread(int state); +extern void ip_vs_sync_conn(struct ip_vs_conn *cp); + + +/* + * IPVS rate estimator prototypes (from ip_vs_est.c) + */ +extern int ip_vs_new_estimator(struct ip_vs_stats *stats); +extern void ip_vs_kill_estimator(struct ip_vs_stats *stats); +extern void ip_vs_zero_estimator(struct ip_vs_stats *stats); + +/* + * Various IPVS packet transmitters (from ip_vs_xmit.c) + */ +extern int ip_vs_null_xmit +(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp); +extern int ip_vs_bypass_xmit +(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp); +extern int ip_vs_nat_xmit +(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp); +extern int ip_vs_tunnel_xmit +(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp); +extern int ip_vs_dr_xmit +(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp); +extern int ip_vs_icmp_xmit +(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, int offset); +extern void ip_vs_dst_reset(struct ip_vs_dest *dest); + + +/* + * This is a simple mechanism to ignore packets when + * we are loaded. Just set ip_vs_drop_rate to 'n' and + * we start to drop 1/rate of the packets + */ +extern int ip_vs_drop_rate; +extern int ip_vs_drop_counter; + +static __inline__ int ip_vs_todrop(void) +{ + if (!ip_vs_drop_rate) return 0; + if (--ip_vs_drop_counter > 0) return 0; + ip_vs_drop_counter = ip_vs_drop_rate; + return 1; +} + +/* + * ip_vs_fwd_tag returns the forwarding tag of the connection + */ +#define IP_VS_FWD_METHOD(cp) (cp->flags & IP_VS_CONN_F_FWD_MASK) + +extern __inline__ char ip_vs_fwd_tag(struct ip_vs_conn *cp) +{ + char fwd; + + switch (IP_VS_FWD_METHOD(cp)) { + case IP_VS_CONN_F_MASQ: + fwd = 'M'; break; + case IP_VS_CONN_F_LOCALNODE: + fwd = 'L'; break; + case IP_VS_CONN_F_TUNNEL: + fwd = 'T'; break; + case IP_VS_CONN_F_DROUTE: + fwd = 'R'; break; + case IP_VS_CONN_F_BYPASS: + fwd = 'B'; break; + default: + fwd = '?'; break; + } + return fwd; +} + +extern int ip_vs_make_skb_writable(struct sk_buff **pskb, int len); +extern void ip_vs_nat_icmp(struct sk_buff *skb, struct ip_vs_protocol *pp, + struct ip_vs_conn *cp, int dir); + +extern u16 ip_vs_checksum_complete(struct sk_buff *skb, int offset); + +static inline u16 ip_vs_check_diff(u32 old, u32 new, u16 oldsum) +{ + u32 diff[2] = { old, new }; + + return csum_fold(csum_partial((char *) diff, sizeof(diff), + oldsum ^ 0xFFFF)); +} + +#endif /* __KERNEL__ */ + +#endif /* _IP_VS_H */ diff --git a/libcollectdclient-dev.install b/libcollectdclient-dev.install new file mode 100644 index 0000000..444af0f --- /dev/null +++ b/libcollectdclient-dev.install @@ -0,0 +1,10 @@ +usr/include/collectd/client.h usr/include/collectd +usr/include/collectd/lcc_features.h usr/include/collectd +usr/include/collectd/network.h usr/include/collectd +usr/include/collectd/network_buffer.h usr/include/collectd +usr/include/collectd/network_parse.h usr/include/collectd +usr/include/collectd/server.h usr/include/collectd +usr/include/collectd/types.h usr/include/collectd +usr/lib/pkgconfig/libcollectdclient.pc +usr/lib/libcollectdclient.so + diff --git a/libcollectdclient1.install b/libcollectdclient1.install new file mode 100644 index 0000000..7b98d64 --- /dev/null +++ b/libcollectdclient1.install @@ -0,0 +1,2 @@ +usr/lib/libcollectdclient.so.* + diff --git a/libcollectdclient1.symbols b/libcollectdclient1.symbols new file mode 100644 index 0000000..dadb09b --- /dev/null +++ b/libcollectdclient1.symbols @@ -0,0 +1,32 @@ +libcollectdclient.so.1 libcollectdclient1 #MINVER# + lcc_connect@Base 4.6.0 + lcc_disconnect@Base 4.6.0 + lcc_flush@Base 4.6.0 + lcc_getval@Base 4.6.0 + lcc_identifier_compare@Base 5.2.0 + lcc_identifier_to_string@Base 4.6.0 + lcc_listen_and_write@Base 5.8.0 + lcc_listval@Base 4.6.0 + lcc_network_buffer_add_value@Base 5.2.0 + lcc_network_buffer_create@Base 5.2.0 + lcc_network_buffer_destroy@Base 5.2.0 + lcc_network_buffer_finalize@Base 5.2.0 + lcc_network_buffer_get@Base 5.2.0 + lcc_network_buffer_initialize@Base 5.2.0 + lcc_network_buffer_set_security_level@Base 5.2.0 + lcc_network_create@Base 5.2.0 + lcc_network_destroy@Base 5.2.0 + lcc_network_parse@Base 5.8.0 + lcc_network_values_send@Base 5.2.0 + lcc_putval@Base 4.6.0 + lcc_server_create@Base 5.2.0 + lcc_server_destroy@Base 5.2.0 + lcc_server_set_interface@Base 5.5.0 + lcc_server_set_security_level@Base 5.2.0 + lcc_server_set_ttl@Base 5.2.0 + lcc_sort_identifiers@Base 5.1.0 + lcc_strerror@Base 4.6.0 + lcc_string_to_identifier@Base 4.6.0 + lcc_version@Base 4.6.0 + lcc_version_extra@Base 4.6.0 + lcc_version_string@Base 4.6.0 diff --git a/patches/cgi-param-in-list-context.patch b/patches/cgi-param-in-list-context.patch new file mode 100644 index 0000000..10cb3e2 --- /dev/null +++ b/patches/cgi-param-in-list-context.patch @@ -0,0 +1,41 @@ +--- a/contrib/collection3/lib/Collectd/Graph/Common.pm ++++ b/contrib/collection3/lib/Collectd/Graph/Common.pm +@@ -526,7 +526,7 @@ + for (qw(hostname plugin plugin_instance type type_instance)) + { + my $part = $_; +- my @temp = param ($part); ++ my @temp = multi_param ($part); + if (!@temp) + { + next; +@@ -547,9 +547,9 @@ + sub get_timespan_selection + { + my $ret = 86400; +- if (param ('timespan')) ++ if (scalar param ('timespan')) + { +- my $temp = int (param ('timespan')); ++ my $temp = int (scalar param ('timespan')); + if ($temp && ($temp > 0)) + { + $ret = $temp; +@@ -568,7 +568,7 @@ + $ret{$_} = 0; + } + +- for (param ('hostname')) ++ for (multi_param ('hostname')) + { + my $host = _sanitize_generic_allow_minus ($_); + if (defined ($ret{$host})) +@@ -597,7 +597,7 @@ + $ret{$_} = 0; + } + +- for (param ('plugin')) ++ for (multi_param ('plugin')) + { + if (defined ($ret{$_})) + { diff --git a/patches/collection_conf_path.patch b/patches/collection_conf_path.patch new file mode 100644 index 0000000..16ff37c --- /dev/null +++ b/patches/collection_conf_path.patch @@ -0,0 +1,15 @@ +Author: Sebastian Harl +Description: Set the path of collection.conf to /etc/collectd/. +Index: collectd/contrib/collection.cgi +=================================================================== +--- collectd.orig/contrib/collection.cgi ++++ collectd/contrib/collection.cgi +@@ -32,7 +32,7 @@ use URI::Escape ('uri_escape'); + use RRDs (); + use Data::Dumper (); + +-our $Config = "/etc/collection.conf"; ++our $Config = "/etc/collectd/collection.conf"; + our @DataDirs = (); + our @DontShowTypes = (); + our $LibDir; diff --git a/patches/fix-nut-integer-sizes b/patches/fix-nut-integer-sizes new file mode 100644 index 0000000..bc5308b --- /dev/null +++ b/patches/fix-nut-integer-sizes @@ -0,0 +1,22 @@ +Index: collectd/src/nut.c +=================================================================== +--- collectd.orig/src/nut.c ++++ collectd/src/nut.c +@@ -46,7 +46,7 @@ struct nut_ups_s { + collectd_upsconn_t *conn; + char *upsname; + char *hostname; +- int port; ++ uint16_t port; + nut_ups_t *next; + }; + +@@ -250,7 +250,7 @@ static int nut_read(user_data_t *user_da + const char *query[3] = {"VAR", ups->upsname, NULL}; + unsigned int query_num = 2; + char **answer; +- unsigned int answer_num; ++ size_t answer_num; + int status; + + /* (Re-)Connect if we have no connection */ diff --git a/patches/fix-smart-test b/patches/fix-smart-test new file mode 100644 index 0000000..56b7f4a --- /dev/null +++ b/patches/fix-smart-test @@ -0,0 +1,22 @@ +Index: collectd/src/smart_test.c +=================================================================== +--- collectd.orig/src/smart_test.c ++++ collectd/src/smart_test.c +@@ -30,6 +30,8 @@ + #include "smart.c" + #include "testing.h" + ++ ++ + #define INTEL_VID 0x8086 + + int VENDOR_ID = INTEL_VID; +@@ -46,7 +48,7 @@ int ioctl(int __fd, unsigned long int __ + if (admin_cmd->opcode == NVME_ADMIN_IDENTIFY) { + // ioctl asked about vid + __le16 *vid = (__le16 *)addr; +- *vid = VENDOR_ID; ++ *vid = htole16(VENDOR_ID); + return 0; + } else if (admin_cmd->opcode == NVME_ADMIN_GET_LOG_PAGE) { + // ioctl asked about smart attributes diff --git a/patches/fix-storing-local-variables b/patches/fix-storing-local-variables new file mode 100644 index 0000000..9060ab7 --- /dev/null +++ b/patches/fix-storing-local-variables @@ -0,0 +1,43 @@ +Index: collectd/src/capabilities.c +=================================================================== +--- collectd.orig/src/capabilities.c ++++ collectd/src/capabilities.c +@@ -56,6 +56,8 @@ static char *httpd_host = NULL; + static unsigned short httpd_port = 9104; + static struct MHD_Daemon *httpd; + ++static int mhd_cls = 44; ++ + static dmi_type_name_t types_list[] = { + {BIOS, "BIOS"}, + {SYSTEM, "SYSTEM"}, +@@ -206,7 +208,7 @@ static MHD_RESULT cap_http_handler(void + * round. The docs are not very specific on the issue. */ + if (*connection_state == NULL) { + /* set to a random non-NULL pointer. */ +- *connection_state = &(int){44}; ++ *connection_state = &mhd_cls; + return MHD_YES; + } + DEBUG(CAP_PLUGIN ": formatted response: %s", g_cap_json); +Index: collectd/src/write_prometheus.c +=================================================================== +--- collectd.orig/src/write_prometheus.c ++++ collectd/src/write_prometheus.c +@@ -63,6 +63,7 @@ static pthread_mutex_t metrics_lock = PT + static char *httpd_host = NULL; + static unsigned short httpd_port = 9103; + static struct MHD_Daemon *httpd; ++static int mhd_cls = 42; + + static cdtime_t staleness_delta = PROMETHEUS_DEFAULT_STALENESS_DELTA; + +@@ -247,7 +248,7 @@ static MHD_RESULT http_handler(void *cls + * very specific on the issue. */ + if (*connection_state == NULL) { + /* set to a random non-NULL pointer. */ +- *connection_state = &(int){42}; ++ *connection_state = &mhd_cls; + return MHD_YES; + } + diff --git a/patches/myplugin_includes.patch b/patches/myplugin_includes.patch new file mode 100644 index 0000000..c00dabe --- /dev/null +++ b/patches/myplugin_includes.patch @@ -0,0 +1,21 @@ +Author: Sebastian Harl +Description: Let the example plugin include the core headers from +/usr/include/collectd/core. +Index: collectd/contrib/examples/myplugin.c +=================================================================== +--- collectd.orig/contrib/examples/myplugin.c ++++ collectd/contrib/examples/myplugin.c +@@ -38,10 +38,10 @@ + + #endif /* ! HAVE_CONFIG */ + +-#include ++#include + +-#include +-#include ++#include ++#include + + /* + * data source definition: diff --git a/patches/nagios-debian-paths.patch b/patches/nagios-debian-paths.patch new file mode 100644 index 0000000..556c978 --- /dev/null +++ b/patches/nagios-debian-paths.patch @@ -0,0 +1,26 @@ +Description: Use paths for nagios-nrpe-server & monitoring-plugins Debian packages. +Author: Bas Couwenberg + +Index: collectd/contrib/exec-nagios.conf +=================================================================== +--- collectd.orig/contrib/exec-nagios.conf ++++ collectd/contrib/exec-nagios.conf +@@ -1,15 +1,15 @@ + # Run `perldoc exec-nagios.px' for details on this config file. + +-NRPEConfig /etc/nrpe.cfg ++NRPEConfig /etc/nagios/nrpe.cfg + + Interval 300 + +- + +- diff --git a/patches/python311_ftbfs_fix.patch b/patches/python311_ftbfs_fix.patch new file mode 100644 index 0000000..b8db772 --- /dev/null +++ b/patches/python311_ftbfs_fix.patch @@ -0,0 +1,30 @@ +commit 623e95394e0e62e7f9ced2104b786d21e9c0bf53 +Author: Đoàn Trần Công Danh +Date: Wed Sep 21 22:21:58 2022 +0700 + + cpython: fix build with Python 3.11 + + Python 3.11 moves longintrepr.h into cpython sub-directory. + However, in this version, longintrepr.h is always included. + +Index: collectd/src/cpython.h +=================================================================== +--- collectd.orig/src/cpython.h ++++ collectd/src/cpython.h +@@ -24,9 +24,15 @@ + * Sven Trenkel + **/ + ++#include + /* Some python versions don't include this by default. */ +- ++#if PY_VERSION_HEX < 0x030B0000 ++/* ++ * Python 3.11 move longintrepr.h to cpython/longintrepr.h ++ * And it's always included ++ */ + #include ++#endif /* PY_VERSION_HEX < 0x030B0000 */ + + /* These two macros are basically Py_BEGIN_ALLOW_THREADS and + * Py_BEGIN_ALLOW_THREADS diff --git a/patches/rrd_filter_path.patch b/patches/rrd_filter_path.patch new file mode 100644 index 0000000..5d81c34 --- /dev/null +++ b/patches/rrd_filter_path.patch @@ -0,0 +1,54 @@ +Author: Sebastian Harl +Description: Set the path of rrd_filter.px to /usr/lib/collectd/utils/. +Index: collectd/contrib/migrate-3-4.px +=================================================================== +--- collectd.orig/contrib/migrate-3-4.px ++++ collectd/contrib/migrate-3-4.px +@@ -167,7 +167,7 @@ for (@Files) + my $src_ds = $src_dses->[$i]; + $dest->{'type_instance'} = $type_instances->[$i]; + $dest_filename = get_filename ($dest); +- print "./rrd_filter.px -i '$InDir/$orig_filename' -m '${src_ds}:${dst_ds}' -o '$OutDir/$dest_filename'\n"; ++ print "/usr/lib/collectd/utils/rrd_filter.px -i '$InDir/$orig_filename' -m '${src_ds}:${dst_ds}' -o '$OutDir/$dest_filename'\n"; + } + } + else +@@ -363,19 +363,19 @@ sub special_disk + $OutDirs{$dest_directory} = 1; + } + +- print "./rrd_filter.px -i '$InDir/$orig_filename' -m 'rmerged:read' -m 'wmerged:write' -o '$OutDir/$dest_filename'\n"; ++ print "/usr/lib/collectd/utils/rrd_filter.px -i '$InDir/$orig_filename' -m 'rmerged:read' -m 'wmerged:write' -o '$OutDir/$dest_filename'\n"; + + $dest->{'type'} = 'disk_octets'; + $dest_filename = get_filename ($dest); +- print "./rrd_filter.px -i '$InDir/$orig_filename' -m 'rbytes:read' -m 'wbytes:write' -o '$OutDir/$dest_filename'\n"; ++ print "/usr/lib/collectd/utils/rrd_filter.px -i '$InDir/$orig_filename' -m 'rbytes:read' -m 'wbytes:write' -o '$OutDir/$dest_filename'\n"; + + $dest->{'type'} = 'disk_ops'; + $dest_filename = get_filename ($dest); +- print "./rrd_filter.px -i '$InDir/$orig_filename' -m 'rcount:read' -m 'wcount:write' -o '$OutDir/$dest_filename'\n"; ++ print "/usr/lib/collectd/utils/rrd_filter.px -i '$InDir/$orig_filename' -m 'rcount:read' -m 'wcount:write' -o '$OutDir/$dest_filename'\n"; + + $dest->{'type'} = 'disk_time'; + $dest_filename = get_filename ($dest); +- print "./rrd_filter.px -i '$InDir/$orig_filename' -m 'rtime:read' -m 'wtime:write' -o '$OutDir/$dest_filename'\n"; ++ print "/usr/lib/collectd/utils/rrd_filter.px -i '$InDir/$orig_filename' -m 'rtime:read' -m 'wtime:write' -o '$OutDir/$dest_filename'\n"; + } + + sub exit_usage +Index: collectd/contrib/migrate-4-5.px +=================================================================== +--- collectd.orig/contrib/migrate-4-5.px ++++ collectd/contrib/migrate-4-5.px +@@ -32,8 +32,8 @@ use Data::Dumper (); + use File::Basename ('dirname'); + + our $InDir = '/var/lib/collectd'; +-our $RRDtool = 'rrdtool'; +-our $RRDFilter = 'rrd_filter.px'; ++our $RRDtool = '/usr/bin/rrdtool'; ++our $RRDFilter = '/usr/lib/collectd/utils/rrd_filter.px'; + + our %TypesCounterToDerive = # {{{ + ( diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..53e88fc --- /dev/null +++ b/patches/series @@ -0,0 +1,9 @@ +fix-nut-integer-sizes +fix-storing-local-variables +rrd_filter_path.patch +collection_conf_path.patch +myplugin_includes.patch +nagios-debian-paths.patch +fix-smart-test +cgi-param-in-list-context.patch +python311_ftbfs_fix.patch diff --git a/po/POTFILES.in b/po/POTFILES.in new file mode 100644 index 0000000..22069f7 --- /dev/null +++ b/po/POTFILES.in @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] collectd-core.templates + diff --git a/po/cs.po b/po/cs.po new file mode 100644 index 0000000..758d35d --- /dev/null +++ b/po/cs.po @@ -0,0 +1,104 @@ +# Czech translation for collectd +# Copyright (C) Martin Sin , 2009. +# This file is distributed under the same license as the collectd package. +# +msgid "" +msgstr "" +"Project-Id-Version: collectd 4.6.3-1\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2012-06-18 07:13+0200\n" +"Last-Translator: Martin Sin \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "Smazat všechna získaná data (např. soubory RRD)?" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" +"Adresář /var/lib/collectd/ obsahuje soubory se statistikami a může být v " +"tomto kroku odstraněn. Tento adresář obsahuje (ve výchozím nastavení) např. " +"soubory RRD." + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" +"Pokud nahrazujete balíček collectd novější nebo jinou verzí, nebo chcete " +"stávající data uchovat pro jejich pozdější analýzu, měli byste tato data " +"zachovat." + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "Uspořádání souborů RRD se změnilo" + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "Ve struktuře souborů RRD vytvořených collectd počínaje verzí 3.x došlo k " +#~ "výrazné změně. Pro uchování vašich dat je nutná jejich migrace. Tu můžete " +#~ "provést pomocí /usr/lib/collectd/utils/migrate-3-4.px." + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "Tento krok vyžaduje instalaci balíčku perl a rrdtool, což nyní nemáte. " +#~ "Migraci je tedy nutné provést ručně." + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "" +#~ "Pro více informací se podívejte na /usr/share/doc/collectd-core/NEWS.gz." + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "Pokusit se o automatickou migraci souborů RRD?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "Tento krok je možno provést automaticky. Pokud se pro to rozhodnete, bude " +#~ "ve /var/backups/ provedena záloha /var/lib/collectd. Tento skript je " +#~ "stále ve stavu testování, takže nečekejte že bude ve všech případech " +#~ "zcela funkční." + +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "Uspořádání souborů RRD se změnilo ve verzi 5.0" + +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "Struktura některých souborů RRD vytvořených collectd počínaje verzí 4.x " +#~ "byla změněna. Pro uchování vašich dat je nutná jejich migrace. Tu můžete " +#~ "provést pomocí /usr/lib/collectd/utils/migrate-4-5.px." + +#~ msgid "" +#~ "See /usr/share/doc/collectd-core/NEWS.gz and the collectd wiki at " +#~ " for " +#~ "details." +#~ msgstr "" +#~ "Pro více informací se podívejte do souboru /usr/share/doc/collectd-core/" +#~ "NEWS.Debian.gz a na wiki collectd na adrese ." diff --git a/po/da.po b/po/da.po new file mode 100644 index 0000000..ade1724 --- /dev/null +++ b/po/da.po @@ -0,0 +1,103 @@ +# Danish translation collectd. +# Copyright (C) 2012 collectd & nedenstående oversættere. +# This file is distributed under the same license as the collectd package. +# Joe Hansen (joedalton2@yahoo.dk), 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: collectd\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2012-06-17 12:42+0000\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "Fjern alle indsamlede data (dvs. RRD-filer)?" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" +"Mappen /var/lib/collectd/ som indeholder datafilerne indeholdende den " +"indsamlede statistik er ved at blive fjernet. For eksempel inkluderer denne " +"mappe (i standardkonfigurationen) alle RRD-filer." + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" +"Hvis du afinstallerer pakken collectd for at erstatte den med en nyere eller " +"tilpasset version, eller hvis du ønsker at beholde dataene for yderligere " +"analyse, så bør du bevare dataene." + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "Layout for RRD-filer har ændret sig" + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "Layouttet for RRD-filer oprettet af collectd har ændret sig markant siden " +#~ "version 3.x. For at bevare dine gamle data skal du migrere dem. Dette kan " +#~ "gøres ved at bruge /usr/lib/collectd/utils/migrate-3-4.px." + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "Dette trin kræver at pakkerne perl og rrdtool installeres, hvilket ikke " +#~ "er tilfældet i øjeblikket. Du skal udføre migreringen manuelt." + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "Se /usr/share/doc/collectd-core/NEWS.gz for detaljer." + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "Forsøg automatisk at migrere dine RRD-filer?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "Dette trin kan udføres automatisk. I dette tilfælde laves en " +#~ "sikkerhedskopi af /var/lib/collectd/ i /var/backups/. Dette skript er dog " +#~ "stadig under udvikling. Forvent ikke at det virker i alle tilfælde." + +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "Layout for RRD-filer har ændret sig i version 5.0" + +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "Layouttet for RRD-filer oprettet af collectd har ændret sig markant siden " +#~ "version 4.x. For at bevare dine gamle data skal du migrere dem. Dette kan " +#~ "gøres ved at bruge /usr/lib/collectd/utils/migrate-4-5.px." + +#~ msgid "" +#~ "See /usr/share/doc/collectd-core/NEWS.gz and the collectd wiki at " +#~ " for " +#~ "details." +#~ msgstr "" +#~ "Se /usr/share/doc/collectd-core/NEWS.gz og wikien for collectd på " +#~ " for " +#~ "detaljer." diff --git a/po/de.po b/po/de.po new file mode 100644 index 0000000..f4c0172 --- /dev/null +++ b/po/de.po @@ -0,0 +1,108 @@ +# German translation of the collectd debconf template +# Copyright © 2008 Kai Wasserbäch +# Copyright © 2008, 2012 Sebastian Harl +# This file is distributed under the same license as the collectd package. +# +msgid "" +msgstr "" +"Project-Id-Version: collectd 4.3.0-1\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2008-03-12 23:33+0100\n" +"Last-Translator: Kai Wasserbäch \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "Alle gesammelten Daten entfernen (z.B. RRD-Dateien)?" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" +"Das Verzeichnis /var/lib/collectd/ mit den gesammelten Statistiken soll " +"entfernt werden. Das Verzeichnis enthält (in der Standardkonfiguration) zum " +"Beispiel die RRD-Dateien." + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" +"Falls geplant ist, nur eine höhere oder eigene Version von collectd zu " +"installieren oder falls die Daten für weitere Analysen genutzt werden, " +"sollten die Daten behalten werden." + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "Das Layout der RRD-Dateien hat sich geändert." + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "Das Layout der von collectd erstellten RRD-Dateien hat sich seit Version " +#~ "3.x grundlegend geändert. Um Ihre alten Daten beizubehalten, müssen Sie " +#~ "diese migrieren. Dies kann durch Verwendung von »/usr/lib/collectd/utils/" +#~ "migrate-3-4.px« erreicht werden." + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "Für diesen Schritt müssen sowohl das perl- als auch das rrdtool-Paket " +#~ "installiert sein. Da dies im Moment nicht der Fall ist, müssen Sie die " +#~ "Migration manuell durchführen." + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "Siehe »/usr/share/doc/collectd-core/NEWS.gz« für Details." + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "Soll automatisch versucht werden, Ihre RRD-Dateien zu migrieren?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "Dieser Schritt kann automatisch ausgeführt werden. Sollten Sie sich " +#~ "hierfür entscheiden, wird eine Sicherungskopie von »/var/lib/collectd/« " +#~ "unter »/var/backups/« erstellt. Dieses Skript ist aber noch " +#~ "experimentell. Erwarten Sie nicht, dass es in allen Fällen problemlos " +#~ "funktioniert." + +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "Das Layout der RRD-Dateien hat sich in Version 5.0 geändert." + +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "Das Layout einiger von collectd erstellten RRD-Dateien hat sich seit " +#~ "Version 4.x grundlegend geändert. Um Ihre alten Daten beizubehalten, " +#~ "müssen Sie diese migrieren. Dies kann durch Verwendung von »/usr/lib/" +#~ "collectd/utils/migrate-4-5.px« erreicht werden." + +#~ msgid "" +#~ "See /usr/share/doc/collectd-core/NEWS.gz and the collectd wiki at " +#~ " for " +#~ "details." +#~ msgstr "" +#~ "Siehe »/usr/share/doc/collectd-core/NEWS.gz« und das collectd Wiki unter " +#~ " für " +#~ "Details." diff --git a/po/es.po b/po/es.po new file mode 100644 index 0000000..24c2ae0 --- /dev/null +++ b/po/es.po @@ -0,0 +1,137 @@ +# collectd po-debconf translation to spanish +# Copyright (C) 2008, 2009, 2012 Software in the Public Interest +# This file is distributed under the same license as the collectd package. +# +# Changes: +# - Initial translation +# Erika Chacón Vivas , 2008 +# +# - Updates +# Francisco Javier Cuadrado , 2009 +# Omar Campagne , 2012 +# +# Traductores, si no conocen el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traducción al español, por favor lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/ +# especialmente las notas y normas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guía de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +msgid "" +msgstr "" +"Project-Id-Version: collectd 5.1.0-1\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2012-06-27 17:16+0200\n" +"Last-Translator: Omar Campagne \n" +"Language-Team: Debian l10n Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Virtaal 0.7.1\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "" +"¿Desea eliminar todos los datos almacenados (esto es, los archivos RRD)?" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" +"Se va a eliminar el directorio «/var/lib/collectd/», que almacena los " +"archivos de datos que contienen las estadísticas recopiladas. Por ejemplo, " +"este directorio incluye (con la configuración predeterminada) todos los " +"archivos RRD." + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" +"Si purga el paquete collectd para sustituirlo por una versión más reciente o " +"personalizada, o si desea guardar los datos para un análisis posterior, los " +"datos se deben preservar." + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "La distribución de los archivos RRD ha cambiado" + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "La distribución de los archivos RRD creados por collectd ha cambiado " +#~ "significativamente desde la versión 3.x. Los datos antiguos se deben " +#~ "migrar para que se puedan seguir utilizando. Puede hacer esto ejecutando " +#~ "el programa «/usr/lib/collectd/utils/migrate-3-4.px»." + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "Actualmente no tiene instalados los paquetes perl y rrdtool, que son " +#~ "necesarios para poder llevar a cabo este paso. Tendrá que realizar la " +#~ "migración manualmente." + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "" +#~ "Vea el archivo «/usr/share/doc/collectd-core/NEWS.gz» para más detalles." + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "¿Desea migrar automáticamente los archivos RRD?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "Este paso se puede realizar automáticamente. En este caso se genera una " +#~ "copia de seguridad de «/var/lib/collectd/» en «/var/backups/». El script " +#~ "que hace esto es aún experimental. No se espera que funcione en todos los " +#~ "casos." + +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "La distribución de los archivos RRD ha cambiado en la versión 5.0" + +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "La distribución de los archivos RRD creados por collectd ha cambiado " +#~ "desde la versión 4.x. Los datos antiguos se deben migrar para que se " +#~ "puedan seguir utilizando. Puede hacer esto utilizando el programa «/usr/" +#~ "lib/collectd/utils/migrate-4-5.px»." + +#~ msgid "" +#~ "See /usr/share/doc/collectd-core/NEWS.gz and the collectd wiki at " +#~ " for " +#~ "details." +#~ msgstr "" +#~ "Para más detalles consulte «/usr/share/doc/collectd-core/NEWS.gz» y la " +#~ "página wiki de collectd en ." diff --git a/po/fr.po b/po/fr.po new file mode 100644 index 0000000..0fed22d --- /dev/null +++ b/po/fr.po @@ -0,0 +1,113 @@ +# Translation of collectd debconf templates to French +# Copyright (C) 2012 Debian French l10n Team +# This file is distributed under the same license as the collectd package. +# +# Florent USSEIL , 2008. +# Steve Petruzzello , 2012 +msgid "" +msgstr "" +"Project-Id-Version: collectd_5.1.0-1\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2012-06-19 10:07+0200\n" +"Last-Translator: Florent USSEIL \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "" +"Faut-il supprimer toutes les données collectées (p. ex. les fichiers RRD) ?" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" +"Le répertoire « /var/lib/collectd/ », qui contient tous les fichiers de " +"données des statistiques collectées, est en passe d'être supprimé. Dans la " +"configuration par défaut, ce répertoire contient tous les fichiers RRD." + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" +"Si vous purgez le paquet collectd afin de le remplacer par une version plus " +"récente ou une version personnalisée ou si vous désirez conserver les " +"données pour une analyse ultérieure, vous devriez refuser." + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "Changement du format des fichiers RRD" + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "Le format des fichiers RRD créés par collectd a changé de façon " +#~ "significative depuis la version 3.x. Afin de conserver les données, il " +#~ "est nécessaire de les convertir. Cette opération peut être réalisée avec " +#~ "la commande « /usr/lib/collectd/utils/migrate-3-4.px »." + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "Cette étape a besoin des paquets perl et rrdtool qui ne sont pas " +#~ "actuellement installés. La conversion doit par conséquent être effectuée " +#~ "manuellement." + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "" +#~ "Veuillez lire le fichier « /usr/share/doc/collectd-core/NEWS.gz » pour " +#~ "plus d'informations." + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "Faut-il tenter de convertir automatiquement les fichiers RRD ?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "La conversion des fichiers RRD peut être effectuée automatiquement. Pour " +#~ "cela, une sauvegarde du répertoire « /var/lib/collectd/ » aura lieu dans " +#~ "le répertoire « /var/backups/ ». Veuillez noter que cette conversion est " +#~ "expérimentale ; ne vous attendez pas à ce qu'elle fonctionne dans tous " +#~ "les cas." + +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "Le format des fichiers RRD a changé dans la version 5.0" + +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "Le format des fichiers RRD créés par collectd a changé depuis la version " +#~ "4.x. Afin de conserver les données, il est nécessaire de les convertir. " +#~ "Cette opération peut être réalisée avec la commande « /usr/lib/collectd/" +#~ "utils/migrate-4-5.px »." + +#~ msgid "" +#~ "See /usr/share/doc/collectd-core/NEWS.gz and the collectd wiki at " +#~ " for " +#~ "details." +#~ msgstr "" +#~ "Voir /usr/share/doc/collectd-core/NEWS.gz et le wiki de collectd " +#~ "() pour " +#~ "plus de détails." diff --git a/po/gl.po b/po/gl.po new file mode 100644 index 0000000..ec141f6 --- /dev/null +++ b/po/gl.po @@ -0,0 +1,107 @@ +# Galician translation of collectd's debconf templates +# This file is distributed under the same license as the collectd package. +# +# Jacobo Tarrio , 2008. +# Jorge Barreiro , 2012. +msgid "" +msgstr "" +"Project-Id-Version: collectd\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2012-06-22 01:56+0200\n" +"Last-Translator: Jorge Barreiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 1.0\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "" +"Quere eliminar todos os datos recollidos (por exemplo, os ficheiros RRD)?" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" +"O cartafol /var/lib/collectd/, que contén os ficheiros de datos cas " +"estatísticas recollidas, vai a ser eliminado. Este cartafol inclúe, por " +"exemplo (na configuración predeterminada) todos os ficheiros RRD." + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" +"Se está purgando o paquete «collectd» para substituílo por unha versión máis " +"recente, ou unha versión personalizada, ou se quere conservar os datos para " +"posteriores análises, os datos deben conservarse." + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "A organización dos ficheiros RRD cambiou" + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "A organización dos ficheiros RRD creados por collectd cambiou " +#~ "significativamente desde a versión 3.x. Para conservar os seus datos " +#~ "antigos ten que migralos. Pódese facer empregando /usr/lib/collectd/utils/" +#~ "migrate-3-4.px." + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "Este paso precisa de que os paquetes perl e rrd estean instalados, o que " +#~ "actualmente non é o caso. Ten que realizar a migración manualmente." + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "Consulte /usr/share/doc/collectd-core/NEWS.gz para máis detalles." + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "Quere migrar automaticamente os seus ficheiros RRD?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "Este paso pódese realizar automaticamente. Neste caso faise unha copia " +#~ "de /var/lib/collectd/ en /var/backups/. Este script aínda é experimental, " +#~ "porén. Non espere que funcione en tódolos casos." + +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "A organización dos ficheiros RRD cambiou na versión 5.0" + +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "A organización dos ficheiros RRD creados por collectd cambiou desde a " +#~ "versión 4.x. Para conservar os seus datos antigos ten que migralos. " +#~ "Pódese facer empregando /usr/lib/collectd/utils/migrate-4-5.px." + +#~ msgid "" +#~ "See /usr/share/doc/collectd-core/NEWS.gz and the collectd wiki at " +#~ " for " +#~ "details." +#~ msgstr "" +#~ "Consulte o ficheiro /usr/share/doc/collectd-core/NEWS.gz e a wiki de " +#~ "collectd en para obter máis detalles." diff --git a/po/it.po b/po/it.po new file mode 100644 index 0000000..c064893 --- /dev/null +++ b/po/it.po @@ -0,0 +1,108 @@ +# Italian translation of collectd debconf messages. +# Copyright (C) 2012, collectd package copyright holder. +# This file is distributed under the same license as the collectd package. +# Beatrice Torracca , 2012, 2013. +msgid "" +msgstr "" +"Project-Id-Version: collectd\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2013-04-21 14:16+0200\n" +"Last-Translator: Beatrice Torracca \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Virtaal 0.7.1\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "Rimuovere tutti i dati raccolti (ad esempio, i file RRD)?" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" +"La directory /var/lib/collectd/ che contiene i file dei dati con le " +"statistiche raccolte sta per essere rimossa. Per esempio, questa directory " +"(nella configurazione predefinita) include tutti i file RRD." + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" +"Se si sta eliminando il pacchetto collectd per sostituirlo con una versione " +"più recente o una personalizzata, oppure se si desidera mantenere i dati per " +"un'ulteriore analisi, i dati dovrebbero essere conservati." + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "Il formato dei file RRD è cambiato" + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "Il formato dei file RRD creati da collectd è cambiato in modo " +#~ "significativo rispetto alla versione 3.x. Per poter mantenere i propri " +#~ "vecchi dati è necessario fare una migrazione. Ciò può essere fatto " +#~ "usando /usr/lib/collectd/utils/migrate-3-4.px." + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "Per questo passo è necessario che i pacchetti perl e rrdtool siano " +#~ "entrambi installati, condizione attualmente non soddisfatta. È necessario " +#~ "effettuare la migrazione a mano." + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "Per i dettagli vedere /usr/share/doc/collectd-core/NEWS.gz." + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "Cercare di migrare automaticamente i file RRD?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "Questo passo può essere fatto automaticamente. In tal caso viene creato " +#~ "un backup di /var/lib/collectd/ in /var/backups/. Questo script però è " +#~ "ancora in fase sperimentale; non ci si aspetti che funzioni in tutti i " +#~ "casi." + +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "Il formato dei file RRD è cambiato nella versione 5.0" + +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "Il formato di alcuni file RRD creati da collectd è cambiato rispetto alla " +#~ "versione 4.x. Per poter mantenere i propri vecchi dati è necessario fare " +#~ "una migrazione. Ciò può essere fatto usando /usr/lib/collectd/utils/" +#~ "migrate-4-5.px." + +#~ msgid "" +#~ "See /usr/share/doc/collectd-core/NEWS.gz and the collectd wiki at " +#~ " for " +#~ "details." +#~ msgstr "" +#~ "Per i dettagli vedere /usr/share/doc/collectd-core/NEWS.gz e il wiki di " +#~ "collectd all'indirizzo ." diff --git a/po/ja.po b/po/ja.po new file mode 100644 index 0000000..649139a --- /dev/null +++ b/po/ja.po @@ -0,0 +1,103 @@ +# Copyright (C) 2009 Sebastian Harl +# This file is distributed under the same license as the collectd package. +# Hideki Yamane (Debian-JP) , 2009. +msgid "" +msgstr "" +"Project-Id-Version: collectd 5.1.0-3.1\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2012-05-20 00:59+0900\n" +"Last-Translator: Hideki Yamane (Debian-JP) \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "収集したデータ (例えば RRD ファイル) を全て削除しますか?" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" +"収集した統計の含まれるデータファイルが置かれている /var/lib/collectd/ ディレ" +"クトリが削除されます。このディレクトリには (デフォルト設定では) 例えば RRD " +"ファイルが全て置かれています。" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" +"もっと新しいまたは独自のバージョンに置き換える目的で collectd パッケージを完" +"全削除する場合やデータを残しておいて詳細な分析を行いたい場合にはこのデータを" +"残すようにしてください。" + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "RRD ファイルの配置位置が変更されました" + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "collectd によって作成された RRD ファイルの配置位置はバージョン 3.x から大" +#~ "きく変わりました。移行を行うために古いデータを保存します。これは /usr/lib/" +#~ "collectd/utils/migrate-3-4.px を使って行われます。" + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "この作業には perl パッケージと rrdtool パッケージの両方がインストールされ" +#~ "ている必要がありますが、現在そうなっていないようです。手動で移行作業を実行" +#~ "する必要があります。" + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "" +#~ "詳細については /usr/share/doc/collectd-core/NEWS.gz を参照してください。" + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "RRD ファイルの自動変換を試みますか?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "この作業は自動的に行われます。今回の場合 /var/lib/collectd/ のバックアップ" +#~ "は /var/backups/ に作成されます。しかし、このスクリプトはまだ実験的なもの" +#~ "です。あらゆる状況で動作するのは期待しないでください。" + +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "バージョン 5.0 で RRD ファイルの配置位置が変更されました" + +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "collectd によって作成されるいくつかの RRD ファイルの配置がバージョン 4.x " +#~ "から変わりました。移行を行うために古いデータを保存します。これは /usr/lib/" +#~ "collectd/utils/migrate-4-5.px を使って行うことができます。" + +#~ msgid "" +#~ "See /usr/share/doc/collectd-core/NEWS.gz and the collectd wiki at " +#~ " for " +#~ "details." +#~ msgstr "" +#~ "詳細については /usr/share/doc/collectd-core/NEWS.gz 及び collectd wiki " +#~ " を見てくだ" +#~ "さい。" diff --git a/po/nl.po b/po/nl.po new file mode 100644 index 0000000..d99684d --- /dev/null +++ b/po/nl.po @@ -0,0 +1,107 @@ +# Dutch translation of collectd debconf templates. +# Copyright (C) 2008 Eric Spreen +# This file is distributed under the same license as the collectd package. +# Jeroen Schot , 2012, 2014. +# Frans Spiesschaert , 2014. +# +msgid "" +msgstr "" +"Project-Id-Version: collectd 4.10.7-1\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2014-09-24 18:01+0200\n" +"Last-Translator: Frans Spiesschaert \n" +"Language-Team: Debian Dutch l10n Team \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "All verzamelde gegevens verwijderen (zoals de RRD-bestanden)?" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" +"De map /var/lib/collectd/, welke alle gegevensbestanden met verzamelde " +"statistieken bevat, staat op het punt om verwijderd te worden. Deze map " +"bevat (in de standaardconfiguratie) alle RRD-bestanden." + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" +"Als u het pakket collectd opruimt met als doel het te vervangen door een " +"nieuwere of aangepaste versie, of als u verdere analyses op de gegevens wilt " +"uitvoeren, dan dient u de gegevens te bewaren." + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "De lay-out van RRD-bestanden is gewijzigd." + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "De lay-out van de RRD-bestanden, die zijn gemaakt door collectd, is sterk " +#~ "gewijzigd sinds versie 3.x. Om uw oude gegevens te behouden zult u deze " +#~ "moeten migreren. Dit kunt u doen door /usr/lib/collectd/utils/migrate-3-4." +#~ "px te gebruiken." + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "Deze stap vereist dat zowel de perl als de rrdtool pakketten worden " +#~ "genstalleerd, wat op dit moment niet het geval is. U zult de migratie " +#~ "handmatig moeten verrichten." + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "Zie /usr/share/doc/collectd-core/NEWS.gz voor meer informatie." + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "Proberen om uw RRD-bestanden automatisch te migreren?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "Deze stap kan automatisch verricht worden. In dat geval wordt er in /var/" +#~ "backups/ een back-up gemaakt van /var/lib/collectd/. Dit script is echter " +#~ "nog experimenteel. Verwacht u niet dat het in alle gevallen werkt." + +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "De lay-out van RRD-bestanden is gewijzigd in versie 5.0." + +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "De lay-out van de RRD-bestanden, die zijn gemaakt door collectd, is " +#~ "gewijzigd sinds versie 4.x. Om uw oude gegevens te behouden zult u deze " +#~ "moeten migreren. Dit kunt u doen door /usr/lib/collectd/utils/migrate-4-5." +#~ "px te gebruiken." + +#~ msgid "" +#~ "See /usr/share/doc/collectd-core/NEWS.gz and the collectd wiki at " +#~ " for " +#~ "details." +#~ msgstr "" +#~ "Zie /usr/share/doc/collectd-core/NEWS.gz en de wikipagina van collectd, " +#~ ", voor meer " +#~ "informatie." diff --git a/po/pl.po b/po/pl.po new file mode 100644 index 0000000..b682c2a --- /dev/null +++ b/po/pl.po @@ -0,0 +1,108 @@ +# Translation of collectd debconf templates to Polish. +# Copyright (C) 2009 +# This file is distributed under the same license as the collectd package. +# +# Michał Kułach , 2012. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2012-06-19 18:13+0200\n" +"Last-Translator: Michał Kułach \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 1.2\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "Usunąć wszystkie zgromadzone dane (np. pliki RRD)?" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" +"Katalog /var/lib/collectd/, zawierający pliki z danymi obejmującymi " +"zgromadzone statystyki jest przeznaczony do usunięcia. Ten katalog zawiera " +"np. (w domyślnej konfiguracji) wszystkie pliki RRD." + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" +"Jeśli pakiet collectd jest czyszczony w celu zastąpienia go nowszą lub " +"własną wersją, albo dane będą jeszcze analizowane, to powinny one zostać " +"zachowane." + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "Składnia plików RRD zmieniła się" + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "Układ plików RRD tworzonych przez collectd znacznie się zmienił od wersji " +#~ "3.x. Aby zatrzymać stare dane, należy je przekształcić np. za pomocą /usr/" +#~ "lib/collectd/utils/migrate-3-4.px." + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "Ten krok wymaga zainstalowania pakietów perl i rrdtool, co aktualnie nie " +#~ "ma miejsca. Konieczne jest ręczne przeprowadzenie migracji." + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "" +#~ "Plik /usr/share/doc/collectd-core/NEWS.gz zawiera więcej szczegółów." + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "Spróbować przekształcić pliki RRD automatycznie?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "Ten krok może zostać przeprowadzony automatycznie. Kopia zapasowa /var/" +#~ "lib/collectd/ zostanie utworzona w /var/backups/. Skrypt jest jednak " +#~ "wciąż eksperymentalny. Proszę nie oczekiwać, że będzie działał we " +#~ "wszystkich przypadkach." + +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "Składnia plików RRD zmieniła się w wersji 5.0" + +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "Układ plików RRD tworzonych przez collectd znacznie się zmienił od wersji " +#~ "4.x. Aby zatrzymać stare dane, należy je przekształcić np. za pomocą /usr/" +#~ "lib/collectd/utils/migrate-4-5.px." + +#~ msgid "" +#~ "See /usr/share/doc/collectd-core/NEWS.gz and the collectd wiki at " +#~ " for " +#~ "details." +#~ msgstr "" +#~ "Plik /usr/share/doc/collectd-core/NEWS.gz oraz wiki collectd zawiera więcej " +#~ "informacji na ten temat." diff --git a/po/pt.po b/po/pt.po new file mode 100644 index 0000000..95b4b88 --- /dev/null +++ b/po/pt.po @@ -0,0 +1,108 @@ +# translation of collectd debconf to Portuguese +# Copyright (C) 2008 the collectd's copyright holder +# This file is distributed under the same license as the collectd package. +# +# Américo Monteiro , 2008, 2012. +msgid "" +msgstr "" +"Project-Id-Version: collectd 4.10.7-1\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2012-06-18 20:55+0100\n" +"Last-Translator: Américo Monteiro \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 1.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "Remover todos os dados recolhidos (ex. ficheiros RDD)?" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" +"O directório /var/lib/collectd/ que contém todos os ficheiros de dados com " +"as estatísticas recebidas está prestes a ser removido. Por exemplo, este " +"directório inclui todos os ficheiros RDD (na configuração predefinida)." + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" +"Se está a purgar o pacote collectd de modo a substituí-lo por uma versão " +"mais recente ou personalizada, ou se deseja manter os dados para análise " +"posterior, estes dados deverão ser mantidos." + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "A disposição dos ficheiros RRD foi alterada" + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "A disposição dos ficheiros RRD criada pelo collectd foi alterada " +#~ "significativamente desde a versão 3.x. De forma a manter os seus dados " +#~ "antigos você terá que migrá-los. Isto pode ser feito usando /usr/lib/" +#~ "collectd/utils/migrate-3-4.px." + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "Este passo necessita que ambos os pacotes perl e rrdtool estejam " +#~ "instalados, o que não é actualmente o caso. Você precisa executar " +#~ "manualmente a migração." + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "Veja /usr/share/doc/collectd-core/NEWS.gz para mais detalhes." + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "Tentar migrar automaticamente os seus ficheiros RRD?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "Este passo pode ser feito automaticamente. Neste caso uma cópia de " +#~ "segurança de /var/lib/collectd/ é criada em /var/backups/. Este script " +#~ "ainda é experimental. Não espere que ele funcione em todos os casos." + +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "A disposição dos ficheiros RRD foi alterada na versão 5.0" + +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "A disposição de alguns ficheiros RRD criada pelo collectd foi alterada " +#~ "desde a versão 4.x. De modo a manter os seus dados antigos você terá que " +#~ "migrá-los. Isto pode ser feito usando /usr/lib/collectd/utils/migrate-4-5." +#~ "px." + +#~ msgid "" +#~ "See /usr/share/doc/collectd-core/NEWS.gz and the collectd wiki at " +#~ " for " +#~ "details." +#~ msgstr "" +#~ "Veja /usr/share/doc/collectd-core/NEWS.gz e o wiki do collectd em " +#~ " para mais " +#~ "detalhes." diff --git a/po/pt_BR.po b/po/pt_BR.po new file mode 100644 index 0000000..a9a7801 --- /dev/null +++ b/po/pt_BR.po @@ -0,0 +1,106 @@ +# Debconf translations for collectd. +# Copyright (C) 2011 THE collectd'S COPYRIGHT HOLDER +# This file is distributed under the same license as the collectd package. +# Adriano Rafael Gomes , 2011, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: collectd 5.1.0-3\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2012-08-19 10:32-0300\n" +"Last-Translator: Adriano Rafael Gomes \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "Remover todos os dados coletados (por exemplo, arquivos RRD)?" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" +"O diretório /var/lib/collectd/, que contém os arquivos de dados contendo as " +"estatísticas coletadas, está prestes a ser removido. Esse diretório inclui, " +"por exemplo (na configuração padrão), todos os arquivos RRD." + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" +"Se você está expurgando o pacote collectd para substituí-lo por uma versão " +"mais recente ou personalizada, ou se você quer manter os dados para uma " +"análise mais aprofundada, os dados deveriam ser mantidos." + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "O layout dos arquivos RRD foi alterado" + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "O layout dos arquivos RRD criados pelo collectd foi alterado " +#~ "significativamente desde a versão 3.x. Para manter seus dados antigos " +#~ "você deve migrá-los. Isso pode ser feito usando /usr/lib/collectd/utils/" +#~ "migrate-3-4.px." + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "Esse passo requer que ambos os pacotes perl e rrdtool estejam instalados, " +#~ "o que não é o caso atualmente. Você deve fazer a migração manualmente." + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "Veja /usr/share/doc/collectd-core/NEWS.gz para detalhes." + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "Tentar migrar seus arquivos RRD automaticamente?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "Esse passo pode ser feito automaticamente. Nesse caso, uma cópia de " +#~ "segurança de /var/lib/collectd/ é feita em /var/backups/. Entretanto, " +#~ "esse script ainda é experimental. Não espere que ele funcione para todos " +#~ "os casos." + +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "O layout dos arquivos RRD foi alterado na versão 5.0" + +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "O layout dos arquivos RRD criados pelo collectd foi alterado desde a " +#~ "versão 4.x. Para manter seus dados antigos você deve migrá-los. Isso pode " +#~ "ser feito usando /usr/lib/collectd/utils/migrate-4-5.px." + +#~ msgid "" +#~ "See /usr/share/doc/collectd-core/NEWS.gz and the collectd wiki at " +#~ " for " +#~ "details." +#~ msgstr "" +#~ "Veja /usr/share/doc/collectd-core/NEWS.gz e o wiki do collectd em " +#~ " para " +#~ "detalhes." diff --git a/po/ru.po b/po/ru.po new file mode 100644 index 0000000..41f4f1c --- /dev/null +++ b/po/ru.po @@ -0,0 +1,105 @@ +# translation of collectd_4.6.3-1_ru.po to Russian +# Copyright (C) Yuri Kozlov , 2009. +# This file is distributed under the same license as the collectd package. +# Yuri Kozlov , 2012. +msgid "" +msgstr "" +"Project-Id-Version: collectd 5.1.0-1\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2012-06-18 20:50+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 1.2\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "Удалить все собранные данные (например, RRD-файлы)?" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" +"Каталог /var/lib/collectd/, содержащий данные собранной статистики, будет " +"удалён. В этом каталоге, например, находятся (при стандартной настройке) все " +"RRD-файлы." + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" +"Если вы удаляете пакет collectd для замещения его более новой или " +"нестандартной версией, или если вы хотите сохранить данные для последующего " +"анализа, эти данные нужно сохранить." + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "Изменилось расположение файлов RRD" + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "Начиная с версий 3.x изменилось расположение файлов RRD, создаваемых " +#~ "collectd. Чтобы сохранить старые данные, вы должны их переместить. Это " +#~ "можно сделать с помощью /usr/lib/collectd/utils/migrate-3-4.px." + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "Для этого должны быть установлены пакеты perl и rrdtool, которых, похоже, " +#~ "нет в системе. Вам нужно выполнить перенос вручную." + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "Подробности см. в /usr/share/doc/collectd-core/NEWS.gz." + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "Попытаться выполнить перенос файлов RRD автоматически?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "Этот шаг может быть выполнен автоматически. В этом случае создаётся " +#~ "резервная копия /var/lib/collectd/ в /var/backups/. Учтите, что это пока " +#~ "экспериментальный сценарий. Возможно, он не сработает в вашем случае." + +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "В версии 5.0 изменилось расположение файлов RRD" + +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "Начиная с версий 4.x изменилось расположение файлов RRD, создаваемых " +#~ "collectd. Чтобы сохранить старые данные, вы должны их переместить. Это " +#~ "можно сделать с помощью /usr/lib/collectd/utils/migrate-4-5.px." + +#~ msgid "" +#~ "See /usr/share/doc/collectd-core/NEWS.gz and the collectd wiki at " +#~ " for " +#~ "details." +#~ msgstr "" +#~ "Дополнительную информацию можно найти в файле /usr/share/doc/collectd-" +#~ "core/NEWS.gz и вики collectd wiki по адресу ." diff --git a/po/sk.po b/po/sk.po new file mode 100644 index 0000000..60d5b0e --- /dev/null +++ b/po/sk.po @@ -0,0 +1,105 @@ +# Slovak translation for collectd +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the collectd package. +# Ivan Masár , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: collectd\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2012-06-17 19:24+0100\n" +"Last-Translator: Ivan Masár \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural= (n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "Odstrániť všetky zozbierané dáta (napr. súbory RRD)?" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" +"Adresár /var/lib/collectd/, ktorý obsahuje dátové súbory obsahujúce " +"zozbierané štatistiky bude odstránený. Tento adresár obsahuje napríklad (v " +"predvolenej konfigurácii) všetky súbory RRD." + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" +"Ak vykonávate vyčistenie balíka collectd, aby ste ho nahradilo novšou alebo " +"prispôsobenou verziou alebo ak chcete údaje zachovať na ďalšiu analýzu, dáta " +"by ste mali zachovať." + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "Rozloženie súborov RRD sa zmenilo" + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "Rozloženie súborov RRD, ktoré vytvára collectd sa výrazne zmenilo od " +#~ "verzie 3.x. Ak si chcete zachovať vaše staré dára, musíte ich migrovať. " +#~ "To je možné pomocou /usr/lib/collectd/utils/migrate-3-4.px." + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "Tento krok vyžaduje, aby boli nainštalované balíky perl a rrdtool. " +#~ "Momentálne nie sú. Migráciu musíte vykonať ručne." + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "Pozri podrobnosti v /usr/share/doc/collectd-core/NEWS.gz" + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "Pokúsiť sa automaticky migrovať vaše súbory RRD?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "Tento krok je možné vykonať automaticky. V tomto prípade sa vykoná " +#~ "záloha /var/lib/collectd/ do /var/backups/. Tenti skript je však ešte " +#~ "stále experimentálny. Neočakávajte, že bude fungovať vo všetkých " +#~ "prípadoch." + +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "Rozloženie súborov RRD sa vo verzii 5.0 zmenilo" + +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "Rozloženie súborov RRD, ktoré vytvára collectd sa výrazne zmenilo od " +#~ "verzie 4.x. Ak si chcete zachovať vaše staré dára, musíte ich migrovať. " +#~ "To je možné pomocou /usr/lib/collectd/utils/migrate-4-5.px." + +#~ msgid "" +#~ "See /usr/share/doc/collectd-core/NEWS.gz and the collectd wiki at " +#~ " for " +#~ "details." +#~ msgstr "" +#~ "Pozri podrobnosti v /usr/share/doc/collectd-core/NEWS.gz a na wiki " +#~ "collectd na adrese " diff --git a/po/sv.po b/po/sv.po new file mode 100644 index 0000000..e1406c7 --- /dev/null +++ b/po/sv.po @@ -0,0 +1,106 @@ +# translation of collectd.po to swedish +# Copyright (C) 2008, 2012 Martin Bagge +# This file is distributed under the same license as the collectd package. +# +# Martin Bagge , 2008, 2012. +msgid "" +msgstr "" +"Project-Id-Version: collectd\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2012-06-20 22:42+0100\n" +"Last-Translator: Martin Bagge / brother \n" +"Language-Team: swedish \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"X-Poedit-Language: Swedish\n" +"X-Poedit-Country: Sweden\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "Ta bort all insamlad data (RRD-filer)?" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" +"Katalogen /var/lib/collectd/ som innehåller datafiler med insamlad statistik " +"ska tas bort. Exempelvis innehåller den här sökvägen (i standardutförande) " +"alla RRD-filer." + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" +"Om du tar bort collectd-paketet för att ersätta det med en nyare eller " +"anpassad version eller om du vill behålla datafilerna för ytterligare analys " +"ska katalogen behållas." + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "Strukturen för RRD-filen har ändrats." + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "Strukturen för RRD-filen som collectd skapar har ändrats mycket sedan " +#~ "version 3.x. För att behålla dina gamla data måste dessa migreras, detta " +#~ "kan göras genom att köra '/usr/lib/collectd/utils/migrate-3-4.px'." + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "Detta steg kräver att både perl och rrdtool är installerade och så är " +#~ "inte fallet just nu. Du måste genomföra migreringen manuellt." + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "" +#~ "Läs även /usr/share/doc/collectd-core/NEWS.gz för ytterligare information." + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "Vill du försöka migrera RRD-filerna automatiskt?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "Detta steg kan genomföras automatiskt, då kommer en säkerhetskopia av /" +#~ "var/lib/collectd i /var/backups. Detta skript är dock fortfarande inte " +#~ "helt uttestat, det kan finnas tillfällen när det inte fungerar." + +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "Strukturen för RRD-filerna har ändrats i version 5.0" + +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "Strukturen för RRD-filerna som collectd skapar har ändrats sedan version " +#~ "4.x. För att behålla dina gamla data måste dessa migreras, detta kan " +#~ "göras genom att köra /usr/lib/collectd/utils/migrate-4-5.px." + +#~ msgid "" +#~ "See /usr/share/doc/collectd-core/NEWS.gz and the collectd wiki at " +#~ " for " +#~ "details." +#~ msgstr "" +#~ "För mer information läs /usr/share/doc/collectd-core/NEWS.gz och collectd-" +#~ "wikin på ." diff --git a/po/templates.pot b/po/templates.pot new file mode 100644 index 0000000..154631e --- /dev/null +++ b/po/templates.pot @@ -0,0 +1,42 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the collectd package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: collectd\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" diff --git a/po/vi.po b/po/vi.po new file mode 100644 index 0000000..4333d4f --- /dev/null +++ b/po/vi.po @@ -0,0 +1,100 @@ +# Vietnamese translation for Collect D. +# Copyright © 2009 Free Software Foundation, Inc. +# Clytie Siddall , 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: collectd 4.4.2-3\n" +"Report-Msgid-Bugs-To: collectd@packages.debian.org\n" +"POT-Creation-Date: 2022-08-22 18:18+0200\n" +"PO-Revision-Date: 2009-02-18 15:36+1030\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: LocFactoryEditor 1.8\n" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "Remove all collected data (e.g. RRD files)?" +msgstr "" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"The /var/lib/collectd/ directory which contains the data files containing " +"the collected statistics is about to be removed. For example, this directory " +"includes (in the default configuration) all RRD files." +msgstr "" + +#. Type: boolean +#. Description +#: ../collectd-core.templates:1001 +msgid "" +"If you're purging the collectd package in order to replace it with a more " +"recent or custom version or if you want to keep the data for further " +"analysis, the data should be kept." +msgstr "" + +#~ msgid "Layout of RRD files has changed" +#~ msgstr "Bố trí tập tin RRD đã thay đổi" + +#~ msgid "" +#~ "The layout of the RRD files created by collectd has changed significantly " +#~ "since version 3.x. In order to keep your old data you have to migrate it. " +#~ "This can be done by using /usr/lib/collectd/utils/migrate-3-4.px." +#~ msgstr "" +#~ "Bố trí của tập tin RRD được collectd thu thập đã thay đổi nhiều kể từ " +#~ "phiên bản 3.x. Muốn giữ lại dữ liệu cũ thì bạn cần phải nâng cấp, dùng « /" +#~ "usr/lib/collectd/utils/migrate-3-4.px »." + +#~ msgid "" +#~ "This step requires both the perl and the rrdtool packages to be " +#~ "installed, which is currently not the case. You need to perform the " +#~ "migration manually." +#~ msgstr "" +#~ "Bước này yêu cầu cài đặt cả hai gói perl và gói rrdtool mà chưa. Bạn cần " +#~ "phải tự làm quá trình nâng cấp này." + +#~ msgid "See /usr/share/doc/collectd-core/NEWS.gz for details." +#~ msgstr "" +#~ "Xem tài liệu Tin Tức « /usr/share/doc/collectd-core/NEWS.gz » để tìm chi " +#~ "tiết." + +#~ msgid "Automatically try to migrate your RRD files?" +#~ msgstr "Tự động thử nâng cấp các tập tin RRD của bạn ?" + +#~ msgid "" +#~ "This step can be done automatically. In this case a backup of /var/lib/" +#~ "collectd/ is made in /var/backups/. This script is still experimental, " +#~ "though. Do not expect it to work in all cases." +#~ msgstr "" +#~ "Bước này có thể được tự động làm. Trong trường hợp này, một bản sao của " +#~ "« /var/lib/collectd/ » được tạo trong thư mục « /var/backups/ ». Tuy " +#~ "nhiên, văn lệnh này vẫn còn dựa vào thí nghiệm. Không nên nhờ nó trong " +#~ "mọi trường hợp." + +#, fuzzy +#~| msgid "Layout of RRD files has changed" +#~ msgid "Layout of RRD files has changed in version 5.0" +#~ msgstr "Bố trí tập tin RRD đã thay đổi" + +#, fuzzy +#~| msgid "" +#~| "The layout of the RRD files created by collectd has changed " +#~| "significantly since version 3.x. In order to keep your old data you have " +#~| "to migrate it. This can be done by using /usr/lib/collectd/utils/" +#~| "migrate-3-4.px." +#~ msgid "" +#~ "The layout of some RRD files created by collectd has changed since " +#~ "version 4.x. In order to keep your old data you have to migrate it. This " +#~ "can be done by using /usr/lib/collectd/utils/migrate-4-5.px." +#~ msgstr "" +#~ "Bố trí của tập tin RRD được collectd thu thập đã thay đổi nhiều kể từ " +#~ "phiên bản 3.x. Muốn giữ lại dữ liệu cũ thì bạn cần phải nâng cấp, dùng « /" +#~ "usr/lib/collectd/utils/migrate-3-4.px »." diff --git a/rules b/rules new file mode 100755 index 0000000..2c5cf9b --- /dev/null +++ b/rules @@ -0,0 +1,343 @@ +#! /usr/bin/make -f +# debian/rules for collectd +# +# Written by Sebastian Harl . + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +include /usr/share/dpkg/architecture.mk + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) +CPPFLAGS += -I$(CURDIR)/debian/include +CFLAGS = $(shell dpkg-buildflags --get CFLAGS) +CFLAGS += -Wall -Wno-error=deprecated-declarations +CXXFLAGS = $(shell dpkg-buildflags --get CXXFLAGS) +CXXFLAGS += -Wall -Wno-error=deprecated-declarations + +TEST_GCC_VER_9 := $(shell expr `$(CC) -dumpversion | cut -f1 -d.` \>= 9) +ifeq ($(TEST_GCC_VER_9),1) + CFLAGS += -Wno-error=address-of-packed-member -Wno-stringop-truncation -Wno-cpp -Wno-error=format-truncation +endif + +# Upstream defaults to ${sysconfdir}/collectd.conf. Setting ${sysconfdir} to +# /etc/collectd would be wrong though. +CPPFLAGS += -UCONFIGFILE +CPPFLAGS += -DCONFIGFILE='\"/etc/collectd/collectd.conf\"' + +# A PostgreSQL header redefines CACHE_LINE_SIZE on FreeBSD. +# Cf. https://bugs.debian.org/760719 and https://bugs.debian.org/763098 +ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) + CPPFLAGS += -Wp,-w +endif + +LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) + +# grpc workaround +ifneq (,$(filter $(DEB_HOST_ARCH), armel mips mipsel powerpc)) + LDFLAGS += -Wl,--no-as-needed -latomic -Wl,--as-needed +endif + +# The archdir map has been copied from openjdk-6's debian/rules. +JAVA_ARCHDIR = $(shell /usr/share/javahelper/java-arch.sh $(DEB_BUILD_ARCH)) +ifeq (,$(JAVA_ARCHDIR)) + JAVA_ARCHDIR = $(DEB_BUILD_ARCH) +endif +JAVA_HOME = /usr/lib/jvm/default-java +JAVA_LIBDIR = $(JAVA_HOME)/jre/lib/$(JAVA_ARCHDIR)/server + +JAVAC = $(JAVA_HOME)/bin/javac +JAR = $(JAVA_HOME)/bin/jar +JAVA_CPPFLAGS = -I$(JAVA_HOME)/include +JAVA_LDFLAGS = -L$(JAVA_LIBDIR) -Wl,-rpath -Wl,$(JAVA_LIBDIR) + +confflags = --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --localstatedir=/var --sysconfdir=/etc \ + --with-perl-bindings="INSTALLDIRS=vendor INSTALL_BASE=" \ + --without-libstatgrab \ + --disable-static \ + --disable-silent-rules \ + --enable-all-plugins + +# disable tokyotyrant (#980331) +confflags += --disable-tokyotyrant + +# These plugins do not provide any functionality under Linux. +# MacOS only (requires IO Kit): +confflags += --disable-apple_sensors +# AIX only (requires perfstat): +confflags += --disable-lpar +# Solaris only (requires devinfo and kstat) +confflags += --disable-tape + +# redfish.h is missing +confflags += --disable-redfish + +# pmw_api.h is missing +confflags += --disable-dcpmm + +# libaquaero5 is required for the aquaero plugin +confflags += --disable-aquaero + +# libjevents is required for the intel_pmu plugin +confflags += --disable-intel_pmu + +# libmic is required for the mic plugin +confflags += --disable-mic + +# libnetapp is required for the netapp plugin. +confflags += --disable-netapp + +# libclntsh is required for the oracle plugin. +confflags += --disable-oracle + +# librouteros is required for the routeros plugin. +confflags += --disable-routeros + +# xmms1 is required for the xmms plugin. +confflags += --disable-xmms + +# libslurm doesn't have a pkg-config file in Debian +confflags += --disable-slurm + +# libsigrok4 incompatible with the plugin. +# Cf. https://github.com/collectd/collectd/issues/1574 +confflags += --disable-sigrok + +# libnvidia-ml is non-free +confflags += --disable-gpu_nvidia + +# disable nut plugin for now. +confflags += --disable-nut + +# ganglia FTBS, disable it for now +# see #964399 +confflags += --disable-gmond + + +# owfs ftbfs +confflags += --disable-onewire + +# hddtemp will be remove from debian +# #1001954 +confflags += --disable-hddtemp + +# These plugins are Linux-specific. +ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) + confflags += \ + --disable-barometer \ + --disable-cgroups \ + --disable-cpusleep \ + --disable-drbd \ + --disable-ethstat \ + --disable-fhcount \ + --disable-hugepages \ + --disable-ipc \ + --disable-iptables \ + --disable-ipvs \ + --disable-madwifi \ + --disable-md \ + --disable-netlink \ + --disable-numa \ + --disable-sensors \ + --disable-vserver +endif + +# These plugins art FreeBSD-specific. +ifneq ($(DEB_HOST_ARCH_OS),kfreebsd) + confflags += \ + --disable-pf \ + --disable-ipstats \ + --disable-netstat_udp +endif + + +# intel only stuff +ifeq (,$(filter $(DEB_HOST_ARCH),amd64 i386)) + confflags += --disable-capabilities + confflags += --disable-dpdk_telemetry +endif + +# This plugin is Solaris-specific. +confflags += \ + --disable-zone + +# These plugins have not been ported to FreeBSD yet. +ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) + # Work-around an incomplete check for kvm functionality + CPPFLAGS += -DHAVE_STRUCT_KINFO_PROC_FREEBSD + confflags += --enable-processes=force + + confflags += \ + --disable-battery \ + --disable-conntrack \ + --disable-contextswitch \ + --disable-cpufreq \ + --disable-entropy \ + --disable-fscache \ + --disable-irq \ + --disable-nfs \ + --disable-protocols \ + --disable-serial \ + --disable-synproxy \ + --disable-thermal \ + --disable-vmem \ + --disable-wireless +endif + +# Build-dependencies of these plugins are (not yet) available for kfreebsd. +ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) + confflags += \ + --disable-gmond \ + --disable-virt \ + --disable-java \ + --disable-mysql +endif + +# Missing build-deps on sh4 +ifeq ($(DEB_HOST_ARCH_OS),sh4) + confflags += \ + --disable-virt +endif + +# Missing build-deps on ia64 +ifeq ($(DEB_HOST_ARCH_OS),ia64) + confflags += \ + --disable-virt +endif + +# Missing build-deps on alpha +ifeq ($(DEB_HOST_ARCH_OS),alpha) + confflags += \ + --disable-virt +endif + +# Missing build-deps on hurd +ifeq ($(DEB_HOST_ARCH_OS),hurd-i386) + confflags += \ + --disable-barometer +endif + +# These plugins are Intel-hardware specific. +ifeq (,$(filter amd64 i386, $(DEB_HOST_ARCH))) + confflags += \ + --disable-dpdkevents \ + --disable-dpdkstat \ + --disable-intel_pmu \ + --disable-intel_rdt \ + --disable-mcelog \ + --disable-mic \ + --disable-turbostat +endif + +# the pcie_errors plugin does not work on all kinds of hardware +ifeq (,$(filter amd64 arm64 armel armhf i386 mips64el mipsel ppc64el, $(DEB_HOST_ARCH))) + confflags += \ + --disable-pcie_errors +endif + +# This plugin is x86 and arm specific. +ifeq (,$(filter amd64 arm64 armhf, $(DEB_HOST_ARCH))) + confflags += \ + --disable-xencpu +endif + +# libatasmart isn't available on these platforms. +ifneq (,$(filter hurd kfreebsd,$(DEB_HOST_ARCH_OS))) + confflags += --disable-smart +endif + +# The hppa buildds currently do not keep up with Java related stuff, thus +# prevending testing transitions. sparc is also having trouble building the +# java plugin. +ifneq (,$(filter hppa sparc, $(DEB_HOST_ARCH))) + confflags += --disable-java +endif + +# gRPC is only available on x86, arm, ppc. +ifeq (,$(filter amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x, $(DEB_HOST_ARCH))) + confflags += --disable-grpc +endif + + +%: + dh $@ + +override_dh_auto_configure: + CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + JAVAC="$(JAVAC)" JAR="$(JAR)" JAVA_CPPFLAGS="$(JAVA_CPPFLAGS)" \ + JAVA_LDFLAGS="$(JAVA_LDFLAGS)" \ + ./configure $(confflags) \ + || ( status=$$?; cat config.log; exit $$status ) + +override_dh_auto_test: + dh_auto_test + perl ./debian/bin/check_plugins.pl + + +override_dh_clean: + dh_clean + debconf-updatepo + +override_dh_install: + rm -f debian/tmp/usr/lib/collectd/*.la + rm -f debian/tmp/usr/lib/libcollectdclient.la + rm -f debian/tmp/etc/collectd.conf + + + set -e ;\ + find src -path src/libcollectdclient -prune -o -path src/liboconfig -prune -o -name '*.h' -print | while read i; do \ + d=$$(echo "$${i}" | sed 's,^src,debian/tmp/usr/include/collectd/core,') ;\ + mkdir -p $$(echo "$${i}" | sed -e 's,^src,debian/tmp/usr/include/collectd/core,' -e 's,/[^/]*$$,,') ;\ + cp "$${i}" "$${d}" ;\ + done + + # update include path for collectd header files + ( set -e; \ + cd $(CURDIR)/debian/tmp/usr/include/collectd/; \ + headers=$$(find . -type f -name '*.h'); \ + for lib in $$headers; do \ + libname=$$(basename $$lib); \ + fullpath=$$(echo $$lib | sed -r -e 's,^\./,collectd/,'); \ + sed -r -i -e "s,(include\s+)\".*\<$$libname\",\1\"$$fullpath\"," $$headers; \ + done ) + perl ./debian/bin/gen_plugin_deps.pl + dh_install + + +override_dh_installexamples: + dh_installexamples -i contrib/examples/myplugin.c \ + contrib/examples/MyPlugin.pm + dh_installexamples -a contrib/collectd2html.pl contrib/collection.cgi \ + contrib/collection3/ contrib/php-collection/ \ + contrib/exec-munin.conf contrib/exec-munin.px contrib/exec-smartctl \ + contrib/exec-nagios.conf contrib/exec-nagios.px contrib/exec-ksm.sh \ + contrib/SpamAssassin/ contrib/iptables/ contrib/cussh.pl \ + contrib/snmp-data.conf contrib/add_rra.sh contrib/network-proxy.py \ + contrib/collectd_network.py contrib/collectd_unixsock.py \ + contrib/snmp-probe-host.px contrib/GenericJMX.conf \ + contrib/postgresql \ + debian/collectd.conf debian/filters.conf debian/thresholds.conf + + +override_dh_strip: + dh_strip --dbgsym-migration='collectd-dbg (<< 5.9.2.g-2~)' + dh_strip_nondeterminism -pcollectd-core + +override_dh_shlibdeps: + dh_shlibdeps -a -Ncollectd-core -Ncollectd + dpkg-shlibdeps -Tdebian/collectd.substvars \ + -dDepends debian/collectd-core/usr/lib/collectd/rrdtool.so + dpkg-shlibdeps -Tdebian/collectd-core.substvars \ + -dDepends debian/collectd-core/usr/sbin/* \ + -dSuggests debian/collectd-core/usr/lib/collectd/*.so + grep shlibs:Suggests debian/collectd-core.substvars \ + | sed -e 's/shlibs:Suggests/shlibs:Recommends/' \ + >> debian/collectd.substvars + diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/thresholds.conf b/thresholds.conf new file mode 100644 index 0000000..2bd4f2c --- /dev/null +++ b/thresholds.conf @@ -0,0 +1,51 @@ +# Threshold configuration for collectd(1). +# +# See the collectd-threshold(5) manual page for details. + +#LoadPlugin "threshold" +# +# +# WarningMin 0.00 +# WarningMax 1000.00 +# FailureMin 0 +# FailureMax 1200.00 +# Invert false +# Persist false +# Instance "some_instance" +# +# +# +# DataSource "midterm" +# WarningMax 1 +# Hysteresis 0.3 +# +# +# +# Instance "user" +# WarningMax 85 +# Hits 6 +# +# +# +# Instance "eth0" +# +# DataSource "rx" +# FailureMax 10000000 +# +# +# +# +# +# Instance "idle" +# FailureMin 10 +# +# +# +# +# Instance "cached" +# WarningMin 100000000 +# +# +# +# + diff --git a/upstream/metadata b/upstream/metadata new file mode 100644 index 0000000..a090e7a --- /dev/null +++ b/upstream/metadata @@ -0,0 +1,6 @@ +--- +Name: collectd +Bug-Database: https://github.com/collectd/collectd/issues +Bug-Submit: https://github.com/collectd/collectd/issues/new +Repository: https://github.com/collectd/collectd.git +Repository-Browse: https://github.com/collectd/collectd diff --git a/watch b/watch new file mode 100644 index 0000000..cd5c48a --- /dev/null +++ b/watch @@ -0,0 +1,4 @@ +version=4 +opts="filenamemangle=s%(?:.*?)?v?@ANY_VERSION@(@ARCHIVE_EXT@)%collectd-$1$2%" \ + https://github.com/collectd/collectd/tags \ + (?:.*?/)collectd-v?@ANY_VERSION@@ARCHIVE_EXT@ debian uupdate