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.
-
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