Install NetData Performance Monitoring Tool On Linux
======
![][1]
**NetData** is a distributed, real-time, performance and health monitoring tool for systems and applications. It provides unparalleled insights of everything happening on a system in real-time. You can view the results in a highly interactive web-dashboard. Using Netdata, you can get a clear idea of what is happening now, and what happened before in your systems and applications. You don’t need to be an expert to deploy this tool in your Linux systems. NetData just works fine out of the box with zero configuration, and zero dependencies. Just install this utility and sit back, NetData will take care of the rest.
It has its own built-in webserver to display the result in graphical format. NetData is quite fast and efficient, and it will immediately start to analyze the performance of your system in no time after installing it. It is written using **C** programming language, so it is extremely light weight. It consumes less than 3% of a single core CPU usage and a 10-15MB of RAM. We can easily embed the charts on any existing web pages, and also it has a plugin API, so that you can monitor any application.
Here is the list of things that will be monitored by NetData utility in your Linux system.
* CPU usage,
* RAM Usage,
* Swap memory usage,
* Kernel memory usage,
* Hard disks and its usage,
* Network interfaces,
* IPtables,
* Netfilter,
* DDoS protection,
* Processes,
* Applications,
* NFS server,
* Web server (Apache & Nginx),
* Database servers (MySQL),
* DHCP server,
* DNS server,
* Email serve,r
* Proxy server,
* Tomcat,
* PHP,
* SNP devices,
* And many more.
NetData is free, open source tool and it supports Linux, FreeBSD and Mac OS.
### Install NetData On Linux
Netdata can be installed on any Linux distributions that have **Bash** installed.
The easiest way to install Netdata is to run the following one-liner command from the Terminal:
This will download and install everything needed to up and run Netdata.
Some users may not want to inject something directly into Bash without investigating it. If you don’t like this method, you can follow the steps below to install it on your system.
**On Arch Linux:**
The latest version is available in the Arch Linux default repositories. So, we can install it with [**pacman**][2] using command:
```
$ sudo pacman -S netdata
```
**On DEB and RPM-based systems**
NetData is not available in the default repositories of DEB based (Ubuntu / Debian) or RPM based (RHEL / CentOS / Fedora) systems. We need to install NetData manually from its Git repository.
To install Netdata on other Linux distributions, refer the [**official installation instructions page**][4].
##### Allow NetData default port via Firewall or Router
If your system stays behind any firewall or router, you must allow the default port **19999** to access the NetData web interface from any remote systems on the network,.
To enable and start Netdata service on systems that use **Systemd** , run:
```
$ sudo systemctl enable netdata
$ sudo systemctl start netdata
```
To stop:
```
$ sudo systemctl stop netdata
```
To enable and start Netdata service on systems that use **Init** , run:
```
$ sudo service netdata start
$ sudo chkconfig netdata on
```
To stop it:
```
$ sudo service netdata stop
```
### Access NetData via Web browser
Open your web browser, and navigate to **<http://127.0.0.1:19999>** or **<http://localhost:19999/>** or **<http://ip-address:19999>**. You should see a screen something like below.
![][5]
Netdata dashboard
From the dashboard, you will find the complete statistics of your Linux system. Scroll down to view each section.
You can download and/or view NetData default configuration file at any time by simply navigating to **<http://localhost:19999/netdata.conf>**.
![][6]
Netdata configuration file
### Updating NetData
In Arch Linux, just run the following command to update NetData. If the updated version is available in the repository, it will be automatically installed.
```
$ sudo pacman -Syyu
```
In DEB or RPM based systems, just go to the directory where you have cloned it (In our case it’s netdata).
```
$ cd netdata
```
Pull the latest update:
```
$ git pull
```
Then, rebuild and update it using command:
```
$ sudo ./netdata-installer.sh
```
### Uninstalling NetData
Go to the location where you have cloned NetData.
```
$ cd netdata
```
Then, uninstall it using command:
```
$ sudo ./netdata-uninstaller.sh --force
```
In Arch Linux, the following command will uninstall it.