When doing OID trimming in SNMP traps, I have found that one I'm using
- SYSLOG-MSG-MIB::syslogMsgSeverity
seems to have a different number of octets, that is different according to devices (vendors?)
At the moment I'm trimming 2 octets, but it seems to me that if I have
- SYSLOG-MSG-MIB::syslogMsgSeverity.4
it stays the same, but if I have
- SYSLOG-MSG-MIB::syslogMsgSeverity.4.4040
it then is trimmed to what I want:
- SYSLOG-MSG-MIB::syslogMsgSeverity
So, I believe that the code doesn't allow for trimming in excess? Or is there some special definition to trim everything following a certain prefix?
Antonio Sousa