collectd: build RouterOS modules 9471/head
authorSven Roederer <devel-sven@geroedel.de>
Mon, 10 Jun 2019 13:18:26 +0000 (15:18 +0200)
committerSven Roederer <devel-sven@geroedel.de>
Sun, 14 Jul 2019 22:19:32 +0000 (00:19 +0200)
This allows collectd to get data of Mikrotik devices in a improved way than via SNMP.

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
utils/collectd/Makefile

index b1f26cf5468570019c281bca6758753d19cf215d..94511271e842d5d350f2a6a88b9db1fd68e24175 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=collectd
 PKG_VERSION:=5.9.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://collectd.org/files/ \
@@ -83,7 +83,6 @@ COLLECTD_PLUGINS_DISABLED:= \
        pinba \
        python \
        redis \
-       routeros \
        rrdcached \
        serial \
        sigrok \
@@ -165,6 +164,7 @@ COLLECTD_PLUGINS_SELECTED:= \
        powerdns \
        processes \
        protocols \
+       routeros \
        rrdtool \
        sensors \
        snmp \
@@ -406,6 +406,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))