Can the SNMP Trap Alerts grab information from Orion NPM custom variables assigned to the same host or are they two completely seperate tools that do not share information?
--Mark.
I'm not sure I understand the question. Can you give an example of what you're trying to accomplish?
When a SNMP Trap comes in for system A, I want to trigger an alert that sends an e-mail out and include in that e-mail some custom variables that I have for system A in Orion NPM. For example, a cold start might be received and I might in turn send an e-mail that has the contact information for System A which is grabbed from NPM.
--Mark
Great! Thanks so much! I'll give it a try.
You should be able to use: ${type.<fieldName>}Example: ${Node.MyCustomProperty}
There seems to be some confusion on this issue. Only advanced alerts allow you to access the custom properties and build variables dynamically. Basic alerts, syslog, and traps each have their own finite set of variables that are supported.
To answer the original question, you can not access the custom property values from the variables in Trap service.
Sorry. My bad. I asked a question of Development without sufficient context and then posted the answer. Our long-term plan is to consolidate the alert engine in Syslog and Traps into the advanced alert engine, but I don't have a definite time frame on that yet.
I know the answer os probably no but I'll try anyway.
Is there any way to filter out the info from the trap message that you do not want and only get the necessary info? In my case with the trap alert there is too much info. A big issue is the community string is being sent,
Would there be a workaround using advanced alerts?
Hello,
I wanted to see if there has been any update to this? We are using Orion to replace some software that we have used and we do most of our alerting from trap's we've recieved. Not being able to pull out the needed information and format the messages in a simlar matter isn't a good position for us to be in. Is there anyway to use the advanced alerts with traps? We are curring running NPM 9.0 SP2.
Thank you...
The Advanced and Basic Alerts will not trigger off of traps. This is by design. In the Trap Viewer you can create Rules (View > Alert/Filter Rules) where the Trap Service will send out alerts based off of traps. This will not show up as an active alert, but it can still send out emails, discard the trap, log to a file, forward, execute external scripts, etc. It's a built-in Alert functionality run by the Trap Service separate from the Alerting Services.
I created an idea/feature request for this topic and hope it covers most of the needs also covered in this post?
A lot of people seem to want this and also most competitive products support propper Trap handling:
http://thwack.solarwinds.com/ideas/3580
Please vote!