Forum Discussion
SNMP Traps for configuration changes.
Dear Dev Central,
I would like to set up SNMP Traps on my F5 to send traps to my Solarwinds server each time the configuration of the F5 is changed. I understand that I may have to create a custom alert in the alert.conf file for this? Does anyone have any experience doing this? The default "Device" checkbox does not seem to satisfy this requirement. Thanks.
- jaikumar_f5
Noctilucent
Here's what I know, SNMP Traps are captured for specific events. You can configure /config/user_alert.conf to throw SNMP Trap or execute some commands etc. But when you are looking for any configuration level changes, is there any specific event you want to capture or in general.
Lets say you want to capture any events like create VS,
alert testsnmp "cmd_data=create ltm virtual" { exec command="echo virtual being created| wall" }
On the console when some creates it,
(/Common)(tmos) create ltm virtual dummpyvip destination 12.34.56.78:443 (/Common)(tmos)
Echo happens in the console,
Broadcast message from root (Sat Aug 19 06:38:48 2017): virtual being created
In similar manner you can define the SNMP Trap,
alert "" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.XXX" }
Refer Article. Replace XXX with a number unique to this object ID. You can use any object ID that meets all of the following criteria:
The object ID is in standard OID format, and within the following range: .1.3.6.1.4.1.3375.2.4.0.300 through .1.3.6.1.4.1.3375.2.4.0.999
Recent Discussions
Related Content
* 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