π Step 1: Start from Local SSH
ssh root@<your-vps-ip>
Example:
ssh root@<your-vps-ip>
π₯ Step 2: Install Netdata on VPS (Ubuntu - Hostinger VPS)Run the official kickstart script:
bash <(curl -Ss https://my-netdata.io/kickstart.sh)
οΈ This installs the latest Netdata (nightly or stable based on availability).
π Step 3: Access Netdata UIπ Option 1: Direct Access (Not recommended for public IP)
http://<your-vps-ip>:19999
Example:
http://<your-vps-ip>:19999
π Option 2: π Secure Access via SSH Tunneling (Recommended)
Run this command from your local machine:
ssh -L 19999:localhost:19999 root@<your-vps-ip>
Example:
ssh -L 19999:localhost:19999 root@<your-vps-ip>
β Then open in your browser:
http://localhost:19999
π This forwards the remote Netdata port securely to your local machine.
π Debugging & Monitoring Tipsβ Check if Netdata is Running:
sudo systemctl status netdata
β Restart Netdata:
sudo systemctl restart netdata
β Check Plugin Health:
sudo /usr/libexec/netdata/plugins.d/go.d.plugin -m
οΈ Lists loaded modules.
β Check Logs:
sudo journalctl -u netdata --since "10 minutes ago"
or Netdata error logs:
sudo cat /var/log/netdata/error.log
βοΈ Netdata Useful Monitoring Sections:
π© Debugging Performance Issues:
π Stop Netdata (if needed):
sudo systemctl stop netdata
π₯ Recap: