@ -34,6 +34,18 @@ define Package/prometheus-node-exporter-lua/description
This service is a lightweight rewrite in LUA of the offical Prometheus node_exporter.
This service is a lightweight rewrite in LUA of the offical Prometheus node_exporter.
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 - n a t _ t r a f f i c
$( call Package/prometheus-node-exporter-lua/Default)
TITLE += ( nat_traffic collector)
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 - n e t s t a t
$( call Package/prometheus-node-exporter-lua/Default)
TITLE += ( netstat collector)
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 - w i f i
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 - w i f i
$( call Package/prometheus-node-exporter-lua/Default)
$( call Package/prometheus-node-exporter-lua/Default)
TITLE += ( wifi collector)
TITLE += ( wifi collector)
@ -60,13 +72,21 @@ define Package/prometheus-node-exporter-lua/install
$( 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/
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/nat_traffic.lua $( 1) /usr/lib/lua/prometheus-collectors/
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/netstat.lua $( 1) /usr/lib/lua/prometheus-collectors/
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/netdev.lua $( 1) /usr/lib/lua/prometheus-collectors/
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/netdev.lua $( 1) /usr/lib/lua/prometheus-collectors/
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/time.lua $( 1) /usr/lib/lua/prometheus-collectors/
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/time.lua $( 1) /usr/lib/lua/prometheus-collectors/
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/uname.lua $( 1) /usr/lib/lua/prometheus-collectors/
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/uname.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 - n a t _ t r a f f i c / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/lua/prometheus-collectors
$( 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 - 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/
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 - w i f i / 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 - w i f i / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/lua/prometheus-collectors
$( INSTALL_DIR) $( 1) /usr/lib/lua/prometheus-collectors
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/wifi.lua $( 1) /usr/lib/lua/prometheus-collectors/
$( INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/wifi.lua $( 1) /usr/lib/lua/prometheus-collectors/
@ -78,5 +98,7 @@ define Package/prometheus-node-exporter-lua-wifi_stations/install
e n d e f
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 -netstat ) )
$( 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 ) )