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 it | On the Proxmox VE host. require_pve_host exits with code 232 anywhere else |
| Supported OS | The host's /etc/os-release must say ID=debian; otherwise exit code 238 |
| Port | 19999 |
| Source | tools/addon/netdata.sh |
Run
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/netdata.sh)"Prompts
| Prompt | Answer |
|---|---|
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
- Reads the Debian codename from
/etc/os-release. - Installs
debian-keyring. - Looks up the newest
netdata-repo_*all.debunderhttps://repo.netdata.cloud/repos/repoconfig/debian/<codename>/and installs it withdpkg -i. If none is found the script exits with code 237. - Installs the
netdatapackage.
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
netdataservice; - deletes
/var/log/netdata,/var/lib/netdata,/var/cache/netdataand/etc/netdata/go.d; - deletes
/etc/apt/trusted.gpg.d/netdata-archive-keyring.gpgand/etc/apt/sources.list.d/netdata.list; - purges the packages
netdataandnetdata-repo, runsapt autoremove; - deletes the
netdatauser.
Limits
- The script does not check whether Netdata is already installed;
Installon an existing installation runs the same steps again. - This installs software on the hypervisor. For monitoring a single container, use Glances inside it instead.