Browse Source

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>
lilik-openwrt-22.03
Daniel Engberg 8 years ago
committed by Daniel Engberg
parent
commit
2deac43fdf
2 changed files with 9 additions and 2 deletions
  1. +1
    -1
      admin/netdata/Makefile
  2. +8
    -1
      admin/netdata/files/netdata.conf

+ 1
- 1
admin/netdata/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=netdata PKG_NAME:=netdata
PKG_VERSION:=1.4.0 PKG_VERSION:=1.4.0
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_MAINTAINER:=Daniel Engberg <daniel.engberg.lists@pyret.net> PKG_MAINTAINER:=Daniel Engberg <daniel.engberg.lists@pyret.net>
PKG_LICENSE:=GPL-3.0 PKG_LICENSE:=GPL-3.0
PKG_LICENSE_FILES:=COPYING PKG_LICENSE_FILES:=COPYING


+ 8
- 1
admin/netdata/files/netdata.conf View File

@ -4,7 +4,7 @@
### ###
### charts.d - REQUIRES Bash, enable here and edit charts.d.conf ### charts.d - REQUIRES Bash, enable here and edit charts.d.conf
### apps - none atm ### apps - none atm
### node.d - REQURIES node.js
### node.d - REQUIRES node.js
### tc - QoS stats (if wanted) ### tc - QoS stats (if wanted)
### cgcroups - No support in OpenWRT/LEDE by default ### cgcroups - No support in OpenWRT/LEDE by default
### health - Disabled by default ### health - Disabled by default
@ -33,4 +33,11 @@
enabled = no enabled = no
[plugin:proc] [plugin:proc]
/proc/net/softnet_stat = no
/proc/net/snmp = no
/sys/kernel/mm/ksm = 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

Loading…
Cancel
Save