Installation netdate monitoring in real time on Debian

Below a very simple way to start monitoring your server netdate on Debian. We made in a few very simple steps.

Let's start from what is netdate

Netdate is a free tool for monitoring system performance in real time with a beautiful interface GUI. We can monitor CPU, the use of RAM, disk operations, Web traffic, Postfix and many others. Quickly and effectively collects performance data in real time.

Let's move to install.

We update repositories and systems:

sudo apt-get update -y
sudo apt-get upgrade -y

Next the necessary packages:

sudo 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

The next step is to download the script file:

git clone https://github.com/firehol/netdata.git --depth=1 ~/netdata

Go to the download folder:

cd netdata

run the installer:

sudo ./netdata-installer.sh

We should see the following screen, click on the enter button.

  |.-.   .-.   .-.   .-.   .  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   in /etc/netdata
   - web files      in /usr/share/netdata
   - plugins        in /usr/libexec/netdata
   - cache files    in /var/cache/netdata
   - db files       in /var/lib/netdata
   - log files      in /var/log/netdata
   - pid file       at /var/run/netdata.pid
   - logrotate file at /etc/logrotate.d/netdata

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

Press ENTER to build and install netdata to your system > 

After the correct installation you should see the following screen:

--- We are done! --- 

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



  enjoy real-time performance and health monitoring...

We do reload service and its launch:

sudo systemctl start netdata

Service can verify the status of the command:

sudo systemctl status netdata
netdata.service - Real time performance monitoring
   Loaded: loaded (/etc/systemd/system/netdata.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2018-02-10 11:19:29 EST; 18min ago
  Process: 575 ExecStartPre=/bin/chown -R netdata:netdata /var/cache/netdata (code=exited, status=0/SUCCESS)
  Process: 574 ExecStartPre=/bin/mkdir -p /var/cache/netdata (code=exited, status=0/SUCCESS)
 Main PID: 580 (netdata)
    Tasks: 17 (limit: 4915)
   CGroup: /system.slice/netdata.service
           ??580 /usr/sbin/netdata -P /run/netdata/netdata.pid -D
           ??600 bash /usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
           ??612 /usr/libexec/netdata/plugins.d/apps.plugin 1
           ??613 /usr/bin/python /usr/libexec/netdata/plugins.d/python.d.plugin 1

Feb 10 11:19:27 Netdataserver systemd[1]: Starting Real time performance monitoring...
Feb 10 11:19:29 Netdataserver systemd[1]: Started Real time performance monitoring.

Configure the firewall and add an exception:

sudo apt-get install ufw -y

run a firewall:

sudo ufw enable

Add an exception for the port script netdate:

sudo ufw allow 19999/tcp

pozaładowujemy service.

sudo ufw reload

Access to the Web interface is available on port 19999:

Or :
http://nasz_adres_ip:19999

Linux

Udostępnij
Opublikowane przez
Linux

Recent posts

KeePass2 2.52 w Ubuntu 22.04

The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń

2 years temu

Installing Master PDF editor in Ubuntu 22.04

Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji

2 years temu

iotop - memory monitoring

Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w

2 years temu

Run multiple commands in one cron job

You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania

2 years temu

Changing the exif data of a photo in the Linux terminal

Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.

2 years temu

Installing Rocket.Chat Server on Rocky Linux 8

The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy

2 years temu