Re: how to send octet string using snmptrap command

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
> Thanks for your help. Actually this is a printable octet string.

Then use "s" rather than "x"



> I have used "NOTIFICATION-MIB:RegId s sip-gw" and it does not work with
> the following error.
>
> 2010-06-21 11:34:30 NOTIFICATION-MIB:RegId s sip-gw: Unknown Object Identifier ( )

It doesn't understand  "NOTIFICATION-MIB:RegId"
Either the MIB isn't installed properly, or either the MIB module name or the
object name is wrong.

Where is the MIB file located?
Check the token at the start of the file for the proper name of the MIB
(The standard notification MIB is called "SNMP-NOTIFICATION-MIB")
Check the object definition itself for the proper name of the object.

Make sure that "snmptranslate" is happy with the name you are using,
before trying with "snmptrap".

Dave

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.