Forum Discussion
Jeremy_Bridges_
Nimbostratus
Sep 22, 2009Custom SNMP Trap Message
I have configured a custom SNMP trap on our BIG-IP:
alert BIGIP_CUSTOM_TEST "testing notification" {
snmptrap OID=".1.3.6.1.4.1.3375.1.1.110.200"
}
When I catch the SNMP trap, it doesn't have the log message in it. It just contains the OID for the trap. This is different than the built-in SNMP traps. For example, when a pool member is forced down by an iRule (via LB::down), a trap is sent out with a nice message in it ("Pool member x.x.x.x:xxxx monitor status iRule down.").
Is there some way to configure a custom SNMP trap to send the log message along with the trap?
1 Reply
- Jeremy_Bridges_
Nimbostratus
I opened a case with F5 and found my answer. The OID I picked was designed for 4.x BIG-IP devices. If I use something in the form of 1.3.6.1.4.1.3375.2.4.0.XXX, all SNMP traps started showing the full message from the logs:alert BIGIP_CUSTOM_TEST "testing notification" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.200" }
My mistake was using the wrong document to set up the traps. Here is the document I initially used:
http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=256
Here is the one I should have used:
https://support.f5.com/kb/en-us/solutions/public/3000/700/sol3727.html
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
