Re: wrong trap oid is displayed
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAKoMtGa5ySdJ+6EeTBwvsMqLjDB0KtPXVE1B9XMiuh-1fQvmcQ@mail.gmail.com> |
On 26 June 2012 13:59, <[email protected]> wrote: > When a topology change occurs , a trap is sent. > Topology change notification ID:1.3.6.1.2.1.17.0.2(Bridge MIB) > > I see that the trap sent from agentx to manager has the oid wrongly > displayed . > > From agentx the correct oid is sent as 1.3.6.1.2.1.17.0.2 > But in /var/log/snmp.log the oid is seen as : 1.3.6.1.2. 17.0.2 <<<<<<<< > .1 is missing No - the trap being logged is correct: > tail -f /var/log/snmp.log: > > 2000-01-01T01:33:11.782+0000 info: snmpd[20982]: TRAP2: > SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::mib-2.17.0.2 The OID being logged is SNMPv2-SMI::mib-2.17.0.2 SNMPv2-SMI::mib-2 expands to .1.3.6.1.2.1 so SNMPv2-SMI::mib-2.17.0.2 expands to .1.3.6.1.2.1.17.0.2 as expected Dave ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users