Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-23073

Offline Agent Monitor and Cleanup Functionality in Bamboo

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Agents, Build Queues
    • None
    • 4
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Introduce an "Offline Agent Monitor" in Bamboo. This feature would serve as a warning system for instances where Agents have not established a connection for a specified duration, such as days, months, or years. This is particularly crucial in busy or older instances where Agents may not receive adequate maintenance or cleanup, potentially leading to queue issues.

      The solution should not only alert about offline Agents but also provide recommendations on the optimal number of Agents for each environment. This can be based on the available license pool. For example, in an instance with 100 Agent licenses, the system could recommend a cleanup of Agents when the count of offline agents is more than double the number of licenses, especially if over 50% of these agents have not connected within the last 30 days.

      Upon receiving such a warning, users should be directed to a dedicated "Agents page" that would contain a proper filter, where they can remove these agents.

      Adding a REST API call that can filter agents by their last disconnection date and proceed with bulk deletion is also important. This would facilitate the integration of external automated cleanup scripts with Bamboo, ensuring a more efficient queue.

      Embedding an "Agent Expiry" to the Bamboo Expiry is also welcome, but less preferred as it does not provide the visibility of which Agents are being considered.

      Workaround

      Customers can use SQL to retrieve a list of Agents and their connection dates:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              73868399605e Eduardo Alvarenga
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: