|
@ -4,7 +4,7 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=prometheus-node-exporter-lua |
|
|
PKG_NAME:=prometheus-node-exporter-lua |
|
|
PKG_VERSION:=2020.10.29 |
|
|
|
|
|
|
|
|
PKG_VERSION:=2020.12.07 |
|
|
PKG_RELEASE:=1 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com> |
|
|
PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com> |
|
@ -199,6 +199,17 @@ define Package/prometheus-node-exporter-lua-wifi_stations/install |
|
|
$(INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/wifi_stations.lua $(1)/usr/lib/lua/prometheus-collectors/ |
|
|
$(INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/wifi_stations.lua $(1)/usr/lib/lua/prometheus-collectors/ |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Package/prometheus-node-exporter-lua-snmp6 |
|
|
|
|
|
$(call Package/prometheus-node-exporter-lua/Default) |
|
|
|
|
|
TITLE+= (snmp6 collector) |
|
|
|
|
|
DEPENDS:=prometheus-node-exporter-lua +libubus-lua |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Package/prometheus-node-exporter-lua-snmp6/install |
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/lua/prometheus-collectors |
|
|
|
|
|
$(INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/snmp6.lua $(1)/usr/lib/lua/prometheus-collectors/ |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,prometheus-node-exporter-lua)) |
|
|
$(eval $(call BuildPackage,prometheus-node-exporter-lua)) |
|
|
$(eval $(call BuildPackage,prometheus-node-exporter-lua-bmx6)) |
|
|
$(eval $(call BuildPackage,prometheus-node-exporter-lua-bmx6)) |
|
|
$(eval $(call BuildPackage,prometheus-node-exporter-lua-bmx7)) |
|
|
$(eval $(call BuildPackage,prometheus-node-exporter-lua-bmx7)) |
|
@ -213,3 +224,4 @@ $(eval $(call BuildPackage,prometheus-node-exporter-lua-textfile)) |
|
|
$(eval $(call BuildPackage,prometheus-node-exporter-lua-uci_dhcp_host)) |
|
|
$(eval $(call BuildPackage,prometheus-node-exporter-lua-uci_dhcp_host)) |
|
|
$(eval $(call BuildPackage,prometheus-node-exporter-lua-wifi)) |
|
|
$(eval $(call BuildPackage,prometheus-node-exporter-lua-wifi)) |
|
|
$(eval $(call BuildPackage,prometheus-node-exporter-lua-wifi_stations)) |
|
|
$(eval $(call BuildPackage,prometheus-node-exporter-lua-wifi_stations)) |
|
|
|
|
|
$(eval $(call BuildPackage,prometheus-node-exporter-lua-snmp6)) |