What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Here's my updated configuration used on my AC87U which disables the IPv6 and shows the IPv4 which was missing previously.
Came across the necessary information here: https://github.com/firehol/netdata/wiki/netdata-for-IoT

Code:
### NetData Configuration                                                                                                                               
[global]                                                                                                                                                                                                                               
        run as user = nobody                                                                                                                                                                                                           
        web files owner = root                                                                                                                                                                                                         
        web files group = root                                                                                                                                                                                                         
        update every = 2                                                                                                                                                                                                               
        history = 1800                                                                                                                                                                                                                 
        access log = none                                                                                                                                                                                                             
        debug log = syslog                                                                                                                                                                                                             
        error log = syslog                                                                                                                                                                                                             
        memory mode = ram                                                                                                                                                                                                             
                                                                                                                                                                                                                                      
[plugins]                                                                                                                                                                                                                             
        charts.d = no                                                                                                                                                                                                                 
        apps = no                                                                                                                                                                                                                     
        node.d = no                                                                                                                                                                                                                   
        tc = no                                                                                                                                                                                                                       
        cgroups = no                                                                                                                                                                                                                   
        python.d = no                                                                                                                                                                                                                 
                                                                                                                                                                                                                                      
[health]                                                                                                                                                                                                                               
        enabled = no                                                                                                                                                                                                                   
                                                                                                                                                                                                                                      
[plugin:proc]                                                                                                                                                                                                                         
        /proc/net/softnet_stat = no                                                                                                                                                                                                   
        /proc/net/snmp = yes                                                                                                                                                                                                           
        /proc/net/snmp6 = 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
 
Updated netdata to 1.6.0 a couple days back but hadn't looked at the system log since until today and noticed I'm getting a lot of error messages reported by it. Haven't been able to track down a solution yet, wondering if anyone else is seeing the same thing.

Code:
May 11 20:19:43 netdata[15284]: Listening on '[::]:19999'
May 11 20:19:43 netdata[15284]: PLUGINS.D thread created with task id 15290
May 11 20:19:43 netdata[15284]: netdata initialization completed. Enjoy real-time performance monitoring!
May 11 20:19:43 netdata[15284]: Cannot popen("exec /opt/lib/netdata/plugins.d/fping.plugin 2 ", "r").
May 11 20:19:43 netdata[15284]: PLUGINSD: '/opt/lib/netdata/plugins.d/fping.plugin' thread exiting
May 11 20:19:45 netdata[15284]: Cannot read ECC memory errors directory '/sys/devices/system/edac/mc'
May 11 20:19:45 netdata[15284]: Cannot read NUMA node directory '/sys/devices/system/node'
May 11 20:19:45 netdata[15284]: PROCFILE: Cannot open file '/proc/net/ip_vs_stats'
May 11 20:19:45 netdata[15284]: Cannot read sector size for device sda1 from /sys/dev/block/8:1/subsystem/sda1/../queue/hw_sector_size. Assuming 512.
May 11 20:19:45 netdata[15284]: Cannot read sector size for device sda5 from /sys/dev/block/8:5/subsystem/sda5/../queue/hw_sector_size. Assuming 512.
May 11 20:20:42 netdata[15284]: 4: failed to create new thread for web client.
May 11 20:20:42 netdata[15284]: 5: failed to create new thread for web client.
May 11 20:20:42 netdata[15284]: 6: failed to create new thread for web client.
May 11 20:20:54 netdata[15284]: 7: failed to create new thread for web client.
May 11 20:20:54 netdata[15284]: 8: failed to create new thread for web client.
May 11 20:20:54 netdata[15284]: 9: failed to create new thread for web client.
May 11 20:20:59 netdata[15284]: 2: Failed to initialize zlib. Proceeding without compression.
 
Ok partially resolved. Looks like I probably missed a message when it did the update about the installer not overwriting the existing netdata.conf file. There are some new options that get set to no in the updated configuration. I ended up adding the missing options to my original configuration and that cleared up entries of the Cannot open / Cannot read errors / and Failed to initialize zlib variety.

I was and still getting numerous failed to create new thread for web client messages though.

I copied over the netdata.conf-opkg file over the netdata.conf file and restarted netdata but still getting the web client messages.
 
Probably need to review what's logged with netdata - on resource limited devices, this could start to be a problem burning out NAND/flash....

Code:
sfx@blaster:/var/log/netdata$ ll
total 1064
drwxr-xr-x  2 netdata root      4096 May 11 07:36 ./
drwxrwxr-x 19 root    syslog    4096 May 11 07:36 ../
-rw-r--r--  1 netdata netdata      0 May 11 07:36 access.log
-rw-r--r--  1 netdata netdata 277479 May 10 21:30 access.log.1
-rw-r--r--  1 netdata netdata  11258 Apr 30 19:14 access.log.10.gz
-rw-r--r--  1 netdata netdata  32897 Apr 29 18:00 access.log.11.gz
-rw-r--r--  1 netdata netdata  51072 Apr 28 21:58 access.log.12.gz
-rw-r--r--  1 netdata netdata  13684 Apr 28 07:19 access.log.13.gz
-rw-r--r--  1 netdata netdata   2736 Apr 26 08:46 access.log.14.gz
-rw-r--r--  1 netdata netdata   2756 May  9 08:05 access.log.2.gz
-rw-r--r--  1 netdata netdata   6426 May  8 17:29 access.log.3.gz
-rw-r--r--  1 netdata netdata  17907 May  6 23:20 access.log.4.gz
-rw-r--r--  1 netdata netdata   8622 May  6 07:34 access.log.5.gz
-rw-r--r--  1 netdata netdata  50343 May  5 05:37 access.log.6.gz
-rw-r--r--  1 netdata netdata 369617 May  4 07:35 access.log.7.gz
-rw-r--r--  1 netdata netdata    347 May  2 14:31 access.log.8.gz
-rw-r--r--  1 netdata netdata   8297 May  2 07:13 access.log.9.gz
-rw-r--r--  1 netdata netdata      0 Apr  9 08:24 debug.log
-rw-r--r--  1 netdata netdata  11773 May 11 21:57 error.log
-rw-r--r--  1 netdata netdata  86792 May 11 07:36 error.log.1
-rw-r--r--  1 netdata netdata  13292 May  3 07:35 error.log.10.gz
-rw-r--r--  1 netdata netdata   1517 May  1 07:35 error.log.11.gz
-rw-r--r--  1 netdata netdata  11294 May  1 07:35 error.log.12.gz
-rw-r--r--  1 netdata netdata   2329 Apr 29 09:24 error.log.13.gz
-rw-r--r--  1 netdata netdata   5847 Apr 29 07:35 error.log.14.gz
-rw-r--r--  1 netdata netdata   1467 May 10 10:45 error.log.2.gz
-rw-r--r--  1 netdata netdata   1497 May  9 08:17 error.log.3.gz
-rw-r--r--  1 netdata netdata   5569 May  9 07:35 error.log.4.gz
-rw-r--r--  1 netdata netdata   1472 May  7 07:35 error.log.5.gz
-rw-r--r--  1 netdata netdata   5843 May  7 07:35 error.log.6.gz
-rw-r--r--  1 netdata netdata   1459 May  5 07:36 error.log.7.gz
-rw-r--r--  1 netdata netdata   1395 May  4 07:35 error.log.8.gz
-rw-r--r--  1 netdata netdata   1893 May  3 10:54 error.log.9.gz
-rw-r--r--  1 netdata netdata      0 May 11 07:01 .keep
 
Fails to start:

Oct 25 13:13:17 netdata[8359]: PROCFILE: Cannot open file '/sys/kernel/mm/ksm/pages_shared'
Oct 25 13:13:17 netdata[8359]: PROCFILE: Cannot open file '/sys/kernel/mm/ksm/pages_sharing'
Oct 25 13:13:17 netdata[8359]: PROCFILE: Cannot open file '/sys/kernel/mm/ksm/pages_unshared'
Oct 25 13:13:17 netdata[8359]: PROCFILE: Cannot open file '/sys/kernel/mm/ksm/pages_volatile'
Oct 25 13:13:17 netdata[8359]: Cannot read ECC memory errors directory '/sys/devices/system/edac/mc'
Oct 25 13:13:17 netdata[8359]: Cannot read NUMA node directory '/sys/devices/system/node'
Oct 25 13:13:18 netdata[8359]: PROCFILE: Cannot open file '/proc/net/ip_vs_stats'
Oct 25 13:13:18 netdata[8359]: Cannot allocate 16384 bytes of memory.
Oct 25 13:13:18 netdata[8359]: EXIT: netdata prepares to exit with code 1...
Oct 25 13:13:18 netdata[8359]: EXIT: cleaning up the database...
 
I tried to run in the conf like this:
[global]
run as user = nobody

But it has to be root. Otherwise it wouldn't run for me. Threw lots of errors. Hope that helps. Just installed today.
 
Fails to start:

I have these errors as well.

Code:
Jan 21 03:41:43 netdata[1220]: PROCFILE: Cannot open file '/sys/kernel/mm/ksm/pages_shared'
Jan 21 03:41:43 netdata[1220]: PROCFILE: Cannot open file '/sys/kernel/mm/ksm/pages_sharing'
Jan 21 03:41:43 netdata[1220]: PROCFILE: Cannot open file '/sys/kernel/mm/ksm/pages_unshared'
Jan 21 03:41:43 netdata[1220]: PROCFILE: Cannot open file '/sys/kernel/mm/ksm/pages_volatile'
Jan 21 03:41:43 netdata[1220]: Cannot read ECC memory errors directory '/sys/devices/system/edac/mc'
Jan 21 03:41:43 netdata[1220]: Cannot read NUMA node directory '/sys/devices/system/node'

And other lines in System Log:

Code:
Jan 21 03:41:40 netdata[1220]: CGROUP: cannot find cpuacct mountinfo. Assuming default: /sys/fs/cgroup/cpuacct
Jan 21 03:41:40 netdata[1220]: CGROUP: cannot find blkio mountinfo. Assuming default: /sys/fs/cgroup/blkio
Jan 21 03:41:40 netdata[1220]: CGROUP: cannot find memory mountinfo. Assuming default: /sys/fs/cgroup/memory
Jan 21 03:41:40 netdata[1220]: CGROUP: cannot find devices mountinfo. Assuming default: /sys/fs/cgroup/devices

Code:
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram0', 1:0): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram0', 1:0): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram1', 1:1): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram1', 1:1): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram2', 1:2): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram2', 1:2): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram3', 1:3): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram3', 1:3): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram4', 1:4): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram4', 1:4): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram5', 1:5): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram5', 1:5): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram6', 1:6): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram6', 1:6): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram7', 1:7): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram7', 1:7): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram8', 1:8): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram8', 1:8): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram9', 1:9): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram9', 1:9): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram10', 1:10): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram10', 1:10): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram11', 1:11): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram11', 1:11): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram12', 1:12): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram12', 1:12): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram13', 1:13): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram13', 1:13): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram14', 1:14): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram14', 1:14): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram15', 1:15): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('ram15', 1:15): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop0', 7:0): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop0', 7:0): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop1', 7:1): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop1', 7:1): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop2', 7:2): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop2', 7:2): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop3', 7:3): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop3', 7:3): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop4', 7:4): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop4', 7:4): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop5', 7:5): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop5', 7:5): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop6', 7:6): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop6', 7:6): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop7', 7:7): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('loop7', 7:7): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('mtdblock0', 31:0): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('mtdblock0', 31:0): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('mtdblock1', 31:1): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('mtdblock1', 31:1): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('mtdblock2', 31:2): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('mtdblock2', 31:2): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('mtdblock3', 31:3): Cannot open directory '/dev/mapper'. Disabling device-mapper support.
Jan 21 03:41:44 netdata[1220]: DEVICE-MAPPER ('mtdblock3', 31:3): Cannot open directory '/dev/disk/by-label'. Disabling device-mapper support.

Code:
Jan 21 03:42:03 netdata[1220]: CGROUP: cannot read directory '/sys/fs/cgroup/cpuacct'
Jan 21 03:42:03 netdata[1220]: CGROUP: disabled cpu statistics.
Jan 21 03:42:03 netdata[1220]: CGROUP: cannot read directory '/sys/fs/cgroup/blkio'
Jan 21 03:42:03 netdata[1220]: CGROUP: disabled blkio statistics.
Jan 21 03:42:03 netdata[1220]: CGROUP: cannot read directory '/sys/fs/cgroup/memory'
Jan 21 03:42:03 netdata[1220]: CGROUP: disabled memory statistics.
Jan 21 03:42:03 netdata[1220]: CGROUP: cannot read directory '/sys/fs/cgroup/devices'
Jan 21 03:42:03 netdata[1220]: CGROUP: disabled devices statistics.
Jan 21 03:42:11 netdata[1220]: heartbeat missed 1993251 microseconds

Btw, the Update Check of Netdata doesn't seem to work for me. Maybe because of the firewall or something?
 
Last edited:
Just installed on a rt86u no problem with just netdata install (entware) - runs fine, but with a LOT of data. So I have stopped it for now, concerned it will kill the router if left running doing that much. Anyone got this going on a 86u? What's your setup?
 
Hi,

Just found Netdata and installed. Now I am looking for to set it up with the notification.
Please, do you use notification? How should be configured?

Thank you,
amplatfus
 
Awesome!
Anyone managed to set the
Code:
memory mode = dbengine
so it actually works?
Below is my syslog after restarting the netdata service with dbengine set:
Code:
Apr  5 18:42:25 netdata[5110]: NETDATA_SYSTEM_VIRT_DETECTION=none
Apr  5 18:42:25 netdata[5110]: NETDATA_SYSTEM_CONTAINER=unknown
Apr  5 18:42:25 netdata[5110]: NETDATA_SYSTEM_CONTAINER_DETECTION=none
Apr  5 18:42:25 netdata[5110]: CONFIG: cannot load user config '/opt/etc/netdata/stream.conf'. Will try stock config.
Apr  5 18:42:25 netdata[5110]: RRD_MEMORY_MODE_DBENGINE is not supported in this platform.
Apr  5 18:42:25 netdata[5110]: EXIT: netdata prepares to exit with code 1...
Apr  5 18:42:25 netdata[5110]: EXIT: cleaning up the database...
Apr  5 18:42:25 netdata[5110]: Cleaning up database [0 hosts(s)]...
Apr  5 18:42:25 netdata[5110]: RW_LOCK: failed to obtain read lock (code 35)
Apr  5 18:42:25 netdata[5110]: EXIT: all done - netdata is now exiting - bye bye...
 
Similar threads
Thread starter Title Forum Replies Date
v.y.k Traffic Monitoring - Save frequency - issue Asuswrt-Merlin 7

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top