Netdata is a real-time resource monitoring tool with a friendly web front-end developed and maintained by FireHOL. With this tool, you can read charts representing resource utilization of things like CPUs, RAM, disks, network, Apache, Postfix and more. It is similar to other monitoring software like Nagios; however, Netdata is only for real-time monitoring via a web interface.
Understanding Netdata
There’s currently no authentication, so if you’re concerned about someone getting information about the applications you’re running on your system, you should restrict who has access via a firewall policy. The UI is simplified in a way anyone could look at the graphs and understand what they’re seeing, or at least be impressed by your flashy setup.
The web front-end is very responsive and requires no Flash plugin. The UI doesn’t clutter things up with unneeded features, but sticks to what it does. At first glance, it may seem a bit much with the hundreds of charts you have access to, but luckily the most commonly needed charts (i.e. CPU, RAM, network, and disk) are at the top. If you wish to drill deeper into the graphical data, all you have to do is scroll down or click on the item in the menu to the right. Netdata even allows you to control the chart with play, reset, zoom and resize with the controls on the bottom right of each chart.
When it comes down to system resources, the software doesn’t need too much either. The creators choose to write the software in C. Netdata doesn’t use much more than ~40MB of RAM.
Download Netdata
To download this software, you can head over to Netdata GitHub page. Then click the “Clone or download” green button on the left of the page. You should then be presented with two options.
Via the ZIP file
One option is to download the ZIP file. This will include everything in the repository; however, if the repository is updated then you will need to download the ZIP file again. Once you download the ZIP file, you can use the
tool in the command line to extract the contents. Running the following command will extract the contents of the ZIP file into a ”
” folder.
$ cd ~/Downloads $ unzip netdata-master.zip
You don’t need to add the
option in
because their content is inside a folder at the root of the ZIP file. If they didn’t have that folder at the root,
would have extracted the contents in the current directory (which can be messy).
Via git
The next option is to download the repository via
. You will, of course, need git installed on your system. This is usually installed by default on Fedora. If not, you can install git from the command line with the following command.
$ sudo dnf install git
After installing
, you will need to “clone” the repository to your system. To do this, run the following command.
$ git clone https://github.com/firehol/netdata.git
This will then clone (or make a copy of) the repository in the current working directory.
Install Netdata
There are some packages you will need to build Netdata successfully. Luckily, it’s a single line to install the things you need (as stated in their installation guide). Running the following command in the terminal will install all of the dependencies you need to use Netdata.
$ dnf install zlib-devel libuuid-devel libmnl-devel gcc make git autoconf autogen automake pkgconfig
Once the required packages are installed, you will need to
into the
directory and run the
script.
$ sudo ./netdata-installer.sh
You will then be prompted to press enter to build and install the program. If you wish to continue, press enter to be on your way!
If all goes well, you will have Netdata built, installed, and running on your system. The installer will also add an uninstall script in the same folder as the installer called
. If you change your mind later, running this script will remove it from your system.
You can see it running by checking its status via
.
$ sudo systemctl status netdata
Accessing Netdata
Now that we have Netdata installed and running, you can access the web interface via port 19999. I have it running on a test machine, as shown in the screenshot below.
Congratulations! You now have successfully installed and have access to beautiful displays, graphs, and advanced statistics on the performance of your machine. Whether it’s for a personal machine so you can show it off to your friends or for getting deeper insight into the performance of your server, Netdata delivers on performance reporting for any system you choose.
Image courtesy Mitchel Boot – originally posted to Unsplash here.
Kiara Navarro
This is a really wonderful tool and I recommend to use it cause it’s worthy.
Thanks for share,
Frank Ch. Eigler
“The web front-end is very responsive and requires no plugins like Flash or even JavaScript. ”
Might want to double-check on that. I only see a richly javascripty UI on the my-netdata.io demo pages.
Paul W. Frields
@Frank: Thanks, I’ve edited that statement.
Travis Mattila
The guide worked 99.99% for me, when i ran (sudo ./netdata-installed.sh) i got error messages (yes i have sudo enabled) to make it work i had to do su and then ran the .sh and it loaded.
Thanks for the guide, it was very clear and easy.
Aaron Rumbold
There’s a typo in the installer line:
$ sudo ./netdata-installed.sh
Edward
why not just systemctl enable cockpit
Paul W. Frields
@Edward: Cockpit is also a great way to monitor system resources. The Magazine isn’t about only giving you one way to do things. We know there are many tools and utilities for some jobs, and try to show you more than one way to peel a potato.
mosquito
Fast install netdata:
$ sudo dnf copr enable mosquito/netdata
$ sudo dnf install netdata
$ sudo systemctl start netdata.service
Visit http://localhost:19999
This Copr repository has supported el6, el7, fc22-25. Please see https://copr.fedorainfracloud.org/coprs/mosquito/netdata/
Rafael Reuber
Hey mosquito, your repository is awesome! Its already have the last version of netdata.
Thank you for share!
Tony Tyson
This is absolutely gorgeous.
Tom Bates
Can’t access from my PC…. URL = http://192.168.0.19:19999/
I can access Cockpit… URL = https://192.168.0.19:9090/
I tried with https, no go….
Ideas?
Paul W. Frields
Try these commands: