Re: Error starting snmptrapd

This is a discussion on Re: Error starting snmptrapd within the SNMP Coders forums, part of the Networking and Network Related category; Thank you, I can modify the trap information. What is the value of sysUpTime.0 and snmpTrapOID.0 in oid ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-18-2005
Shobana Sampath
 
Posts: n/a
Default Re: Error starting snmptrapd

Thank you, I can modify the trap information. What is
the value of sysUpTime.0 and snmpTrapOID.0 in oid
format? Because that is how I set the values in the
trap, oid=value.

Thanks.
/Shobana
--- Dave Shield <D.T.Shield@csc.liv.ac.uk> wrote:
> On Wed, 2005-05-18 at 12:21, Shobana Sampath wrote:
>
> > I tried adding the 0 to the MIB oid
> > (1.3.6.1.4.1.9.9.120.2.0.3.0) for the trap, but

> get
> > the same error:
> > Cannot find TrapOID in TRAP2 PDU

>
> That's because you're setting your OID as the *name*
> of the second varbind - not the *value*.
>
> I'll reformat your packet dump:
>
> 30 82 00 51
> 02 01 01
> 04 00
> A7 82 00 48
> 02 02 72 29
> 02 01 00
> 02 01 00
> 30 82 00 3A
> 30 82 00 0D
> 06 09 2B 06 01 04 01 09 09 78 02
> 05 00
>
> This OID should be sysUpTime.0, with a corresponding
> value (not NULL)
>
> 30 82 00 10
> 06 0C 2B 06 01 04 01 09 09 78 02 00 03
> 00
> 05 00
>
> This OID should be snmpTrapOID.0, with a *value* of
> .1.3.6.1.4.1.9.9.120.2.0.3.0
>
> 30 82 00 11
> 06 0C 2B 06 01 04 01 09 09 78 01 02 04
> 00
> 02 01 02
>
>
>
> That's why snmptrapd is complaining that it
>
> > Cannot find TrapOID in TRAP2 PDU

>
> Because the varbind isn't there!
>
> Dave
>
>




__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:01 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0