How to install NetData monitoring tool on Debian 12

To Install NetData Monitoring Tool On Debian 12

Introduction

NetData is a free and open-source monitoring tool that monitors various services and system performance in real time, including CPU usage, disk activity, bandwidth usage, and more. The web-based interface allows users to easily monitor all aspects on one page.

Installation Procedure:

Step 1: Check the OS version by using the below command

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm

Step 2: Install Netdata by running the kickstart.sh script by using the below command

root@linuxhelp:~# bash <(curl -Ss https://my-netdata.io/kickstart.sh)
/dev/fd/63: line 26: cd: pipe:[34461]: No such file or directory
 --- Using /tmp/netdata-kickstart-SzkJ6jUnEy as a temporary directory. ---
 --- Checking for existing installations of Netdata... ---
 --- No existing installations of netdata found, assuming this is a fresh install. ---
 --- Attempting to install using native packages... ---
 --- Checking for availability of repository configuration package. ---
[/tmp/netdata-kickstart-SzkJ6jUnEy]# /usr/bin/curl --fail -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-SzkJ6jUnEy/netdata-repo-edge_2-1+debian12_all.deb https://repo.netdata.cloud/repos/repoconfig/debian/bookworm/netdata-repo-edge_2-1+debian12_all.deb
 OK
Successfully installed the Netdata Agent.
Official documentation can be found online at https://learn.netdata.cloud/docs/.
Looking to monitor all of your infrastructure with Netdata? Check out Netdata Cloud at https://app.netdata.cloud.
Join our community and connect with us on:
  - GitHub: https://github.com/netdata/netdata/discussions
  - Discord: https://discord.gg/5ygS846fR6
  - Our community forums: https://community.netdata.cloud/
[/root]# rm -rf /tmp/netdata-kickstart-SzkJ6jUnEy
 OK

Step 3: Check the status of the Netdata service by using the below command

root@linuxhelp:~# systemctl status netdata
● netdata.service - Real time performance monitoring
     Loaded: loaded (/lib/systemd/system/netdata.service; enabled; preset: enabled)
     Active: active (running) since Tue 2023-10-24 01:53:32 IST; 13s ago
   Main PID: 4219 (netdata)
      Tasks: 105 (limit: 3408)
     Memory: 140.3M
        CPU: 13.552s
     CGroup: /system.slice/netdata.service
             ├─4219 /usr/sbin/netdata -D -P /var/run/netdata/netdata.pid
             ├─4243 /usr/sbin/netdata --special-spawn-server
             ├─4562 /usr/libexec/netdata/plugins.d/go.d.plugin 1
             ├─4566 bash /usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
             ├─4572 /usr/libexec/netdata/plugins.d/ebpf.plugin 1
             ├─4577 /usr/libexec/netdata/plugins.d/systemd-journal.plugin 1
             ├─4584 /usr/libexec/netdata/plugins.d/apps.plugin 1
             ├─4587 /usr/libexec/netdata/plugins.d/nfacct.plugin 1
             └─4590 /usr/libexec/netdata/plugins.d/debugfs.plugin 1
Oct 24 01:53:32 linuxhelp systemd[1]: Started netdata.service - Real time performance mon>
Oct 24 01:53:32 linuxhelp netdata[4219]: 2023-10-24 01:53:32: netdata INFO  : MAIN : CONF>
Oct 24 01:53:32 linuxhelp netdata[4219]: 2023-10-24 01:53:32: netdata INFO  : MAIN : Foun>
Oct 24 01:53:32 linuxhelp netdata[4219]: 2023-10-24 01:53:32: netdata INFO  : MAIN : Crea>

Step 4: Ping the server IP address with 19999 port number as shown in the below image

Step 5: This is the Dashboard of the Netdata

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to install Net data monitoring tool on Debian 12. Your feedback is much welcome.

FAQ
Q
Does Netdata run as a Daemon service on Linux?
A
Yes, Netdata runs as a Daemon service on Linux.
Q
What are the supported platforms of Netdata?
A
Linux, FreeBSD, and MacOS are the supported platforms of Netdata.
Q
What is the default port number of Netdata?
A
The default port number of Netdata is "19999"
Q
How to install Netdata?
A
Netdata can be installed by running the following command "bash <(curl -Ss https://my-netdata.io/kickstart.sh)
Q
What is the default firewall on Debian?
A
The default firewall used on Debian was "ufw".