Browse Source

Merge pull request #13807 from PolynomialDivision/fix-node-exporter

prometheus-node-exporter-lua: fix hostapd exporter
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
64bf4a1065
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      utils/prometheus-node-exporter-lua/Makefile
  2. +1
    -1
      utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/hostapd_ubus_stations.lua

+ 1
- 1
utils/prometheus-node-exporter-lua/Makefile View File

@ -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:=2020.10.10
PKG_VERSION:=2020.10.29
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com> PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com>


+ 1
- 1
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/hostapd_ubus_stations.lua View File

@ -1,5 +1,5 @@
local ubus = require "ubus" local ubus = require "ubus"
local bit = require "bit32"
local bit = require "bit"
local function get_wifi_interfaces() -- based on hostapd_stations.lua local function get_wifi_interfaces() -- based on hostapd_stations.lua
local u = ubus.connect() local u = ubus.connect()


Loading…
Cancel
Save