XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Programmatically enable Live Telemetry on all hosts in a pool

    Scheduled Pinned Locked Moved Management
    4 Posts 2 Posters 12 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      henry.lin0u812
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        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.

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          henry.lin0u812 @olivierlambert
          last edited by

          @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?

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post