Natvps.id – NetData is a real computer / server performance monitoring software (real time) Web -based. Netdata is open source and can be self-host. With Netdata, we can monitor CPU, RAM Usage, I/O disk, network traffic, postfix and so forth.
This article discusses the NetData Installation (Agent) steps in NAT VPS along with the Nginx configuration for Reverse-Proxy. This article uses Ubuntu 22.04 as a reference, but you can use other distributions such as Debian and Centos. Make sure the OS used is supported by Netdata.
Port forwarding configuration
Considering we use grout, we need to add 2 Port Forwarding Configuration on the virtualizor panel (or other VPS panels according to the provider), namely Port Forwarding HTTP and HTTPS For the NetData domain.
For example, in this article will use a domain netdata.tutorial.mdinata.my.id to access Netdata. You are free to change the domain according to your choice. Record this port and domain, because we will use it again in the installation process.

Don’t forget to add DNS Records to go to your NAT VPS public IP, like this:

If confused, please read our article about Domain prosecution Here: Explanation of Domain Forwarding in NAT VPS.
Install clean data
First, install curly Using Orders:
apt update && apt install curl -y

Then, run manuscript Kickstart Netdata:
curl -fsSL | sh

Wait until the installation process is complete.

Nginx Configuration (Reverse Proxy)
So that we can access the URL through a domain like netdata.tutorial.mdinata.my.idwe can use Reverse Proxy Like Nginx.
First, install Nginx through the command:
# Hapus Apache2 dan pendukungnya (biasanya terpasang secara bawaan di VPS OpenVZ) apt purge apache2* -y # Install NGINX apt install nginx -y

Create a new host configuration specifically for NetData:
nano /etc/nginx/sites-available/netdata
Then stick the following configuration:
#
upstream backend {
# the Netdata server
server 127.0.0.1:19999;
keepalive 1024;
}
server {
listen 80;
listen [::]:80;
server_name netdata.tutorial.mdinata.my.id;
location / {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass
proxy_http_version 1.1;
proxy_pass_request_headers on;
proxy_set_header Connection "keep-alive";
proxy_store off;
}
}
Change netdata.tutorial.mdinata.my.id with your domain.

Activate the configuration with:
ln -sf /etc/nginx/sites-available/netdata /etc/nginx/sites-enabled/netdata systemctl restart nginx # Restart NGINX
Produce SSL certificate (let’s encryption)
So that our domain can be accessed through HTTPS, we need to make a SSL certificate. We can use a free SSL certificate from Let’s Encrypt through Certbot.
Install Certbot and Nginx plugin use the command:
apt install python3-certbot python3-certbot-nginx

So, produce Certificate through Certbot with the command
certbot --nginx -d netdata.tutorial.mdinata.my.id
Change netdata.tutorial.mdinata.my.id with your domain.

Happy! Netdata can currently be accessed via a safe connection https.
Netdata Dashboard Mix
Netdata can be accessed through your previous domain. Example: https://netdata.tutorial.mdinata.my.id.

You can log in via NetData Cloud, or you can also access dashboard anonymous.

Cover
That’s this article installed Netdata Steps on NAT VPS.
If you are confused or doubtful, don’t hesitate to ask questions in the telegram group @ipv6indonesia. Thank You!
News
Berita
News Flash
Blog
Technology
Sports
Sport
Football
Tips
Finance
Berita Terkini
Berita Terbaru
Berita Kekinian
News
Berita Terkini
Olahraga
Pasang Internet Myrepublic
Jasa Import China
Jasa Import Door to Door