We have a setup where we receive several traps from several differnt devices from the same vendor.The problem I'm tying to figure out is how to filter on the contents of these traps and forward "the important" ones.
Example of important one:
hGbePortOid.1.1.0=17hGbePortOid.1.2.0=5300039hGbePortOid.1.3.0=5hGbePortOid.1.4.0=MC 927 Demux Service FailurehGbePortOid.1.5.0=21/10/2011 16:44:43hGbePortOid.1.6.0=2snmpTrapOID=SNMPv2-MIB:snmpTraps.7sysUpTime=31 days 9 hours 41 minutes 40.48 secondsexperimental.1057.1.0=10.27.27.202snmpTrapEnterprise=HARMONIC-INC-NSG9000-MIB:hGbePortOid.11
Example of one we discard:
hGbePortOid.1.1.0=9
hGbePortOid.1.2.0=4000013
hGbePortOid.1.3.0=4
hGbePortOid.1.4.0=ASI@002.001 TsIn CC Error Detected
hGbePortOid.1.5.0=21/10/2011 16:39:33
hGbePortOid.1.6.0=1
snmpTrapOID=SNMPv2-MIB:snmpTraps.7
sysUpTime=31 days 8 hours 46 minutes 38.08 seconds
experimental.1057.1.0=10.27.27.202
snmpTrapEnterprise=HARMONIC-INC-NSG9000-MIB:hGbePortOid.8
Right now the only thing I can use to use to actual forward any of these trap messages is (but this gets every one of them):
SNMPv2-MIB:snmpTrapOID is equal to SNMPv2-MIB:snmpTraps.7
(Below)


Am I missing something here on how to parse through these traps for specific ones?