@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := prometheus-node-exporter-lua
PKG_NAME := prometheus-node-exporter-lua
PKG_VERSION := 2017.12.08
PKG_VERSION := 2017.12.08
PKG_RELEASE := 2
PKG_RELEASE := 3
PKG_MAINTAINER := Christian Simon <simon@swine.de>
PKG_MAINTAINER := Christian Simon <simon@swine.de>
PKG_LICENSE := Apache-2.0
PKG_LICENSE := Apache-2.0
@ -70,6 +70,12 @@ define Package/prometheus-node-exporter-lua-bmx7
DEPENDS:= prometheus-node-exporter-lua bmx7 +lua-cjson +bmx7-json
DEPENDS:= prometheus-node-exporter-lua bmx7 +lua-cjson +bmx7-json
e n d e f
e n d e f
d e f i n e P a c k a g e / p r o m e t h e u s - n o d e - e x p o r t e r - l u a - t e x t f i l e
$( call Package/prometheus-node-exporter-lua/Default)
TITLE += ( textfile collector)
DEPENDS:= prometheus-node-exporter-lua +luci-lib-nixio
e n d e f
B u i l d / Compile =
B u i l d / Compile =
d e f i n e P a c k a g e / p r o m e t h e u s - n o d e - e x p o r t e r - l u a / i n s t a l l
d e f i n e P a c k a g e / p r o m e t h e u s - n o d e - e x p o r t e r - l u a / i n s t a l l
@ -119,6 +125,11 @@ define Package/prometheus-node-exporter-lua-bmx7/install
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/bmx7.lua $( 1) /usr/lib/lua/prometheus-collectors/
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/bmx7.lua $( 1) /usr/lib/lua/prometheus-collectors/
e n d e f
e n d e f
d e f i n e P a c k a g e / p r o m e t h e u s - n o d e - e x p o r t e r - l u a - t e x t f i l e / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/lua/prometheus-collectors
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/textfile.lua $( 1) /usr/lib/lua/prometheus-collectors/
e n d e f
$( eval $ ( call BuildPackage ,prometheus -node -exporter -lua ) )
$( eval $ ( call BuildPackage ,prometheus -node -exporter -lua ) )
$( eval $ ( call BuildPackage ,prometheus -node -exporter -lua -nat_traffic ) )
$( eval $ ( call BuildPackage ,prometheus -node -exporter -lua -nat_traffic ) )
$( eval $ ( call BuildPackage ,prometheus -node -exporter -lua -netstat ) )
$( eval $ ( call BuildPackage ,prometheus -node -exporter -lua -netstat ) )
@ -126,3 +137,4 @@ $(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 -bmx 6) )
$( eval $ ( call BuildPackage ,prometheus -node -exporter -lua -bmx 6) )
$( eval $ ( call BuildPackage ,prometheus -node -exporter -lua -bmx 7) )
$( eval $ ( call BuildPackage ,prometheus -node -exporter -lua -bmx 7) )
$( eval $ ( call BuildPackage ,prometheus -node -exporter -lua -textfile ) )