|
@ -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:=2018.06.26 |
|
|
|
|
|
|
|
|
PKG_VERSION:=2018.07.23 |
|
|
PKG_RELEASE:=1 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com> |
|
|
PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com> |
|
@ -79,6 +79,7 @@ endef |
|
|
define Package/prometheus-node-exporter-lua-openwrt |
|
|
define Package/prometheus-node-exporter-lua-openwrt |
|
|
$(call Package/prometheus-node-exporter-lua/Default) |
|
|
$(call Package/prometheus-node-exporter-lua/Default) |
|
|
TITLE+= (openwrt collector) |
|
|
TITLE+= (openwrt collector) |
|
|
|
|
|
DEPENDS:=prometheus-node-exporter-lua |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
Build/Compile= |
|
|
Build/Compile= |
|
@ -92,6 +93,7 @@ define Package/prometheus-node-exporter-lua/install |
|
|
$(INSTALL_BIN) ./files/usr/bin/prometheus-node-exporter-lua $(1)/usr/bin/prometheus-node-exporter-lua |
|
|
$(INSTALL_BIN) ./files/usr/bin/prometheus-node-exporter-lua $(1)/usr/bin/prometheus-node-exporter-lua |
|
|
$(INSTALL_DIR) $(1)/usr/lib/lua/prometheus-collectors |
|
|
$(INSTALL_DIR) $(1)/usr/lib/lua/prometheus-collectors |
|
|
$(INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/cpu.lua $(1)/usr/lib/lua/prometheus-collectors/ |
|
|
$(INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/cpu.lua $(1)/usr/lib/lua/prometheus-collectors/ |
|
|
|
|
|
$(INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/conntrack.lua $(1)/usr/lib/lua/prometheus-collectors/ |
|
|
$(INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/filefd.lua $(1)/usr/lib/lua/prometheus-collectors/ |
|
|
$(INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/filefd.lua $(1)/usr/lib/lua/prometheus-collectors/ |
|
|
$(INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/loadavg.lua $(1)/usr/lib/lua/prometheus-collectors/ |
|
|
$(INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/loadavg.lua $(1)/usr/lib/lua/prometheus-collectors/ |
|
|
$(INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/meminfo.lua $(1)/usr/lib/lua/prometheus-collectors/ |
|
|
$(INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/meminfo.lua $(1)/usr/lib/lua/prometheus-collectors/ |
|
|