RE: how to send octet string using snmptrap command
"Harendra Pratap Singh" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave, Thanks for your help. Actually this is a printable octet string. 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 ( ) Thanks, Harendra -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Monday, June 21, 2010 4:59 PM To: Harendra Pratap Singh Cc: Net-SNMP users Subject: Re: how to send octet string using snmptrap command On 21 June 2010 12:01, Harendra Pratap Singh <[email protected]> wrote: > Could you please tell me how to send octet string using snmptrap command? A binary octet string, or a printable octet string? > Below is the command I am running > > /usr/bin/snmptrap 10.201.1.180:162 ' ' 1.3.6.1.4.1.7684.2.5.0.10 > NOTIFICATION-MIB:RegId x sip-gw Try using "NOTIFICATION-MIB:RegId s sip-gw" instead. Other comments: - that's not actually a legal name for a MIB object Try running your NOTIFICATION-MIB through "smilint" or some similar checker - the payload varbinds would normally include an instance subidentifier (i.e. similar to what you'd use with "snmpget") 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