cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 8

Trap Viewer in NPM ?

Jump to solution

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!

0 Kudos
1 Solution
Level 13

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

pastedImage_6.png

Following are the related Trap Tables.

pastedImage_5.png

You can do that from your SQL server or either using the Orion Database Manager .

View solution in original post

0 Kudos
4 Replies
Level 13

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

pastedImage_6.png

Following are the related Trap Tables.

pastedImage_5.png

You can do that from your SQL server or either using the Orion Database Manager .

View solution in original post

0 Kudos
Level 8

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.

0 Kudos
Level 13

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

0 Kudos
Level 8

Anyone ever do this?

0 Kudos