Alert Policies export

Can i export in any format (json or xml) “Alert Policies” conditions and rules ?
TIA

Hi, @dmytrol: Yes, you may use the REST API to get a list of alert policies and associated conditions and channels.

You may be interested in this open source project to migrate alerts from one account to another: GitHub - newrelic-experimental/nr-account-migration: Python scripts for bulk migration of New Relic configurations like monitors, alert policies, channels, alert conditions , APM configurations..

2 Likes

thank you @philweber for quick helpful reply,
will learn REST api then try to manipulate policies.
the question arises cause we use several hundreds alerts conditions to generate appropriate focused alarm for support team

1 Like

Keep us posted and let us know how it goes!

1 Like