From 6b28d49cf928e61dc8496b0a39318f20a8cd7a83e6ccdfe72dd9f58b416498d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20V=C3=B6gl?= Date: Mon, 19 Jul 2021 09:32:51 +0000 Subject: [PATCH] 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 --- collectd.changes | 5 +++++ collectd.spec | 13 +++++++++++++ 2 files changed, 18 insertions(+) diff --git a/collectd.changes b/collectd.changes index a60f1b5..9c83c56 100644 --- a/collectd.changes +++ b/collectd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 28 13:17:32 UTC 2021 - Matwey Kornilov + +- add modbus plugin + ------------------------------------------------------------------- Tue Feb 23 16:29:31 UTC 2021 - Reinhard Max diff --git a/collectd.spec b/collectd.spec index 78ace55..4c13dd9 100644 --- a/collectd.spec +++ b/collectd.spec @@ -109,6 +109,7 @@ BuildRequires: pkgconfig(libiptc) BuildRequires: pkgconfig(libmemcached) BuildRequires: pkgconfig(libmicrohttpd) BuildRequires: pkgconfig(libmnl) +BuildRequires: pkgconfig(libmodbus) BuildRequires: pkgconfig(libmosquitto) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(liboping) @@ -294,6 +295,14 @@ Requires: %{name} = %{version}-%{release} %description plugin-memcachec 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 Summary: MQTT Plugin for %{name} Group: System/Monitoring @@ -806,6 +815,10 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} %{_libdir}/collectd/memcachec.so %{_libdir}/collectd/memcachec.la +%files plugin-modbus +%{_libdir}/collectd/modbus.so +%{_libdir}/collectd/modbus.la + %files plugin-mqtt %{_libdir}/collectd/mqtt.so %{_libdir}/collectd/mqtt.la