prometheus-node-exporter-lua: update netstat 14600/head
authorNick Hainke <vincent@systemli.org>
Thu, 28 Jan 2021 22:51:51 +0000 (23:51 +0100)
committerNick Hainke <vincent@systemli.org>
Thu, 28 Jan 2021 22:56:35 +0000 (23:56 +0100)
The snmp and netstat interface are enabled by default
See: 4943bc5cff47a482c3010033e04c6d489a4b733c

Signed-off-by: Nick Hainke <vincent@systemli.org>
utils/prometheus-node-exporter-lua/Makefile
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/netstat.lua

index d02351bbcb3b4041a3a36927f224a42b7443b8a6..3487be3048fbe95479e382adfea20079449c457f 100644 (file)
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=prometheus-node-exporter-lua
 PKG_VERSION:=2020.12.07
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com>
 PKG_LICENSE:=Apache-2.0
index bd6b87c39506d388449ea35fd833cef992ada9c7..d30a14cdb2e551c8a00fde2ca1447559e44f9a94 100644 (file)
@@ -10,8 +10,6 @@ local netsubstat = {
 }
 
 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")
 
   -- all devices