Export/Import Custom metrics/alert configurations
I'm using RedGate SQL server with different clients. Since the environments are not connected I have to manually create custom metrics/alert configurations for each client which takes quite some time. Also, any change to the custom metrics/alert configurations has to be then deployed by cilcking. Some export to XML or something similar and import wia PowerShell API would be nice.
![](https://secure.gravatar.com/avatar/36063c7118ec4e56501edd3586b7fb9a?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Geoff Simons commented
Hi Erik,
Apologies that this has taken so long to reply to. It is possible to export and re-import alert configurations using the Powershell API. There's an example of how to do this in the product, under Configuration -> Example Powershell scripts -> Copy Alert settings to another Monitored Object.
Regards,
Geoff