#netdata agent on xcp-ng

1 messages · Page 1 of 1 (latest)

fair summit
#

anyone managed to get xcp-ng netdata working with netdata cloud?
Looks like the xcp-ng bundled netdata is outdated and claim command doesnt work, and the standalone netdata installer does not load the xcp-ng plugins for me

patent niche
#

did you check the prerequisites here Install xen-dom0-libs-devel and yajl-devel using the package manager of your system.

#

with these the collector should auto detect

fair summit
#

I did install those 😔

minor abyss
#

I think there is no way to get xen xcp-ng plugin:

  • static version doesn't have it
  • can't compile on xcp-ng 8.2 because it is based on centos7 I believe - old cmake.
#

But static version works (Kicksart.sh installs it), claiming works

fair summit
#

damn ok

#

Operating System: XCP-ng 8.3
Kernel: Linux 4.19.0+1

#

is there a way to test if I can compile manually?

minor abyss
#

cmake version?

#

I think 8.3 is still based on Centos7, so no, you can't compile

git clone --recursive https://github.com/netdata/netdata
cd netdata
sudo packaging/installer/install-required-packages.sh netdata

sudo ./netdata-installer.sh --install-prefix /opt
#

it will fail

fair summit
#

cmake version 2.8.12.2

fair summit
#

CMake Error: The source directory "/root/netdata/build" does not exist.

minor abyss
#

I know, I downloaded xcp-ng 8.2 iso, created a VM but realized that it wasnt possible to build/compile Netdata on it.

fair summit
#

😔

minor abyss
#

Centos7 EOL June 30, 2024, I think xcp-ng guys should move to... some other distro, not sure what they plan to do

pastel sierra
#

Two further notes regarding this:

  • It’s technically possible to work around the CMake issue pretty easily by just grabbing a copy of it from the upstream developers, but there may be other dependencies as well that are too old.
  • Even if the Xenstat plugin were built, there are apparently other issues with it (it hasn’t been updated yet to handle newer requirements for alert configuration).