Dynatrace Managed. Query multiple environments for alerts

OK, folks, thank you both.

Seems I need to take the path of Ansible/bash scripting way…