forked from pool/collectd
Accepting request 493297 from home:benoit_monin:branches:server:monitoring
- update to version 5.7.1 - refresh patches: * collectd-fix_broken_perl-5.10.patch * collectd-split_README.patch * collectd-version.patch - drop patch collectd-5.5.2-exec-no-output.diff: fixed upstream - remove plugin write_riemann: not built anymore - add new plugins chrony, cpusleep, hugepages, notify_nagios - add lua-devel as BuildRequires and create a sub-package for the lua plugin - add gpsd-devel as BuildRequires and create a sub-package for the gps plugin OBS-URL: https://build.opensuse.org/request/show/493297 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=142
This commit is contained in:
parent
920135a3ed
commit
c5eb679480
@ -1,17 +0,0 @@
|
||||
Index: b/src/utils_cmd_putval.c
|
||||
===================================================================
|
||||
--- a/src/utils_cmd_putval.c
|
||||
+++ b/src/utils_cmd_putval.c
|
||||
@@ -217,10 +217,11 @@ int handle_putval (FILE *fh, char *buffe
|
||||
values_submitted++;
|
||||
} /* while (*buffer != 0) */
|
||||
/* Done parsing the options. */
|
||||
-
|
||||
+#if 0
|
||||
print_to_socket (fh, "0 Success: %i %s been dispatched.\n",
|
||||
values_submitted,
|
||||
(values_submitted == 1) ? "value has" : "values have");
|
||||
+#endif
|
||||
|
||||
sfree (vl.values);
|
||||
return (0);
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:017f3a4062187e594d8ab6af685655fb82a8a942dc574668e68242bdb8ba820f
|
||||
size 1800476
|
3
collectd-5.7.1.tar.bz2
Normal file
3
collectd-5.7.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7edd3643c0842215553b2421d5456f4e9a8a58b07e216b40a7e8e91026d8e501
|
||||
size 1797725
|
@ -1,17 +1,16 @@
|
||||
--- src/perl.c.orig
|
||||
+++ src/perl.c
|
||||
@@ -2411,7 +2411,13 @@ static int perl_config_loadplugin (pTHX_
|
||||
@@ -2504,7 +2504,12 @@ static int perl_config_loadplugin(pTHX_
|
||||
|
||||
log_debug ("perl_config: Loading Perl plugin \"%s\"", value);
|
||||
load_module (PERL_LOADMOD_NOIMPORT,
|
||||
- newSVpv (module_name, strlen (module_name)), Nullsv);
|
||||
+ newSVpv (module_name, strlen (module_name)),
|
||||
log_debug("perl_config: Loading Perl plugin \"%s\"", value);
|
||||
load_module(PERL_LOADMOD_NOIMPORT, newSVpv(module_name, strlen(module_name)),
|
||||
- Nullsv);
|
||||
+#if PERL_VERSION >= 10
|
||||
+ newSViv(0)
|
||||
+ newSViv(0)
|
||||
+#else
|
||||
+ Nullsv
|
||||
+ Nullsv
|
||||
+#endif
|
||||
+ );
|
||||
return 0;
|
||||
+ );
|
||||
return 0;
|
||||
} /* static int perl_config_loadplugin (oconfig_item_it *) */
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- contrib/README.orig 2013-06-04 02:29:18.736835454 +0200
|
||||
+++ contrib/README 2013-06-04 02:29:59.160849717 +0200
|
||||
@@ -28,22 +28,6 @@
|
||||
--- contrib/README.orig
|
||||
+++ contrib/README
|
||||
@@ -33,22 +33,6 @@
|
||||
`/var/lib/collectd/' and generate an HTML file and a directory containing
|
||||
several PNG files which are graphs of the RRD files found.
|
||||
|
||||
@ -23,15 +23,10 @@
|
||||
exec-munin.px
|
||||
-------------
|
||||
Script to be used with the exec-plugin (see collectd-exec(5) for details)
|
||||
@@ -65,16 +49,6 @@
|
||||
@@ -70,11 +54,6 @@
|
||||
RRD-file that should have been in multiple RRD-files instead. Is is used by
|
||||
`migrate-3-4.px' to split up the cpu-, nfs-, swap-files and possibly others.
|
||||
|
||||
-fedora/
|
||||
--------
|
||||
- Init-script and Spec-file that can be used when creating RPM-packages for
|
||||
-Fedora.
|
||||
-
|
||||
-GenericJMX.conf
|
||||
----------------
|
||||
- Example configuration file for the ‘GenericJMX’ Java plugin. Please read the
|
||||
@ -40,7 +35,7 @@
|
||||
migrate-3-4.px
|
||||
--------------
|
||||
Migration-script to ease the switch from version 3 to version 4. Many
|
||||
@@ -84,10 +58,6 @@
|
||||
@@ -84,10 +63,6 @@
|
||||
may still need to do some things by hand, read `README.migration' for more
|
||||
details.
|
||||
|
||||
@ -51,7 +46,7 @@
|
||||
snmp-data.conf
|
||||
--------------
|
||||
Sample configuration for the SNMP plugin. This config includes a few standard
|
||||
@@ -97,11 +67,6 @@
|
||||
@@ -97,7 +72,3 @@
|
||||
whatever people have send in. If you have some more definitions please send
|
||||
them in, so others can profit from it.
|
||||
|
||||
@ -59,7 +54,3 @@
|
||||
------------
|
||||
- Manifest file for the Solaris SMF system and detailed information on how to
|
||||
-register collectd as a service with this system.
|
||||
-
|
||||
collectd.service
|
||||
----------------
|
||||
Service file for systemd. Please ship this file as
|
||||
|
@ -1,11 +1,10 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 87d1502..15efa43 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1,5 +1,5 @@
|
||||
@@ -1,6 +1,6 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_PREREQ([2.60])
|
||||
-AC_INIT([collectd],[m4_esyscmd(./version-gen.sh)])
|
||||
+AC_INIT([collectd],[@@VERSION@@])
|
||||
AC_CONFIG_SRCDIR(src/)
|
||||
AC_CONFIG_SRCDIR(src/target_set.c)
|
||||
AC_CONFIG_HEADERS(src/config.h)
|
||||
AC_CONFIG_AUX_DIR([libltdl/config])
|
||||
|
391
collectd.changes
391
collectd.changes
@ -1,3 +1,394 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 6 15:29:29 UTC 2017 - benoit.monin@gmx.fr
|
||||
|
||||
- update to version 5.7.1:
|
||||
* collectd: Handling of boolean configuration options has been
|
||||
unified. Thanks to Sebastian Harl. #2083, #2098
|
||||
* collectd: Reporting of internal statistics has been fixed.
|
||||
Thanks to Florian Forster. #2108
|
||||
* collectd, various plugins: Bugs and issues reported by
|
||||
scan-build and coverity-scan have been fixed. Thanks to Ruben
|
||||
Kerkhof and Florian Forster.
|
||||
* Build system: Parallel build have been fixed. Thanks to Ruben
|
||||
Kerkhof. #2110
|
||||
* DPDKStat plugin: Portability issues and a double-close bug have
|
||||
been fixed. Thanks to Ruben Kerkhof and Marc Fournier.
|
||||
* Intel RDT plugin: A check for the libpqos library version has
|
||||
been added. Thanks to Serhiy Pshyk.
|
||||
* NetApp plugin: Compilation problems have been corrected. Thanks
|
||||
to Florian Forster. #2120
|
||||
* Write Prometheus plugin: A memory leak has been fixed. Thanks
|
||||
to Ruben Kerkhof.
|
||||
- additional changes from version 5.7.0
|
||||
* Documentation: The Turbostat plugin section has been improved.
|
||||
Thanks to Florian Forster
|
||||
* Documentation: The semantics of the "TypesDB" option have been
|
||||
improved. Thanks to Florian Forster.
|
||||
* collectd: A generic interface for parsing the text protocol has
|
||||
been added. Thanks to Sebastian Harl. #1749
|
||||
* collectd: Threads now get named, making them easier to track
|
||||
using tools such as top, ps, etc. Thanks to Manuel Luis
|
||||
Sanmartín Rozada and Marc Fournier. #547
|
||||
* AMQP plugin, Write Graphite plugin, Write Kafka plugin: The new
|
||||
"[Graphite]PreserveSeparator" option allows retaining the
|
||||
default dot separator rather than escaping it. Thanks to
|
||||
Florian Forster. #419
|
||||
* Battery plugin: A StateFS backend for gathering statistics has
|
||||
been added. Thanks to Rinigus. #1795
|
||||
* CPU plugin: CPU aggregation on AIX was fixed. Thanks to Chao
|
||||
Yang. #1957
|
||||
* Collectd::Unixsock: Fractional seconds support has been made
|
||||
more robust. Thanks to Matthias Bethke. #2052
|
||||
* DPDKStat plugin: This new plugin collects DPDK interface
|
||||
statistics. Thanks to Maryam Tahhan, Harry van Haaren, Taras
|
||||
Chornyi and Kim Jones. #1649
|
||||
* gRPC plugin: The "DispatchValues" option has been renamed to
|
||||
"PutValues". Thanks to Florian Forster.
|
||||
* HDDTemp plugin: The 32 devices limit has been removed. Thanks
|
||||
to Benjamin Gilbert. #631
|
||||
* Hugepages plugin: This new plugin reports the number of used
|
||||
and free hugepages on Linux. Thanks to Jaroslav Safka, Maryam
|
||||
Tahhan, Kim Jones and Florian Forster. #1799
|
||||
* Intel RDT plugin: This new plugin collects statistics exposed
|
||||
by Intel's Resource Director Technology . Thanks to SerhiyX.
|
||||
#1970
|
||||
* memcached plugin: The new "Address" option allows connecting to
|
||||
a different server than specified by the "Host" option. Thanks
|
||||
to Pavel Rochnyack. #1975
|
||||
* nginx plugin: Support for reporting failed connections has been
|
||||
added. Thanks to Pavel Rochnyack. #1609
|
||||
* Perl plugin: Significant internal reworking has been made. The
|
||||
new "RegisterLegacyFlush" option has been added. Thanks to
|
||||
Pavel Rochnyack. #1731
|
||||
* PostgreSQL plugin: Timestamps are now RFC 3339-formatted local
|
||||
time. Thanks to Igor Peshansky and Dave Cunningham. #1918
|
||||
* Processes plugin: Internal performance improvements have been
|
||||
made. Thanks to Pavel Rochnyack. #1980, #1981
|
||||
* RRDCacheD plugin: The plugin now tries to reconnect upon failed
|
||||
operations. Thanks to Sebastian Harl. #1959
|
||||
* SpamAssassin: The plugin can now run in Perl's "tainted mode"
|
||||
("-T"). Thanks to Akos Vandra. #1962
|
||||
* Tail plugin: Support for calculating latency distribution of
|
||||
matching values has been added. Thanks to Pavel Rochnyack and
|
||||
Florian Forster. #1700
|
||||
* Tail plugin: The new "GaugePersist" option has been added.
|
||||
Thanks to Florian Forster. #2015
|
||||
* Target:Set, Target:Replace, Match:RegEx: MetaData support has
|
||||
been added . Thanks to Igor Peshansky. #1922, #1923, #1930
|
||||
* turbostat plugin: The new "LogicalCoreNames" option allows
|
||||
switching to per-core naming rather than per-CPU. Thanks to
|
||||
Brock Johnson. #2056
|
||||
* virt plugin: The new "BlockDeviceFormat" and
|
||||
"BlockDeviceFormatBasename" options help controlling the names
|
||||
reported for block-device metrics. Thanks to Deyan Chepishev.
|
||||
#2004
|
||||
* Write Graphite plugin: A new "DropDuplicateFields" option has
|
||||
been added. Thanks to Michael Leinartas. #1915
|
||||
* Write Kafka plugin: The "Key Random" setting has been
|
||||
reintroduced. Thanks to Florian Forster. #1977
|
||||
* Write Log plugin: Support for formatting output in JSON has
|
||||
been added, using the new "Format" configuration option. Thanks
|
||||
to Igor Peshansky. #1924
|
||||
* Write Prometheus plugin: This new plugin publishes values using
|
||||
an embedded HTTP server, in a format compatible with
|
||||
Prometheus' collectd_exporter. Thanks to Florian Forster. #1967
|
||||
- additional changes from version 5.6.2
|
||||
* collectd: A compile error on AIX has been fixed: "MSG_DONTWAIT"
|
||||
is not available on AIX. Thanks to Chao Yang.
|
||||
* collectd: The capability checking has been rewritten to be more
|
||||
portable. Thanks to Florian Forster. #2009
|
||||
* collectd.conf(5): Various typos have been fixed. Thanks to Marc
|
||||
Fournier.
|
||||
* collectd-tg: Incorrect usage of "nanosleep()" has been fixed
|
||||
which caused the tool to sleep (almost) indefinitely. Thanks to
|
||||
Florian Forster.
|
||||
* Build system: Detection of the Java environment has been made
|
||||
deterministic to allow for reproducible builds. Thanks to Marc
|
||||
Fournier. #1523
|
||||
* Build system: Detection of the Lua headers has been improved.
|
||||
Thanks to Ruben Kerkhof.
|
||||
* APC UPS plugin: Unavailable metrics are now skipped instead of
|
||||
reported as 0 (zero). Thanks to Florian Forster. #2025
|
||||
* Modbus plugin: Build issues on FreeBSD have been fixed. Thanks
|
||||
to Florian Forster.
|
||||
* OpenVPN plugin: Gracefully handle empty configurations. Thanks
|
||||
to Pavel Rochnyack. #1932
|
||||
* PowerDNS plugin: The "recursor command" has been fixed so
|
||||
PowerDNS can correctly parse all requested fields. Thanks to
|
||||
Ruben Kerkhof.
|
||||
* Write Graphite and AMQP plugins: A bug that could lead to a
|
||||
missing null-termination has been fixed. Thanks to Markus
|
||||
Linnala.
|
||||
* Write HTTP plugin: A logic error when checking the correctness
|
||||
of the data set has been fixed. Thanks to Pavel Rochnyack. #1996
|
||||
* Write Kafka plugin: The "Key Random" config option has been
|
||||
fixed. Thanks to Florian Forster. #1977
|
||||
* Write Kafka plugin: Support for librdkafka 0.9.0 has been
|
||||
added. Thanks to Florian Forster.
|
||||
* Write Riemann plugin: Build issues on Solaris have been fixed.
|
||||
Thanks to Florian Forster.
|
||||
* ZFS ARC plugin: A duplicate metric has been removed. Thanks to
|
||||
Ruben Kerkhof. #1963
|
||||
- additional changes from version 5.6.1
|
||||
* Build system: Unnecessary linking of the Write Graphite plugin
|
||||
with libyajl has been removed. Thanks to Marc Fournier.
|
||||
Debian#839771, #1976
|
||||
* collectd: A bug in the "FlushInterval" option that caused a
|
||||
segmentation fault in the Write HTTP plugin has been fixed.
|
||||
Thanks to Florian Forster. #1954
|
||||
* Apache plugin: A syntax error has been fixed. Thanks to Florian
|
||||
Forster.
|
||||
* cURL-JSON plugin: A segmentation fault that occurred when
|
||||
handling JSON with unexpected structure has been fixed. Thanks
|
||||
to Florian Forster. #1896
|
||||
* PostgreSQL plugin: Handling of "NULL" values in the
|
||||
"query_plans" and "query_plans_by_table" queries has been
|
||||
fixed. Thanks to Bernd Zeimetz. #1905
|
||||
* RRDCacheD plugin: Reconnection behavior has been added. Thanks
|
||||
to Sebastian Harl. Debian#657877
|
||||
* VServer plugin: Use of a deprecated API ("readdir_r()") has
|
||||
been fixed. Thanks to Sebastian Harl.
|
||||
* Write Graphite plugin: Make default values configurable at
|
||||
compile time again. Thanks to Florian Forster. #1953
|
||||
* Write HTTP plugin: A bug has been fixed that lead to flush
|
||||
callbacks being registered twice. Thanks to Florian Forster.
|
||||
#1955
|
||||
- additional changes from version 5.6.0
|
||||
* Build system: An option to to avoid building the DF plugin
|
||||
against XFS has been added. Thanks to Ruben Kerkhof. #1878
|
||||
* Build system: Autoconf ≥ 2.60, a C99-capable compiler and
|
||||
pkg-config are now required. Thanks to Ruben Kerkhof.
|
||||
* Build system: Building with "-Werror" is now optional. Thanks
|
||||
to Ruben Kerkhof. #1222
|
||||
* Build system: Many compilation issues on non-Linux platforms
|
||||
have been fixed, leading to wider plugin support. Thanks to
|
||||
Ruben Kerkhof, Dagobert Michelsen, Havard Eidnes and Robert
|
||||
Viduya.
|
||||
* Build system: The configuration summary now also ends up in
|
||||
config.log. Thanks to Sebastian Harl.
|
||||
* collectd: All command-line options now override global options
|
||||
from the config file. Thanks to Sebastian Harl. #366
|
||||
* collectd: A number of unit tests for commonly used functions
|
||||
have been added. Thanks to Florian Forster.
|
||||
* collectd: Plugins start up and read timeouts are now logged.
|
||||
Thanks to Marc Fournier. #1293, #1254
|
||||
* collectd: Support for a timeout has been added to "FLUSH"
|
||||
callbacks. Thanks to Manuel Luis Sanmartín Rozada.
|
||||
* collectd: The "-T" command line switch now reports more errors.
|
||||
Thanks to Corey Kosak. #1642
|
||||
* collectd: The max size of value list elements
|
||||
("DATA_MAX_NAME_LEN") has been doubled and is now configurable
|
||||
at build time. Thanks to Amy Lin, Florian Forster and Radu
|
||||
Brumariu. #1120
|
||||
* Set target: The "MetaData" option has been added. Thanks to
|
||||
Yves Mettier and Kevin Bowling. #1106, #1656, #1913
|
||||
* AMQP, Write_HTTP, Write_Kafka plugins: Support for libyajl < 2
|
||||
has been added. Thanks to Florian Forster.
|
||||
* APC UPS plugin: Parsing of end markers has been fixed. Thanks
|
||||
to Florian Forster #617
|
||||
* APC UPS plugin: The "PersistentConnection" option has been
|
||||
added. Thanks to Florian Forster #617
|
||||
* ceph, DNS, Exec, IPTables, Ping, turbostat plugins: When
|
||||
running unprivileged, these plugins will now warn about
|
||||
insuffiscient permissions or capabilities(7). Thanks to Marc
|
||||
Fournier. #1530
|
||||
* Chrony plugin: This new plugin collects NTP data from the
|
||||
chrony NTP server. Thanks to Claudius Zingerli. #1548
|
||||
* cpusleep plugin: This new plugin measures time spent by CPU in
|
||||
deep sleep mode. Thanks to Rinigus. #1826
|
||||
* CPU plugin: The "ReportNumCpu" option has been added. Thanks to
|
||||
Fabien Wernli.
|
||||
* cURL, cURL-JSON, cURL-XML plugins: The new "Statistics" reports
|
||||
various per-HTTP connection timers. Thanks to Sebastian Harl.
|
||||
#1004
|
||||
* DBI plugin: The "Interval" option has been added to "Database"
|
||||
blocks. Thanks to Michal Bebjak.
|
||||
* Disk plugin: Support for FreeBSD has been added. Thanks to Xin
|
||||
Li, Brad Davis, Ruben Kerfhof and Kevin Bowling.
|
||||
* Empty Counter match: Support for derives has been implemented.
|
||||
Thanks to Florian Forster. #1813
|
||||
* GenericJMX plugin: Support for TabularData and the "PluginName"
|
||||
option have been added. Thanks to David Crane. #1290, #1291
|
||||
* GPS plugin: This new plugin reports the number of sattelites
|
||||
seen by and precision of a GPS receiver. Thanks to Nicolas
|
||||
Jourden. #1346
|
||||
* gRPC plugin: This new client and server plugin allows sending
|
||||
and receiving metrics using the gRPC protocol. Comparable to
|
||||
the UnixSock plugin, but using TCP and TLS. Thanks to Sebastian
|
||||
Harl and Florian Forster.
|
||||
* Interface plugin: Reporting dropped packets has been added.
|
||||
Thanks to Marc Falzon. #1555
|
||||
* Interface plugin: The "ReportInactive" has been added, letting
|
||||
users skip inactive network interfaces. Thanks to Rinigus. #1791
|
||||
* Interface plugin: The new, Solaris-only "UniqueName" option has
|
||||
been added. Thanks to Yoga Ramalingam. #1416
|
||||
* Lua plugin: This new language binding allows writing plugins
|
||||
using the Lua programming language. Thanks to Julien Ammous,
|
||||
Florian Forster and Ruben Kerkhof.
|
||||
* Memory plugin: Reporting of ARC memory on Solaris has been
|
||||
added. Thanks to Brian ONeill.
|
||||
* MQTT plugin: This new plugin sends metrics to and/or receives
|
||||
metrics from an MQTT broker. Thanks to Marc Falzon, Jan-Piet
|
||||
Mens, Nicholas Humfrey and Florian Forster. #805, #1124
|
||||
* MySQL plugin: Connection to the database server can now be done
|
||||
over SSL. Thanks to Brian Lalor. #1256
|
||||
* MySQL plugin: Monitoring slow queries has been added. Thanks to
|
||||
skob. #1773
|
||||
* MySQL plugin: mysql_bpool_pages-flushed has been renamed to
|
||||
mysql_bpool_counters-pages_flushed because the value is
|
||||
cumulative. Thanks to Marek Becka.
|
||||
* MySQL plugin: Support for Galera statistics has been added.
|
||||
Thanks to Rachid Zarouali. #1849
|
||||
* MySQL plugin: Support for InnoDB metrics was improved. Thanks
|
||||
to Aman Gupta. #1111
|
||||
* MySQL plugin: The "mysql_sort" type has been split into 3
|
||||
different types. Thanks to Pavel Rochnyack. #1592
|
||||
* Network plugin: Decryption error logging has been improved.
|
||||
Thanks to Pavel Rochnyack. #1735
|
||||
* Notify Nagios plugin: This new plugin sends notifications to
|
||||
Nagios as a passive check result. Thanks to Florian Forster.
|
||||
* NTPd plugin: The plugin now detects if the ntp daemon reports
|
||||
nanoseconds instead of microseconds. Thanks to Matwey V.
|
||||
Kornilov. #1783
|
||||
* OpenLDAP plugin: Several connection-related improvements have
|
||||
been made. Thanks to Marc Fournier. #1308
|
||||
* OpenLDAP plugin: Support for "simple authentication" has been
|
||||
added. Thanks to Marek Becka. #1087
|
||||
* Ping plugin: The "Size" option has been added, allowing the
|
||||
ICMP data payload size to be configured. Thanks to Witold
|
||||
Baryluk. #1395
|
||||
* PostgreSQL, DBI, Oracle plugins: The new "PluginInstanceFrom"
|
||||
option has been added. Thanks to Pavel Rochnyack. #1707
|
||||
* PowerDNS plugin: The recursor metrics have been updated to
|
||||
3.7.3 and missing rr types have been added. Thanks to Ruben
|
||||
Kerkhof.
|
||||
* Processes plugin: Counting of context switches was added for
|
||||
Linux. Thanks to Manuel Luis Sanmartín Rozada. #1036
|
||||
* Processes plugin: Improve reliability of thread counts on
|
||||
Linux. Thanks to Manuel Luis Sanmartín Rozada.
|
||||
* Python plugin: Minimal Python version requirement has been
|
||||
bumped to 2.6. Thanks to Ruben Kerkhof. #1864
|
||||
* Redis plugin: Several additional metrics are now collected.
|
||||
Thanks to Marc Falzon and Matteo Contrini. #1807, #1483
|
||||
* Sensors plugin: The "UseLabels" option has been added. Thanks
|
||||
to Christian Fetzer.
|
||||
* SMART plugin: The new "IgnoreSleepMode" option has been added.
|
||||
Thanks to Scott Talbert. #1770
|
||||
* SMART plugin: The new "UseSerial" option allows identifying
|
||||
devices in a stable way. Thanks to Scott Talbert. #1794
|
||||
* SNMP plugin: The "IpAddress" can now be used for instances.
|
||||
Thanks to Vincent Bernat. #1397
|
||||
* StatsD plugin: Latency calculation histogram is now able to
|
||||
shrink automatically to optimal size. Thanks to Pavel
|
||||
Rochnyack. #1622
|
||||
* StatsD plugin: The "CounterSum" option has been added. Thanks
|
||||
to Florian Forster. #929, #1282, #1311
|
||||
* UUID plugin: The plugin now also looks in in smbios system
|
||||
table and "/sys/class/dmi". Thanks to Ruben Kerkhof. #1490
|
||||
* virt plugin: The "PluginInstanceFormat" option has been added.
|
||||
Thanks to Ruben Kerkhof. #1100
|
||||
* Write Graphite plugin: The "ReconnectInterval" option has been
|
||||
added. Thanks to Toni Moreno and Florian Forster.
|
||||
* Write HTTP plugin: A KairosDB formatter has been added. Thanks
|
||||
to Aurélien Rougemont. #1809
|
||||
* Write HTTP plugin: Notifications are now handled by this
|
||||
plugin. Thanks to Florian Forster.
|
||||
* Write HTTP plugin: The "LogHttpError" option has been added.
|
||||
Thanks to vzubko.
|
||||
* Write HTTP plugin: The new "Headers" option allows setting
|
||||
custom HTTP headers in outgoing requests. Thanks to Brandon
|
||||
Arp. #1634
|
||||
* Write Kafka plugin: Key handling has been made more
|
||||
comprehensive and reliable. Thanks to Florian Forster,
|
||||
Pierre-Yves Ritschard and Vincent Bernat. #1765, #1695, #1393
|
||||
* Write Redis plugin: The "Database", "MaxSetSize", "Prefix" and
|
||||
"StoreRates" options have been added. Thanks to Brian Kelly and
|
||||
Sebastian Pfahl.
|
||||
* Write Riemann plugin: The new "BatchFlushTimeout" and "Timeout"
|
||||
option have been added. Thanks to Pierre-Yves Ritschard and
|
||||
Gergely Nagy.
|
||||
* Write Riemann plugin: This plugin now requires the
|
||||
riemann-c-client library, version 1.6.0+. This adds support for
|
||||
submitting values to Riemann over TLS. Thanks to Gergely Nagy.
|
||||
#986
|
||||
* Write TSDB, Write Sensu, Write Riemann, Write Graphite, Write
|
||||
TSDB plugin: TCP keepalive is now enabled, helping graceful
|
||||
recovery from unclean network disconnections. Thanks to Marc
|
||||
Fournier. #1549
|
||||
* XenCPU plugin: This new plugin collects XEN Hypervisor CPU
|
||||
stats. Thanks to Pavel Rochnyack. #1608
|
||||
* ZFS ARC plugin: Several new statistics have been added and a
|
||||
couple of obsolete ones removed. Thanks to Brad Davis, Brian
|
||||
ONeill and Ruben Kerkhof.
|
||||
* Zone plugin: This new plugin reads per-zone CPU usage on
|
||||
Solaris. Thanks to Mathijs Mohlmann and Dagobert Michelsen.
|
||||
- additional changes from version 5.5.3
|
||||
* collectd: Write threads are stopped before shutdown callbacks
|
||||
are called. Thanks to Florian Forster. #1110
|
||||
* collectd: A compile error on AIX has been fixed: "MSG_DONTWAIT"
|
||||
is not available on AIX. Thanks to Chao Yang.
|
||||
* libcollectdclient: Lines printed to "STDERR" are now guarded by
|
||||
the environment variable "COLLECTD_TRACE". Thanks to Florian
|
||||
Forster. #105
|
||||
* collectd.conf(5): Various typos have been fixed. Thanks to Marc
|
||||
Fournier.
|
||||
* Build system: Detection of the Java environment has been made
|
||||
deterministic to allow for reproducible builds. Thanks to Marc
|
||||
Fournier. #1523
|
||||
* APC UPS plugin: Unavailable metrics are now skipped instead of
|
||||
reported as 0 (zero). Thanks to Florian Forster. #2025
|
||||
* Battery plugin: The minimum value has been removed from the
|
||||
power type to allow the plugin to report discharging batteries
|
||||
as negative power. Thanks to Florian Forster.
|
||||
* DBI, Oracle and PostgreSQL plugins: An error message when the
|
||||
type instance is truncated has been added. Thanks to Florian
|
||||
Forster. #4
|
||||
* cURL-JSON plugin: A possible segmentation fault when parsing
|
||||
unexpected JSON has been fixed. Thanks to Florian Forster. #1896
|
||||
* DF plugin: Compilation with xfsprogs ≥ 4.7.0 has been fixed.
|
||||
Thanks to Thomas Deutschmann. #1877
|
||||
* Modbus plugin: Build issues on FreeBSD have been fixed. Thanks
|
||||
to Florian Forster.
|
||||
* Network plugin: An error message has been corrected. Thanks to
|
||||
Florian Forster.
|
||||
* Network plugin: Handling of errors form secure memory
|
||||
initialization has been improved: the plugin fails gracefully
|
||||
now instead of calling "abort()". Thanks to Sebastian Harl.
|
||||
* Network plugin: The gcrypt library is only initialized when it
|
||||
is actually required due to the network plugin's configuration.
|
||||
Thanks to Florian Forster. #1902
|
||||
* Ping plugin: The init callback has been changed to be
|
||||
idempotent, fixing errors being reported on Solaris. Thanks to
|
||||
Florian Forster. #869
|
||||
* PostgreSQL plugin: The query_plans and query_plans_by_table
|
||||
queries have been improved to return 0 (zero) instead of "NULL"
|
||||
when not available. Thanks to Bernd Zeimetz. #1905
|
||||
* PowerDNS plugin: The "recursor command" has been fixed so
|
||||
PowerDNS can correctly parse all requested fields. Thanks to
|
||||
Ruben Kerkhof.
|
||||
* Python plugin: Handling of data sets with multiple data sources
|
||||
of different type has been fixed. Thanks to Sebastian Harl.
|
||||
* RRDCacheD plugin: Reconnection behavior after failed operations
|
||||
has been added. Thanks to Sebastian Harl. Debian#657877
|
||||
* Write Graphite and AMQP plugins: A bug that could lead to a
|
||||
missing null-termination has been fixed. Thanks to Markus
|
||||
Linnala.
|
||||
* Write Kafka plugin: Support for librdkafka 0.9.0 has been
|
||||
added. Thanks to Florian Forster.
|
||||
* Write Riemann plugin: Build issues on Solaris have been fixed.
|
||||
Thanks to Florian Forster.
|
||||
- refresh patches:
|
||||
* collectd-fix_broken_perl-5.10.patch
|
||||
* collectd-split_README.patch
|
||||
* collectd-version.patch
|
||||
- drop patch collectd-5.5.2-exec-no-output.diff: fixed upstream
|
||||
- remove plugin write_riemann: not built anymore
|
||||
- add new plugins chrony, cpusleep, hugepages, notify_nagios
|
||||
- add lua-devel as BuildRequires and create a sub-package for
|
||||
the lua plugin
|
||||
- add gpsd-devel as BuildRequires and create a sub-package for
|
||||
the gps plugin
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 30 15:53:07 UTC 2016 - seife+obs@b1-systems.com
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
%define snmp 1
|
||||
%define with_esmtp 1
|
||||
%define ipvs_plugin ipvs
|
||||
%define plugins apache apcups battery %{expand:%{bind_plugin}} cgroups curl %{expand:%{curl_json_plugin}} %{expand:%{curl_xml_plugin}} conntrack contextswitch cpu cpufreq csv df disk %{expand:%{dns_plugin}} email entropy exec filecount fscache hddtemp interface %{expand:%{ipvs_plugin}} irq load logfile match_empty_counter match_hashed match_regex match_timediff match_value mbmon %{expand:%{memcached_plugin}} memory multimeter netlink network nfs nginx ntpd olsrd openvpn perl ping protocols powerdns processes rrdtool %{expand:%{sensors_plugin}} serial statsd swap syslog table tail target_notification target_replace target_scale target_set target_v5upgrade tcpconns teamspeak2 ted thermal threshold unixsock uptime users uuid vmem vserver wireless write_http %{expand:%{ascent_plugin}} %{expand:%{iptables_plugin}} %{expand:%{madwifi_plugin}} %{expand:%{rrdcached_plugin}} aggregation ethstat md numa tail_csv write_graphite write_riemann ceph drbd fhcount ipc log_logstash %{expand:%{turbostat_plugin}} write_log write_log write_sensu write_tsdb zfs_arc zookeeper
|
||||
%define plugins apache apcups battery %{expand:%{bind_plugin}} cgroups chrony curl %{expand:%{curl_json_plugin}} %{expand:%{curl_xml_plugin}} conntrack contextswitch cpu cpufreq cpusleep csv df disk %{expand:%{dns_plugin}} email entropy exec filecount fscache hddtemp hugepages interface %{expand:%{ipvs_plugin}} irq load logfile match_empty_counter match_hashed match_regex match_timediff match_value mbmon %{expand:%{memcached_plugin}} memory multimeter netlink network nfs nginx notify_nagios ntpd olsrd openvpn perl ping protocols powerdns processes rrdtool %{expand:%{sensors_plugin}} serial statsd swap syslog table tail target_notification target_replace target_scale target_set target_v5upgrade tcpconns teamspeak2 ted thermal threshold unixsock uptime users uuid vmem vserver wireless write_http %{expand:%{ascent_plugin}} %{expand:%{iptables_plugin}} %{expand:%{madwifi_plugin}} %{expand:%{rrdcached_plugin}} aggregation ethstat md numa tail_csv write_graphite ceph drbd fhcount ipc log_logstash %{expand:%{turbostat_plugin}} write_log write_sensu write_tsdb zfs_arc zookeeper
|
||||
%ifnarch s390 s390x
|
||||
%define sensors 1
|
||||
%define sensors_plugin sensors
|
||||
@ -129,7 +129,7 @@ BuildRequires: systemd
|
||||
PreReq: %insserv_prereq
|
||||
%endif
|
||||
Name: collectd
|
||||
Version: 5.5.2
|
||||
Version: 5.7.1
|
||||
Release: 0
|
||||
Summary: Statistics Collection Daemon for filling RRD Files
|
||||
License: GPL-2.0
|
||||
@ -153,7 +153,6 @@ Patch19: collectd-fix_spamassassin_doc.patch
|
||||
Patch20: collectd-split_README.patch
|
||||
Patch21: collectd-fix_collectd_config_path_in_snmp_probe.patch
|
||||
Patch23: collectd-javac_target.patch
|
||||
Patch25: collectd-5.5.2-exec-no-output.diff
|
||||
|
||||
# for /etc/apache2/... ownership (rpmlint):
|
||||
BuildRequires: apache2
|
||||
@ -166,6 +165,7 @@ BuildRequires: freetype2-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gettext
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: gpsd-devel
|
||||
BuildRequires: intltool
|
||||
# for ipvs and madwifi:
|
||||
#BuildRequires: kernel-source
|
||||
@ -182,6 +182,7 @@ BuildRequires: libtool
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: linux-kernel-headers
|
||||
BuildRequires: lua-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: pkgconfig
|
||||
@ -476,10 +477,29 @@ Requires: %{name} = %{version}-%{release}
|
||||
Optional %{name} plugin to monitor Self-Monitoring, Analysis and Reporting
|
||||
Technology (SMART) information from hard disk drives.
|
||||
|
||||
%package plugin-lua
|
||||
Summary: Lua API for %{name}
|
||||
Group: System/Monitoring
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: lua
|
||||
|
||||
%description plugin-lua
|
||||
Optional %{name} lua API in order to write %{name} plugins in lua.
|
||||
|
||||
%package plugin-gps
|
||||
Summary: Gpsd Mnitoring Plugin for %{name}
|
||||
Group: System/Monitoring
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description plugin-gps
|
||||
Optional %{name} plugin to monitor gpsd.
|
||||
|
||||
%package plugins-all
|
||||
Summary: All Monitoring Plugins for %{name}
|
||||
Group: System/Monitoring
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-plugin-gps = %{version}-%{release}
|
||||
Requires: %{name}-plugin-lua = %{version}-%{release}
|
||||
Requires: %{name}-plugin-python = %{version}-%{release}
|
||||
Requires: %{name}-plugin-smart = %{version}-%{release}
|
||||
Requires: %{name}-web = %{version}-%{release}
|
||||
@ -566,7 +586,6 @@ to write %{name} unixsock clients.
|
||||
%if 0%{?suse_version} <= 1140 && !0%{?sles_version}
|
||||
%patch24 -p1
|
||||
%endif
|
||||
%patch25 -p1
|
||||
|
||||
sed -i 's|@@VERSION@@|%{version}|g' configure.ac
|
||||
|
||||
@ -989,6 +1008,17 @@ ln -s "../..%{_initddir}/collectd" "%{buildroot}%{_sbindir}/rccollectd"
|
||||
%{_libdir}/collectd/smart.so
|
||||
%{_libdir}/collectd/smart.la
|
||||
|
||||
%files plugin-lua
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/collectd/lua.so
|
||||
%{_libdir}/collectd/lua.la
|
||||
%doc %{_mandir}/man5/collectd-lua.5%{ext_man}
|
||||
|
||||
%files plugin-gps
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/collectd/gps.so
|
||||
%{_libdir}/collectd/gps.la
|
||||
|
||||
%files spamassassin
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/spamassassin
|
||||
|
Loading…
Reference in New Issue
Block a user