Monitor Single Linux System with Netdata

If the case is monitoring a single Linux system, netdata comes into play. It both supplies data about lots of crucial system metrics and is also so lightweight. What is more, event web server it is using was rewritten for best performance. Everyone monitoring a system must have a look at https://netdata.firehol.org Thanks to Costa Tsaousis and contributers.

netdata

To install, get files from https://github.com/firehol/netdata/
If github is not accessible -> https://firehol.org/download/netdata/latest/
At the time I was working on this, latest version was 1.4.

wget https://firehol.org/download/netdata/latest/netdata-1.4.0.tar.gz
tar xvzf netdata-1.4.0.tar.gz
cd netdata-1.4.0/
./netdata-installer.sh

Here is the output:

^
|.-. .-. .-. .-. . 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:

- the daemon at /usr/sbin/netdata
- config files at /etc/netdata
- web files at /usr/share/netdata
- plugins at /usr/libexec/netdata
- cache files at /var/cache/netdata
- db files at /var/lib/netdata
- log files at /var/log/netdata
- pid file at /var/run

This installer allows you to change the installation path.
Press Control-C and run the same command with --help for help.

Then, I noticed some prerequisites are missing:

No autotools found
Will skip autoreconf step
Press ENTER to build and install netdata to your system >

Sorry! netdata failed to build...

You many need to check these:

1. The package uuid-dev (or libuuid-devel) has to be installed.

If your system cannot find libuuid, although it is installed
run me with the option: --libs-are-really-here

2. The package zlib1g-dev (or zlib-devel) has to be installed.

If your system cannot find zlib, although it is installed
run me with the option: --libs-are-really-here

3. You need basic build tools installed, like:

gcc make autoconf automake pkg-config

Autoconf version 2.60 or higher is required.

If you still cannot get it to build, ask for help at github:

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

After running the following commands:

dnf -y install libuuid-devel zlib-devel autoconf gcc make automake
./netdata-installer.sh
OK. NetData is installed and it is running.

-------------------------------------------------------------------------------

By default netdata listens on all IPs on port 19999,
so you can access it with:

http://this.machine.ip:19999/

To stop netdata, just kill it, with:

killall netdata

To start it, just run it:

/usr/sbin/netdata

Uninstall script generated: ./netdata-uninstaller.sh

^
|.-. .-. .-. .-. .-. . netdata .-. .-
| '-' '-' '-' '-' '-' is installed and running now! -' '-'
+----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--->

Enjoy real-time performance and health monitoring…

Advertisements

One thought on “Monitor Single Linux System with Netdata

Comments are closed.