From 2deac43fdf629d13e7714f1596e5a4dd1cafd1a5 Mon Sep 17 00:00:00 2001 From: Daniel Engberg Date: Tue, 8 Nov 2016 00:58:23 +0100 Subject: [PATCH] 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 --- admin/netdata/Makefile | 2 +- admin/netdata/files/netdata.conf | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/admin/netdata/Makefile b/admin/netdata/Makefile index c05b8742a..022ef8b9a 100644 --- 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 PKG_LICENSE:=GPL-3.0 PKG_LICENSE_FILES:=COPYING diff --git a/admin/netdata/files/netdata.conf b/admin/netdata/files/netdata.conf index 885ec23a9..8c5c56b8a 100644 --- 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