terraform-provider-logicmonitor
terraform-provider-logicmonitor copied to clipboard
Least Used Collector
It would be fantastic if the logicmonitor_collectors datasource could also be configured to lookup collectors that are "least used". This way it could return collectors that are used the least amount automatically. It looks like there is a numOfHosts field that could be used for this logic. Thanks!
https://www.logicmonitor.com/support/rpc-api-developers-guide/manage-device-groups/get-device-groups/#getHostGroupChildren
@codyja thank you for the excellent suggestion. In the near future we will have an update which will feature our load balanced collector group. This will probably alleviate alot of the concerns about assigning devices to collectors that are over capacity
Oooh that sounds perfect. Would that update be in the terraform LM provider, or on the LM side?
Auto Balanced Collectors is already released! Here's the docs: https://www.logicmonitor.com/support/settings/collectors/auto-balanced-collector-groups/
I haven't tested it using Terraform yet and we might make some improvements to streamline using it, but the option is there.
@codyja it is on our new go sdk. However the provider has not been updated yet