gustaf.frisk

Get OID in alarm from snmptd

Discussion created by gustaf.frisk on Sep 17, 2009
I have a profile in snmptd that recives a trap from a cisco switch with some values. One of the values I need both the OID and the value for that row so I can interpret the unit/port who fired the trap. That information is only in the OID.
Example: 1.3.6.1.4.1.9.9.87.1.4.1.1.20.0.14
Where 0.14 in the end indicates unit 0 and port 14.

Anyone has any ide on this?

Outcomes