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.
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.
- π£ note: comments which you should take note of.
- β οΈ important: comments which are important.
report inaccuracies and errors
if something in this guide is inaccurate, wrong, or outdated, report it by scanning the qr code.
installation is straight-forward. launch terminal.app on your macOS (you need to have brew installed) and enter the following command:
brew install netdata
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.
enter the following command to stop netdata:
killall netdata
edit the netdata.conf file:
sudo nano /usr/local/etc/netdata/netdata.conf
change the database size to suit your needs of data-retention. i had mine set to 86400 which translates to 24 hours worth.
under bind-to change localhost to your devicesβ lan-ip:
bind to = x.x.x.x
save your file and exit.
restart netdata using brew:
brew services restart netdata
access your netdata site at http://lan-ip:19999
i no longer utilise this so some verification is required if the path for installation is still valid.
unzip it and edit the html file. swap out yourserver with the url/ip address. save the file as desiredname.html.
upload the file into the following directory:
/usr/local/Cellar/netdata/1.21.1/share/netdata/web/
once done, access the customised dashboard at the following, http://lan-ip:19999/desiredname.html.
- π£ note: netdata apis can be located at http://lan-ip:19999/api/v1/charts