forked from pool/collectd
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
This commit is contained in:
parent
5788d17fe3
commit
a0e936bb06
@ -93,16 +93,16 @@ index 8a325fe..a44c95e 100644
|
||||
struct sr_dev_driver *drv) {
|
||||
struct sr_config *src;
|
||||
GSList *devlist, *drvopts;
|
||||
@@ -248,21 +249,22 @@ static int sigrok_init_driver(struct config_device *cfdev,
|
||||
@@ -248,21 +249,22 @@
|
||||
cfdev->sdi = devlist->data;
|
||||
g_slist_free(devlist);
|
||||
snprintf(hwident, sizeof(hwident), "%s %s %s",
|
||||
- cfdev->sdi->vendor ? cfdev->sdi->vendor : "",
|
||||
- cfdev->sdi->model ? cfdev->sdi->model : "",
|
||||
- cfdev->sdi->version ? cfdev->sdi->version : "");
|
||||
+ sr_dev_inst_vendor_get(cfdev->sdi),
|
||||
+ sr_dev_inst_model_get(cfdev->sdi),
|
||||
+ sr_dev_inst_version_get(cfdev->sdi));
|
||||
ssnprintf(hwident, sizeof(hwident), "%s %s %s",
|
||||
- cfdev->sdi->vendor ? cfdev->sdi->vendor : "",
|
||||
- cfdev->sdi->model ? cfdev->sdi->model : "",
|
||||
- cfdev->sdi->version ? cfdev->sdi->version : "");
|
||||
+ sr_dev_inst_vendor_get(cfdev->sdi),
|
||||
+ sr_dev_inst_model_get(cfdev->sdi),
|
||||
+ sr_dev_inst_version_get(cfdev->sdi));
|
||||
INFO("sigrok plugin: Device \"%s\" is a %s", cfdev->name, hwident);
|
||||
|
||||
if (sr_dev_open(cfdev->sdi) != SR_OK)
|
||||
|
3
collectd-5.10.0.tar.bz2
Normal file
3
collectd-5.10.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a03359f563023e744c2dc743008a00a848f4cd506e072621d86b6d8313c0375b
|
||||
size 1856377
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7b220f8898a061f6e7f29a8c16697d1a198277f813da69474a67911097c0626b
|
||||
size 1899573
|
@ -1,4 +1,101 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 14:02:12 UTC 2019 - Christian Vögl <cvoegl@suse.de>
|
||||
|
||||
- Update to 5.10.0:
|
||||
* turbostat plugin: Power metrics update for recent server CPUs. Thanks
|
||||
to Chris MacNamara. #3276
|
||||
* turbostat plugin: Fix warnings generated by the turbostat plugin.
|
||||
Thanks to Ryan Mccabe. #3340
|
||||
* ZFS ARC plugin: New cache values are now read on Linux. Thanks to
|
||||
Jan-Philipp Litza. #3247, #2843
|
||||
* connectivity plugin: monitor the network interface up/down status via
|
||||
the netlink library. Thanks to Andrew Bays. #2622
|
||||
* sysevent plugin: A new plugin that monitors rsyslog for system events.
|
||||
Thanks to Andrew Bays. #2624
|
||||
* procevent plugin: A new plugin that monitors process starts/stops via
|
||||
netlink library. Thanks to Andrew Bays. #2623
|
||||
* daemon: Check if plugin actually loaded before reporting configuration
|
||||
issues. Thanks to Pavel Rochnyak. #3217
|
||||
* daemon: Recover setlocale() call in src/daemon/collectd.c do_init().
|
||||
Thanks to Pavel Rochnyak. #3181, #3214
|
||||
* Build System: Only include <sys/sysctl.h> when needed. Thanks to Ruben
|
||||
Kerkhof. #3298
|
||||
* Build System: Link to libnsl.so if needed for inet_ntop(). Thanks to
|
||||
Dagobert Michelsen. #3291
|
||||
* Build System: Remove double "without" added by commit b781871. Thanks
|
||||
to Fabrice Fontaine. #3261
|
||||
* Build System: fix compile time issues. Thanks to Matthias Runge.
|
||||
#3179, #3242, #3245
|
||||
* Build System: Fix activation of snmp_agent. Thanks to Fabrice
|
||||
Fontaine. #3241
|
||||
* Build System: Fix bug that leads to CPPFLAGS gets overridden with
|
||||
CFLAGS when libxmms is enabled. Thanks to Dagobert Michelsen. #3207
|
||||
* perl module: Collectd::Plugins::Openvz: Fix indentation of some
|
||||
closing curlies. Thanks to Christian Bartolomäus. #3239
|
||||
* tree-wide: Fix a few issues found with LGTM. Thanks to Ruben Kerkhof.
|
||||
#3252
|
||||
* tree-wide: fix ssnprintf wrapper. Thanks to Fabien Wernli.
|
||||
#3237, #3232, #3235, #3236
|
||||
* tree-wide: Fix make check. Thanks to Ruben Kerkhof. #3306
|
||||
* CI System: Travis: switch to Bionic. Thanks to Ruben Kerkhof. #3307
|
||||
* CI System: Travis improvements for MacOS. Thanks to Ruben Kerkhof.
|
||||
#3308
|
||||
* MySQL plugin: Minor documentation improvements. Thanks to Christian
|
||||
Bartolomäus. #3288
|
||||
* Java plugin: Fix typo in an error message. Thanks to Matthias Runge.
|
||||
#3285, #3286
|
||||
* sysevent plugin: Add a few missing calloc result checks in the
|
||||
sysevent_init function. Thanks to Andrew Bays. #3282
|
||||
* ZFS ARC plugin: A bug that caused the first to values to be skipped
|
||||
was fixed. Thanks to Jan-Philipp Litza. #3246
|
||||
* SysLog plugin: restore previous behaviour: fallback to info for
|
||||
unsupported level. Thanks to Fabien Wernli. #3236, #3238
|
||||
* virt plugin: Fix memory leak with libvirt MetadataXPath enabled.
|
||||
Thanks to Pavel Rochnyak. #3225, #3228
|
||||
* GPU NVidia plugin: Fix build of the plugin. Thanks to Ruben Kerkhof.
|
||||
#3320
|
||||
- Changes from 5.9.2:
|
||||
* syslog plugin: Don't fail if syslog loglevel doesn't match. Thanks to
|
||||
Fabien Wernli. #3236 #3238
|
||||
* collectd: Fix ssnprintf wrapper. Thanks to Fabien Wernli. #3237
|
||||
* rdt plugin: Fix compile time issues. Thanks to Matthias Runge. #3245
|
||||
- Changes from 5.9.1:
|
||||
* collectd: regex match: Fix unexpected match with empty meta data .
|
||||
Thanks to Takuro Ashie. #3178
|
||||
* collectd: Fix return value or loglevel for several plugins. Thanks to
|
||||
Fabien Wernli. #3182
|
||||
* collectd: Add standard include early or _FILE_OFFSET_BITS will have
|
||||
definition … . Thanks to Dagobert Michelsen. #3193
|
||||
* collectd: Use GCC-specific flags only when compiling with GCC. Thanks
|
||||
to Dagobert Michelsen. #3195
|
||||
* Use test_utils_proc_pids only when compiling the plugin that uses it.
|
||||
Thanks to Dagobert Michelsen. #3197
|
||||
* DNS plugin: Do not use headers from glibc. Thanks to Pavel Rochnyak.
|
||||
#3156, #3145
|
||||
* collectd: Add missing definitions for libnetsnmpagent. Thanks to
|
||||
Dagobert Michelsen. #3203
|
||||
* collectd: Move Makefile rules for pid_test inside conditional for
|
||||
code. Thanks to Dagobert Michelsen. #3206
|
||||
* collectd: Recover setlocale() call in src/daemon/collectd.c do_init().
|
||||
Thanks to Pavel Rochnyak. #3214, #3181
|
||||
* collectd: Add snprintf wrapper for GCC 8.2/3. Thanks to zebity. #3153,
|
||||
#2895, #3038
|
||||
* collectd: Fix bug that leads to CPPFLAGS gets overridden with CFLAGS
|
||||
when libxmms is enabled. Thanks to Dagobert Michelsen. #3207
|
||||
* Write_Riemann plugin: Copy MetaData to Riemann events in
|
||||
write_riemann. Thanks to Romain Tartière. #3158
|
||||
* virt plugin: Fix memory leak with libvirt MetadataXPath enabled.
|
||||
Thanks to Pavel Rochnyak. #3225, #3230
|
||||
-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
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 19:54:45 UTC 2019 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to 5.9.0:
|
||||
|
106
collectd.spec
106
collectd.spec
@ -34,6 +34,20 @@
|
||||
wireless write_graphite write_http write_log write_sensu write_tsdb write_prometheus \\\
|
||||
zfs_arc zookeeper
|
||||
|
||||
%if !0%{?is_opensuse}
|
||||
%if 0%{?sle_version} <= 150100
|
||||
%define lvm2app 1
|
||||
%else
|
||||
%define lvm2app 0
|
||||
%endif
|
||||
%else
|
||||
%if !0%{?suse_version} > 1500
|
||||
%define lvm2app 1
|
||||
%else
|
||||
%define lvm2app 0
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%ifnarch s390 s390x
|
||||
%define sensors 1
|
||||
%define sensors_plugin sensors
|
||||
@ -42,7 +56,7 @@
|
||||
%define sensors_plugin %{nil}
|
||||
%endif
|
||||
Name: collectd
|
||||
Version: 5.9.0
|
||||
Version: 5.10.0
|
||||
Release: 0
|
||||
Summary: Statistics Collection Daemon for filling RRD Files
|
||||
License: GPL-2.0-only AND MIT
|
||||
@ -97,7 +111,11 @@ BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: xfsprogs-devel
|
||||
BuildRequires: pkgconfig(OpenIPMI)
|
||||
BuildRequires: pkgconfig(OpenIPMIpthread)
|
||||
%if 0%{?sle_version} < 150000 || 0%{?is_opensuse}
|
||||
BuildRequires: pkgconfig(Qgpsmm)
|
||||
BuildRequires: pkgconfig(libgps)
|
||||
BuildRequires: pkgconfig(libsigrok)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(dbi)
|
||||
BuildRequires: pkgconfig(devmapper)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
@ -108,7 +126,6 @@ BuildRequires: pkgconfig(libart-2.0)
|
||||
BuildRequires: pkgconfig(libatasmart)
|
||||
BuildRequires: pkgconfig(libcurl)
|
||||
BuildRequires: pkgconfig(libevent)
|
||||
BuildRequires: pkgconfig(libgps)
|
||||
BuildRequires: pkgconfig(libiptc)
|
||||
BuildRequires: pkgconfig(libmemcached)
|
||||
BuildRequires: pkgconfig(libmicrohttpd)
|
||||
@ -117,14 +134,14 @@ BuildRequires: pkgconfig(libnotify)
|
||||
BuildRequires: pkgconfig(liboping)
|
||||
BuildRequires: pkgconfig(libpq)
|
||||
BuildRequires: pkgconfig(librrd)
|
||||
BuildRequires: pkgconfig(libsigrok)
|
||||
BuildRequires: pkgconfig(libstatgrab)
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(libupsclient)
|
||||
BuildRequires: pkgconfig(libvirt)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(lua)
|
||||
%if %{?lvm2app}
|
||||
BuildRequires: pkgconfig(lvm2app)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: pkgconfig(xtables)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
@ -240,6 +257,7 @@ Requires: %{name} = %{version}-%{release}
|
||||
This plugin for collectd provides Network UPS Tools support.
|
||||
%endif
|
||||
|
||||
%if %{?lvm2app}
|
||||
%package plugin-lvm
|
||||
Summary: LVM plugin for collectd
|
||||
Group: System/Monitoring
|
||||
@ -247,6 +265,7 @@ Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description plugin-lvm
|
||||
This plugin collects information from lvm.
|
||||
%endif
|
||||
|
||||
%package plugin-pcie
|
||||
Summary: PCIe Monitoring Plugin for %{name}
|
||||
@ -317,6 +336,7 @@ Requires: %{name} = %{version}-%{release}
|
||||
Optional %{name} plugin to receive and dispatch timing values from Pinba, a
|
||||
profiling extension for PHP.
|
||||
|
||||
%if 0%{?sle_version} < 150000 || 0%{?is_opensuse}
|
||||
%package plugin-sigrok
|
||||
Summary: Sigrok Monitoring Plugin for %{name}
|
||||
Group: System/Monitoring
|
||||
@ -325,6 +345,7 @@ Requires: %{name} = %{version}-%{release}
|
||||
%description plugin-sigrok
|
||||
Optional %{name} plugin to collect measurements from
|
||||
various devices supported by libsigrok.
|
||||
%endif
|
||||
|
||||
%package plugin-smart
|
||||
Summary: SMART Monitoring Plugin for %{name}
|
||||
@ -344,6 +365,7 @@ Requires: lua
|
||||
%description plugin-lua
|
||||
Optional %{name} Lua API in order to write %{name} plugins in Lua.
|
||||
|
||||
%if 0%{?sle_version} < 150000 || 0%{?is_opensuse}
|
||||
%package plugin-gps
|
||||
Summary: GPSD monitoring plugin for %{name}
|
||||
Group: System/Monitoring
|
||||
@ -351,6 +373,7 @@ Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description plugin-gps
|
||||
Optional %{name} plugin to monitor gpsd.
|
||||
%endif
|
||||
|
||||
%package plugin-mcelog
|
||||
Summary: Machine Check Exceptions plugin for %{name}
|
||||
@ -392,16 +415,56 @@ Requires: %{name} = %{version}-%{release}
|
||||
%description plugin-write_syslog
|
||||
Optional %{name} plugin to write values lists as syslog messages.
|
||||
|
||||
%package plugin-uptime
|
||||
Summary: Uptime plugin for %{name}
|
||||
Group: System/Monitoring
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description plugin-uptime
|
||||
Optional %{name} plugin to collect system uptime statistics.
|
||||
|
||||
%package plugin-connectivity
|
||||
Summary: Connectivity plugin for %{name}
|
||||
Group: System/Monitoring
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description plugin-connectivity
|
||||
Optional %{name} plugin to collect Event-based interface status.
|
||||
|
||||
|
||||
%package plugin-procevent
|
||||
Summary: Procevent plugin for %{name}
|
||||
Group: System/Monitoring
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description plugin-procevent
|
||||
Optional %{name} plugin to listen for process starts and exits via netlink.
|
||||
|
||||
|
||||
%package plugin-sysevent
|
||||
Summary: Sysevent plugin for %{name}
|
||||
Group: System/Monitoring
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description plugin-sysevent
|
||||
Optional %{name} plugin to listen to rsyslog events and submit matched values.
|
||||
.
|
||||
|
||||
%package plugins-all
|
||||
Summary: All Monitoring Plugins for %{name}
|
||||
Group: System/Monitoring
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-plugin-connectivity = %{version}-%{release}
|
||||
Requires: %{name}-plugin-dbi = %{version}-%{release}
|
||||
%if 0%{?sle_version} < 150000 || 0%{?is_opensuse}
|
||||
Requires: %{name}-plugin-gps = %{version}-%{release}
|
||||
%endif
|
||||
Requires: %{name}-plugin-ipmi = %{version}-%{release}
|
||||
Requires: %{name}-plugin-java = %{version}-%{release}
|
||||
Requires: %{name}-plugin-lua = %{version}-%{release}
|
||||
%if %{?lvm2app}
|
||||
Requires: %{name}-plugin-lvm = %{version}-%{release}
|
||||
%endif
|
||||
Requires: %{name}-plugin-mcelog = %{version}-%{release}
|
||||
Requires: %{name}-plugin-memcachec = %{version}-%{release}
|
||||
Requires: %{name}-plugin-mysql = %{version}-%{release}
|
||||
@ -411,11 +474,16 @@ 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-procevent = %{version}-%{release}
|
||||
Requires: %{name}-plugin-python3 = %{version}-%{release}
|
||||
%if 0%{?sle_version} < 150000 || 0%{?is_opensuse}
|
||||
Requires: %{name}-plugin-sigrok = %{version}-%{release}
|
||||
%endif
|
||||
Requires: %{name}-plugin-smart = %{version}-%{release}
|
||||
Requires: %{name}-plugin-snmp = %{version}-%{release}
|
||||
Requires: %{name}-plugin-synproxy = %{version}-%{release}
|
||||
Requires: %{name}-plugin-sysevent = %{version}-%{release}
|
||||
Requires: %{name}-plugin-uptime = %{version}-%{release}
|
||||
Requires: %{name}-plugin-virt = %{version}-%{release}
|
||||
Requires: %{name}-plugin-write_stackdriver = %{version}-%{release}
|
||||
Requires: %{name}-plugin-write_syslog = %{version}-%{release}
|
||||
@ -688,9 +756,11 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
%{_libdir}/collectd/snmp*.la
|
||||
%{_mandir}/man5/collectd-snmp.5%{?ext_man}
|
||||
|
||||
%if %{?lvm2app}
|
||||
%files plugin-lvm
|
||||
%{_libdir}/collectd/lvm.so
|
||||
%{_libdir}/collectd/lvm.la
|
||||
%endif
|
||||
|
||||
%files plugin-pinba
|
||||
%{_libdir}/collectd/pinba.so
|
||||
@ -733,10 +803,18 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
%{_libdir}/collectd/memcachec.so
|
||||
%{_libdir}/collectd/memcachec.la
|
||||
|
||||
%if 0%{?sle_version} < 150000 || 0%{?is_opensuse}
|
||||
|
||||
%files plugin-sigrok
|
||||
%{_libdir}/collectd/sigrok.so
|
||||
%{_libdir}/collectd/sigrok.la
|
||||
|
||||
%files plugin-gps
|
||||
%{_libdir}/collectd/gps.so
|
||||
%{_libdir}/collectd/gps.la
|
||||
|
||||
%endif
|
||||
|
||||
%files plugin-smart
|
||||
%{_libdir}/collectd/smart.so
|
||||
%{_libdir}/collectd/smart.la
|
||||
@ -746,10 +824,6 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
%{_libdir}/collectd/lua.la
|
||||
%{_mandir}/man5/collectd-lua.5%{?ext_man}
|
||||
|
||||
%files plugin-gps
|
||||
%{_libdir}/collectd/gps.so
|
||||
%{_libdir}/collectd/gps.la
|
||||
|
||||
%files plugin-openldap
|
||||
%{_libdir}/collectd/openldap.so
|
||||
%{_libdir}/collectd/openldap.la
|
||||
@ -774,6 +848,22 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
%{_libdir}/collectd/write_syslog.so
|
||||
%{_libdir}/collectd/write_syslog.la
|
||||
|
||||
%files plugin-uptime
|
||||
%{_libdir}/collectd/check_uptime.la
|
||||
%{_libdir}/collectd/check_uptime.so
|
||||
|
||||
%files plugin-connectivity
|
||||
%{_libdir}/collectd/connectivity.la
|
||||
%{_libdir}/collectd/connectivity.so
|
||||
|
||||
%files plugin-procevent
|
||||
%{_libdir}/collectd/procevent.la
|
||||
%{_libdir}/collectd/procevent.so
|
||||
|
||||
%files plugin-sysevent
|
||||
%{_libdir}/collectd/sysevent.la
|
||||
%{_libdir}/collectd/sysevent.so
|
||||
|
||||
%if 0%{?suse_version} >= 1330
|
||||
%files plugin-nut
|
||||
%{_libdir}/collectd/nut.so
|
||||
|
Loading…
Reference in New Issue
Block a user