SHA256
1
0
forked from pool/collectd

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
This commit is contained in:
Christian Vögl 2021-07-19 09:32:51 +00:00 committed by Git OBS Bridge
parent d13e7575ec
commit 6b28d49cf9
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 28 13:17:32 UTC 2021 - Matwey Kornilov <matwey.kornilov@gmail.com>
- add modbus plugin
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 23 16:29:31 UTC 2021 - Reinhard Max <max@suse.com> Tue Feb 23 16:29:31 UTC 2021 - Reinhard Max <max@suse.com>

View File

@ -109,6 +109,7 @@ BuildRequires: pkgconfig(libiptc)
BuildRequires: pkgconfig(libmemcached) BuildRequires: pkgconfig(libmemcached)
BuildRequires: pkgconfig(libmicrohttpd) BuildRequires: pkgconfig(libmicrohttpd)
BuildRequires: pkgconfig(libmnl) BuildRequires: pkgconfig(libmnl)
BuildRequires: pkgconfig(libmodbus)
BuildRequires: pkgconfig(libmosquitto) BuildRequires: pkgconfig(libmosquitto)
BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(liboping) BuildRequires: pkgconfig(liboping)
@ -294,6 +295,14 @@ Requires: %{name} = %{version}-%{release}
%description plugin-memcachec %description plugin-memcachec
Optional %{name} plugin to sample memcached statistics. Optional %{name} plugin to sample memcached statistics.
%package plugin-modbus
Summary: TCP Modbus Plugin for %{name}
Group: System/Monitoring
Requires: %{name} = %{version}-%{release}
%description plugin-modbus
Optional %{name} plugin to communicate with TCP Modbus devices.
%package plugin-mqtt %package plugin-mqtt
Summary: MQTT Plugin for %{name} Summary: MQTT Plugin for %{name}
Group: System/Monitoring Group: System/Monitoring
@ -806,6 +815,10 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
%{_libdir}/collectd/memcachec.so %{_libdir}/collectd/memcachec.so
%{_libdir}/collectd/memcachec.la %{_libdir}/collectd/memcachec.la
%files plugin-modbus
%{_libdir}/collectd/modbus.so
%{_libdir}/collectd/modbus.la
%files plugin-mqtt %files plugin-mqtt
%{_libdir}/collectd/mqtt.so %{_libdir}/collectd/mqtt.so
%{_libdir}/collectd/mqtt.la %{_libdir}/collectd/mqtt.la