Netdata on VyOS

I have used Netdata (open source data collection and monitoring) on other servers and decided to try it on VyOS. Adding the container and running with defaults gives a lot of useful metrics and graphs.

set container name netdata allow-host-networks
set container name netdata cap-add 'sys-admin'
set container name netdata image 'netdata/netdata'
set container name netdata volume group destination '/host/etc/group'
set container name netdata volume group mode 'ro'
set container name netdata volume group source '/etc/group'
set container name netdata volume localtime destination '/etc/localtime'
set container name netdata volume localtime mode 'ro'
set container name netdata volume localtime source '/etc/localtime'
set container name netdata volume netdatacache destination '/var/cache/netdata'
set container name netdata volume netdatacache source '/config/netdata/cache'
set container name netdata volume netdataconfig destination '/etc/netdata'
set container name netdata volume netdataconfig source '/config/netdata/config'
set container name netdata volume netdatalib destination '/var/lib/netdata'
set container name netdata volume netdatalib source '/config/netdata/lib'
set container name netdata volume osrelease destination '/host/etc/os-release'
set container name netdata volume osrelease mode 'ro'
set container name netdata volume osrelease source '/etc/os-release'
set container name netdata volume passwd destination '/host/etc/passwd'
set container name netdata volume passwd mode 'ro'
set container name netdata volume passwd source '/etc/passwd'
set container name netdata volume proc destination '/host/proc'
set container name netdata volume proc mode 'ro'
set container name netdata volume proc source '/proc'
set container name netdata volume sys destination '/host/sys'
set container name netdata volume sys mode 'ro'
set container name netdata volume sys source '/sys'
set container name netdata volume varlog destination '/host/var/log'
set container name netdata volume varlog mode 'ro'
set container name netdata volume varlog source '/var/log'

based on this documentation: Install Netdata with Docker | Learn Netdata

Before adding the container configuration:
mkdir -p /config/netdata/{cache,config,lib}

After starting the container: http://router:19999

It’s much the same as what you can get with telegraf and other tools - just another option to consider. I thought some of you would be interested.

8 Likes

This is very neat, thank you very much for sharing the detailed instructions.

Hi @billsimon,

I ditto with @tjh! Thank you for sharing your experience with Netdata and providing the configuration details. It’s fantastic to hear about your successful implementation of Netdata on VyOS using Docker.

Once again, thank you for sharing your insights!

1 Like