Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20598

Re: How To "Disable All Actions" Programmatically (using script)

$
0
0

Interesting question , but yes it is possible.

1. Add your Solarwinds DB to Monitoring

2. The field that you are looking for is present in AlertDefinitions Table , this query -> (SELECT * FROM [dbo].[AlertDefinitions] where Enabled=1) will provide all active alerts in your environment.

3. Create a template using SAM - use "SQL Server User Experience Monitor" component monitor and use an update query on  [dbo].[AlertDefinitions] - change Enabled to 0

 

Hope this would help you


Viewing all articles
Browse latest Browse all 20598

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>