SHA256
1
0
forked from pool/collectd

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
This commit is contained in:
Dominique Leuenberger 2021-09-15 20:51:19 +00:00 committed by Git OBS Bridge
commit 9612bad4f9
2 changed files with 29 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 8 14:08:46 UTC 2021 - Matwey Kornilov <matwey.kornilov@gmail.com>
- add amqp plugin
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 1 11:14:56 UTC 2021 - Christian Vögl <christian.voegl@suse.com> Wed Sep 1 11:14:56 UTC 2021 - Christian Vögl <christian.voegl@suse.com>

View File

@ -105,7 +105,6 @@ BuildRequires: pkgconfig(libsigrok)
BuildRequires: pkgconfig(dbi) BuildRequires: pkgconfig(dbi)
BuildRequires: pkgconfig(libatasmart) BuildRequires: pkgconfig(libatasmart)
BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libevent)
BuildRequires: pkgconfig(libiptc) BuildRequires: pkgconfig(libiptc)
BuildRequires: pkgconfig(libmemcached) BuildRequires: pkgconfig(libmemcached)
BuildRequires: pkgconfig(libmicrohttpd) BuildRequires: pkgconfig(libmicrohttpd)
@ -116,9 +115,13 @@ BuildRequires: pkgconfig(libmodbus)
%if 0%{?is_opensuse} %if 0%{?is_opensuse}
BuildRequires: pkgconfig(libmosquitto) BuildRequires: pkgconfig(libmosquitto)
%endif %endif
BuildRequires: pkgconfig(libevent)
BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(liboping) BuildRequires: pkgconfig(liboping)
BuildRequires: pkgconfig(libpq) BuildRequires: pkgconfig(libpq)
%if 0%{?suse_version} > 1520
BuildRequires: pkgconfig(librabbitmq)
%endif
BuildRequires: pkgconfig(librrd) BuildRequires: pkgconfig(librrd)
BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libupsclient) BuildRequires: pkgconfig(libupsclient)
@ -184,6 +187,17 @@ a browser.
Please look at %{_sysconfdir}/apache2/conf.d/%{name}-js.conf on how to Please look at %{_sysconfdir}/apache2/conf.d/%{name}-js.conf on how to
enable. enable.
%if 0%{?suse_version} > 1520
%package plugin-amqp
Summary: AMQP Plugin for %{name}
Group: System/Monitoring
Requires: %{name} = %{version}-%{release}
%description plugin-amqp
The AMQP plugin transmits or receives values collected by collectd via the
Advanced Message Queuing Protocol (AMQP).
%endif
%package plugin-notify-desktop %package plugin-notify-desktop
Summary: Desktop Notification Plugin for %{name} Summary: Desktop Notification Plugin for %{name}
Group: System/Monitoring Group: System/Monitoring
@ -479,6 +493,9 @@ Optional %{name} plugin to send values to InfluxDB using line protocol via udp
Summary: All Monitoring Plugins for %{name} Summary: All Monitoring Plugins for %{name}
Group: System/Monitoring Group: System/Monitoring
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%if 0%{?suse_version} > 1520
Requires: %{name}-plugin-amqp = %{version}-%{release}
%endif
Requires: %{name}-plugin-buddyinfo = %{version}-%{release} Requires: %{name}-plugin-buddyinfo = %{version}-%{release}
Requires: %{name}-plugin-connectivity = %{version}-%{release} Requires: %{name}-plugin-connectivity = %{version}-%{release}
Requires: %{name}-plugin-dbi = %{version}-%{release} Requires: %{name}-plugin-dbi = %{version}-%{release}
@ -773,6 +790,12 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
/srv/www/collectd-js /srv/www/collectd-js
%{_libexecdir}/collectd-js %{_libexecdir}/collectd-js
%if 0%{?suse_version} > 1520
%files plugin-amqp
%{_libdir}/collectd/amqp.so
%{_libdir}/collectd/amqp.la
%endif
%files plugin-notify-desktop %files plugin-notify-desktop
%{_libdir}/collectd/notify_desktop.so %{_libdir}/collectd/notify_desktop.so
%{_libdir}/collectd/notify_desktop.la %{_libdir}/collectd/notify_desktop.la