Forum Discussion
jglenton_43180
Nimbostratus
Nov 30, 2012Set the priority of an SNMP Trap
Hi,
I've created a custom SNMP Trap alert in /config/user_alert.conf which works fine
Is there any way I can set the priority / severity level of these traps to increase it to the maximum s...
nitass
Employee
Dec 01, 2012you did restart alertd after changing the oid, didn't you?
----------------------------------
[root@ve10:Active] config cat user_alert.conf
alert JAMES_TEST_ALERT_2 "TEST message has gone into gtm log file okay 3" {
snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.29"
}
trap receiver
"time","IP","version","timestamp","snmpTrapOID","varbinds"
"Sat Dec 01 13:09:55 SGT 2012","172.28.19.80","2","4 seconds",".iso.org.dod.internet.private.enterprises.f5.bigipTrafficMgmt.bigipNotification.bigipNotifications.bigipLogEmerg","OID: .1.3.6.1.2.1.1.3.0. Value: 4 seconds; OID: .1.3.6.1.6.3.1.1.4.1.0. Value: bigipLogEmerg; OID: .iso.org.dod.internet.private.enterprises.f5.bigipTrafficMgmt.bigipNotification.bigipNotifyObjects.bigipNotifyObjMsg. Value: TEST message has gone into gtm log file okay 3; OID: .1.3.6.1.6.3.1.1.4.3.0. Value: bigipNotification; "
----------------------------------
[root@ve10:Active] config cat user_alert.conf
alert JAMES_TEST_ALERT_2 "TEST message has gone into gtm log file okay 3" {
snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.30"
}
trap receiver
"time","IP","version","timestamp","snmpTrapOID","varbinds"
"Sat Dec 01 13:11:08 SGT 2012","172.28.19.80","2","4 seconds",".iso.org.dod.internet.private.enterprises.f5.bigipTrafficMgmt.bigipNotification.bigipNotifications.bigipLogAlert","OID: .1.3.6.1.2.1.1.3.0. Value: 4 seconds; OID: .1.3.6.1.6.3.1.1.4.1.0. Value: bigipLogAlert; OID: .iso.org.dod.internet.private.enterprises.f5.bigipTrafficMgmt.bigipNotification.bigipNotifyObjects.bigipNotifyObjMsg. Value: TEST message has gone into gtm log file okay 3; OID: .1.3.6.1.6.3.1.1.4.3.0. Value: bigipNotification; "
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
