Prometheus packages for axt-1800

tried a couple of the official repos but cannot find the architecture specific package for luasocket to make it work.

root@GL-AXT1800:/overlay# prometheus-node-exporter-lua
/usr/bin/lua: /usr/bin/prometheus-node-exporter-lua:9: module 'socket' not found:
        no field package.preload['socket']
        no file './socket.lua'
        no file '/usr/share/lua/socket.lua'
        no file '/usr/share/lua/socket/init.lua'
        no file '/usr/lib/lua/socket.lua'
        no file '/usr/lib/lua/socket/init.lua'
        no file './socket.so'
        no file '/usr/lib/lua/socket.so'
        no file '/usr/lib/lua/loadall.so'
stack traceback:
        [C]: in function 'require'
        /usr/bin/prometheus-node-exporter-lua:9: in main chunk
        [C]: ?
root@GL-AXT1800:/overlay# opkg list-installed | grep prom
prometheus-node-exporter-lua - 2024.06.16-2
prometheus-node-exporter-lua-hwmon - 2024.06.16-2
prometheus-node-exporter-lua-nat_traffic - 2024.06.16-2
prometheus-node-exporter-lua-netstat - 2024.06.16-2
prometheus-node-exporter-lua-openwrt - 2024.06.16-2
prometheus-node-exporter-lua-snmp6 - 2024.06.16-2
prometheus-node-exporter-lua-textfile - 2024.06.16-2
prometheus-node-exporter-lua-thermal - 2024.06.16-2

Hello,

Please confirm if you require the luasocket plugin?

yes luasocket and uhttpd-mod-lua:

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency luasocket for prometheus-node-exporter-lua
 * pkg_hash_check_unresolved: cannot find dependency uhttpd-mod-lua for prometheus-node-exporter-lua
 * pkg_hash_fetch_best_installation_candidate: Packages for prometheus-node-exporter-lua found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package prometheus-node-exporter-lua.

i am using this:

src/gz openwrt https://downloads.openwrt.org/releases/23.05.5/packages/aarch64_generic/packages/

with glinet firmware 4.7.0

Thanks!

Thanks.

Informed R&D team to check.

1 Like

Have the same problem.
I had prometheus on the AXT-1800 successfully running for months. However, after the upgrade to firmware 4.7.0 with openwrt 23.05.5, I can not get it working again due to missing packages.

Hi,

The R&D is trying to compile this plugin and dependency package, please wait.