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

    Enhancement suggestion: Filter showing VMs that don't have the agent installed

    Scheduled Pinned Locked Moved Xen Orchestra
    10 Posts 5 Posters 174 Views 4 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.
    • D Offline
      Davidj 0
      last edited by

      A filter that only lists VMs that need the agent installed would be very helpful. Here are a few thoughts.

      1. The "has agent" mark should persist after VM shutdown. Can we use tags, or should we look for an alternative?

      2. VMs that have the agent running should be marked as having the agent. Can we update the agent so that it add the tag itself at startup?

      3. XO should remove the marker from any VMs that have been running for more than 5 minutes and do not have the agent running.

      With this setup, it is easy to determine which VMs need the agent, including VMs that are shut down at the moment.

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

        Question for @julien-f I suppose

        1 Reply Last reply Reply Quote 0
        • julien-fJ Offline
          julien-f Vates 🪐 Co-Founder XO Team @Davidj 0
          last edited by

          @Davidj-0 You can list VMs without a management agent with the following filter: power_state:running !managementAgentDetected?.

          XO does not support this for halted VMs but that could be added indeed.

          D D 2 Replies Last reply Reply Quote 2
          • D Offline
            DustinB @julien-f
            last edited by

            @julien-f said in Enhancement suggestion: Filter showing VMs that don't have the agent installed:

            power_state:running !managementAgentDetected?

            Is there any way to save filters so they can be used again later, besides in a notes app?

            P D 2 Replies Last reply Reply Quote 0
            • P Offline
              ph7 @DustinB
              last edited by

              @DustinB
              Use the save function

              e3b53778-e926-4f0a-9674-8cc36fb7b3d7-image.png

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

                Yes you can save it and make it even default for your current user 🙂

                1 Reply Last reply Reply Quote 1
                • D Offline
                  DustinB @ph7
                  last edited by

                  @ph7 said in Enhancement suggestion: Filter showing VMs that don't have the agent installed:

                  @DustinB
                  Use the save function

                  e3b53778-e926-4f0a-9674-8cc36fb7b3d7-image.png

                  God I'm blind..... been wishing for this for a while...

                  @olivierlambert said in Enhancement suggestion: Filter showing VMs that don't have the agent installed:

                  Yes you can save it and make it even default for your current user 🙂

                  As my dad would say "If it were a snake it would've bit you in the ass by now"

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

                    I love delivering a feature request already done 😎

                    1 Reply Last reply Reply Quote 1
                    • D Offline
                      Davidj 0 @DustinB
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        Davidj 0 @julien-f
                        last edited by

                        @julien-f said in Enhancement suggestion: Filter showing VMs that don't have the agent installed:

                        XO does not support this for halted VMs but that could be added indeed.

                        Can you change the title of my thread to "Enhancement suggestion: Update 'ManagementAgentDetected?' to support halted VMs" ?

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