Browse Source

Merge pull request #14600 from PolynomialDivision/update-node-exporter

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

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

@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=prometheus-node-exporter-lua PKG_NAME:=prometheus-node-exporter-lua
PKG_VERSION:=2020.12.07 PKG_VERSION:=2020.12.07
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com> PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com>
PKG_LICENSE:=Apache-2.0 PKG_LICENSE:=Apache-2.0


+ 0
- 2
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/netstat.lua View File

@ -10,8 +10,6 @@ local netsubstat = {
} }
local function scrape() local function scrape()
-- NOTE: Both of these are missing in OpenWRT kernels.
-- See: https://dev.openwrt.org/ticket/15781
local netstat = get_contents("/proc/net/netstat") .. get_contents("/proc/net/snmp") local netstat = get_contents("/proc/net/netstat") .. get_contents("/proc/net/snmp")
-- all devices -- all devices


Loading…
Cancel
Save