• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Netdata on Ubuntu 18.04

{{postValue.id}}

To install Netdata on Ubuntu 18.04

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. The users can monitor anything with the API plugin and also easily embed the charts with any external web pages. It has its own web server to display the final report in graphical format. It is so simple to install Netdata on Ubuntu 18.04 and this tutorial covers the ground on the same process.

Installation

First, install the required dependencies as follows.

root@linuxhelp1:~# apt-get install zlib1g-dev uuid-dev libmnl-dev pkg-config curl gcc make autoconf autoconf-archive autogen automake python python-yaml python-mysqldb nodejs lm-sensors python-psycopg2 netcat git -y
Reading package lists... Done
Building dependency tree      
Reading state information... Done
python is already the newest version (2.7.15~rc1-1).
python set to manually installed.
.
.
Setting up g++-7 (7.3.0-16ubuntu3) ...
Setting up autogen (1:5.18.12-4) ...
Setting up gcc (4:7.3.0-3ubuntu2) ...
Setting up g++ (4:7.3.0-3ubuntu2) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.4ubuntu1) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...

And then clone the Netdata package using the Git.

root@linuxhelp1:~# git clone https://github.com/firehol/netdata.git --depth=1 ~/netdata
Cloning into ' /root/netdata' ...
remote: Counting objects: 753, done.
remote: Compressing objects: 100% (703/703), done.
remote: Total 753 (delta 105), reused 251 (delta 33), pack-reused 0
Receiving objects: 100% (753/753), 2.58 MiB | 714.00 KiB/s, done.
Resolving deltas: 100% (105/105), done.

Now, switch to the Netdata directory.

root@linuxhelp1:~# cd netdata/

Use the following installation script to start the installation of Netdata.

root@linuxhelp1:~/netdata# ./netdata-installer.sh
  ^
   |.-.   .-.   .-.   .-.   .  netdata                                       
  |   ' -'    ' -'    ' -'    ' -'    real-time performance monitoring, done right! 
  +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+---> 

  You are about to build and install netdata to your system.
  It will be installed at these locations:
.
.
sudo ln -s /root/netdata/netdata-updater.sh /etc/cron.daily/netdata-updater
 --- We are done! ---
  ^
  |.-.   .-.   .-.   .-.   .-.   .  netdata                          .-.   .-
  |   ' -'    ' -'    ' -'    ' -'    ' -'    is installed and running now!  -'    ' -'  
  +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+---> 
  enjoy real-time performance and health monitoring...

Finally, we need to start and enable the Netdata service to make the changes effect.

root@linuxhelp1:~/netdata# systemctl start netdata
root@linuxhelp1:~/netdata# systemctl enable netdata

Open a browser and type the following URL of http://localhost:19999.

browser_URL

You will see the Netdata dashboard as follows.

open

netdata

dashboard

With this, the method to install Netdata on Ubuntu 18.04 comes to an end.

Tags:
gabriel
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

During Netdata in Ubuntu When I start the service, I see the following message.
2017-02-22 10:41:38: netdata: ERROR: IPv6 socket() on ip ‘::’ port 19999 failed. (errno 97, Address family not supported by protocol). what will do?

A

It seems that it couldn’t bind on IPv6 port due to firewall restrictions, I suggest you to check your firewall rules and open port 19999 on firewall or open it for IPv4.

Q

Is it possible to monitor other machines of which netdata is not installed on?

A

Unfortunately, Netdata application is not designed to monitor remote Linux machines

Q

Is it okay to install Netdata on a running LAMP server? I mean is it something like webmin, where you have to install before everything?

A

Yes, its okay to install Netdata monitoring tool on LAMP setup or any application setup, as its runs on different port so no issues at all.

Q

I got some errors as executing the before-mentioned command.
[root@ip-10-0-7-128 ~]# /usr/sbin/netdata
16-04-04 07:58:19: ERROR: netdata: IPv6 bind() failed. (errno 98, Address already in use

A

It seems that the port 19999, which is used by netdata monitoring tool was already using by some other application, try to use different port for netdata while executing like:

# /usr/sbin/netdata

Q

What are the alternatives for Netdata ?

A

The alternatives are
Zabbix ,
Nagios,
PRTG Network Monitor,
Munin.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Lucas ?
Various options in Top command

Am using Top command only to view the load average, what are the various options in Top command..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.