Programmatically enable Live Telemetry on all hosts in a pool
-
Hi,
Is there a way to programmatically enable Live Telemetry on all hosts in a pool? Digging through the UI and clicking on the button for every host in XOA is tedious and time consuming, especially when you have a large number of hosts.
I can run a yum install for netdata, enable and start the service through CLI on the host. But when I view the Advanced configuration for the host, the "Enable Advanced Live Telemetry" is present instead of the expected "Advanced Live Telemetry".
It seems that even though the netdata service is installed and running on the host, XOA is not registering it.
-
Hi,
I think I would prefer to take the OpenMetrics route today
It's easier to setup and get your data in a Prometheus server where Grafana can shine. -
@olivierlambert Thanks!
I will look into OpenMetrics.
On the hosts that I have enabled Live Telemetry; do I just stop the service remove the netdata package?
-
I don't think stop will remove it, probably better to yum remove it.
For Openmetrics, check: https://docs.xen-orchestra.com/advanced#openmetrics--prometheus-integration
I switched our own production to that, so far it looks promising.