We have a server which sends out different errors using the same generic OID. What I need to do is configure SNMP Trap Viewer to pattern match against the message in the OID. For instance the same OID could give either error:
=============================================================
sysUpTime=88 days 10 hours 14 minutes 0.07 seconds
snmpTrapOID=CISCO-LATITUDE-MIB:meetingplaceEventsV2.0.6
mpExCode=196945
mpSysUnit=0
mpAlarmDesc=Multiple failed login attempts on non-existent profile, port=XXX
experimental.1057.1=xxx.xxx.xxx.xxx
snmpTrapEnterprise=CISCO-LATITUDE-MIB:meetingplaceEvents
sysUpTime=88 days 10 hours 14 minutes 0.07 seconds
snmpTrapOID=CISCO-LATITUDE-MIB:meetingplaceEventsV2.0.6
mpExCode=196945
mpSysUnit=0
mpAlarmDesc=Too many attempts to log into profile (1234567)
experimental.1057.1=xxx.xxx.xxx.xxx
snmpTrapEnterprise=CISCO-LATITUDE-MIB:meetingplaceEvents
=============================================================
I'd like to create a pattern matching alert based upon the mpAlarmDesc field. Any thoughts on how I can accomplish this?
Thanks!