From 6c8f5daf521103ecab080baa78d4f51820daba26f74f17b981e2ce51c1d20229 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Mon, 4 Jan 2021 17:46:12 +0000 Subject: [PATCH] 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 --- collectd.changes | 5 +++++ collectd.spec | 14 ++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/collectd.changes b/collectd.changes index 41a7078..d21cdea 100644 --- a/collectd.changes +++ b/collectd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Dec 20 19:26:08 UTC 2020 - Stefan Seyfried + +- add mqtt plugin + ------------------------------------------------------------------- Wed Sep 23 06:29:55 UTC 2020 - Dirk Mueller diff --git a/collectd.spec b/collectd.spec index 86b6ea4..d11e92f 100644 --- a/collectd.spec +++ b/collectd.spec @@ -110,6 +110,7 @@ BuildRequires: pkgconfig(libiptc) BuildRequires: pkgconfig(libmemcached) BuildRequires: pkgconfig(libmicrohttpd) BuildRequires: pkgconfig(libmnl) +BuildRequires: pkgconfig(libmosquitto) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(liboping) BuildRequires: pkgconfig(libpq) @@ -294,6 +295,14 @@ Requires: %{name} = %{version}-%{release} %description plugin-memcachec Optional %{name} plugin to sample memcached statistics. +%package plugin-mqtt +Summary: MQTT Plugin for %{name} +Group: System/Monitoring +Requires: %{name} = %{version}-%{release} + +%description plugin-mqtt +Optional %{name} plugin to send and receive MQTT messages. + %package plugin-pinba Summary: Pinba Collector Plugin for %{name} Group: System/Monitoring @@ -465,6 +474,7 @@ Requires: %{name}-plugin-logparser = %{version}-%{release} Requires: %{name}-plugin-lua = %{version}-%{release} Requires: %{name}-plugin-mcelog = %{version}-%{release} Requires: %{name}-plugin-memcachec = %{version}-%{release} +Requires: %{name}-plugin-mqtt = %{version}-%{release} Requires: %{name}-plugin-mysql = %{version}-%{release} Requires: %{name}-plugin-notify-desktop = %{version}-%{release} Requires: %{name}-plugin-openldap = %{version}-%{release} @@ -797,6 +807,10 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} %{_libdir}/collectd/memcachec.so %{_libdir}/collectd/memcachec.la +%files plugin-mqtt +%{_libdir}/collectd/mqtt.so +%{_libdir}/collectd/mqtt.la + %if 0%{?sle_version} < 150000 || 0%{?is_opensuse} %files plugin-sigrok