Thnaks Wes, Here is what is in syslog that is placed there from snmptrapd: Jan 25 08:47:30 flaky snmptrapd[509]: flaky.opsup.com [127.0.0.1]: Trap SNMPv2-SMI::mib-2.1.3.0 = Timeticks: (41817920) 4 days, 20:09:39.20, SNMPv2-SMI::snmpModules.1.1.4.1.0=OID:SNMPv2-SMI::enterprises.14264.1.1.0.3, SNMPv2-SMI::enterprises.14264.1.1.7.1.1 = INTEGER: 5
On Tue, 2005-01-25 at 00:08, Wes Hardaker wrote: > >>>>> On 20 Jan 2005 10:52:18 -0500, Christopher Fowler <[EMAIL PROTECTED]> > >>>>> said: > > Christopher> I'm getting the following from snmptrapd: > Christopher> flaky.opsup.com > Christopher> 127.0.0.1 > Christopher> iso.3.6.1.2.1.1.3.0 0:0:00:42.08 > Christopher> iso.3.6.1.6.3.1.1.4.1.0 iso.3.6.1.4.1.14264.1.1.0.3 > Christopher> iso.3.6.1.4.1.14264.1.1.7.1.1 7 > Christopher> iso.3.6.1.4.1.14264.1.1.7.1.1 7 > > Christopher> My trap includes one variable as > Christopher> 'iso.3.6.1.4.1.14264.1.1.7.1.1' with the value of '7'. > Christopher> What I do not understand is why snmptrapd is displaying > Christopher> it twice. Is there a reason? In my parser I expect all > Christopher> lines after the trap oid to be variables and values. > > It should only display it once unless you're adding it twice. Run > snmptrapd with -Ddump to have it show you all the OIDs in the packet > broken out so you can see if it's duplicated or not. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
