Skip to main content
Community Scripts logo
Skip to Content
Tools & Add-onsAdd-ons

Netdata

Install or remove Netdata monitoring on the Proxmox VE host itself.

netdata.sh installs Netdata from the Netdata package repository directly on the Proxmox VE host, to monitor the host. No container is involved.

Run itOn the Proxmox VE host. require_pve_host exits with code 232 anywhere else
Supported OSThe host's /etc/os-release must say ID=debian; otherwise exit code 238
Port19999
Sourcetools/addon/netdata.sh

Run

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/netdata.sh)"

Prompts

PromptAnswer
Menu Select an option:Install or Uninstall. Cancel exits
Are you sure you want to install Netdata on Proxmox VE host. Proceed(y/n)? (Install only)y continues, n exits. Anything else asks again

What Install does

  1. Reads the Debian codename from /etc/os-release.
  2. Installs debian-keyring.
  3. Looks up the newest netdata-repo_*all.deb under https://repo.netdata.cloud/repos/repoconfig/debian/<codename>/ and installs it with dpkg -i. If none is found the script exits with code 237.
  4. Installs the netdata package.

The dashboard address is printed as http://<host-ip>:19999. The script sets no password and creates no credentials file.

Update

The script has no update option. Netdata is an APT package from the repository added in step 3, so it is upgraded together with the host's other packages.

Remove

Run the script again and choose Uninstall. It:

  • stops the netdata service;
  • deletes /var/log/netdata, /var/lib/netdata, /var/cache/netdata and /etc/netdata/go.d;
  • deletes /etc/apt/trusted.gpg.d/netdata-archive-keyring.gpg and /etc/apt/sources.list.d/netdata.list;
  • purges the packages netdata and netdata-repo, runs apt autoremove;
  • deletes the netdata user.

Limits

  • The script does not check whether Netdata is already installed; Install on an existing installation runs the same steps again.
  • This installs software on the hypervisor. For monitoring a single container, use Glances inside it instead.