This script exports all custom alerts (not out-of-the-box) from your SolarWinds Platform server to the local path (where executed). The output path can be changed in the script variables.
[embed:6b06e1a7-0ec1-4e43-9421-8caaf95469b6:c4785da5-e5c5-442a-a84c-1c0fa7bb17ff:message=This%20is%20a%20destructive%20script%20-%20meaning%20it%20doesn%27t%20care%20if%20older%20versions%20of%20the%20alert%20have%C2%A0matching%20file%20names.&type=warning]
Please note the query used in the script:
SELECT [Alerts].AlertID
, [Alerts].Name
FROM Orion.AlertConfigurations AS [Alerts]
WHERE [Alerts].[Canned] = 'FALSE'
ORDER BY [Alerts].[Name]
It only includes the Alerts that are not Out-of-the-Box (Canned
).
The script can also be altered to turn on password protection, but in a Development/Staging/Production setup, I've never seen the need.