diff options
| author | Nick Hainke <vincent@systemli.org> | 2021-01-28 23:51:51 +0100 |
|---|---|---|
| committer | Nick Hainke <vincent@systemli.org> | 2021-01-28 23:56:35 +0100 |
| commit | 1ead520e0dff30eb175dada889e9cafea0fcb45f (patch) | |
| tree | ccd7f4a43ce787c9e454d3bad93c8885bd90b01f | |
| parent | 825b2c7e4fba351e8ddd922e4d5c3833cb6aac80 (diff) | |
prometheus-node-exporter-lua: update netstat
The snmp and netstat interface are enabled by default
See: 4943bc5cff47a482c3010033e04c6d489a4b733c
Signed-off-by: Nick Hainke <vincent@systemli.org>
| -rw-r--r-- | utils/prometheus-node-exporter-lua/Makefile | 2 | ||||
| -rw-r--r-- | utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/netstat.lua | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/utils/prometheus-node-exporter-lua/Makefile b/utils/prometheus-node-exporter-lua/Makefile index d02351bbc..3487be304 100644 --- a/utils/prometheus-node-exporter-lua/Makefile +++ b/utils/prometheus-node-exporter-lua/Makefile @@ -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 diff --git a/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/netstat.lua b/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/netstat.lua index bd6b87c39..d30a14cdb 100644 --- a/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/netstat.lua +++ b/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/netstat.lua @@ -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 |
