commit 2deac43fdf629d13e7714f1596e5a4dd1cafd1a5
parent 8a98b22a00b046c85a09076bff795b7cb3bc0e8f
Author: Daniel Engberg <diizzyy@users.noreply.github.com>
Date: Tue, 8 Nov 2016 00:58:23 +0100
netdata: Make netdata less noisy during startup
Disables proc entries that aren't available/enabled by default in LEDE/OpenWRT
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Diffstat:
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/admin/netdata/Makefile b/admin/netdata/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=netdata
PKG_VERSION:=1.4.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_MAINTAINER:=Daniel Engberg <daniel.engberg.lists@pyret.net>
PKG_LICENSE:=GPL-3.0
PKG_LICENSE_FILES:=COPYING
diff --git a/admin/netdata/files/netdata.conf b/admin/netdata/files/netdata.conf
@@ -4,7 +4,7 @@
###
### charts.d - REQUIRES Bash, enable here and edit charts.d.conf
### apps - none atm
-### node.d - REQURIES node.js
+### node.d - REQUIRES node.js
### tc - QoS stats (if wanted)
### cgcroups - No support in OpenWRT/LEDE by default
### health - Disabled by default
@@ -33,4 +33,11 @@
enabled = no
[plugin:proc]
+ /proc/net/softnet_stat = no
+ /proc/net/snmp = no
/sys/kernel/mm/ksm = no
+ /proc/net/netstat = no
+ /proc/net/ip_vs_stats = no
+ /proc/net/stat/synproxy = no
+ /proc/net/rpc/nfsd = no
+ /proc/net/rpc/nfs = no