SHA256
1
0
forked from pool/collectd
Commit Graph

99 Commits

Author SHA256 Message Date
Dominique Leuenberger
024fadebf4 Accepting request 1072544 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1072544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=45
2023-03-17 16:04:42 +00:00
bcb594ba41 Accepting request 1070953 from home:adkorte:branches:server:monitoring
- Update to version 5.12.0.134.g4cebbfc:
  * Hugepages plugin skips reading write-only file
  * Update the format of contrib/snmp-data.conf
  * [cleanup] Fix typo in comment and remove executable bits of config file
  * Remove upstreamed patch
    - Fix-compile-issue-if-net-snmp-has-NETSNMP_DISABLE_MD5-set.patch
- Change to %bcond style conditional builds
- Disable building NUT plugin in Tumbleweed (fails to build due to changes
  in NUT-2.8.0)
- Minor spec file fixes

OBS-URL: https://build.opensuse.org/request/show/1070953
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=180
2023-03-17 09:07:01 +00:00
Dominique Leuenberger
06f1b32c01 Accepting request 1062319 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1062319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=44
2023-02-01 15:39:10 +00:00
930b12b681 Accepting request 1062318 from home:trenn:branches:server:monitoring
- Update to version 5.12.0.130.g2f3c12e:
  * Fix formatting in mdadm events table
  * Add new exec-borg script to contrib/
  * ChangeLog: v5.12 milestone: Fix issue #3127
  * use derive_t instead of int inside ovs_stats_get_port_stat_value
  * In macOS 12, `IOMasterPort` is deprecated in favor of `IOMainPort`
  * - allow alertmanager correlation and resolve - fix meta names with ':'
  * fix drop probability
  * add config option to write metadata
- Fix build issue if net-snmp has NETSNMP_DISABLE_MD5 set:
A Fix-compile-issue-if-net-snmp-has-NETSNMP_DISABLE_MD5-set.patch
- Use autosetup and adopt patches from -p0 to -p1:
M    collectd-fix-config.patch
M    collectd-fix_spamassassin_doc.patch
- Use obs_scm and others in _service file:
A    _service
A    _servicedata
A    collectd.obsinfo

OBS-URL: https://build.opensuse.org/request/show/1062318
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=178
2023-01-31 17:55:50 +00:00
Dominique Leuenberger
2cdaecde87 Accepting request 959830 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/959830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=43
2022-03-07 16:47:15 +00:00
7ee3a40c09 Accepting request 958044 from home:trenn:branches:server:monitoring
- Add (Build)Requirements for these plugins (jsc#SLE-23472):
    - dpdkevents
    - dpdkstat
    - dpdk_telemetry
  and build a new collected-plugin-dpdk rpm for them
- Enable and add intel_rdt and capabilities to general plugin rpm
- Remove an old configure paramter:
  configure: WARNING: unrecognized options: --without-included-ltdl

OBS-URL: https://build.opensuse.org/request/show/958044
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=176
2022-03-07 10:35:53 +00:00
Dominique Leuenberger
3f9c8e16d7 Accepting request 919583 from server:monitoring
- Fix version mess introduced in previous changes.
  + rabbitmq-c package is available since SLES 15 SP3
    so amqp plugin can be enabled for Tumbleweed or Leap 15.3+
  + libmodbus package is available in SLES 15 SP4 Backports
    so modbus plugin can be enabled for Tumbleweed or Leap 15.4+

OBS-URL: https://build.opensuse.org/request/show/919583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=42
2021-09-16 21:15:05 +00:00
Dirk Stoecker
c6980ffa5b Accepting request 919487 from home:matwey:branches:server:monitoring
- Fix version mess introduced (by me) in previous changes.
  + rabbitmq-c package is available since SLES 15 SP3
    so amqp plugin can be enabled for Tumbleweed or Leap 15.3+
  + libmodbus package is available in SLES 15 SP4 Backports
    so modbus plugin can be enabled for Tumbleweed or Leap 15.4+

OBS-URL: https://build.opensuse.org/request/show/919487
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=175
2021-09-16 19:54:15 +00:00
Dominique Leuenberger
9612bad4f9 Accepting request 918989 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/918989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=41
2021-09-15 20:51:19 +00:00
Dirk Stoecker
8d062caf3e Accepting request 917601 from home:matwey:branches:server:monitoring
- add amqp plugin

OBS-URL: https://build.opensuse.org/request/show/917601
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=174
2021-09-14 19:17:07 +00:00
Dominique Leuenberger
56127b5112 Accepting request 915478 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/915478
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=40
2021-09-01 19:37:09 +00:00
Christian Vögl
fc23dd9e28 Accepting request 915471 from home:cvoegl:branches:server:monitoring
- Disabled the mqtt plugin for SLES and the modbus plugin for 
  everything except Tumpleweed as the dependencies are not met in 
  those distributions
- Added the modbus plugin as dependency to plugins-all

OBS-URL: https://build.opensuse.org/request/show/915471
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=173
2021-09-01 12:18:57 +00:00
Christian Vögl
138347db68 Accepting request 915057 from home:jsegitz:branches:systemdhardening:server:monitoring
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/915057
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=172
2021-09-01 09:02:20 +00:00
Dominique Leuenberger
90c01419e1 Accepting request 907098 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/907098
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=39
2021-07-20 13:39:13 +00:00
Christian Vögl
6b28d49cf9 Accepting request 902833 from home:matwey:branches:server:monitoring
- add modbus plugin

OBS-URL: https://build.opensuse.org/request/show/902833
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=171
2021-07-19 09:32:51 +00:00
Richard Brown
8f5c24d016 Accepting request 875951 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/875951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=38
2021-03-02 11:34:59 +00:00
Christian Vögl
d13e7575ec Accepting request 874650 from home:rmax:branches:server:monitoring
- The bind plugin does not need bind-devel.

OBS-URL: https://build.opensuse.org/request/show/874650
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=169
2021-03-01 10:47:58 +00:00
Dominique Leuenberger
46b75a23a4 Accepting request 860303 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/860303
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=37
2021-01-05 17:13:30 +00:00
Dirk Stoecker
6c8f5daf52 Accepting request 857852 from home:seife:testing
add mqtt plugin

OBS-URL: https://build.opensuse.org/request/show/857852
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=167
2021-01-04 17:46:12 +00:00
Dominique Leuenberger
415e0289c1 Accepting request 836555 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/836555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=36
2020-09-25 14:35:08 +00:00
Christian Vögl
ddb7d3e494 Accepting request 836220 from home:dirkmueller:branches:server:monitoring
- update to 5.12.0:
  * varnish plugin: Added varnish 6 support.
  * amqp1 plugin: New options to limit send queue length has been added.
  * mdevents plugin: New plugin to generate notifications about events
  * amqp plugin: Updated option to allow multiple hosts to support
    failover.
  * mysql plugin: Reporting of the fields Slave_IO_Running and
    Slave_SQL_Running has been added.
  * write_http plugin: libcurl default HTTP response has been moved to a
    buffer instead of stdout.
  * disk plugin: Provided an udev rule with ID_SERIAL based attribute so
    disk and partition data don't get mixed incorrectly in udev-based disk
    naming. 
  * swap plugin: Implementation for NetBSD has been added.
  * netstat_udp plugin: New plugin ((currently NetBSD-only) to report UDP
    summary statistics has been aded.
  * smart plugin: SMART plugin has been extended with NVMe device
    functionality. 
  * infiniband plugin: New plugin to collect metrics about IB ports has
    been added.
  * snmp plugin: Count option was added allowing to gather the number of
    table entries (matching given criteria) rather than their values.
  * cpu plugin: Implementation for NetBSD has been added.
  * irq plugin: Implementation for NetBSD has been added.
  * processes plugin: Implementation for NetBSD has been added.
  * entropy plugin: Implementation for NetBSD has been added.
  * netlink plugin: VFs statistics and link info has been added.
  * memory plugin: Implementation for NetBSD has been added.
  * curl_jolokia plugin: New plugin has been added to integrate jolokia to
    fetch jmx counters via HTTP/json. Thanks to Wilfried Goesgens. #2470

OBS-URL: https://build.opensuse.org/request/show/836220
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=165
2020-09-24 12:24:39 +00:00
Dominique Leuenberger
53acfb26d2 Accepting request 818825 from server:monitoring
collectd 5.11

OBS-URL: https://build.opensuse.org/request/show/818825
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=35
2020-07-06 14:29:08 +00:00
5e424461c4 Accepting request 817908 from home:cvoegl:branches:server:monitoring
- Update to 5.11
  * Adds buddyinfo, logparser, ubi, and write_influxdb_udp plugins
  * Remove lvm plugin
  * Multiple bugfixes/improvements
- update collectd-fix_collection_cgi.patch

OBS-URL: https://build.opensuse.org/request/show/817908
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=163
2020-07-05 07:15:39 +00:00
Dominique Leuenberger
6289c5212d Accepting request 769490 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/769490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=34
2020-02-04 18:52:21 +00:00
Christian Vögl
24c5d1a170 Accepting request 768330 from home:dimstar:Factory
- Cleanup BuildRequires that are not actually in use:
  pkgconfig(devmapper),  pkgconfig(freetype2), pkgconfig(gail),
  pkgconfig(gdk-2.0),  pkgconfig(gtk+-2.0), pkgconfig(libart-2.0).

OBS-URL: https://build.opensuse.org/request/show/768330
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=161
2020-02-03 09:46:13 +00:00
Dominique Leuenberger
7422b98f58 Accepting request 751118 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/751118
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=33
2019-11-27 12:55:22 +00:00
Christian Vögl
e3fd9afdfa Accepting request 751116 from home:cvoegl:branches:server:monitoring
correct typo in changelog, add forgotten jira tag

OBS-URL: https://build.opensuse.org/request/show/751116
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=159
2019-11-26 17:41:39 +00:00
Dominique Leuenberger
eaae5e4047 Accepting request 751020 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/751020
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=32
2019-11-26 16:09:59 +00:00
Christian Vögl
a0e936bb06 Accepting request 750839 from home:cvoegl:branches:server:monitoring
- Update to 5.10.0:
 -Disabled Plugins due to missing dependencies:
  * lvm on Factory, Tumbleweed, Leap15.3 and SLES_15-SP3
  * gps and sigrok on SLES_15 and later
-Removed libstatgrab from buildrequires: only needed for non-Linux systems.
-Rebased patch 9e36cd85a2bb_sigrok_Update_to_support_libsigrok_0_4.patch
-Add new subpackages:
  * plugin-sysevent
  * plugin-procevent
  * plugin-uptime

OBS-URL: https://build.opensuse.org/request/show/750839
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=157
2019-11-26 11:48:59 +00:00
Dominique Leuenberger
c3191c04e7 Accepting request 709935 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/709935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=31
2019-06-19 19:07:39 +00:00
Dirk Stoecker
5788d17fe3 Accepting request 709801 from home:mnhauke:monitoring
- Update to 5.9.0:
+- Drop patches (fixed by upstream):
+  * 0001-gps-plugin-fix-build-with-newer-gpsd.patch
+  * Removed-checks-for-upper-limit-of-SENSORS_API_VERSION.patch
+- Add new subpackages:
+  * plugin-pcie
+  * plugin-write_stackdriver
+  * plugin-write_syslog
+
+-------------------------------------------------------------------
 Sun Apr 14 12:37:27 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
 
 - Update to 5.8.1:
Index: collectd.spec
===================================================================
--- collectd.spec (revision 154)
+++ collectd.spec (revision 9)
@@ -42,7 +42,7 @@
 %define sensors_plugin %{nil}
 %endif
 Name:           collectd
-Version:        5.8.1
+Version:        5.9.0
 Release:        0
 Summary:        Statistics Collection Daemon for filling RRD Files
 License:        GPL-2.0-only AND MIT
@@ -62,8 +62,6 @@
 Patch6:         collectd-fix_spamassassin_doc.patch
 Patch7:         collectd-fix_collectd_config_path_in_snmp_probe.patch
 Patch8:         9e36cd85a2bb_sigrok_Update_to_support_libsigrok_0_4.patch
-Patch9:         0001-gps-plugin-fix-build-with-newer-gpsd.patch
-Patch10:        Removed-checks-for-upper-limit-of-SENSORS_API_VERSION.patch
 # PATCH-FIX-OPENSUSE avoid-pg-config.patch avoid pg_config if possible
 Patch11:        avoid-pg-config.patch
 # for /etc/apache2/... ownership (rpmlint):
@@ -110,7 +108,6 @@
 BuildRequires:  pkgconfig(libatasmart)
 BuildRequires:  pkgconfig(libcurl)
 BuildRequires:  pkgconfig(libevent)
-#BuildRequires:  pkgconfig(libgpsd)
 BuildRequires:  pkgconfig(libgps)
 BuildRequires:  pkgconfig(libiptc)
 BuildRequires:  pkgconfig(libmemcached)
@@ -251,6 +248,14 @@
 %description plugin-lvm
 This plugin collects information from lvm.
 
+%package plugin-pcie
+Summary:        PCIe Monitoring Plugin for %{name}
+Group:          System/Monitoring
+Requires:       %{name} = %{version}-%{release}
+
+%description plugin-pcie
+Optional %{name} plugin to monitor PCIe errors.
+
 %package plugin-postgresql
 Summary:        PostgreSQL Monitoring Plugin for %{name}
 Group:          System/Monitoring
@@ -371,6 +376,22 @@
 %description plugin-synproxy
 Optional %{name} plugin to monitor Synproxy stats.
 
+%package plugin-write_stackdriver
+Summary:        Write Stackdriver plugin for %{name}
+Group:          System/Monitoring
+Requires:       %{name} = %{version}-%{release}
+
+%description plugin-write_stackdriver
+Optional %{name} plugin to to write to Google Stackdriver.
+
+%package plugin-write_syslog
+Summary:        Write Syslog plugin for %{name}
+Group:          System/Monitoring
+Requires:       %{name} = %{version}-%{release}
+
+%description plugin-write_syslog
+Optional %{name} plugin to write values lists as syslog messages.
+
 %package plugins-all
 Summary:        All Monitoring Plugins for %{name}
 Group:          System/Monitoring
@@ -387,6 +408,7 @@
 Requires:       %{name}-plugin-notify-desktop = %{version}-%{release}
 Requires:       %{name}-plugin-openldap = %{version}-%{release}
 Requires:       %{name}-plugin-ovs = %{version}-%{release}
+Requires:       %{name}-plugin-pcie = %{version}-%{release}
 Requires:       %{name}-plugin-pinba = %{version}-%{release}
 Requires:       %{name}-plugin-postgresql = %{version}-%{release}
 Requires:       %{name}-plugin-python3 = %{version}-%{release}
@@ -395,6 +417,8 @@
 Requires:       %{name}-plugin-snmp = %{version}-%{release}
 Requires:       %{name}-plugin-synproxy = %{version}-%{release}
 Requires:       %{name}-plugin-virt = %{version}-%{release}
+Requires:       %{name}-plugin-write_stackdriver = %{version}-%{release}
+Requires:       %{name}-plugin-write_syslog = %{version}-%{release}
 Requires:       %{name}-web = %{version}-%{release}
 Requires:       %{name}-web-js = %{version}-%{release}
 %if 0%{?suse_version} >= 1330
@@ -447,8 +471,6 @@
 %if 0%{?suse_version} > 1320
 %patch8 -p1
 %endif
-%patch9 -p1
-%patch10 -p1
 %patch11 -p1
 
 sed -i 's|@@VERSION@@|%{version}|g' configure.ac
@@ -678,6 +700,10 @@
 %{_libdir}/collectd/mysql.so
 %{_libdir}/collectd/mysql.la
 
+%files plugin-pcie
+%{_libdir}/collectd/pcie_errors.so
+%{_libdir}/collectd/pcie_errors.la
+
 %files plugin-postgresql
 %{_libdir}/collectd/postgresql.so
 %{_libdir}/collectd/postgresql.la
@@ -740,6 +766,14 @@
 %{_libdir}/collectd/synproxy.so
 %{_libdir}/collectd/synproxy.la
 
+%files plugin-write_stackdriver
+%{_libdir}/collectd/write_stackdriver.so
+%{_libdir}/collectd/write_stackdriver.la
+
+%files plugin-write_syslog
+%{_libdir}/collectd/write_syslog.so
+%{_libdir}/collectd/write_syslog.la
+
 %if 0%{?suse_version} >= 1330
 %files plugin-nut
 %{_libdir}/collectd/nut.so
Index: collectd-5.9.0.tar.bz2
===================================================================
Binary file collectd-5.9.0.tar.bz2 (revision 9) added
Index: 0001-gps-plugin-fix-build-with-newer-gpsd.patch
===================================================================
--- 0001-gps-plugin-fix-build-with-newer-gpsd.patch (revision 154)
+++ 0001-gps-plugin-fix-build-with-newer-gpsd.patch (deleted)
@@ -1,41 +0,0 @@
-From d5ec9075510601537cc76be4417ab337364506d0 Mon Sep 17 00:00:00 2001
-From: Baruch Siach <baruch@tkos.co.il>
-Date: Tue, 9 Oct 2018 19:57:21 +0300
-Subject: [PATCH] gps plugin: fix build with newer gpsd
-
-gpsd version 3.18 changed the prototype of gps_read(). Make the
-gps_read() call depend on GPSD_API_MAJOR_VERSION to fix that.
-
-This fixes build failures like:
-
-gps.c: In function 'cgps_thread':
-gps.c:144:11: error: too few arguments to function 'gps_read'
-       if (gps_read(&gpsd_conn) == -1) {
-		   ^~~~~~~~
-
-(cherry picked from commit 991a6d3fd38c2435d94de3853fda36b3330cf6ab)
----
- src/gps.c | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/src/gps.c b/src/gps.c
-index 1d32d049..b22c3a2e 100644
---- a/src/gps.c
-+++ b/src/gps.c
-@@ -141,7 +141,12 @@ static void *cgps_thread(void *pData) {
-         continue;
-       }
- 
--      if (gps_read(&gpsd_conn) == -1) {
-+#if GPSD_API_MAJOR_VERSION > 6
-+      if (gps_read(&gpsd_conn, NULL, 0) == -1)
-+#else
-+      if (gps_read(&gpsd_conn) == -1)
-+#endif
-+      {
-         WARNING("gps plugin: incorrect data! (err_count: %d)", err_count);
-         err_count++;
- 
--- 
-2.16.4
-
Index: Removed-checks-for-upper-limit-of-SENSORS_API_VERSION.patch
===================================================================
--- Removed-checks-for-upper-limit-of-SENSORS_API_VERSION.patch (revision 154)
+++ Removed-checks-for-upper-limit-of-SENSORS_API_VERSION.patch (deleted)
@@ -1,83 +0,0 @@
-From d5a3c020d33cc33ee8049f54c7b4dffcd123bf83 Mon Sep 17 00:00:00 2001
-From: Pavel Rochnyack <pavel2000@ngs.ru>
-Date: Mon, 3 Dec 2018 18:34:14 +0700
-Subject: [PATCH] sensors: Removed checks for upper limit of
- SENSORS_API_VERSION
-
-That makes no more sense after lm-sensors got new maintainers.
-
-Closes: #3006
----
- src/sensors.c | 17 ++++++-----------
- 1 file changed, 6 insertions(+), 11 deletions(-)
-
-diff --git a/src/sensors.c b/src/sensors.c
-index f4ecda5e49..33982e061a 100644
---- a/src/sensors.c
-+++ b/src/sensors.c
-@@ -149,7 +149,7 @@ typedef struct featurelist {
- static char *conffile = SENSORS_CONF_PATH;
- /* #endif SENSORS_API_VERSION < 0x400 */
- 
--#elif (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500)
-+#elif (SENSORS_API_VERSION >= 0x400)
- typedef struct featurelist {
-   const sensors_chip_name *chip;
-   const sensors_feature *feature;
-@@ -159,11 +159,6 @@ typedef struct featurelist {
- 
- static char *conffile = NULL;
- static _Bool use_labels = 0;
--/* #endif (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500) */
--
--#else /* if SENSORS_API_VERSION >= 0x500 */
--#error "This version of libsensors is not supported yet. Please report this " \
--	"as bug."
- #endif
- 
- static featurelist_t *first_feature = NULL;
-@@ -223,7 +218,7 @@ static int sensors_config(const char *key, const char *value) {
-     if (IS_TRUE(value))
-       ignorelist_set_invert(sensor_list, 0);
-   }
--#if (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500)
-+#if (SENSORS_API_VERSION >= 0x400)
-   else if (strcasecmp(key, "UseLabels") == 0) {
-     use_labels = IS_TRUE(value) ? 1 : 0;
-   }
-@@ -353,7 +348,7 @@ static int sensors_load_conf(void) {
-   }   /* while sensors_get_detected_chips */
- /* #endif SENSORS_API_VERSION < 0x400 */
- 
--#elif (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500)
-+#elif (SENSORS_API_VERSION >= 0x400)
-   chip_num = 0;
-   while ((chip = sensors_get_detected_chips(NULL, &chip_num)) != NULL) {
-     const sensors_feature *feature;
-@@ -410,7 +405,7 @@ static int sensors_load_conf(void) {
-       } /* while (subfeature) */
-     }   /* while (feature) */
-   }     /* while (chip) */
--#endif /* (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500) */
-+#endif /* (SENSORS_API_VERSION >= 0x400) */
- 
-   if (first_feature == NULL) {
-     sensors_cleanup();
-@@ -485,7 +480,7 @@ static int sensors_read(void) {
-   } /* for fl = first_feature .. NULL */
- /* #endif SENSORS_API_VERSION < 0x400 */
- 
--#elif (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500)
-+#elif (SENSORS_API_VERSION >= 0x400)
-   for (featurelist_t *fl = first_feature; fl != NULL; fl = fl->next) {
-     double value;
-     int status;
-@@ -528,7 +523,7 @@ static int sensors_read(void) {
- 
-     sensors_submit(plugin_instance, type, type_instance, value);
-   } /* for fl = first_feature .. NULL */
--#endif /* (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500) */
-+#endif /* (SENSORS_API_VERSION >= 0x400) */
- 
-   return 0;
- } /* int sensors_read */
Index: collectd-5.8.1.tar.bz2
===================================================================
Binary file collectd-5.8.1.tar.bz2 (revision 154) deleted

OBS-URL: https://build.opensuse.org/request/show/709801
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=155
2019-06-14 09:02:25 +00:00
Lars Vogdt
8c70fab9da Accepting request 694073 from home:cgiboudeaux:branches:server:monitoring
Update to 5.8.1
Add patch to fix the psql detection on Factory builds.

OBS-URL: https://build.opensuse.org/request/show/694073
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=154
2019-04-27 10:18:32 +00:00
Dominique Leuenberger
918690d075 Accepting request 661974 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/661974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=30
2019-01-03 17:06:47 +00:00
Lars Vogdt
7cc84ff94d Accepting request 661966 from home:mnhauke:monitoring
- Add patch:
  * 0001-gps-plugin-fix-build-with-newer-gpsd.patch

OBS-URL: https://build.opensuse.org/request/show/661966
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=152
2018-12-29 16:55:28 +00:00
Yuchen Lin
83f9217215 Accepting request 615438 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/615438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=29
2018-06-13 13:38:50 +00:00
Lars Vogdt
892240d373 Accepting request 614917 from home:mnhauke:monitoring
- Fix BuildRequires for collectd-web
- Make apache configuration files compatible with Apache v2.2 and v2.4

OBS-URL: https://build.opensuse.org/request/show/614917
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=150
2018-06-09 17:01:18 +00:00
Dominique Leuenberger
c34aaa962e Accepting request 558934 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/558934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=28
2017-12-21 10:30:00 +00:00
Lars Vogdt
c467a02b36 Accepting request 556716 from home:StefanBruens:branches:server:monitoring
- Buildrequires for gpsd changed, upstream renamed the pkgconfig
  file in gpsd 3.17.

OBS-URL: https://build.opensuse.org/request/show/556716
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=148
2017-12-20 22:19:12 +00:00
Dominique Leuenberger
217098be56 Accepting request 537437 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/537437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=27
2017-10-30 20:19:00 +00:00
Lars Vogdt
b82746cbd4 Accepting request 532580 from home:StefanBruens:branches:server:monitoring
- Sort list of plugins bundled in main package, add line breaks
- Add BuildRequires for libsigrok and create a sigrok plugin
  subpackage
- Add 9e36cd85a2bb_sigrok_Update_to_support_libsigrok_0_4.patch
  Apply patch conditionally for libsigrok >= 0.4.0, the API
  is different from the libsigrok 0.3.0 API.

OBS-URL: https://build.opensuse.org/request/show/532580
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=146
2017-10-29 16:50:16 +00:00
Dominique Leuenberger
87630acead Accepting request 514040 from server:monitoring
1

OBS-URL: https://build.opensuse.org/request/show/514040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=26
2017-08-24 16:43:51 +00:00
Yuchen Lin
0c774b2ae8 Accepting request 510091 from home:scarabeus_iv:branches:server:monitoring
- Disable NUT plugin on older distros (broken NUT devel package)
- Make sure we build lvm plugin
- Disable turbostat plugin as it does not work with new kernels
  https://github.com/collectd/collectd/issues/2311
- Version update to 5.7.2:
  * Various small fixes around, notable fix for CVE-2017-7401
- Update buildrequires to include dependencies not detected by
  configure.ac (like python3)
- Disable Werror
- List all the modules in files and thus stick to --enable-all passed
  to configure to avoid having to name them all
- Switch to python3 from python2 as plugin can be built only once...
- Fix build on Factory
- Remove unused collectd-pthread.pc SOURCE file as it does not
  need to be done anymore

- Remove all the always true conditionals for readability
- Convert to pkgconfig style dependencies
- Remove never applied patch collectd-pkgconfig_libnotify_add_gtk.patch

- Disable libdb collectd integration as we would like to reduce
  libdb exposure everywhere. There are other db backends in collectd
  anyway

OBS-URL: https://build.opensuse.org/request/show/510091
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=144
2017-08-02 12:18:42 +00:00
Lars Vogdt
58038c9325 Accepting request 498235 from home:jengelh:branches:server:monitoring
- Trim filler wording from descriptions, resolve orthographic
  errors, and shorten a find–delete call.

OBS-URL: https://build.opensuse.org/request/show/498235
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=143
2017-06-21 10:00:54 +00:00
Lars Vogdt
c5eb679480 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
2017-05-17 22:05:22 +00:00
Dominique Leuenberger
9227f18840 Accepting request 477594 from server:monitoring
1

OBS-URL: https://build.opensuse.org/request/show/477594
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=25
2017-03-12 19:03:11 +00:00
Lars Vogdt
920135a3ed Accepting request 461722 from home:seife:testing
do not create a journal entry for every PUTVAL e.g. from the exec plugin, collectd-5.4.1-exec-no-output.diff, some other cleanups

I am using this for over 2 years now, it's time to get this into factory / Leap proper :-)

OBS-URL: https://build.opensuse.org/request/show/461722
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=140
2017-03-07 18:27:47 +00:00
Dominique Leuenberger
0869419cd4 Accepting request 419624 from server:monitoring
1

OBS-URL: https://build.opensuse.org/request/show/419624
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=24
2016-08-17 10:06:22 +00:00
b863b95336 Accepting request 419269 from home:benoit_monin:branches:server:monitoring
put the SMART plugin in a separate sub-package

OBS-URL: https://build.opensuse.org/request/show/419269
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=138
2016-08-16 13:11:34 +00:00
Lars Vogdt
51a752b6cc Accepting request 419179 from home:benoit_monin:branches:server:monitoring
- update to upstream version 5.5.2
- update patch collectd-fix_broken_perl-5.10.patch
- drop patch collectd-df-remove-duplicates.patch: fixed upstream
- add libatasmart-devel and libudev-devel as BuildRequires to enable the SMART plugin

OBS-URL: https://build.opensuse.org/request/show/419179
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=137
2016-08-14 12:49:05 +00:00
Dominique Leuenberger
513eb939bc Accepting request 407084 from server:monitoring
Use the correct contrib/systemd.collectd.service in stead of contrib/collectd.service this fixes, boo#987462 (forwarded request 407083 from worldcitizen)

OBS-URL: https://build.opensuse.org/request/show/407084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=23
2016-07-12 21:51:58 +00:00