Network Management
Create a discard trap rule
This article describes how to create discard trap rules.
First published date
Last published date
Overview
Each time a trap message is received, it will work through every rule from the top to bottom. This article describes how to create a discard trap rule.
Product section
Cause
Resolution
- Go to Start > Program Files > SolarWinds > Orion > Trap Viewer.
- Select the View-Alert/Filter Rules tab.
- by IP address
- by Message Type Patterns
- Message Patterns
- Severity and others
- Add the following Alert Actions to your rule:
- "Discard Trap Message"
- "Stop processing Trap Rules"
"Stop processing Trap rules"
To make sure that they are processed first, rearrange the Trap rules so that the ones which filter and discard messages are at the top of the list.
For more information, please refer to the following Thwack blog entries:
Trapped...! But Not in a Bad Way
There are no automated settings to prune the traps table.
Have your DBA use a truncate/deletion syntax to purge the table.
Here is how it is done:
- Open a remote desktop session into the Orion server.
- Open Database Manager.
- Open the Traps and TrapVarbinds Tables with read-write permissions.
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. Truncate table TRAPS Truncate table TRAPVARBINDS