@ -4,7 +4,7 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := prometheus-node-exporter-lua
PKG_VERSION := 2020.06.26
PKG_VERSION := 2020.07.04
PKG_RELEASE := 1
PKG_MAINTAINER := Etienne CHAMPETIER <champetier.etienne@gmail.com>
@ -40,6 +40,12 @@ define Package/prometheus-node-exporter-lua-nat_traffic
DEPENDS:= prometheus-node-exporter-lua
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 - u c i _ d h c p _ h o s t
$( call Package/prometheus-node-exporter-lua/Default)
TITLE += ( uci_dhcp_host collector)
DEPENDS:= prometheus-node-exporter-lua +libuci-lua
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 - n e t s t a t
$( call Package/prometheus-node-exporter-lua/Default)
TITLE += ( netstat collector)
@ -119,6 +125,11 @@ define Package/prometheus-node-exporter-lua-nat_traffic/install
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/nat_traffic.lua $( 1) /usr/lib/lua/prometheus-collectors/
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 - u c i _ d h c p _ h o s t / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/lua/prometheus-collectors
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/uci_dhcp_host.lua $( 1) /usr/lib/lua/prometheus-collectors/
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 - n e t s t a t / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/lua/prometheus-collectors
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/netstat.lua $( 1) /usr/lib/lua/prometheus-collectors/
@ -167,6 +178,7 @@ endef
$( eval $ ( call BuildPackage ,prometheus -node -exporter -lua ) )
$( eval $ ( call BuildPackage ,prometheus -node -exporter -lua -nat_traffic ) )
$( eval $ ( call BuildPackage ,prometheus -node -exporter -lua -netstat ) )
$( 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_stations ) )
$( eval $ ( call BuildPackage ,prometheus -node -exporter -lua -hostapd_stations ) )