terraform-provider-logicmonitor icon indicating copy to clipboard operation
terraform-provider-logicmonitor copied to clipboard

Least Used Collector

Open codyja opened this issue 6 years ago • 4 comments

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 avatar May 31 '19 17:05 codyja

@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

pyang55 avatar May 31 '19 17:05 pyang55

Oooh that sounds perfect. Would that update be in the terraform LM provider, or on the LM side?

codyja avatar May 31 '19 17:05 codyja

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.

fdevans avatar May 31 '19 17:05 fdevans

@codyja it is on our new go sdk. However the provider has not been updated yet

pyang55 avatar May 31 '19 17:05 pyang55