#netdata agent on xcp-ng
1 messages · Page 1 of 1 (latest)
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
I did install those 😔
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
tl;dr you can get latest version of Netdata on xcp-ng 8.2 but it doesn't have https://learn.netdata.cloud/docs/collecting-metrics/containers-and-vms/xen-xcp-ng and it looks like there is no way to get this plugin working at the moment
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?
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
cmake version 2.8.12.2
CMake Error: The source directory "/root/netdata/build" does not exist.
I know, I downloaded xcp-ng 8.2 iso, created a VM but realized that it wasnt possible to build/compile Netdata on it.
😔
Centos7 EOL June 30, 2024, I think xcp-ng guys should move to... some other distro, not sure what they plan to do
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).