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.
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
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.
Ah, that would explain it. I definitely would like this added to the feature request list. I'm also interested in using advanced alerting capabilities with SNMP traps. For example, let alerts be based on OIDs AND custom variables.
--Mark.
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...
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.