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 218 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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post