From 3525e3e55c5a6572a6989e8775b35ac1748461bf Mon Sep 17 00:00:00 2001 From: Sven Roederer Date: Mon, 10 Jun 2019 15:18:26 +0200 Subject: [PATCH] collectd: build RouterOS modules This allows collectd to get data of Mikrotik devices in a improved way than via SNMP. closes #10327 Signed-off-by: Sven Roederer cherry-pick does not apply cleanly changed PKG_RELEASE number. (cherry picked from commit 4261f45734d13eb0f2b552b84cf2fac6d7875a6e) Signed-off-by: Florian Eckert --- utils/collectd/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index c41eb9a000..e3c966d221 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=collectd PKG_VERSION:=5.9.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://collectd.org/files/ \ @@ -84,7 +84,6 @@ COLLECTD_PLUGINS_DISABLED:= \ pinba \ python \ redis \ - routeros \ rrdcached \ serial \ sigrok \ @@ -166,6 +165,7 @@ COLLECTD_PLUGINS_SELECTED:= \ powerdns \ processes \ protocols \ + routeros \ rrdtool \ sensors \ snmp \ @@ -407,6 +407,7 @@ $(eval $(call BuildPlugin,postgresql,PostgreSQL status input,postgresql,+PACKAGE $(eval $(call BuildPlugin,powerdns,PowerDNS server status input,powerdns,)) $(eval $(call BuildPlugin,processes,process status input,processes,+PACKAGE_collectd-mod-processes:libmnl)) $(eval $(call BuildPlugin,protocols,network protocols input,protocols,)) +$(eval $(call BuildPlugin,routeros,MikroTik RouterOS input,routeros,+PACKAGE_collectd-mod-routeros:librouteros)) $(eval $(call BuildPlugin,rrdtool,RRDtool output,rrdtool,+PACKAGE_collectd-mod-rrdtool:librrd1)) $(eval $(call BuildPlugin,sensors,lm_sensors input,sensors,+PACKAGE_collectd-mod-sensors:libsensors)) $(eval $(call BuildPlugin,snmp,SNMP input,snmp,+PACKAGE_collectd-mod-snmp:libnetsnmp)) -- 2.30.2