I'm wondering if there is a way through a script to turn off/on specific alert rules in Trap Viewer? I know how to enable/disable the alert rules manually but wasn't sure if this was possible through a script. Thanks in advance!
Through SQL Script you can i am not sure what is the requirements to do that / If you are looking for to have that control over the web console ?
Open Orion Database Manager > Right Click on the Orion Database > New Query >
Paste the below query to Disable which is False
update TrapRules set RuleEnabled = 'False' where RuleName ='New Trap Rule ABCD'
Paste the below query to Enable which is True
update TrapRules set RuleEnabled = 'True' where RuleName ='New Trap Rule ABCD'
Hit Execute query
Following are the related Trap Tables.
You can do that from your SQL server or either using the Orion Database Manager .
Anyone ever do this?
Thanks for the info. Ideally having that feature in the web console would be great. Is that function available to do through the web console? I didn't think the trap viewer was fully integrated with the console.
Glad that a bit helped for you as i am not SQL expert
Check it here may be the team is already working on this .
What We Are Working On
If not .
You may also post your request to the Thwack forum for the SolarWinds product you wish to see improved.
Thwack Feature Request forums are here: http://thwack.solarwinds.com/community/feature-request_tht.
Create a post titled “FEATURE REQUEST - Name of the Feature Request” and detail your request including case number. These forums are monitored by our Product Managers. This will allow other customers to voice their opinions as to whether they would find the feature useful.
"How To Create Ideas and Feature Requests"
http://thwack.solarwinds.com/docs/DOC-167238
"Ideation Process & FAQ"
http://thwack.solarwinds.com/docs/DOC-167239