netdata

netdata is a replacement lightweight server monitoring tool. Comparatively, it is easier to setup. however, that being said, the data that is stored is a max of 24 hours. this guide is meant only for netdata on macOS.

jump straight to…

ssh commands required
majority of the ssh commands requires nano or vim. my choice of a terminal editor would be nano. to find out more how to use nano, visit the following page to get the basics.

look out for notes
notes are placed in the guides, these markers requires your attention.

report inaccuracies and errors
if something in this guide is inaccurate, wrong, or outdated, report it by scanning the qr code.


πŸ‘¨πŸ»β€πŸ’» [installing netdata on macOS]

  1. installation is straight-forward. launch terminal.app on your macOS (you need to have brew installed) and enter the following command:

     brew install netdata
  2. once it is done, netdata is running. however, in order to view it on your browser using your lan-ip, you will need to edit the netdata.conf file.

  3. enter the following command to stop netdata:

     killall netdata
  4. edit the netdata.conf file:

     sudo nano /usr/local/etc/netdata/netdata.conf
  5. change the database size to suit your needs of data-retention. i had mine set to 86400 which translates to 24 hours worth.

  6. under bind-to change localhost to your devices’ lan-ip:

     bind to = x.x.x.x
  7. save your file and exit.

  8. restart netdata using brew:

     brew services restart netdata
  9. access your netdata site at http://lan-ip:19999


πŸ‘¨πŸ»β€πŸ’» [setting up a customised dashboard]

i no longer utilise this so some verification is required if the path for installation is still valid.

  1. download the template file:
  1. unzip it and edit the html file. swap out yourserver with the url/ip address. save the file as desiredname.html.

  2. upload the file into the following directory:

     /usr/local/Cellar/netdata/1.21.1/share/netdata/web/
  3. once done, access the customised dashboard at the following, http://lan-ip:19999/desiredname.html.