collectd: build RouterOS modules
authorSven Roederer <devel-sven@geroedel.de>
Mon, 10 Jun 2019 13:18:26 +0000 (15:18 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 22 Oct 2019 12:45:49 +0000 (14:45 +0200)
This allows collectd to get data of Mikrotik devices in a improved way than via SNMP.

closes #10327

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
cherry-pick does not apply cleanly changed PKG_RELEASE number.
(cherry picked from commit 4261f45734d13eb0f2b552b84cf2fac6d7875a6e)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
utils/collectd/Makefile

index c41eb9a0000ada0bd197cbf4fa618cd74c356e16..e3c966d221b3b184aab7535425b00bf52aebacff 100644 (file)
@@ -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))