Forum Discussion

Amit_Ojha's avatar
Amit_Ojha
Icon for Neophyte rankNeophyte
3 months ago

LM Instance Auto Balance Collector Tool

Can you please provide the LM instance auto balance collector optimization tools in customer portals, so that we can calculate and assign instance per collectors to balance our collector loads.

Regards Amit

    • Amit_Ojha's avatar
      Amit_Ojha
      Icon for Neophyte rankNeophyte

      Like if we need to calculate the instances limit for per collector then how and where to calculate, there is a tool available but it has only accessible by LM support tech, its not available for customer.

      • Joe_Williams's avatar
        Joe_Williams
        Icon for Professor rankProfessor

        When 2 or more collectors are in an auto balance group, you can see the number of instances the collector is monitoring in the UI. You can then edit the group itself, expand the advanced options and put in a new auto balance threshold.
        Once you do that, you can force a rebalance.

        If the collectors are already in an auto balance group, you can also get the number of instances via the API.

  • I have a simple (read:basic) Excel spreadsheet that does this.

    You could do the same, or I'll happily share the spreadsheet if you'd like.

    It's based on this page:
    https://www.logicmonitor.com/support/collectors/collector-groups/auto-balanced-collector-groups
    And specifically, this equation from that page:
    Number of instances = (Target_Collector_mem/Medium_mem)^1/2 * Medium_Threshold

    The spreadsheet (which was only created for me, so like I said, it's basic) requires you to enter the current number of instances on each collector and the collector memory size, and it calculates the rebalance threshold. 

    In my testing, it works well.