How to Install Netdata Monitoring Tool On Linux

How to Install Netdata Monitoring Tool On Linux

How to Install Netdata Monitoring Tool On Linux:

In this tutorial we will cover the steps to set up Netdata to monitor in real-time, of everything happening on your systems and applications, CPU, RAM, disk usage, traffic bandwidth … , with stunning, interactive web dashboards and powerful performance and health alarms..

Netdata is a free software (a daemon) which gathers a real-time performance data from Linux systems, Application, and SNMP devices, picture it in the web-based interface. Netdata additionally gives the representation of past data’s. In simple word, it gives a real-time visualization of what is going on your systems now, and in the later past.

What does it monitor?

This is what it currently monitors (most with zero configuration):

  • CPU usage, interrupts, softirqs and frequency (total and per core)
  • RAM, swap and kernel memory usage (including KSM and kernel memory deduper)
  • Disk I/O (per disk: bandwidth, operations, backlog, utilization, etc)
  • Network interfaces (per interface: bandwidth, packets, errors, drops, etc)
  • IPv4 networking (packets, errors, fragments, tcp: connections, packets, errors, handshake, udp: packets, errors, broadcast: bandwidth, packets, multicast: bandwidth, packets)
  • netfilter / iptables Linux firewall (connections, connection tracker events, errors, etc)
  • Processes (running, blocked, forks, active, etc)
  • NFS file servers(I/O, cache, read ahead, RPC calls)
  • Network QoS (yes, the only tool that visualizes network classes in realtime)
  • Applications, by grouping the process tree (CPU, memory, disk reads, disk writes, swap, threads, pipes, sockets, etc)
  • Apache web server mod-status
  • Nginx web server stub-status
  • mySQL databases (multiple servers, each showing: bandwidth, queries/s, handlers, locks, issues, tmp operations, connections, binlog metrics, threads, innodb metrics, etc)
  • ISC Bind name server (multiple servers, each showing: clients, requests, queries, updates, failures and several per view metrics)
  • Postfix email server message queue (entries, size)
  • Squid proxy server (clients bandwidth and requests, servers bandwidth and requests)
  • Hardware sensors (temperature, voltage, fans, power, humidity, etc)
  • NUT UPSes (load, charge, battery voltage, temperature, utility metrics, output metrics)

Step #1 Prerequisite:

Before you start installing netdata utility, make sure all the required packages has been installed on your Linux server.

On Ubuntu/Debian
# apt-get install zlib1g-dev gcc make git autoconf autogen automake pkg-config libuuid-devel
On CentOS/RHEL
# yum install zlib-devel gcc make git autoconf autogen automake pkgconfig libuuid-devel

Step #2 Download Netdata:

Now, download the netdata repository using git and build netdata using installer script.

# cd /opt
# git clone https://github.com/firehol/netdata.git
# cd netdata
# ./netdata-installer.sh

Then press enter to start the installation of netdata.

Once the installation finish, It will create netdata configuration file.

Netdata Configuration: /etc/netdata/netdata.conf

Now, to start the process you need to execute below command:

# /usr/sbin/netdata
16-05-18 12:14:24: INFO: netdata: Listening on all IPs (IPv6 and IPv4)

To stop the netdata process you need to execute below commands:

# ps -ef | grep netdata
# kill process_id
Or
# killall netdata

Note: Netdata saves database information under /var/cache/netdata directory, so that when you begin again netdata, it will proceed from where it was halted last time.

Step #3 Access Netdata:

Now open your browser and access the web site with all graphs using below link:

# http://localhost:19999/
Or
# http://Server-IP:19999/

Step #4 Check Netdata Configuration File:

You can also view the running configuration of netdata at any time:

# http://localhost:19999/netdata.conf
Or
# http://Server-IP:19999/netdata.conf

Step #5 Update Netdata:

If you want to update netdata using git, then follow the below steps:

# cd /opt/netdata
# git pull
# ./netdata-installer.sh

Step #6 Uninstall Netdata:

If you want to uninstall netdata due to some reason then run the below command:

# cd /opt/netdata
# ./netdata-uninstaller.sh

Reference: https://github.com/firehol/netdata/

Was this Tutorial helpful? Help others share on Facebook, Twitter, and Google Plus!

 
Enjoyed this video?
"No Thanks. Please Close This Box!"